turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- Analytics
- /
- Forecasting
- /
- TAR Models

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

07-23-2012 09:44 AM

Hey,

I would like to estimate a threshold autoregressive model with SAS software, but I do not know if it is possible to estimate it?

Is it possible to estimate it with the procedure MODEL?

Can someone help me to find some codes to estimate this model?

I know that the estimation of this particular class of models is possible with the software R (using the procedure SETAR).

Thanks,

Anaïs

Accepted Solutions

Solution

08-09-2017
03:21 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

Posted in reply to anais

07-23-2012 12:55 PM

Hello Anais,

It seems PROC MODEL can be used to estimate a Threshold Autoregressive model in SAS. In fact, in our examples we show how to estimate a switching model in PROC MODEL. This can be found here. http://support.sas.com/documentation/cdl/en/etsug/63939/HTML/default/viewer.htm#etsug_model_sect096....

From the developer of the PROC, "...estimation of the switching parameter is problematic. That’s why we approximate

the discrete switch with a smoother (first order continuous) transition between models in the example. For TAR models where more than TWO regimes are considered, this could be onerous to implement in MODEL."

I hope this helps-Ken

All Replies

Solution

08-09-2017
03:21 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

Posted in reply to anais

07-23-2012 12:55 PM

Hello Anais,

It seems PROC MODEL can be used to estimate a Threshold Autoregressive model in SAS. In fact, in our examples we show how to estimate a switching model in PROC MODEL. This can be found here. http://support.sas.com/documentation/cdl/en/etsug/63939/HTML/default/viewer.htm#etsug_model_sect096....

From the developer of the PROC, "...estimation of the switching parameter is problematic. That’s why we approximate

the discrete switch with a smoother (first order continuous) transition between models in the example. For TAR models where more than TWO regimes are considered, this could be onerous to implement in MODEL."

I hope this helps-Ken

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

Posted in reply to ets_kps

07-24-2012 04:17 AM

Thanks,

I read the example that you gave me.

I modified it a little bit in order to adapt it to my model. I changed the "threshold variable", instead of choosing an exogeneous variable, I chose to put a lag of my endogeneous variable, in order to replicate a SETAR Model.

I tried to estimate it but, it seems that there is a problem of convergence in the estimaors. I don't know how to solve it?

Do I have to change the level of convergence, in order to have "algorithm converged"?

Thanks,

Anaïs

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

Posted in reply to anais

07-24-2012 05:22 AM

I also tried to use an exogeneous variable (as the "threshold variable"), but it seems that there is a problem of singularity and SAS did not want to estimate my model.

I don't understand, I wrote exactly the same codes as in the example...