Description Usage Arguments Details Value Author(s) References Examples
Compute the Satterthwaite (1946) approximation to the distribution of a weighted sum of sample variances.
1 |
var |
numeric vector of independent sample variances |
df |
numeric vector of degrees of freedom for the sample variances |
multiplier |
numeric vector giving multipliers for the sample variances |
n |
numeric vector of sample sizes |
The sample variances var
are assumed to follow scaled chi-square distributions.
A scaled chi-square approximation is found for the distribution of sum(multiplier * var)
by equating first and second moments.
On output the sum to be approximated is equal to multiplier * var
which follows approximately a scaled chisquare distribution on df
degrees of freedom.
The approximation was proposed by Satterthwaite (1946).
If there are only two groups and the degrees of freedom are one less than the sample sizes then this gives the denominator of Welch's t-test for unequal variances.
A list with components
var |
effective pooled sample variance |
df |
effective pooled degrees of freedom |
multiplier |
pooled multiplier |
Gordon Smyth
Welch, B. L. (1938). The significance of the difference between two means when the population variances are unequal. Biometrika 29, 350-362.
Satterthwaite, F. E. (1946). An approximate distribution of estimates of variance components. Biometrics Bulletin 2, 110-114.
Welch, B. L. (1947). The generalization of 'Student's' problem when several different population variances are involved. Biometrika 34, 28-35.
Welch, B. L. (1949). Further note on Mrs. Aspin's tables and on certain approximations to the tabled function. Biometrika 36, 293-296.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.