How to 'adjust' a series mean to match another series mean

88 Views Asked by At

I have 2 data series that I would like to compare. Perhaps it's best to show a graphic of the series as they are now ...

What I have now

and what I would like to do ...

What I'd like

Basicaly, I would like to visually compare the red series to the blue as shown in image 2. The length of the blue series is 20 and red series length is 31. I guess I have to 'adjust' the mean of the red series, to the mean of the first 20 points in the blue series.

May I ask where I start please ? I really don't know what to search for on SE / google in order even begin. Could you point me in the right direction, please ?

Thanks for taking the time to read my question.