Nonparametric Estimation of Regime Switching Data

버전 1.0.0.0 (10.2 KB) 작성자: Moeti Ncube
Methodology from simulated data without any modeling assumptions
다운로드 수: 1.2K
업데이트 날짜: 2011/4/11

라이선스 보기

This model was build for data that tends to fluctuate between different regimes but can be applied quite generally.
The data I used in this example is assumed to come from three regimes: 1-full generation, 2-partial generation, 3-little to no generation. The
%model works as follows:
1) I split the observable data into three partitions as determined by vector 'perc', (any number of partitions can be assigned here).
2) I compute an empirical markove chain based on the observable data and my partition space. For example I find the percentage of all observation in my dataset that are at full generation at time t and remain there at time t+1, this gives me p(1,1). I then find the percentage of all observations that are at full generation at time t and go the partial generation at time t+1, this gives me p(1,2)... I continue in this way until i have a 3x3 transition matrix for the data
3) I can now generate simulated states [1,2,3] from my empirical transition matrix, the next step is given I am in a particular state, to generate a sample from that state. I do this by computing empirical discrete probability distribution of each regime with a precision 'dt'.

This model can now be used to simulate the observed process dynamics, the results show that the sample paths as well has histograms match quite well. The general mechanism can be applied a wide array of dataset for nonparametric simulations.

인용 양식

Moeti Ncube (2024). Nonparametric Estimation of Regime Switching Data (https://www.mathworks.com/matlabcentral/fileexchange/31017-nonparametric-estimation-of-regime-switching-data), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2008b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Markov Chain Models에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0