I'm a bit concerned about this question. It reads as though you areOriginally Posted bylalitchugh

being asked to find the regerssion line of P1 on P2 or vice versa, but

such a standard regression line is not necessarily appropriate to this data.

For a regression line of the form and

are calculated using the equations:

Now we have:

.

So if the first regression line we want is: ,

we use for and for in the normal equations. So:

The second regression line we want is: ,

we use for and for in the normal equations. So:

The correlation coefficient is:

,

so:

RonL