Log-density of each row of a transition matrix under independent Dirichlet priors, the conjugate priors used by the Bayesian estimation of the package.
Usage
priorDistribution(transMatr, hyperparam = matrix())Value
A named numeric vector with, for each state, the logarithm of the
Dirichlet density of its row of transMatr.
Note
With a prior data set and a prior transition matrix, the
hyperparameters can be inferred with inferHyperparam() and the prior
density of the matrix then evaluated with these hyperparameters.
References
Yalamanchi, S. B. and Spedicato, G. A. (2015). Bayesian inference of first order Markov chains. Vignette of the markovchain package.
See also
Other Bayesian inference:
inferHyperparam(),
predictiveDistribution()