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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started