Description Usage Format Source References Examples
yearly observations of 51 states from 1983 to 1997
number of observations : 765
number of time-series : 15
country : United States
package : panel
JEL codes: R41, K42
Chapter : 06
1 |
A dataframe containing:
the state code
the year
the number of traffic fatalities of drivers and passengers (of any seating position) of a motor vehicule in transport
the number of traffic fatalities of pedestrians and bicyclists
rate of seat belt usage
median income in current US dollars
unemployment rate
mean age
the percentage of african-americans in the state population
the percentage of people of hispanic origin in the state population
traffic density urban ; registered vehicules per unit length of urban roads in miles
traffic density rural ; registered vehicules per unit length of urban roads in miles
number of violent crimes (homicide, rape and robbery) per capita
number of preperty rimes (burglary, larceny and auto theft) per capita
vehicule miles traveled on rural roads
vehicule miles traveled on urban roads
fuel tax (in curent cents)
65 miles per hour speed limit (55 mph is the base category)
70 miles per hour or above speed limit (55 mph is the base caegory)
a dummy variable that is equal to 1 for a minimum for a minimum legal drinking age of 21 years (18 years is the base category)
a dummy variable that is equal to 1 foe a maximum of 0.08 blood alcohol content (0.1 is the base category)
a dummy equal to 1 for the periods in which the state had a secondary-enforcement mandatory seat belt law, or a primary-enforcement law that preceded by a secondary-enforcement law (no seat belt law is the base category)
a dummy variable eqal to 1 for the periods in which the state had a primary-enforcement mandatory seat belt law that was not preceded by a secondary-enforcement law (no seat belt is the base category)
a dummy variable equal to 1 for the periods in which the state had a primary-enforcement mandatory seat belt law that was preceded by a secondary enforcement law (no seat belt law is the base category
author's website https://leinav.people.stanford.edu
Cohen, Alma and Liran Einav (2003) “The Effects of Mandatory Seat Belt Laws on Driving Behavior and Traffic Fatalities”, The Review of Economics and Statistics, 85(4), 828-843, doi: 10.2139/ssrn.293582 .
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #### Example 6-1
## ------------------------------------------------------------------------
## Not run:
library("plm")
## ------------------------------------------------------------------------
y ~ x1 + x2 + x3 | x1 + x3 + z
y ~ x1 + x2 + x3 | . - x2 + z
## ------------------------------------------------------------------------
data("SeatBelt", package = "pder")
SeatBelt$occfat <- with(SeatBelt, log(farsocc / (vmtrural + vmturban)))
ols <- plm(occfat ~ log(usage) + log(percapin) + log(unemp) + log(meanage) +
log(precentb) + log(precenth)+ log(densrur) +
log(densurb) + log(viopcap) + log(proppcap) +
log(vmtrural) + log(vmturban) + log(fueltax) +
lim65 + lim70p + mlda21 + bac08, SeatBelt,
effect = "time")
fe <- update(ols, effect = "twoways")
ivfe <- update(fe, . ~ . | . - log(usage) + ds + dp +dsp)
rbind(ols = coef(summary(ols))[1,],
fe = coef(summary(fe))[1, ],
w2sls = coef(summary(ivfe))[1, ])
## ------------------------------------------------------------------------
SeatBelt$noccfat <- with(SeatBelt, log(farsnocc / (vmtrural + vmturban)))
nivfe <- update(ivfe, noccfat ~ . | .)
coef(summary(nivfe))[1, ]
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.