alternative scenarios

For technical support, tips and tricks, suggestions, or any other information regarding the EViews model object.

Moderators: EViews Gareth, EViews Moderator

paolo.zanghieri
Posts: 49
Joined: Wed Mar 05, 2014 10:52 am

alternative scenarios

Postby paolo.zanghieri » Thu Apr 07, 2022 7:00 am

Hi,
i am trying to run two alternative scenarios on the model, but I get exactly the same results. The overidden variables in sc. 2 seem to take the same results as in sc. 1. Command lines below. What am i Doing wrong'
thanks

d *_1
d *_2
smpl 2022Q1 2022Q2 if Var01= "RM"
for %A "A_GOEFF" "A_RLAW" "A_PSTAB" "A_VOICE" "DRESC" "DEU"
series {%A}_1 = {%A}_(-4)
series {%A}_2 = {%A}_(-4)
next
series B_PCY_1 = b_pcy_(-4)*(1.037)
series B_PCY_2= b_pcy_(-4)*(1.028)
series B_DGDP_1 = 3
series B_DGDP_2= 2
series B_UNR_1 = 3.1
series B_UNR_2 = 3.6
series D_GINTREV_1 = 0.056
series D_GINTREV_2 = 0.062
series C_OXDEBR_1 = 53.5
series C_OXDEBR_2 = 54 +1
series D_GDEB_1 = 57
series D_GDEB_2 = 58
for %C "STP" "MOODYS" "FITCH"
mod_{%C}.scenario(n, a="_1") "scenario 1"
smpl 2022Q4 2022Q4 if var01="RM"
mod_{%C}.override B_PCY B_DGDP B_UNR D_GINTREV C_GDEB C_OXDREB
mod_{%C}.solve
'mod_{%C}.scenario(d) "scenario 1"
''''Scenario 2
mod_{%C}.scenario(n, a="_2") "scenario 2"
smpl 2022Q4 2022Q4 if var01="RM"
mod_{%C}.override B_PCY B_DGDP B_UNR D_GINTREV C_GDEB C_OXDREB
mod_{%C}.solve
'mod_{%C}.scenario(d) "scenario 2"
next

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

Re: alternative scenarios

Postby EViews Gareth » Thu Apr 07, 2022 3:00 pm

Are those variables exogenous?
Follow us on Twitter @IHSEViews

paolo.zanghieri
Posts: 49
Joined: Wed Mar 05, 2014 10:52 am

Re: alternative scenarios

Postby paolo.zanghieri » Fri Apr 08, 2022 2:36 am

yes

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

Re: alternative scenarios

Postby EViews Gareth » Fri Apr 08, 2022 8:26 am

Nothing jumps out as wrong.
Follow us on Twitter @IHSEViews


Return to “Models”

Who is online

Users browsing this forum: No registered users and 13 guests