Академический Документы
Профессиональный Документы
Культура Документы
Questions to be answered
3/7/2016
Today were going to talk about how to deal with having a dummy variable on the
LHS
0,1
Binary outcomes of interest could be
Accepted/rejected (schools, jobs, etc.)
Win/lose (elections, games, etc.)
Divorce
Mortality
Owning a car
ADMIT
-1
120
130
140
150
160
170
180
LSAT
Copyright UCSB Economics
3/7/2016
Predicts
accept
ADMIT
Predicts
reject
-1
120
130
140
150
160
170
180
LSAT
ADMIT
-1
120
130
140
150
160
170
180
LSAT
Copyright UCSB Economics
3/7/2016
ADMIT
-1
120
130
140
150
160
170
180
Dont even
want to think
about this
one.
LSAT
Copyright UCSB Economics
Works like a normal linear regression, but the interpretation of coefficients change
because
is now binary.
3/7/2016
1, holding
Coefficien...
Std. Error
t-Statistic
-4.569073
0.030857
0.211360
0.001339
-21.61751
23.04413
0.253351
0.252874
0.394742
243.8602
-765.9135
531.0320
0.000000
Prob.
0.0000
0.0000
0.296107
0.456685
0.980107
0.986944
0.982648
1.930402
10
3/7/2016
1.0
Admission probability
0.8
0.6
0.4
0.2
0.0
120
130
140
150
160
170
180
LSAT
Prob
11
CDFs have an S-shape and can only take values between zero and one!
12
3/7/2016
Prob
If
0, as
No matter how high the score is, the predicted probability can never be >1
If
0, as
No matter how low the score is, the predicted probability can never be <0
13
Small
marginal
effect
1.0
Admission probability
0.8
0.6
Large
marginal
effect
0.4
0.2
Small
marginal
effect
Copyright UCSB Economics
0.0
120
130
140
150
LSAT
160
170
180
14
3/7/2016
Coefficien...
Std. Error
z-Statistic
Prob.
C
LSAT
GPA
WARES
-33.90669
0.166671
1.854844
0.851325
1.684663
0.009007
0.151873
0.090676
-20.12669
18.50393
12.21315
9.388630
0.0000
0.0000
0.0000
0.0000
McFadden R-square...
S.D. dependent var
Akaike info criterion
Schwarz criterion
Hannan-Quinn criter.
Restr. deviance
LR statistic
Prob(LR statistic)
0.400316
0.456685
0.733757
0.747432
0.738840
1903.998
762.2008
0.000000
1103
464
0.296107
0.333010
173.3295
-570.8988
1141.798
-951.9992
-0.364326
1567
15
Data from a 1969 survey, filled out by the readers of Psychology Today. The results
were published in the July 1970 issue. The sample includes employed men and
women married for the first time.
,
3/7/2016
Coefficien...
Std. Error
z-Statistic
Prob.
C
-1.349069
KIDS
0.663679
YEARSMARRIED
0.086164
KIDS*YEARSMARRIE... -0.074977
0.169544
0.234303
0.028282
0.031447
-7.957044
2.832564
3.046628
-2.384259
0.0000
0.0046
0.0023
0.0171
McFadden R-squared
S.D. dependent var
Akaike info criterion
Schwarz criterion
Hannan-Quinn criter.
Restr. deviance
LR statistic
Prob(LR statistic)
Obs with Dep=0
Obs with Dep=1
0.031411
0.433133
1.101768
1.131043
1.113164
675.3770
21.21428
0.000095
451
150
0.249584
0.427740
109.2282
-327.0814
654.1627
-337.6885
-0.544229
601
17
.50
.45
.40
.35
.30
.25
.20
.15
.10
10
12
14
16
YEARS MARRIED
Have kids
No kids
18