satter: Satterthwaite Function

Description Usage Arguments Details Value Examples

Description

The Satterthwaite function can be used to estimate the magnitude of the variance component (sigma_beta)^2, when the random factor has significant main effects.

Usage

1
satter(MScoeff, MSi, dfi, alpha = 0.05)

Arguments

MScoeff

coefficients c_1, c_2

MSi

mean squared values

dfi

degrees of freedom

alpha

error probability

Details

Note, the output from the satter() procedure is sigma_beta.

Value

vector with 1. estimate of variance 2. degrees of freedom, 3. lower value of 1-alpha confint 4. upper value of 1-alpha confint

Examples

1
2
3
4
res <- satter(MScoeff= c(1/4, -1/4)
             , MSi = c(394.9, 73.3)
             , dfi = c(4,3)
             , alpha = 0.1)

bartzbeielstein/SPOT documentation built on June 13, 2020, 5:58 p.m.