| calculate_confidence_intervals | R Documentation |
Computes a symmetric confidence interval given a point estimate and
its standard error. Returns NA bounds when either input is NA.
calculate_confidence_intervals(
estimate,
se,
confidence_level = 0.95,
method = "normal"
)
estimate |
Numeric point estimate (scalar or vector) |
se |
Standard error of the estimate |
confidence_level |
Confidence level in (0, 1), default 0.95 |
method |
|
Named list with ci_lower, ci_upper,
method, and confidence_level
calculate_confidence_intervals(0.5, 0.05)
calculate_confidence_intervals(0.5, 0.05, confidence_level = 0.99)
calculate_confidence_intervals(NA, 0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.