5-1 What are the values of \(x_1\) and \(x_2\) for the subjects belonging to category A, B, and C, respectively

由題目中 dummy coding 得知,

A 分類的 coding 為 \((x_1,x_2)=(1,0)\)

B 分類的 coding 為 \((x_1,x_2)=(0,1)\)

C 分類的 coding 為 \((x_1,x_2)=(0,0)\)


5-2 Consider the regression function \(f(x_1,x_2)=\beta_0+\beta_1 x_1+\beta_2 x_2\). Find the corresponding values of \(f(x_1, x_2)\) in terms of \(\beta_0\), \(\beta_1\), and \(\beta_2\) for the subjects belonging to category A, B and C, respectively.

A 分類的 \(f(x_1, x_2)=\beta_0+\beta_1\)

B 分類的 \(f(x_1, x_2)=\beta_0+\beta_2\)

C 分類的 \(f(x_1, x_2)=\beta_0\)


5-3 Please use the results of 1 and 2 to interpretate the meanings of \(\beta_0\), \(\beta_1\), and \(\beta_2\).

\(\beta_0\) 表示 C 類的基準值,而 \(\beta_1\) 則表示 A 類 - C 類 的差距

同理 \(\beta_2\) 則表示 B 類 - C 類 的差距