View source: R/helper_estimates.R
logistic_coefficients | R Documentation |
This function takes a logistic regression model and returns more intuitive slope/intercept parameters. The slope (discrimination) is interpreted as the instantaneous (tangent) slope of the ogive curve at p = 0.5. The intercept (difficulty) is interpreted as the value of X where the logistic curve crosses the 50
logistic_coefficients(model, location = 0.5)
model |
A fitted model (glm or glmerMod) |
Discrimination and difficulty estimates for a regression model
logistic_model = glm(y_bin~x + a, data=small, family=binomial)
logistic_coefficients(logistic_model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.