Calculates a confidence interval given a g_REML, a g_HPS, or a g_mlm object using either a central t distribution (for a symmetric interval) or a non-central t distribution (for an asymmetric interval).

## Arguments

g

an estimated effect size object of class g_REML, class g_HPS, or class g_mlm.

cover

confidence level

bound

numerical tolerance for non-centrality parameter in qt.

symmetric

If TRUE (the default), use a symmetric confidence interval. If FALSE, use a non-central t approximation to obtain an asymmetric confidence interval.

## Value

A vector of upper and lower confidence bounds.

## Examples

data(Laski)
Laski_RML <- lme(fixed = outcome ~ treatment,
random = ~ 1 | case,
correlation = corAR1(0, ~ time | case),
r_const = c(1,0,1), returnModel = FALSE)
)