# Size of Tukey's 1 Degree of Freedom Test

In Oehlert (p. 218) the following algorithm for computing Tukey's one degree of freedom test for non-additivity is suggested:

1. Fit a preliminary model; this will usually be an additive model.
2. Get the predicted values from the preliminary model; square them and divide their squares by twice the mean of the data.
3. Fit the data with a model that includes the preliminary model and the rescaled squared predicted values as explanatory variables.
4. The improvement sum of squares going from the preliminary model to the model including the rescaled squared predicted values is the single degree of freedom sum of squares for the Tukey model.
5. Test for significance of a Tukey type interaction by dividing the Tukey sum of squares by the error mean square from the model including squared predicted terms.
6. The coefficient for the rescaled squared predicted values is $\eta$􏰠, an estimate of $\eta$. If Tukey interaction is present, transform the data to the power 1 − $\eta$􏰠 to remove the Tukey interaction.

Suppose the original model is $y=X\beta +e$. If I understand things correctly, the test can be constructed the following way: get $\hat y = X\hat \beta$ from this model and compute $Z = \hat y ^2 / (2\bar y)$. Then fit the model $y=X\beta + Z\eta + u$ and test the null $\eta = 0$ against $\eta \neq 0$ using an F-test, which is equivalent to the regular t-test of this parameter.

My question is this: wouldn't the fact that $Z$ is estimated from the data distort the size of this test? Specifically, I would think the variance is underestimated. And if so, are there any studies on the size of this test? I would also be interested in a convincing argument that we don't care about the size of this test, something an applied researcher I spoke to recently claimed.

• What do you mean by "size" here? – Momo Mar 20 '15 at 18:32
• @Momo I mean the probability of rejection under the null. – ekvall Mar 20 '15 at 19:46
• You can check its behavior under the null via simulation easily enough – Glen_b -Reinstate Monica Mar 21 '15 at 7:15

The short answer is no, it doesn't distort the test's size (i.e., it keeps the at most nominal $\alpha$ level).
This is as long as the right sum of squares and right degrees of freedom are used for the F-distributed test statistic (and all other assumptions are met). The test basically compares the sum of squares of the interaction with the error sum of squares and in this the fact that interaction and error sum of squares are estimated is factored in. This is because the F distribution arises from the ratio of two scaled $\chi^2$ distributions and the estimated mean sum of squares for error and interaction each follow a $\chi^2$ distribution.
The question reveals good thinking on your part though: In the paper you find a modification of the Tukey 1 Df that exhibits more power, but it also tends to have slightly higher type-I-risk than the nominal $\alpha$. That is because the modification utilizes a $\chi²$ test statistic and relies on an asymptotic argument (basically for denominator degrees of freedom of $\infty$). In small samples this therefore exceeds the nominal level. If in the standard Tukey 1 Df test the denominator would be treated as fixed (i.e., the error sum of squares in the model with the squared predicted values - step 5) this would amount to a similar situation and would indeed cause the size to be more than $\alpha$. Luckily, though, it is not treated that way in Tukey's test.