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
- /
- Markov Chain Forecasts

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

08-05-2010 03:49 PM

Is there a way to implement markov chains models in SAS ( for forecasting purposes using transition matrices as opposed to gibbs sampler MCMC simulations)

I suppose I could define matrices in R or via SAS IML, but I'd hope that there is a PROC that can be exploited for this.

For example see:

http://www.utdallas.edu/ospa/research/Conference%20Presentations/AIR/documents/TimeHorizon.pdf

Thanks

I suppose I could define matrices in R or via SAS IML, but I'd hope that there is a PROC that can be exploited for this.

For example see:

http://www.utdallas.edu/ospa/research/Conference%20Presentations/AIR/documents/TimeHorizon.pdf

Thanks

Accepted Solutions

Solution

07-13-2016
08:16 AM

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

04-10-2014 02:47 PM

There is no out-of-the-box PROC that can build Markov chain forecasts that I know of. If it's really simple with static transition probabilities, then it could be done in IML. Alternatively, one can build dynamic Markov models using Base SAS and SAS/STAT...you don't even have to use IML. Your transition probabilities must be computed using logistic regression. I build migration models for account delinquency status estimation (stress testing models for the Dodd-Frank Act) using SAS 9.3. It's lots of coding. If I can make my code sanitary enough, I'll try to share in the SAS communities.

Andre

All Replies

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

01-28-2014 09:15 AM

From my knowledge, you could implement MC (markov chains) model in proc IML.

I attached an example of code that use SAS to implement MC models in proc IML.

Some options in proc MCMC export posterior sample for other analysis. However i not sure to fully understand your need ?

Solution

07-13-2016
08:16 AM

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

04-10-2014 02:47 PM

There is no out-of-the-box PROC that can build Markov chain forecasts that I know of. If it's really simple with static transition probabilities, then it could be done in IML. Alternatively, one can build dynamic Markov models using Base SAS and SAS/STAT...you don't even have to use IML. Your transition probabilities must be computed using logistic regression. I build migration models for account delinquency status estimation (stress testing models for the Dodd-Frank Act) using SAS 9.3. It's lots of coding. If I can make my code sanitary enough, I'll try to share in the SAS communities.

Andre