Description Usage Arguments Value Examples
mylogit is used to fit a logistic regression model.
1 |
formula |
a symbolic description of the model to be fitted. |
data |
a data frame containing the variables in the model. |
format |
output format. brief, as default for brief output, detailed for detailed output, nothing for no printing output. |
a list containing the following components:
coefficients |
coefficients of logistic regression model |
z.value |
the z score of coefficients |
p.value |
the p value of coefficients |
cov |
covariance matrix |
std.err |
standard error |
deviance |
deviance |
null.deviance |
null deviance |
r2 |
r-square, 1 - (deviance/null.deviance) |
AIC |
AIC score |
null.df |
degrees of freedom of null model |
df |
degrees of freedom of logistic model |
level |
the levels of response variable |
fitted.values |
fitted values for input dataset |
predict.class |
class prediction for input dataset |
predict.accuracy |
accuracy of class prediction |
formula |
formula of logistic model |
data |
input dataset |
1 | mylogit(formula = supp ~ len + dose, data = ToothGrowth, format="brief")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.