about the panel and outliers

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

cocoabutter
Posts: 17
Joined: Sat Mar 28, 2009 9:12 am

about the panel and outliers

Postby cocoabutter » Tue Apr 07, 2009 5:03 pm

Hello Again!

I have two questions please
1) Suppose I run a panel, but neglect to apply and fixed/random effects across both time and cross section. What am I doing exactly here then? Am i just runing a giant/pooled OLS?

2) After estimating my panel, I was checking for outliers by examining the view, residual table. Is there an equivalent eviews equivalent function to STATA's lvr2plot command?

How do I then remove these observations? Say observation 200 for 1992. Is there an easier way then typing it in meticulously framing it? ( say in 1-10 if i want to remove observation 4 I usually type 1 3 5 10). My data is 800 observations, over 4 years
so it is structured

obs1 91
92
93
94

etc.

Thank you very much!!

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13584
Joined: Tue Sep 16, 2008 5:38 pm

Re: about the panel and outliers

Postby EViews Gareth » Tue Apr 07, 2009 7:13 pm

1) Yep. As the following quick program proves:

Code: Select all

create a 1990 2010 20 series id = @obsnum series y=nrnd series x=nrnd equation panel.ls y c x pagestruct id equation giant.ls y c x show panel show giant

2) I'm not sure what LVR2PLOT does, but EViews doesn't have a way of examining outliers (yet).

An easy way of removing large outliers is to say something like:

smpl if @abs(resid)>20

cocoabutter
Posts: 17
Joined: Sat Mar 28, 2009 9:12 am

Re: about the panel and outliers

Postby cocoabutter » Wed Apr 08, 2009 7:32 am

Ah ok, thank you.
So that is directly comparable with a pooled OLS, yes?

Also,do you mean sample if abs(resid)<20?

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

Re: about the panel and outliers

Postby startz » Wed Apr 08, 2009 7:50 am

Ah ok, thank you.
So that is directly comparable with a pooled OLS, yes?

Also,do you mean sample if abs(resid)<20?
He means "smpl"

smpl is the EViews command to set the sample.
sample is the EViews command to set the smpl.
Hey, sometimes life is counterintuitive!

cocoabutter
Posts: 17
Joined: Sat Mar 28, 2009 9:12 am

Re: about the panel and outliers

Postby cocoabutter » Wed Apr 08, 2009 7:59 am

heh i was talking about the sign

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

Re: about the panel and outliers

Postby startz » Wed Apr 08, 2009 8:04 am

heh i was talking about the sign
Yeah, you're right about the sign.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests