invlogit_ci Takes the inverse of logit transformed parameters and calculates the confidence interval by using the critical value.

invlogit_ci(est, se, crit.value)

Arguments

est

A parameter estimate on the logit scale.

se

A standard error value on the logit scale.

crit.value

Critical value of any distribution.

Value

Parameter, critical value and confidence intervals on original scale.

Details

Takes the inverse of logit transformed parameter estimates. The confidence interval is calculated by taking the inverse of \(est +/- crit.value{1-\alpha/2} * se\).

Author

Martijn Heymans, 2021

Examples

 invlogit_ci(est=1.39, se=0.25, crit.value=1.96)
#>           [,1] [,2]      [,3]      [,4]
#> [1,] 0.8005922 1.96 0.7109495 0.8676111