HMM_EST: MATLAB function to estimate parameters of a 2-state Hidden Markov Model (HMM)
Joanna Janczura
HSC Software from Hugo Steinhaus Center, Wroclaw University of Science and Technology
Abstract:
[KSI_TT,PARAM,P]=HMM_EST(DATA,MODEL) returns smoothed inferences KSI_TT, estimated parameters PARAM and transition matrix P of a 2-state Hidden Markov Model (HMM) with distributions specified by MODEL: (i) Gaussian in both regimes (MODEL='G-G '), (ii) Lognormal in both regimes (MODEL='LN-LN'), or (iii) Gaussian in the first regime and lognormal in the second (MODEL='G-LN ') fitted to time series DATA. The first column (KSI_TT) or row (PARAM, P) contains results for the first regime and the second column/row for the second regime.[KSI_TT,PARAM,P,KSI_T1T_10,LOGL]=HMM_EST(DATA,MODEL) additionally returns probabilities KSI_T1T_10 classifying the first observation to one of the regimes and log-likelihood LOGL of the fitted model.
Language: MATLAB
Requires: MATLAB (tested on MATLAB ver. 7.9).
Keywords: Hidden Markov Model (HMM) model; Calibration; Expectation-maximization; Smoothed inferences. (search for similar items in EconPapers)
Date: 2012-04-14
References: Add references at CitEc
Citations:
Downloads: (external link)
http://www.im.pwr.wroc.pl/~hugo/RePEc/wuu/hscode/hmm_est.m Program file (text/plain)
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:m12004
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 ().