hmmProcess {samurais} | R Documentation |
hmmProcess calculates the probability distribution of a random process following a Markov chain
Description
hmmProcess calculates the probability distribution of a random process following a Markov chain
Usage
hmmProcess(prior, trans_mat, n)
Arguments
prior |
Numeric vector or a one row matrix of length K representing the prior probabilities of the Markov chain. |
trans_mat |
Matrix of size |
n |
Numeric. Number of variables of the Markov chain. |
Details
hmmProcess calculates the distribution
of a Markov chain
with prior probability
and transition
matrix
.
The calculation is based on the following formula:
Value
Matrix of size giving the distribution of process given
the K-state Markov chain parameters.
[Package samurais version 0.1.0 Index]