1 / 18
文档名称:

多元回归分析虚拟变量.ppt

格式:ppt   大小:1,039KB   页数:18页
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

多元回归分析虚拟变量.ppt

上传人:文库新人 2022/3/14 文件大小:1.01 MB

下载得到文件列表

多元回归分析虚拟变量.ppt

文档介绍

文档介绍:多元回归分析虚拟变量
*
现在学****的是第1页,共18页
Dummy Variables
A dummy variable is a variable that takes on the value 1 or 0
Exampl (wâgeF-wâgeM)/wâgeM=exp(-)-1==%
*
现在学****的是第5页,共18页
Example: Effects of Computer Ownership on College GPA
Whether a student own a computer effect the performance of the student?
colGPA= b0 +d0 PC+b1hsGPA+b2ACT+u
colGPA= ++++u
() () () ()
n=141, R2=
This means that a student who owns a computer has a predicted GPA about points higher than a comparable student without a computer.
The coefficient of PC is different from zero, that’s, the difference between two different type students is significant.
*
现在学****的是第6页,共18页
Multiple Categories (cont)
Any categorical variable can be turned into a set of dummy variables
Because the base group is represented by the intercept, if there are n categories there should be n – 1 dummy variables
If there are a lot of categories, it may make sense to group some together
Example: wage determinations
log(wâge)= + - - +
() () () ()
+ +
() () () n=526 R2=
*
现在学****的是第7页,共18页
Interactions Among Dummies
Interacting dummy variables is like subdividing the group
log(wâge)= - + -•married +
() () () ()
+ +
() () () n=526 R2=
The base group is single men when female=0 and married=0
So,
when female=0 and married=1, the intercept for the married men is +.0292=
female=1, married=0, single women -=
female=1, married=1, mar