Sample with only positive observations for all series

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

ecardamone
Posts: 40
Joined: Wed Sep 17, 2014 12:23 pm

Sample with only positive observations for all series

Postby ecardamone » Thu Aug 06, 2015 12:56 pm

Hi,

I am trying to run a multivariate regression in a log-log format. Several series have negative observations. How can I tell EViews to estimate the equation for a sample that consists of only positive values for all series? My problem is that there are more than one series with negative values.

Thanks for help!

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

Re: Sample with only positive observations for all series

Postby EViews Gareth » Thu Aug 06, 2015 1:43 pm

EViews does that automatically. Make sure you have the setting Genral->Options->Series and Alphas->Auto-series->Treat Evaluation Errors as NA

ecardamone
Posts: 40
Joined: Wed Sep 17, 2014 12:23 pm

Re: Sample with only positive observations for all series

Postby ecardamone » Thu Aug 06, 2015 1:49 pm

Oh that's great. Thanks so much! It worked.

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

Re: Sample with only positive observations for all series

Postby startz » Thu Aug 06, 2015 3:12 pm

But remember that if you change the variables in the regression, you may inadvertently change the number of observations.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests