c_chmod.Rd
A function for constructing functions for concrete classes of models for the chmod()
family of
of functions.
c_chmod(Y, X, modclass = "lm")
Y | vector of the outcome variable |
---|---|
X | matrix of covariates; excepting intercepts 1's |
modclass | the class of model. Currently, "lm" for linear regression, "logit" (logit model), "qreg" (quantile regression), "probit" (probit model), "gammainverse" (gamma with inverse link), "gammalog" (gamma with log link), "poissonlog" (poisson model with log link), "poissonidentity" (poisson with identity link), "poissonsqrt" (poisson with sqrt link), "negbin" (negative binomial) are supported. |
object an object list with class attribute modclass.