I have two sets of data where the x values are identical in both sets.
I am trying to determine a quantitative metric to determine how similar the two plots are in terms of shape of the graph, i.e I dont care about the magnitudes of values but the overall shape and trends of the graph.
I recorded the driving of two different people in a vehicle from point A to point B and I am trying to quantify where similarities or differences exist between both driver's speed profiles along the path, such as how they entered a turn and exited a turn, (driver A tends to break earlier before approaching the apex and driver B tends to hold its speed around the curve rather then let it bleed off a bit)
I have an ideal path and id like to say Driver A was closer to that than Driver B. Are there any statistical inference tools I can use in this situation? Image of data
Blue is Driver A, Orange is Driver B and red is the optimal path.