By Solomon Negash
Also covered using Python here and using R here.
These replication exercises assume that:
- You have access to stata, you have downloaded Wooldridge's dataset to your computer and you have set a working directory in stata that contains all the necessary dataset in it.
- Alternatively, if you are connected to the internet you can use the bcuse command to load the data. Read more about the bcuse command here.
- Finally, it is important to keep in mind that we are using the 6th Edition of the text book. At some point you may encounter that the data used here may not be available on your desktop. But do not panic. This is because you have data for previous editions and later editions come with extra materials (i.e. exercises and dataset). You can update your data from CRAN - Package wooldridge using the free statistical software R.
For example, in Chapter 7 I had to import data from R. Here is script that I used in R to save it on my desktop as dta file (I am assuming you have installed R on your PC) :
Regression Analysis with Cross-Sectional Data
Regression Analysis with Time Series Data
chapter 19 Carrying Out an Empirical Project
Part I. Regression Analysis with Cross-Sectional Data