satter | R Documentation |
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.
satter(MScoeff, MSi, dfi, alpha = 0.05)
MScoeff |
coefficients c_1, c_2 |
MSi |
mean squared values |
dfi |
degrees of freedom |
alpha |
error probability |
Note, the output from the satter()
procedure is sigma_beta.
vector with 1. estimate of variance 2. degrees of freedom, 3. lower value of 1-alpha confint 4. upper value of 1-alpha confint
res <- satter(MScoeff= c(1/4, -1/4) , MSi = c(394.9, 73.3) , dfi = c(4,3) , alpha = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.