Learn R Programming

SPOT (version 2.11.10)

satter: Satterthwaite Function

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

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

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

Details

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

Examples

Run this code
# NOT RUN {
res <- satter(MScoeff= c(1/4, -1/4)
             , MSi = c(394.9, 73.3)
             , dfi = c(4,3)
             , alpha = 0.1)
# }

Run the code above in your browser using DataLab