| response-classes | R Documentation |
Specific instances of response models for depmix
models.
The GLMresponse-class offers an interface to the
glm functions that are subsequently used in fitting
the depmix model of which the response is a part.
The transInit is an extension of response that is used to
model the transition matrix and the initial state probabilities by the
use of a multinomial logistic model, the difference being that in fact
the response is missing as the transitions between states are not
observed. This class has its own fit function which is an interface to
the multinom function in nnet.
Both GLMresponse and transInit contain the
response-class. In addition to the slots of that class, these
classes have the following slots:
formula:A formula that specifies the model.
family:A family object specifying the link
function. See the GLMresponse help page for
possible options.
The following functions should be used for accessing the corresponding slots:
npar:The number of parameters of the model.
getdf:The number of non-fixed parameters.
Ingmar Visser & Maarten Speekenbrink
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.