quique3716
New member
- Joined
- Oct 30, 2016
- Messages
- 2
Dear users,
I'm struggling with a problem of fitting two series of numbers (I'm using Excel). Let's go:
I have two series (A, B), consisting of several points recorded over time (a1, a2, a3...; b1, b2, b3...). Each series has different units (A="$", B="km"). I want to apply the formula (B'=mB+n) in order to have B' with the maximum possible correlation with A.
As an example:
A = (5,8,9,6,10,8 )
B = (4,5,6,5,7,5)
If m=2 and n=-3 then B'= (5,7,9,7,11,7)
Could you please explain to me to find the parameters "m" and "n" of the formula that give the maximum correlation?
Thank you in advance

I'm struggling with a problem of fitting two series of numbers (I'm using Excel). Let's go:
I have two series (A, B), consisting of several points recorded over time (a1, a2, a3...; b1, b2, b3...). Each series has different units (A="$", B="km"). I want to apply the formula (B'=mB+n) in order to have B' with the maximum possible correlation with A.
As an example:
A = (5,8,9,6,10,8 )
B = (4,5,6,5,7,5)
If m=2 and n=-3 then B'= (5,7,9,7,11,7)
Could you please explain to me to find the parameters "m" and "n" of the formula that give the maximum correlation?
Thank you in advance