Here are the coefficients that I ended up with for linear and
log-linear. It seems to me that you need to add in the seasonal
semesters for spring, fall, and winter. You need to only use dummy's
for two of the three months.
My DW was ~1.5 for linear and 1.87 for log-linear.
Also, 14.2% MAPE for linear and 6% MAPE for log-linear looking at part 3.
Linear Regression
Coefficients Standard Error t Stat
Intercept 20.54112391 24.76018568 0.829602984
ENROLL_Fall 6.314828478 0.618696375 10.20666798
PBUS -230.2342637 46.13069201 -4.990912854
PGAS 68.22733274 7.106934461 9.600107208
Spring 15.78812535 3.573676655 4.417894195
Summer -51.00263181 3.403230314 -14.98653547
July86 -29.9584818 6.833298602 -4.384190351
Log-Linear
Coefficients Standard Error t Stat
Intercept 2.494072831 0.551901294 4.519055959
ln_ENROLL_Fall 0.651844821 0.166430137 3.916627327
ln_PBUS -0.58422463 0.114662403 -5.095171686
ln_PGAS 0.390094878 0.060138735 6.486582725
ln_Spring 0.073139064 0.018946383 3.860317919
ln_Summer -0.346102602 0.018078768 -19.1441471
ln_July86 -0.232899291 0.036099016 -6.451679752
ln_PPARK 0.024725655 0.01212977 2.038427312
Gabriel
For the linear model:
Coefficients
Intercept 81.89400815
ENROLL 3.062494289
PBUS -241.9191402
PGAS 37.33700701
PPARK 71.30472327
Fall 52.44882116
Spring 67.68761253
1985 -14.7988598
1986 -26.96257142
For the log linear model:
Coefficients
Intercept 2.378023309
Ln(ENROLL) 0.602554856
Ln(PBUS) -0.542214453
Ln(PGAS) 0.319234529
Ln(PPARK+0.01) 0.029582812
Fall 0.345760213
Spring 0.420880418
1985 -0.053767567
1986 -0.214064841
I just ran though this regression and have not been able to find a linear regression that passes the DW test (i.e. there is serial correlation in the residuals and I cant find it). Has anyone come up with a successful linear regression for the Bus Rider problem?
Rob
-----Original Message-----
From: econ_401_w...@googlegroups.com [mailto:econ_401_w...@googlegroups.com] On Behalf Of zhouz...@yahoo.com
Sent: Monday, March 14, 2011 10:59 AM
To: Econ_401_winter_2011
Subject: Re: Bus Rides Regression Question
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
Also does anyone have any insights from the tutoring session on Saturday, if
there was one?
Thanks,
Adi.
Yours looks good. I must have messed something else up...
-r
|
|
Coefficients |
|
Intercept |
82.21356266 |
|
ENROLL |
3.092547875 |
|
PBUS |
|
|
PGAS |
36.63668358 |
|
PPARK |
71.8761977 |
|
Fall |
51.08185769 |
|
Spring |
69.01120318 |
|
1985 |
-10.00632953 |
|
1986 |
-23.88962779 |
|
|
Coefficients |
|
Intercept |
2.403905904 |
|
ln(Enroll) |
0.598941443 |
|
ln(pbus) |
-0.533099756 |
|
ln(pgas) |
0.304878531 |
|
ln(ppark+.01) |
0.030578823 |
|
Fall |
0.335014695 |
|
Spring |
0.431751055 |
|
1985 |
-0.033894156 |
|
1986 |
-0.162664781 |
Go to class slides on Eres, Diffusion/Lifecycle Models. Only the logistic model is relevant.
Thanks, that’s a relief…
From: econ_401_w...@googlegroups.com [mailto:econ_401_w...@googlegroups.com] On Behalf Of Carla Nunes
Sent: Monday, March 14, 2011 2:59 PM
To: econ_401_w...@googlegroups.com
I got it – the 1968 variable starts on July, not January.