File: ci_satterthwaite.R

package info (click to toggle)
r-cran-parameters 0.24.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,852 kB
  • sloc: sh: 16; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 427 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#' @rdname p_value_satterthwaite
#' @export
ci_satterthwaite <- function(model, ci = 0.95, ...) {
  df_satter <- dof_satterthwaite(model)
  out <- lapply(ci, function(i) {
    .ci_dof(
      model = model,
      ci = i,
      dof = df_satter,
      effects = "fixed",
      component = "all",
      method = "satterthwaite",
      ...
    )
  })
  out <- do.call(rbind, out)
  row.names(out) <- NULL
  out
}