Description Usage Arguments Value Examples
View source: R/check_baseline.R
Fits the scaled logit model as well as logistic regression. Does a likelihood ratio test.
1 2 3 4 5 6 7 8 |
formula |
Formula to use for model fitting. |
data |
Optional dataframe. |
fit_sclr |
Fit object returned by |
fit_lr |
Fit object returned by |
conf_lvl |
Confidence level for the test |
verbose |
Whether to print message based on test result. |
A tibble
with a summary.
1 2 3 | library(sclr)
l1 <- sclr_ideal_data(n = 50, theta = 1e6, seed = 20191104)
check_baseline(status ~ logHI, l1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.