Jump to content

which value of n to use in a regression line when a value is transformed


Recommended Posts

Posted

In 1980 a river was restocked with fish. The local angling club kept a record of the number of fish, y caught on a stretch of the river t years after restocking. Some of the records are given in the table below.

 

t    1   2   3   4   5   7  10  12
y   185 170 172 166 164 159 162 157

 

The regression line y on x is y=177.28 -1.89t

 

An alternative model is produced using the new variable x=1/t which gives the following

 

SUM(x) = 2.6095

SUM(x^2) = 1.5010

SUM(y) = 1335

SUM(xy) = 453.6310

 

Caluculate the regression equation of y on x in the form y = a+bx

 

-----

 

I got the equation y = 73+175x when using n=12 (as the max of t is 12) but the answer is y = 158 + 28x.

 

What value of n do i use for caluclulating Sxx and Sxy?

Posted

no, thats wrong.

 

the value of n in [math]s_{xy}[/math] and [math]s_{xx}[/math] is the total number of pairs of observations. ie.[math](x_i,y_i)[/math]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.