response model for
An object of class "response".
This class offers a framework from which to build specific response
models such as glm based responses or multinomial responses. For
extensibility, objects with class
response should have at least
dens to return the
dens'ity of responses, and
setpars methods to get and set parameters.
constr slot is used for information on constraints that are
inherently part of a model; the only such constraints which are currently
used are 1) the sum constraint in multinomial models with identity link,
and 2) a lower bound of zero of sd parameters in gaussian distributions.
Such constraints are only used in fitting models with general optimization
routines such as
Rsolnp; the EM algorithm automagically respects the
Derivative of linear constraint.
Upper bounds for linear constraints.
Lower bounds for linear constraints.
Upper bounds on parameters.
Lower bounds on parameters.
A (named) list of parameters.
A logical vector indicating which parameters are fixed.
A matrix with the actual response; possibly multivariate.
A design matrix; possibly only an intercept term.
The number of parameters.
Information on constraints.
The following functions should be used for accessing the corresponding slots:
The number of parameters of the model.
The number of non-fixed parameters.
Ingmar Visser & Maarten Speekenbrink