Observations and AR model

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

lentjeuhz
Posts: 4
Joined: Wed Aug 25, 2010 4:08 am

Observations and AR model

Postby lentjeuhz » Sat Aug 28, 2010 11:51 am

Hi,

I have a sample of firm data for which I want to run multiple regressions. I use the same independent variables in every regression, but different dependent variables. Only complete observations (for which all variables are available) are included in the analysis. When estimating I include an AR(1) to correct for autocorrelation.

My problem is that when using different dependent variables I end up with varying number of observations, something that does not happen when I exclude the AR(1) from my model.

How can I set up my AR(1) model using exactly the same observations for all regressions?

Thank you for your help.

Lennart

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

Re: Observations and AR model

Postby startz » Sat Aug 28, 2010 1:25 pm

AR(1) needs one lagged observation. You're probably missing that for some variables. Set the smpl to reflect complete observations for all dependent and independent including accounting for the lag. As a guess, just exclude the first observation in your current smpl.

lentjeuhz
Posts: 4
Joined: Wed Aug 25, 2010 4:08 am

Re: Observations and AR model

Postby lentjeuhz » Sun Aug 29, 2010 2:08 am

Hi startz,

Thanks for your help.

That's what I thought as well, therefore I added the following selection criteria to my sample criteria when estimating to ensure that only complete observations are used:

sample: 1998 - 2009 if var1 <> na and var2 <> na ... etc

But it seems that this method doesn't include these selection criteria for the lagged variables needed for the AR(1) process.

Any ideas?

Thanks

lentjeuhz
Posts: 4
Joined: Wed Aug 25, 2010 4:08 am

Re: Observations and AR model

Postby lentjeuhz » Sun Aug 29, 2010 2:23 am

I have solved the problem by generating new series for my dependent variables, setting them equal to NA if one of the other dependent variables is NA as well.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests