R/ci_satterthwaite.R

Defines functions ci_satterthwaite

Documented in ci_satterthwaite

#' @rdname p_value_satterthwaite
#' @export
ci_satterthwaite <- function(model, ci = 0.95, ...) {
  df_satter <- dof_satterthwaite(model)
  if (inherits(model, "glmmTMB")) {
    component <- "conditional"
  } else {
    component <- "all"
  }
  out <- lapply(ci, function(i) {
    .ci_dof(
      model = model,
      ci = i,
      dof = df_satter,
      effects = "fixed",
      component = component,
      method = "satterthwaite",
      ...
    )
  })
  out <- do.call(rbind, out)
  row.names(out) <- NULL
  out
}

Try the parameters package in your browser

Any scripts or data that you put into this service are public.

parameters documentation built on Nov. 25, 2025, 5:06 p.m.