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

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

Arguments

object

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

...

additional parameters to be passed to glm

Value

fitted model object

Examples

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