Developer documentation: transition model structure object
A list giving information about the structure of states and allowed
transitions in a multi-state model, and options for likelihood
calculation. Used in internal computations, and returned in a fitted
msm
model object.
nstates |
Number of states |
iso |
Label for which basic structure the model is isomorphic
to in the list of structures for which analytic formulae for the
transition probabilities are implemented in the source file
|
perm |
Permutation required to convert the base isomorphism into the structure of this model. A vector of integers whose rth element is the state number in the base structure representing state r in the current structure. |
qperm |
Inverse permutation: vector whose rth element is the state number in the current structure representing the rth state in the base structure. |
npars |
Number of allowed instantaneous transitions, equal to |
imatrix |
Indicator matrix for allowed instantaneous transitions. This has (r,s) entry 1 if the transition from r to s is permitted in continuous time, and 0 otherwise. The diagonal entries are arbitrarily set to 0. |
qmatrix |
Matrix of initial values for the transition
intensities, supplied as the |
inits |
Vector of these initial values, reading across rows of
|
constr |
Indicators for equality constraints on baseline
intensities, taken from the |
ndpars |
Number of distinct allowed instantaneous transitions, after applying equality constraints. |
expm |
Use expm package to calculate matrix exponentials
for likelihoods, as supplied to the |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.