Ajusted equation sample

For questions regarding programming in the EViews programming language.

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

MOG
Posts: 21
Joined: Sun Aug 25, 2013 6:42 am

Ajusted equation sample

Postby MOG » Tue Feb 17, 2015 8:51 am

HI,

Is there a way to retrieve the adjusted sample used in an equation?

Regards
Martin

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Ajusted equation sample

Postby EViews Glenn » Tue Feb 17, 2015 10:57 am

As a string? Or just being able to set the sample?
Last edited by EViews Glenn on Wed Feb 18, 2015 12:17 am, edited 1 time in total.

MOG
Posts: 21
Joined: Sun Aug 25, 2013 6:42 am

Re: Ajusted equation sample

Postby MOG » Wed Feb 18, 2015 12:12 am

As a string, after the equation has been estimated. The {Equation}.@smpl-command only gives you the sample you set, not the adjusted sample.

Regards
Martin

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Ajusted equation sample

Postby EViews Glenn » Wed Feb 18, 2015 12:18 am

The only place the adjusted sample string is available is in the output view. Other than that, the best you can do is to generate the residuals, and use them to construct your own adjusted sample string.

MOG
Posts: 21
Joined: Sun Aug 25, 2013 6:42 am

Re: Ajusted equation sample

Postby MOG » Wed Feb 18, 2015 12:28 am

Ok, thanks!

Regards
Martin

TELLA
Posts: 2
Joined: Tue Jan 05, 2016 4:56 am

Re: Ajusted equation sample

Postby TELLA » Wed Jan 06, 2016 5:58 am

What is the main reason for adjusted equation sample.

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

Re: Ajusted equation sample

Postby EViews Gareth » Wed Jan 06, 2016 8:55 am

Some observations could not be used (usually due to NAs resulting from log of negative numbers), so the sample had to be adjusted.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests