Description Usage Arguments References Examples
satterthwaite
1 | satterthwaite(c, MSE, df, alpha = 0.05)
|
c |
c |
MSE |
mse |
df |
df |
alpha |
a |
Michael H. Kutner; Christopher J. Nachtsheim; John Neter; William Li. Applied Linear Statistical Models Fifth Edition. chapter 25.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (c, MSE, df, alpha = 0.05)
{
l = c * MSE
L = sum(c * MSE)
dff <- ((L^2)/sum((l^2)/df))
lower <- (dff * L)/(qchisq(1 - alpha/2, round(dff)))
upper <- (dff * L)/(qchisq(alpha/2, round(dff)))
return(cbind(estimate = L, df = round(dff), lower = lower,
upper = upper))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.