First let’s check that the predictor variable (drink
) and the covariate (drunk
) are independent. To do this we can run a one-way ANOVA. The output shows that the main effect of drink
is not significant, F(2, 12) = 1.36, p = 0.295, which shows that the average level of drunkenness the night before was roughly the same in the three drink groups. This result is good news for using this model to adjust for the variable drunk
.
The output below shows that the covariate significantly predicts the outcome variable, so the drunkenness of the person influenced how well they felt the next day F(1,11) = 27.89, p < .001. What’s more interesting is that after adjusting for the effect of drunkenness, the effect of drink is significant F(2, 11) = 4.318, p = 0.041.