Inverse-prediction interval in a logistic model
Usage
InvPredCI(b0, b1, var0, var1, cov01, pi = 0.5, alpha = 0.05)
Arguments
- b0, b1
Coefficients.
- var0, var1, cov01
Variances and covariance.
- pi
Target probability.
- alpha
Level.
Value
list(estimate, ci, bounded).
References
Bilder, C. R. & Loughin, T. M. (2025). Analysis of Categorical
Data with R, 2nd ed. Eq (2.23).
Examples
InvPredCI(-4, 2, 0.25, 0.04, -0.09)$ci
#> [1] 1.766325 2.213701