c_crit.Rd
A function for constructing functions for concrete classes of models for the crit()
family of
of functions.
c_crit(Y, lc, eta = NULL, modclass = "lmcd")
Y | vector of the outcome variable |
---|---|
lc | linear combination \(lc = X'\beta\) |
eta | for models needing extra parameter besides beta in the linear combination |
modclass | the class of model. Currently "lmcd" for linear regression, "logitcd" (logit model), "poiscd" (poisson model), "probitcd" (probit model), "nbcd" (negative binomial) are supported. |
object an object list with class attribute modclass.