02 ANOVA Homework 1

Lingfeng 2026-09-20

02 ANOVA Homework 1

1. Homework 1

Problem (1)

Consider the one-way fixed-effect ANOVA modelwhereDevice and .

First, think about the lemma, which is helpful for simplifying the proof: let , , , then
Proof: When for all , this reduces to

Recall that By the lemma applied to each group , Since , Also , thenSoTherefore,


Recall thatSimilarly, We have , so Also, since the group means are independent normal random variables, andHense, Then SoTherefore where

Problem (2)

Consider again the one-way fixed-effect ANOVA modelwhereUsing group as the reference level, write the model in the linear regression form

  1. Specify the design matrix and parameter vector , and derive the ordinary least squares estimates of the model parameters.
  2. Under the linear model formulation, derive the -statistic for testingand show that it is equivalent to the one-way ANOVA -statistic.

With group as the reference level, then SoThe design matrix is where denotes an vector of ones.

Notice thatSo using the OLS, For , letthenFor , letSo


Under , then LetthenSo

From q1, Derived by , then Thus, Therefore,
Finally,

更新于 2026-10-30 22:13:19