| confidence | R Documentation | 
Function to construct a confidence interval around an effect size or mean effect size.
confidence(
  mean,
  se = NULL,
  df = NULL,
  conf_level = 0.95,
  conf_method = c("t", "norm"),
  ...
)
| mean | Mean effect size (if used in a meta-analysis) or observed effect size (if used on individual statistics). | 
| se | Standard error of the statistic. | 
| df | Degrees of freedom of the statistic (necessary if using the t distribution). | 
| conf_level | Confidence level that defines the width of the confidence interval (default = .95). | 
| conf_method | Distribution to be used to compute the width of confidence intervals. Available options are "t" for t distribution or "norm" for normal distribution. | 
| ... | Additional arguments | 
CI=mean_{es}\pm quantile\times SE_{es}
A matrix of confidence intervals of the specified width.
confidence(mean = c(.3, .5), se = c(.15, .2), df = c(100, 200), conf_level = .95, conf_method = "t")
confidence(mean = c(.3, .5), se = c(.15, .2), conf_level = .95, conf_method = "norm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.