[商管] 統計學回歸-虛擬變數
問題:
Consider a regression study involving a dependent variable y ,
a quantitative independent variable x1,and a qualitative with
two levels(level 1 and level 2).
1. Write a multiple regression equation relating x1 and the
qualitative variable to y.
2. Interpret the parameters in your regression equations.
----------------------------------------------------------------
第一題我自己的解法是
Y = b0 + b1‧x1 + b2‧D
D = { 0 ,level 1
1 ,level 2
請問虛擬變數這樣設定是否正確?
請教第二題回歸參數如何解釋? 感謝~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.160.252.35
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):