R squared

For econometric discussions not necessarily related to EViews.

Moderators: EViews Gareth, EViews Moderator

Emmanuelle
Posts: 7
Joined: Thu Aug 04, 2011 7:38 am
Location: Quebec city

R squared

Postby Emmanuelle » Thu Aug 04, 2011 7:54 am

Hi,

I'm trying to estimate the following regression :

y = c(1)*y(-1)^2 + c(2)*x

but the resulting R-squared (unadjusted) is much lower than when I regress the following equation :

y = c(2)*x.

How could it possibly happen if c(1) could be 0?

Any ideas to get around this problem would be greatly appreciated!

Emmanuelle
Posts: 7
Joined: Thu Aug 04, 2011 7:38 am
Location: Quebec city

Re: R squared

Postby Emmanuelle » Thu Aug 04, 2011 8:48 am

Sorry to insist here but I badly need an answer on this one... everytime I add a regressor to my equations the fit is reduced and this doesn't seem normal!

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: R squared

Postby startz » Thu Aug 04, 2011 8:57 am

Quite possibly the sample is different.

Emmanuelle
Posts: 7
Joined: Thu Aug 04, 2011 7:38 am
Location: Quebec city

Re: R squared

Postby Emmanuelle » Thu Aug 04, 2011 10:12 am

Hi startz,

thank you very much for posting help on this one! It was badly needed. Have a look at my estimation outputs below.. sample looks the same
Attachments
regression lower r-squared.JPG
Image of complex regression
regression lower r-squared.JPG (77.66 KiB) Viewed 6848 times
regression higher r-squared.JPG
Image of simpler regression
regression higher r-squared.JPG (73.51 KiB) Viewed 6848 times

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: R squared

Postby startz » Thu Aug 04, 2011 10:49 am

Okay, that is indeed weird.

The AR terms make the estimation very slightly nonlinear, but I don't think that accounts for what's going on.

You might post your workfile and see if anyone sees something.

Emmanuelle
Posts: 7
Joined: Thu Aug 04, 2011 7:38 am
Location: Quebec city

Re: R squared

Postby Emmanuelle » Thu Aug 04, 2011 11:34 am

here it is :)

thanks again!!
Attachments
workfile r-squared.wf1
My workfile short version thanks
(24.09 KiB) Downloaded 273 times

Emmanuelle
Posts: 7
Joined: Thu Aug 04, 2011 7:38 am
Location: Quebec city

Re: R squared

Postby Emmanuelle » Thu Aug 04, 2011 11:46 am

better use long version instead... sorry
Attachments
workfile r-squared.wf1
My workfile long version many thanks
(25.19 KiB) Downloaded 285 times

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: R squared

Postby startz » Thu Aug 04, 2011 12:23 pm

Quelle malchance. C'est dommage. :cry:

The answer is that you're having very bad luck.

Including the AR terms makes the estimates very slightly nonlinear.

Move REGRESSEURJOUR to the end of the regression list. Then estimate the equation without REGRESSEURJOUR. Now estimate the longer equation, setting the option for starting values at user supplied. You'll get a higher R Squared.
Dependent Variable: VARLOGEPARGNEANNUEL
Method: Least Squares
Date: 08/04/11 Time: 12:17
Sample (adjusted): 2005M01 2009M12
Included observations: 60 after adjustments
Convergence achieved after 16 iterations

Variable Coefficient Std. Error t-Statistic Prob.

JEUDI 0.002660 0.002063 1.288910 0.2030
VENDREDI -0.003813 0.001034 -3.686594 0.0005
JEUDI_JOUR_8 -0.004328 0.001970 -2.197008 0.0324
VENDREDI_JOUR_8 0.001125 0.001840 0.611434 0.5435
REGRESSEURJOUR 0.154670 0.048400 3.195646 0.0024
AR(1) 0.949231 0.149572 6.346326 0.0000
AR(2) 0.048067 0.149842 0.320787 0.7496

R-squared 0.919392 Mean dependent var 0.070122
Adjusted R-squared 0.910267 S.D. dependent var 0.019208
S.E. of regression 0.005754 Akaike info criterion -7.368595
Sum squared resid 0.001755 Schwarz criterion -7.124255
Log likelihood 228.0578 Hannan-Quinn criter. -7.273020
Durbin-Watson stat 1.866333

Inverted AR Roots 1.00 -.05

Emmanuelle
Posts: 7
Joined: Thu Aug 04, 2011 7:38 am
Location: Quebec city

Re: R squared

Postby Emmanuelle » Thu Aug 04, 2011 2:06 pm

wow! that worked just awesome!

c'est fantastique!

thank you forever...


Return to “Econometric Discussions”

Who is online

Users browsing this forum: No registered users and 2 guests