Class "GLMresponse" and class "transInit"

Share:

Description

Specific instances of response models for depmix models.

Details

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.

Slots

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.

Accessor Functions

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.

Author(s)

Ingmar Visser & Maarten Speekenbrink