simulate a markov chain including the absorbing state "death"
조회 수: 4 (최근 30일)
이전 댓글 표시
I am simulating a Markov chain process with the transition probability matrix:
P = [0.9044 0.0099 0 0 0.0857;...
0 0.7287 0.1057 0.0799 0.0857;...
0 0.0699 0.8183 0 0.1118; ...
0 0.376 0 0.6199 0.0041; ...
0 0 0 0 1]
where I have five states = single, marriage, divorce, widow and death
When I run the simulations, I always end up with state 5 (which is death).
Should I not include the abosrbing state?
댓글 수: 0
채택된 답변
John D'Errico
2021년 1월 25일
편집: John D'Errico
2021년 1월 25일
You won't always eventually die? While there are ways for that to not happen eventually, usually they are the plot of some movie. And if you DO know some way to avoid that particular absorbing state, you might consider selling the formula. my guess is there would be a few buyers at any cost.
Seriously, all states eventually allow transition into the absorbing state with some non-zero probability, so the long time state of the system would have you always in the absoring state. This is just an expected behavior for such a process.
댓글 수: 5
John D'Errico
2021년 1월 25일
I'm not sure what you are asking. Are you saying that you do not know how to generate a viable transition matrix from data, say from marriage, and death statistics? Or are you talking about a formulation of such a process in the form of a system of ordinary differential equations, where now you would have a death rate, marriage rate, etc., each of which would depend on the state you are currently in.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Markov Chain Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!