Consider the following toy data:
All prices have been normalised using $${Price_{Norm} = \frac{Price_{current} - Price_{Min}}{Price_{Max} - Price_{Min}}}$$
Item : Prices
Apples : 0.0, 0.4, 0.8, 1, 0.7
Bread : 0.0, 0.2, 0.4, 0.7, 1.0
Cars : 1.0, 0.6, 0.0, 0.2, 0.1
Wheels : 0.7, 1, 0.7, 0.2, 0.0
Computers: 0.7, 1, 0.3, 0.0, 0.6
At first glance, we can see which items can be seen as being correlated. The price of food went up, and price of automobiles went down.
I can use the mean squared error to find the distances between the items, but is it possible to both sort by the shape and by trend?
Items to the left should have the most upward trend and at the right, downward trends. Similar items (using mean squared error on each point) should be as close to each other as possible.
On this toy data, it is very easy:
Bread, Apples, Computers, Wheels, Cars
But I am lost when trying to do this on hundreds of time-series.
Where should I get started? I am a beginner in these types of problems.