pyfan.stats.markov.transprobcheck¶
The pyfan.stats.markov.transprobcheck
checks markov transition row sums.
A markov transition matrix where each row does not sum up to 1 due to simulation errors. Check if the gap between 1 and the row values are too big, and then normalize.
import pyfan.stats.markov.transprobcheck as pyfan_stats_transprobcheck
Includes method markov_trans_prob_check()
and markov_condi_prob2one()
.
Functions
|
Rescale markov transitions rows to sum to 1 |
|
Markov conditional transition probability check |