A poisson regression implementation for the "poissonsqrt" class. It uses glm with the poisson link function set to "sqrt"

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

Arguments

object

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

...

additional parameters to be passed to glm

Value

fitted model object

Examples

chmod(c_chmod(Y=women$height,X=women$weight,modclass="poissonsqrt"))
#> #> Call: stats::glm(formula = Y ~ ., family = fam, data = dat) #> #> Coefficients: #> (Intercept) object.X #> 5.62286 0.01781 #> #> Degrees of Freedom: 14 Total (i.e. Null); 13 Residual #> Null Deviance: 4.313 #> Residual Deviance: 0.05134 AIC: 94.24