response
model for depmix
models.response
should have at least
methods: dens
to return the dens
'ity of responses, and
getpars
and setpars
methods to get and set parameters.
The 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
sum constraint.
[object Object],[object Object],[object Object],[object Object],[object Object]