DATA AND PROGRAMS
*** For the 2013 second edition go to cameron.econ.ucdavis.edu/racd2/
***
The following data and programs accompany the book
A. Colin Cameron and Pravin K. Trivedi, Regression
Analysis of Count Data, First Edition.
Econometric Society Monograph No.30, Cambridge University Press,
1998.
The analysis was initially done mostly in Limdep with some Gauss
and some SAS.
Some Stata programs have since been written to do some of the
analysis. These also appear below.
SUMMARY
Racdread.1st Summary of the data and programs available, and file-naming conventions:
Data for a given chapter are available either
ZIPPED FILES
These Zipped files do not include Stata programs which have since been added.
Racd3.zip
All chapter 3 data and programs [Right-click and
select Save Link As]
Racd5.zip
All chapter 5 data and programs [Right-click and
select Save Link As]
Racd6.zip
All chapter 6 data and programs [Right-click and
select Save Link As]
Racd7.zip
All chapter 7 data and programs [Right-click and
select Save Link As]
Racd9.zip
All chapter 9 data and programs [Right-click and
select Save Link As]
CHAPTER THREE DATA AND PROGRAMS: CROSS-SECTION
Racd3.1st Description of chapter 3 data and programs
Racd3.asc Formatted (and space-delimited) ascii data set.
Racd3p1.lim
Limdep program that does all chapter 3 analysis
(except bootstrap standard errors in Table 3.3 on page 69).
Racd3p1.out Output from Limdep program racd3p1.lim
Racd3p2.lim Limdep program for bootstrap standard errors Table 3.3 p.69.
Racd3p2.out Output from Limdep program racd3p2.lim
Racd3.dat Gauss data set (same data as racd3.asc) [Right-click and select Save Link As]
Racd3.dht Gauss data set names [Right-click and select Save Link As]
Racd3p3.gau Gauss program to estimate Poisson model for chapter 3 data
Racd3p3.out Output from Gauss program racd3p3.gau
Racd3p4.do Stata program to estimate Poisson model for chapter 3 data
Racd3p4.out Output from Stata program racd3p4.do
CHAPTER FIVE DATA AND PROGRAMS: CROSS-SECTION
Racd5.1st Description of chapter 5 data and programs
Racd5.asc Formatted (and space-delimited) ascii data set.
Racd5p1.lim Limdep program that does all chapter 5 analysis
Racd5p1.out Output from Limdep program racd5p1.lim
Racd5.dat Gauss data set (same data as racd5.asc) [Right-click and select Save Link As]
Racd5.dht Gauss data set names [Right-click and select Save Link As]
Racd5p2.gau Gauss program to estimate Poisson model for chapter 5 data
Racd5p2.out Output from Gauss program racd5p2.gau
Racd5p3.do Stata program to estimate Poisson model for chapter 5 data
Racd5p3.out Output from Stata program racd5p3.do
CHAPTER SIX DATA AND PROGRAMS: EMPIRICAL ILLUSTRATIONS
Racd6.1st Description of chapter 6 data and programs
Racd6d1.asc Space-delimited ascii data set (physician office visits).
Racd6d2.asc Formatted (and space-delimited) ascii data set (recreational trips).
Racd6p1.do Stata program that reads in data from racd6d1.asc
Racd6p1.out Output from Stata program racd6p1.do
Racd6p2.do Stata program that reads in data from racd6d2.asc
Racd6p2.out Output from Stata program racd6p2.do
These programs do not actually analyze the data.
For the physician office visits data see programs in SAS/IML see
programs for the original paper at
http://qed.econ.queensu.ca/jae/1997-v12.3/deb-trivedi/
which includes procedures to estimate finite mixtures models.
For the recreational trips there is currently no similar resource.
CHAPTER SEVEN DATA AND PROGRAMS: TIME SERIES
Racd7.1st Description of chapter 7 data and programs
Racd7.asc Formatted (and space-delimited) ascii data set.
Racd7p1.lim
Limdep program that does all chapter 3 analysis
(except bootstrap standard errors in Table 3.3 on page 69).
Racd7p1.out Output from Limdep program racd7p1.lim
Racd7.dat Gauss data set (same data as racd7.asc) [Right-click and select Save Link As]
Racd7.dht Gauss data set names [Right-click and select Save Link As]
Racd7p2.gau Gauss program to estimate Poisson model for chapter 7 data
Racd7p2.out Output from Gauss program racd7p2.gau
CHAPTER NINE DATA AND PROGRAMS: PANEL
Racd9.1st Description of chapter 9 data and programs
Racd9d1.asc Formatted (and space-delimited) ascii data set.
Racd9d2.asc Formatted (and space-delimited) ascii data set.
Racd9p1.lim Limdep program that does creates racd9d2.asc from racd9d1.asc
Racd9p1.out Output from Limdep program racd9p1.lim
Racd9p2.lim Limdep program that does chapter 9 analysis.
Racd9p2.out Output from Limdep program racd9p2.lim
Racd9d3.dat Gauss data set for chapter 9 data [Right-click and select Save Link As]
Racd9d3.dht Gauss data set names [Right-click and select Save Link As]
Racd9p4.gau Gauss program to estimate panel models for chapter 9 data
Racd9p4.out Output from Gauss program racd9p4.gau
Racd9p6.do Stata program to estimate panel models for chapter 9 data
Racd9p6.out
Output from Stata program racd9p6.do
CONSTRUCTION OF FIGURES
Racdfigs.1st Description of construction of figures for the book
racd.jnb Sigmaplot file with all the figures [Right-click and select Save Link As]
(To use this on your PC you need Jandel Scientific Sigmaplot).
A. Colin Cameron University of California - Davis
accameron@ucdavis.edu http:/www.econ.ucdavis.edu/faculty/cameron