Satterthwaite’s df in Phoenix/WinNonlin [Software]
❝ […] there must be a step for derivation of the denominator DF which happens to coincide with the DF you get via the Welch correction when just doing ordinary unpaired t-test with unequal variances.
Given the two variances and sample sizes PHX/WNL’s degrees of freedom agree with R (21.4306 for the full data set and 10.7555 for the modified one); checked to 14 significant digits.
According to Phoenix’ User’s Guide
The linear model used in linear mixed effects modeling is:
Y~N(Xb,V)
where X is a matrix of fixed known constants, b is an unknown vector of constants, and V is the variance matrix dependent on other unknown parameters. Wald (1943)1 developed a method for testing hypotheses in a rather general class of models. To test the hypothesis H0: Lb = 0, the Wald statistic is:
(Lβ)T[L([XTV–1X)–1LT]–1(Lβ)
where β and V are estimators of β and V. L must be a matrix such that each row is in the row space of X. The Wald statistic is asymptotically distributed under the null hypothesis as a χ² random variable with q = rank(L) degrees of freedom. In common variance component models with balanced data, the Wald statistic has an exact F-distribution. Using the χ² approximation results in a test procedure that is too liberal. LinMix uses a method based on analysis techniques described by Allen and Cady (1982)2 for finding an F-distribution to approximate the distribution of the Wald statistic.
Giesbrecht and Burns (1985)3 suggested a procedure to determine denominator degrees of freedom when there is one numerator degree of freedom. Their methodology applies to variance component models with unbalanced data. Allen derived an extension of their technique to the general mixed model.
… followed by two pages in matrix-notation I can’t comprehend (aka hazelnut brain).
Let’s have a look at the modified data set (full precision).
s21 0.129240461704103, n1 12
s22 0.563916088422299, n2 9
If I trust Wikipedia
(s21+s22)2/[s41/(n1–1)+s42/(n2–1)] = 11.64240178 (≠ 10.75546079)

Aha!
(s21/n1+s22/n2)2/{s41/[n12(n1–1)]+s42/[n22(n2–1)]} = 10.75546079
![[image]](img/uploaded/image28.png)
![[image]](img/uploaded/image176.png)
Funny enough the radio buttons above turn out to be a gimmick without any effect. Whatever you choose – the dfs are identical.
Strange:
![[image]](img/uploaded/image177.png)
- Wald A. Tests of statistical hypotheses concerning several parameters when the number of observations is large. Transactions of the American Mathematical Society 1943;54(3):426–82.*
- Allen DM, Cady FB.[/b] Analyzing Experimental Data By Regression. Belmont: Lifetime Learning Publications; 1982.
- Giesbrecht FG, Burns JC. Two-Stage Analysis Based on a Mixed Model: Large-Sample Asymptotic Theory and Small-Sample Simulation Results. Biometrics. 1985;41(2):477–86.
- Wow, 57 pages! This must be serious and important stuff since in comparison Mr Einstein needed only 31 pages to describe special relativity (in German, which is more verbose than English)…
Einstein A. Zur Elektrodynamik bewegter Körper. Annalen der Physik. 1905;4(17–5): 891–921.
Dif-tor heh smusma 🖖🏼 Довге життя Україна!
![[image]](https://static.bebac.at/pics/Blue_and_yellow_ribbon_UA.png)
Helmut Schütz
![[image]](https://static.bebac.at/img/CC by.png)
The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
Complete thread:
- Parallel design [unequal variances] in Phoenix/WinNonlin Helmut 2013-07-04 20:22 [Software]
- Parallel design [unequal variances] in Phoenix/WinNonlin ElMaestro 2013-07-04 21:16
- Workaround Helmut 2013-07-04 22:13
- 3-trt study? ElMaestro 2013-07-04 22:37
- ؟ῳ ♠♣♥♦♪♫ѳ٭ Helmut 2013-07-04 23:08
- 3-trt study? ElMaestro 2013-07-04 22:37
- Satterthwaite’s df in Phoenix/WinNonlinHelmut 2013-07-05 15:13
- Satterthwaite’s df in Phoenix/WinNonlin ElMaestro 2013-07-05 17:08
- Wikipedia, the free encyclopedia that anyone can edit. Helmut 2013-07-05 17:15
- Wikipedia, the free encyclopedia that anyone can edit. ElMaestro 2013-07-05 18:25
- Improbable Helmut 2013-07-05 18:40
- Wikipedia, the free encyclopedia that anyone can edit. ElMaestro 2013-07-05 18:25
- Wikipedia, the free encyclopedia that anyone can edit. Helmut 2013-07-05 17:15
- Satterthwaite’s df in Phoenix/WinNonlin ElMaestro 2013-07-05 17:08
- Workaround Helmut 2013-07-04 22:13
- Parallel design [unequal variances] in Phoenix/WinNonlin ElMaestro 2013-07-04 21:16