EconPapers    
Economics at your fingertips  
 

MRS3_PLOT: MATLAB function to plot calibration results for a Markov regime-switching (MRS) model with 3 regimes

Joanna Janczura and Rafał Weron

HSC Software from Hugo Steinhaus Center, Wroclaw University of Science and Technology

Abstract: MRS3_PLOT(KSI_TT,DATA) generates a figure with three panels visualizing calibration results for a Markov regime-switching (MRS) model with 3 regimes fitted to time series DATA. In the middle and bottom panels probabilities KSI_TT that an observation comes from the spike (i.e. second) or the drop (i.e. third) regimes, respectively, are plotted. In the top panel the time series is displayed with observations identified as belonging to the spike regime (i.e. having KSI_TT(:,2)>0.5) marked by red dots and with observations identified as belonging to the drop regime (i.e. having KSI_TT(:,3)>0.5) marked by black x's. MRS3_PLOT(KSI_TT,DATA,YLAB,XLAB,TIT,POS) allows to specify ylabel (YLAB), xlabel (XLAB), title (TIT) and position of the plot (POS=1 for left panel, POS=2 for right panel and POS=0 for the whole figure).

Language: MATLAB
Requires: MATLAB (tested on MATLAB ver. 7.9).
Keywords: Markov regime-switching (MRS) model; Sample trajectory; Calibration. (search for similar items in EconPapers)
Date: 2011-10-10
References: Add references at CitEc
Citations:

Downloads: (external link)
http://www.im.pwr.wroc.pl/~hugo/RePEc/wuu/hscode/mrs3_plot.m Program file (text/plain)
Our link check indicates that this URL is bad, the error code is: 500 Can't connect to kkm.im.pwr.edu.pl:443 (certificate verify failed) (http://www.im.pwr.wroc.pl/~hugo/RePEc/wuu/hscode/mrs3_plot.m [301 Moved Permanently]--> https://kkm.im.pwr.edu.pl/~hugo/RePEc/wuu/hscode/mrs3_plot.m)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:wuu:hscode:m11009

Access Statistics for this software item

More software in HSC Software from Hugo Steinhaus Center, Wroclaw University of Science and Technology Contact information at EDIRC.
Bibliographic data for series maintained by Rafal Weron (rafal.weron@pwr.edu.pl).

 
Page updated 2025-04-12
Handle: RePEc:wuu:hscode:m11009