logistic_coefficients: Output calculus-based logistic regression coefficients

View source: R/helper_estimates.R

logistic_coefficientsR Documentation

Output calculus-based logistic regression coefficients

Description

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

Usage

logistic_coefficients(model, location = 0.5)

Arguments

model

A fitted model (glm or glmerMod)

Value

Discrimination and difficulty estimates for a regression model

Examples

logistic_model = glm(y_bin~x + a, data=small, family=binomial)
logistic_coefficients(logistic_model)

dustinfife/flexplot documentation built on June 12, 2025, 9:15 a.m.