| pn2pw {countHMM} | R Documentation | 
pn2pw
Description
Transforming natural parameters to working parameters. Not intended to be run by the user (internal function, called by the functions nLogLike and fitMod).
Usage
pn2pw(N,probs,gamma,delta,stationary)
Arguments
| N | Number of states. | 
| probs | Matrix with  | 
| gamma | Transition probability matrix of the Markov chain underlying the observed counts with  | 
| delta | Initial distribution vector of length  | 
| stationary | Logical, determines whether the initial distribution of the Markov chain underlying the observed counts is the stationary distribution. | 
Value
A vector of working parameters.
Examples
# transforming natural parameters to working paramters
pn2pw(N=2,probs=cbind(dpois(x=0:41,lambda=14),dpois(x=0:41,lambda=26)),
gamma=matrix(c(0.95,0.05,0.05,0.95),ncol=2),delta=NULL,stationary=TRUE)
[Package countHMM version 0.1.0 Index]