Updated on Sept 10, 2025
Test case
Data is public-use, but requires login at ICPSR. Adding stuff here.
Data can be downloaded from https://doi.org/10.3886/ICPSR13568.v1 Data should extracted from zip file and placed into folder "data". Note that the files structure of the downloaded data is maintained but only subfolder DS0002 (Alaska) is used.
Runtime: approximatly 1.6s on Windows 64-bit, PC (64-bit x86-64) with Processors: 8.
Stata Packages: latab available in SSC.
There are 5 Stata program files:
master.do: will run all programs in the right sequence00_setup_stata.do: will set up directory structure, and install any required packages01_dataclean.do: reads in downloaded data, saves person and household files, and creates a clean merged dataset, for Alaska only02_table1.do: Creates Table 1config.do: sets up the environment. Called bymaster.do. If running programs individually, must be called before running each program within the same Stata session.
Run the master.do. Suggested batch command:
stata -b do master.do
A log file will be created.
All table output is in folder tables:
| Table | Programs |
|---|---|
| Table 1 | 02_table1.do |