Step-wise: Exclusion of variables based on sign

For questions regarding programming in the EViews programming language.

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

PacNW
Posts: 21
Joined: Fri Apr 01, 2011 4:31 pm

Step-wise: Exclusion of variables based on sign

Postby PacNW » Wed Apr 20, 2011 10:48 am

Is there any way to have variables in the step-wise least squares regression be rejected based on sign(+/-) of the estimated variable coefficient?

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

Re: Step-wise: Exclusion of variables based on sign

Postby EViews Gareth » Wed Apr 20, 2011 10:51 am

Not with the built-in stepwise procedure. However it should be relatively trivial to write one yourself.
This would be a good starting point.

PacNW
Posts: 21
Joined: Fri Apr 01, 2011 4:31 pm

Re: Step-wise: Exclusion of variables based on sign

Postby PacNW » Wed Apr 20, 2011 11:09 am

Ahh ok, thanks


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest