
Welcome to the companion web
page for the Cambridge University Press book Event History Modeling: A Guide for Social Scientists, by Janet M. Box-Steffensmeier and Bradford S. Jones. On this website, you
will find access to some of the data sets, software code, and statistical
output used in the book. Most applications were done using the software package
Stata.
I have updated some code for the R environment. Please note that because
many of the examples are pedagogial, the code we
present is used to convey the statistical form of some of the quantities in
event history analysis. Put differently, there are different (and more
efficient) ways to arrive at the results we present in the book. Additionally,
this page will contain links to software sites as well as other links that we
find useful for applied event history analysis.
I have also included some ancillary materials to the book, for example some
lecture notes, including notes used at the Summer ICPSR Methodology Program.
Students looking for these notes should scroll down this page.
Additional materials on
duration modeling can be found at the website for my POL 290G seminar. The URL
is: http://psfaculty.ucdavis.edu/bsjjones/pol290gw07.html.
Data and Software Files
Below, we have links to various Stata files (data sets,
do files, log files, etc.) that correspond to some of the data sets used in the
book. Click on the "log files" to read a description of what the
relevant file contains. The links are categorized by the data set upon which
they are based. Note that I've found some errors and am working to correct
them.
Files for the U.N. Peacekeeping Data
"UNFINAL.dta": Stata 8 data file. This data set is used in ICPSR
Application Tutorials 1 and 2. I use this data set to illustrate the
Kaplan-Meier and Nelson-Aalen estimators. It is also used to illustrate some
results from the exponential and Weibull
distributions. This data set may be used to replicate all results found in the
book referencing U.N. peacekeeping missions.
The next two files have code/output relevant for parametric models, Cox models,
and Kaplan-Meier estimates.
Stata log file with KM,
parametric, and Cox results using UN Data (Word Format)
Stata DO file for U.N.
Peacekeeping Missions (Corresponding output found in log files listed above)
Files for restrictive abortion
legislation data
"restrictiveadoption.dta":
Stata 8 data file.: This data set is used in
ICPSR Application Tutorial 2 (see below). In this tutorial, I illustrate
various PH diagnostics for the Cox model. This data set can be used to
replicate the results from the tutorial.
"adopt_singleevent.dta":
Stata 8 data file.: This data set is used in ICPSR Application Tutorial 5 (see
below). In this tutorial, I illustrate the Royston-Parmer model. Note that this
data set along with the code in the tutorial will replicate all results from
Chapter 6 of the book.
Files for the Cabinet Duration Data
"cabinet.dta": Stata 8 data file. This data set is used extensively in
ICPSR Application Tutorials 2 and 3. In these tutorials, I illustrate both the Cox and parametric models as well as various
Cox/parametric model diagnostics. This data set can be used to replicate all
results in the book that make use of the cabinet duration data. Essentially all
of the code necessary to do this can be found in the ICPSR Application
Tutorials or in the files shown below. The code in the Tutorials is updated to Stata version 8.0.
Stata log file with
parametric, and Cox results using Cabinet Data (Word Format)
Stata DO file for Cabinet
Duration Data (Corresponding output found in log files listed above)
Stata log file with Cox
Diagnostics (Word Format)
Stata DO file for Cabinet Duration
Data (Corresponding output found in log files listed above)
Files for the Congressional Career Data
"career.dta": Stata 8 data file. This data set is used in ICPSR
Application Tutorial 4. In this tutorial, I use this data set to illustrate
various discrete-time models as well as illustrate different functional forms
for time dependency. Please note that this data set must be used to replicate
the results on congressional careers in Chapter 5 of the book.
Files for Obscenity Legislation
Adoption
"obscenity.dta": Stata 8 data file. This data set is used in ICPSR
Application Tutorials 6 and 7. I use frailty models on these data in this
tutorial.
Miscellaneous Data Files
"icpsr_discrete1.dta": Stata 8 Data File. This is a simulated data set that is
used in ICPSR Application Tutorial 3 (see below). In this tutorial, I use this
data set to show the connection between the "exactp"
approximation and the conditional logit link.
Materials for MLE2: Event History
Analysis. ICPSR Summer 2005
MLE 2 EHA Syllabus
Application Tutorials
A Stylized Introduction to EHA
Tutorial 1: Kaplan-Meier/Nelson-Aalen
Tutorial 2: Parametrics
Tutorial 3: Cox Model
Tutorial 4: Discrete Models
Tutorial 5: Royston-Parmer Model
Tutorial 6: Frailty Models
Tutorial 7: Repeatable Events (Conditional Risk
Set Model)
Tutorial 8: Competing Risks (and a little split
pop.)
Supplemental Materials
Supplemental Slides for Parametric Models
Supplemental Slides for Cox Model
Supplemental Slides for Cox Residuals
Supplemental Slides for Discrete/Conditional Logit
Supplemental Slides for Model Selection and TVCs
Supplemental Slides for Frailty Models
Supplemental Slides for Competing Risks/Split Pop.
Problem Set 1 and Data
Problem Set 1
War Chest Data (Stata v.
8)
Interventions Data (Stata v.
8)
Problem Set 2 and Data
Problem Set 2
Interventions Data (Stata v.
8)
Spell-Split Interventions Data (Stata v. 8)
Links to Some Readings
Cleves' article
on Repeatable Events
Lecture Notes for Presentation at
University of Auckland, 31 May 2005
Extended Lecture Notes for Short Course
Overheads for Presentation
Overheads for Cabinet Duration Examples
Overheads for Some Technical Material
Go to Brad Jones' Main Homepage