A logit regression implementation for the "logit" class. It uses glm with the binomial link function set to "logit"

# S3 method for logit
chmod(object, ...)

Arguments

object

a list of Y - outcome variable and X - design matrix of class "logit"

...

additional parameters to be passed to glm

Value

fitted model object

Examples

chmod(c_chmod(Y=women$height<=50,X=women$weight,modclass="logit"))
#> #> Call: stats::glm(formula = object$Y ~ ., family = fam, data = dat) #> #> Coefficients: #> (Intercept) object.X #> -2.557e+01 -8.300e-16 #> #> Degrees of Freedom: 14 Total (i.e. Null); 13 Residual #> Null Deviance: 0 #> Residual Deviance: 2.366e-10 AIC: 4