Save threshold value
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
Save threshold value
Hi! I'm running a threshold model (Max breaks set to be 1) in Eviews, and want generate a new series with all observations equal to the value of the threshold calculated in the model. Is there a command that can automatically do this? Many thanks!
-
- EViews Developer
- Posts: 113
- Joined: Thu Apr 18, 2013 8:37 am
Re: Save threshold value
Do you mean
Code: Select all
series new = equation.@thresholds(1)
Re: Save threshold value
Thanks for the reply! I tried the code but it returns "1 is not a valid index for vector-series-coefficient in
"SERIES NEW = TAR_FA_PORT_IN_GDP.@THRESHOLDS(1)"
I just want to know how to retrieve results from a threshold estimation in general. For example, if it's a self-exciting model, the threshold selected is y(-2), the value is 0.02, the lag length is 7, is there command to automatically store these information? The AIC of the estimated model can be retrieved by using @aic, and I'm looking for some similar command. Thanks!
"SERIES NEW = TAR_FA_PORT_IN_GDP.@THRESHOLDS(1)"
I just want to know how to retrieve results from a threshold estimation in general. For example, if it's a self-exciting model, the threshold selected is y(-2), the value is 0.02, the lag length is 7, is there command to automatically store these information? The AIC of the estimated model can be retrieved by using @aic, and I'm looking for some similar command. Thanks!
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Save threshold value
If no thresholds were estimated, that error can occur.
Follow us on Twitter @IHSEViews
Re: Save threshold value
Thanks, but the estimated equation has a threshold... Let me think more about it, thanks for the help!
Who is online
Users browsing this forum: No registered users and 33 guests