Description Usage Arguments Value Examples
logitModel
computes a logistic regression for a binary response
variable via newtonRaphson
estimation method.
1 | logitModel(formula, data, precision = 1e-10, iterMax = 25)
|
formula |
an object of class "formula". |
data |
an optional data frame or coercible to one. If empty, the variables are taken from the Global Environment. |
precision |
degree of precision of optimisation algorithm. |
iterMax |
maximum number of iterations of optimisation algorithm. |
logitModel
returns an object of class
logitModel, which includes the coefficients, fitted vlaues,
variance-covariance matrix, residuals, degree of freedom, loglikelihood
value and deviance (these last three values also from Null model), and
AIC. A few extra extra inforamtion such as the formula, the function
call, the response variable and the design matrix, as well as the weight
matrix and the number of iterations needed for convergence.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.