powered by
Fits the scaled logit model as well as logistic regression. Does a likelihood ratio test.
check_baseline( formula = NULL, data = NULL, fit_sclr = NULL, fit_lr = NULL, conf_lvl = 0.95, verbose = TRUE )
Formula to use for model fitting.
Optional dataframe.
Fit object returned by sclr.
sclr
Fit object returned by glm.
glm
Confidence level for the test
Whether to print message based on test result.
A tibble with a summary.
tibble
# NOT RUN { library(sclr) l1 <- sclr_ideal_data(n = 50, theta = 1e6, seed = 20191104) check_baseline(status ~ logHI, l1) # }
Run the code above in your browser using DataLab