For the example 1, after installing the add-in just entee in the command window:
Code: Select all
vector(11) sv=1
z.star(variables=x x(-1) x(-2),transition=x(-1),lstr,evaluation,sv=sv)
Moderators: EViews Gareth, EViews Moderator, EViews Esther
Code: Select all
vector(11) sv=1
z.star(variables=x x(-1) x(-2),transition=x(-1),lstr,evaluation,sv=sv)
Code: Select all
wfcreate u 1 1000
genr x=@trend/100
for !gamma=0 to 20 step 0.1 'Smooth regimes to quick regimes
genr y=@logit(!gamma*(x-2.5))
y.line
statusline !gamma
next
Hi Nicolas,Hi,
In STAR models the transition function determines the regime. Therefore with a STAR model you estimate as many regimes as values that your transition function takes. The threshold "c" and the "Gamma" (In the add-in documentation notation) determines the behavior of your transition function. If Gamma is large enough then you will have a TAR model with two regimes in the LSTAR context, otherwise you will have many regimes. The following code could help.
Best regards,Code: Select all
wfcreate u 1 1000 genr x=@trend/100 for !gamma=0 to 20 step 0.1 'Smooth regimes to quick regimes genr y=@logit(!gamma*(x-2.5)) y.line statusline !gamma next
Dear NicolasR,Hi,
In STAR models the transition function determines the regime. Therefore with a STAR model you estimate as many regimes as values that your transition function takes. The threshold "c", the "Gamma" (In the add-in documentation notation) and the transition variable determines the behavior of your transition function. If Gamma is large enough then you will have a TAR model with two regimes in the LSTAR context, otherwise you will have many regimes. The following code could help.
Best regards,Code: Select all
wfcreate u 1 1000 genr x=@trend/100 for !gamma=0 to 20 step 0.1 'Smooth regimes to quick regimes genr y=@logit(!gamma*(x-2.5)) y.line statusline !gamma next
It does appear to take on more than two values. Primarily I am not interested in forecasting, but rather in explaining observed patterns in two time series. For example I have two time series which have exhibited a coupling behavior over some time, meaning they nearly converged in value. My theory is that this coupling pattern was triggered by an exogenous observed variable crossing some threshold. So I guess my interests lie in model selection primarily, because I'd like to argue that some particular transition/threshold variable is the most significant variable in determining the regime change.Maybe. To check how your transition function behaves you can select the option "Evaluation of the transition function" and this will give you the values that your transition function takes. If the function only takes two values then you will have a TAR model. Do you want the model to calculate forecasts? or for what purpose?
Best regards,
Users browsing this forum: No registered users and 2 guests