Hi,
Forgive me in advance, as I am fairly new to EViews and this could be a simple question...
I have produced a pooled regression and need to use add factors when forecasting.
I have figured out how to get the add factors over the period of actual data, but wish to input my own add factors over the forecast period.
I have set up series (ppd_50_a_2, ...., ppd_100_a_2) for each dependent variable in the pooled regression, containing the add factors I wish to use when solving the model. However, I can't seem to figure out how to code this up; i.e. how to solve the model using the override add factors. I can do it manually, but need to set this up as an automated process.
Any help would be greatly appreciated.
An extract of my code can be found below.
Many thanks,
'Create the model
model model_pool
model_pool.merge poolltv2
' Assign and initialise add factors
smpl 2004m1 2016m12
model_pool.addassign(i) @all
model_pool.addinit(v=n) @all
'Create a scenario called test and set this as the active scenario
model_pool.scenario(n, a=_2) "Test"
Next I have tried several things to solve the model using the override add factors, but nothing seems to have worked....
Add Factor Override
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Add Factor Override
The add factors aren't scenario specific, they'll have the "_A" appended to them.
You'll notice when you do the addassign that EViews automatically creates the add factors. addinit and solve will fill them...
You'll notice when you do the addassign that EViews automatically creates the add factors. addinit and solve will fill them...
Re: Add Factor Override
Thanks for your reply.
However, I want to over write the add factors that EViews generates with a series that I have created. How can I make sure that when I solve the model, the add factors that I have specified are being used rather than the ones EViews have generated?
Thank you.
However, I want to over write the add factors that EViews generates with a series that I have created. How can I make sure that when I solve the model, the add factors that I have specified are being used rather than the ones EViews have generated?
Thank you.
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Add Factor Override
Just fill the _A add factors with your series values and then solve...
The solve uses the add factors as initialized. The addinit command just provides shortcuts to filling with values that people often want to use for the add factors.
The solve uses the add factors as initialized. The addinit command just provides shortcuts to filling with values that people often want to use for the add factors.
Who is online
Users browsing this forum: No registered users and 2 guests
