initialprob.nhm {nhm} | R Documentation |
Compute the initial probability vector from a fitted nhm model
Description
Outputs the vector of initial state probabilities in a misclassification type hidden Markov multi-state model fitted using nhm
.
Usage
initialprob.nhm(object, covvalue=NULL)
Arguments
object |
Fitted model object produced using |
covvalue |
Optional vector of covariate vectors (should be given in the order specified in the |
Details
The initp_nhm
function used to fit the model is called to obtain the values of the initial state vector at the supplied times for the supplied covariate value.
Value
Returns a list containing a vector of initial state probabilities and a corresponding vector of standard errors computed using the delta method.
Author(s)
Andrew Titman a.titman@lancaster.ac.uk
See Also
[Package nhm version 0.1.1 Index]