Selecting data within the series - EV8

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

H_Boss
Posts: 21
Joined: Sat Jul 25, 2015 12:00 pm

Selecting data within the series - EV8

Postby H_Boss » Sat Aug 29, 2015 3:19 pm

Hello,

I have series with multiple countries. Is it possible to filter 1 or several countries on estimation?


Thanx,

HB

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

Re: Selecting data within the series - EV8

Postby EViews Gareth » Sat Aug 29, 2015 3:34 pm

Probably, but without more details it is impossible to give advice.

H_Boss
Posts: 21
Joined: Sat Jul 25, 2015 12:00 pm

Re: Selecting data within the series - EV8

Postby H_Boss » Sat Aug 29, 2015 7:50 pm

I wish to do the estimation with only 1 or some o'the countries in the series.
Is there a command like in SQL, "where country=Austria", f.e.?


HB

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

Re: Selecting data within the series - EV8

Postby EViews Gareth » Sat Aug 29, 2015 7:58 pm

Set the sample to be

Code: Select all

If county = "Austria"

H_Boss
Posts: 21
Joined: Sat Jul 25, 2015 12:00 pm

Re: Selecting data within the series - EV8

Postby H_Boss » Sun Aug 30, 2015 6:20 am

? on the estimation equation?

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

Re: Selecting data within the series - EV8

Postby EViews Gareth » Sun Aug 30, 2015 7:40 am

Yes

H_Boss
Posts: 21
Joined: Sat Jul 25, 2015 12:00 pm

Re: Selecting data within the series - EV8

Postby H_Boss » Sun Aug 30, 2015 7:45 am

Error... "Near singular matrix."

Is this correct?
1980 2012 if country = "Austria"

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

Re: Selecting data within the series - EV8

Postby EViews Gareth » Sun Aug 30, 2015 8:04 am

That's correct.

H_Boss
Posts: 21
Joined: Sat Jul 25, 2015 12:00 pm

Re: Selecting data within the series - EV8

Postby H_Boss » Sun Aug 30, 2015 8:26 am

Why the error then?

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

Re: Selecting data within the series - EV8

Postby startz » Sun Aug 30, 2015 8:39 am

Do you have a variable with constant value for Austria?

H_Boss
Posts: 21
Joined: Sat Jul 25, 2015 12:00 pm

Re: Selecting data within the series - EV8

Postby H_Boss » Sun Aug 30, 2015 8:41 am

No, the values for Austria vary over the years 1980-2012. As for other countries.

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

Re: Selecting data within the series - EV8

Postby startz » Sun Aug 30, 2015 8:49 am

You might want to form the correlation matrix of all your right hand side variables, keeping the sample to Austria. Or you might want to post your workfile to see if anyone else sees anything.

H_Boss
Posts: 21
Joined: Sat Jul 25, 2015 12:00 pm

Re: Selecting data within the series - EV8

Postby H_Boss » Sun Aug 30, 2015 8:52 am

Here it is...
Attachments
regressao.wf1
Here it is...
(212.54 KiB) Downloaded 230 times

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

Re: Selecting data within the series - EV8

Postby startz » Sun Aug 30, 2015 9:21 am

Please remember that while you're deeply involved, no one else understands the context. You need to tell us what equation you estimated, what options you used, etc.

H_Boss
Posts: 21
Joined: Sat Jul 25, 2015 12:00 pm

Re: Selecting data within the series - EV8

Postby H_Boss » Sun Aug 30, 2015 9:31 am

Equation: logco2 c logres loghydro logfossil lognuclear loggdp logindustry urbpop
Method: Least squares, 1980 2012
Fixed effects, GLS: No weights.
Coef covariance method: I'm still trying to find that out (diff. post), using "Period weights" for now.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 1 guest