Dear all
I want to run a stepwise least squares regression (unidirectional backwards). This seems straightforward in EVIEWS. Just select equation, method: STEPS, fill in your variables and adjust the options.
Problem: I have 250+ variables. I want to regress one variable on its first two lags and on the remaining variables and 1st order lags of those variables. My question is:is there a quick way to do this? Doing this manually would be pretty much insane and I assume there has to be another way.
Other question: does EVIEWS have commands for lasso and boosted regression trees for model selection?
Thanks!
model selection: steps, lasso, boosted regression trees
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: model selection: steps, lasso, boosted regression trees
Add all 250 series to a group. Then write a quick program that adds those series plus their lags to another group. Then use that group in your estimation.
No LASSO or boosted reg.
No LASSO or boosted reg.
Code: Select all
group group2
for !i=1 to group1.@count
%name = group1.@seriesname(!i)
group2.add {%name} {%name}(-1)
next
Who is online
Users browsing this forum: No registered users and 2 guests
