Download presentation
Presentation is loading. Please wait.
Published byMaxim Cockey Modified over 9 years ago
1
Limited Dependent Variables: Binary Models Erik Nesson Ball State University MBSW 2013 1
2
Outline 1.Overview of LDVs 2.Binary Outcome Models a.Linear Probability Model b.Logit and Probit 3.Interpretation of Coefficients a.Odds ratios vs. marginal effects b.Implementation in Stata 2
3
Binary Outcome Models 3
4
Example: Secondhand Smoke Half of adult non-smokers are exposed to environmental tobacco smoke (ETS) Main point of public policies is to reduce ETS exposure in specific areas Ex: smokefree air laws are meant to reduce ETS exposure at work But most research about tobacco control policies focuses on reducing smoking Main question: Do tobacco control policies reduce ETS exposure in the workplace? 4
5
How to measure ETS exposure? NHANES Dataset Repeated cross-section dataset covering 1988-1994 and 1999-2004 Roughly 10k individuals interviewed every year All individuals complete extensive survey AND receive physical Contains extensive demographic and health history information Sample Non-smoking, employed individuals age 18 to 65 8,554 individuals 5
6
Dependent and Independent Variables 1.Indicators of ETS Exposure a.Q: “… how many hours per day can you smell the smoke from other people’s cigarettes, cigars, and/or pipes?” b.Serum cotinine levels Cotinine is major metabolite of nicotine with 8-16 hr half life Very low levels can be detected 2.Tobacco Control Policies a.Cigarette Taxes measured in real $2009 b.The percent of each individual’s state living under a workplace SFA law (from 0 to 100) 6
7
Summary Statistics All Workers (N=8554) White Collar Workers (N=4825) Blue Collar Workers (N=3729) MeanStd. Dev.MeanStd. Dev.MeanStd. Dev.T-Test Smell Smoke at Work0.8182.1260.5361.7171.3882.6860.000 Observable Cotinine Level0.6290.4830.5720.4950.7460.4350.000 Cigarette Excise Tax1.2650.6441.2670.6331.2620.6660.834 Female0.5020.5000.5870.4920.3300.4700.000 Age41.26012.95541.62512.62440.52213.5710.007 Black0.1020.3030.0920.2900.1210.3270.000 Hispanic0.1170.3210.0740.2620.2030.4020.000 Married0.6580.4740.6640.4720.6460.4780.248 Income to Poverty Ratio3.2361.6393.5721.5562.5591.5910.000 B.A. Degree0.3280.4690.4460.4970.0890.2850.000 Some College0.3070.4610.3160.4650.2900.4540.105 H.S. Degree0.2420.4290.1920.3940.3430.4750.000 Less than H.S.0.1220.3280.0450.2080.2780.4480.000 Family Size3.1451.5143.0031.4073.4311.6740.000 Rooms in Home6.3342.1166.5662.1895.8661.8770.000 7
8
Self-Reported ETS Exposure at Work by Job Category 8
9
Tabulation of Observable Cotinine Levels by Job Category 9
10
Basic Model 10
11
Linear Probability Model 11
12
Binary Outcome Models 12
13
Linear Probability Results Table shows marginal effects with standard errors in parentheses Self-Reported ExposureObservable Cotinine Levels All Workers White Collar Workers Blue Collar WorkersAll Workers White Collar Workers Blue Collar Workers Cigarette Excise Tax0.0350.055*0.0210.019 0.015 0.026 (0.03) (0.07)(0.03)(0.04)(0.05) Work SFA Law-0.001*0.000-0.002***-0.002***-0.003***-0.001 (0.00) 13
14
Logit or Probit 14
15
Interpretation of Coefficients 15
16
Interpretation of Coefficients 16
17
Calculating Marginal Effects For both continuous and discrete variables, other coefficients and variable values enter into marginal effects calculation Three common approaches: 1.Marginal effect at the mean: Use mean values of other variables 2.Average marginal effect: Calculate marginal effect for each observation 3.Marginal effect at some other value of coefficients 17
18
Calculating Marginal Effects 18
19
Calculating Marginal Effects 19
20
Implementation in Stata Code for estimating marginal effect at the mean in Stata: logit y x margins, dydx(varlist) atmeans Code for estimating average marginal effect in Stata: logit y x margins, dydx(varlist) Usually Stata is smart enough to determine which independent variables are binary 20
21
Odds Ratios 21
22
Odds Ratios and Logit 22
23
Odds Ratios and Logit 23
24
Odds Ratios and Logit What does an odds ratio of 2 mean? Odds of y=1 are 2x greater when x=1 than when x=0 Could be that Odds that y=1|x=1 = 4 and odds that y=1|x=0 = 2 Odds that y=1|x=1 = 3 and odds that y=1|x=0 = 1.5 Odds that y=1|x=1 = 2 and odds that y=1|x=0 = 1 So odds ratios are not equal to marginal effects Do not tell us about differences in probability 24
25
Odds Ratios and Marginal Effects Odds Ratio Marginal Effect 0.050.100.050.112.110.05 0.100.150.110.181.590.05 0.500.551.001.22 0.05 0.800.854.005.671.420.05 0.900.959.0019.002.110.05 25
26
Logit Results Table shows odds ratios, standard errors in parentheses, and marginal effects in brackets Self-Reported ExposureObservable Cotinine Levels All Workers White Collar Workers Blue Collar WorkersAll Workers White Collar Workers Blue Collar Workers Cigarette Excise1.2261.447*1.1271.0081.0001.043 Tax(1.17)(0.79)(3.49)(0.02)(0.05)(0.02) [0.030][0.039][0.027][0.001][0.000][0.003] Work SFA Law0.993***0.9950.988***0.990***0.987***0.997 (-0.32)(-0.86)(-0.38)(0.00) [-0.001] [-0.003][-0.002] [-0.000] 26
27
Other Issues Standard errors are complicated Be wary of canned programs (like Stata!) which allow calculation of robust variance/covariance matrices. Interaction terms are also complicated Odds ratios can be difficult to interpret Marginal effects are better! 27
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.