Question: Let K = {1, 2, 3} be a categorical variable with three levels, and consider fitting the model E(Y |K) = 0 + 1 K

Let K = {1, 2, 3} be a categorical variable with three levels, and consider fitting the model

E(Y |K) = 0 +1K2 + 2K3,where Ki = 1 if K = i. Assume each group has the same sample size nk, and 3nk = n.

(a) Show that se(1^|K) = se(2^ |K).

(b) Show that se(0^ |K) = se( 0^+1^ |K) = se(0^+2^ |K)

(You only need to carry out these derivations to the point that you can show the equality, not derive the final values. Hint: You'll need to start taking a matrix inverse, but you may not need to complete the inverse. There is a closed form solution for a 3x3 matrix inverse.)

I already know that E(YK=1)=0 ,E(YK=2)=0+1 , E(YK=3)=0+2 . What's next for part(a)?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!