ci_variable: Gets the confidence interval and p-value for a single variable.
Description
Gets the confidence interval and p-value for a single variable.
Usage
ci_variable(base_est, base_se, resampled_ests, resampled_ses, probs)
Arguments
resampled_ests
Vector of estimates from resampling.
resampled_ses
Vector of standard errors from resampling.
Value
Returns a length 3 vector: left and right CI value, and p-value.