Corrected Welch-Satterthwaite Degrees of Freedom

Calculates corrected Welch-Satterthwaite effective degrees of freedom for weighted sums of independent variance components. Provides corrected-default one-sample, paired, and two-sample t-tests, together with the classical Welch-Satterthwaite calculation for explicit comparison.


correctedWS

correctedWS is a proposed standalone R package for the corrected Welch-Satterthwaite effective degrees of freedom estimator.

The package makes the corrected estimator the default for its own corrected_t_test() unequal-variance two-sample test. The classical Welch-Satterthwaite calculation remains available explicitly through method = "classical" or ws_classical().

source("R/cws.R")
source("R/corrected_t_test.R")

cws(c(2, 3), c(10, 20))
corrected_t_test(x, y)
corrected_t_test(x, y, method = "classical")

This is a package proposal, not a modification of base R's stats::t.test(). Existing base-R behavior is intentionally left unchanged. See ../../cran-comments.md for the proposed CRAN submission route.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("correctedWS")

0.1.0 by Matthias von Davier, a day ago


https://github.com/cycologist/Corrected-Welch-Satterthwaite


Report a bug at https://github.com/cycologist/Corrected-Welch-Satterthwaite/issues


Browse source code at https://github.com/cran/correctedWS


Authors: Matthias von Davier [aut, cre]


Documentation:   PDF Manual  


CC0 license


Imports stats

Suggests knitr, rmarkdown


See at CRAN