Harmonized MHAS Creation Code

The Harmonized MHAS version A dataset is created using data from the MHAS as of March 2015. 

Download the Harmonized MHAS Stata Creation Code.

To run the Harmonized MHAS Creation Code in Stata:

  • Store all MHAS data files on your computer.
  • Edit lines 13 - 16 of the Stata Creation Code to list the folder location of the MHAS master file and MHAS data for each wave and edit line 17 to list the folder location where you would like to save the Harmonized MHAS dataset.

If you would prefer to work with the Harmonized MHAS dataset in a statistical package other than Stata, you can convert the Harmonized MHAS Stata dataset using a program such as Stat/Transfer. If you do not have access to Stat/Transfer, you may be able to read the .dta dataset into your stat package using an “import” or “get” function. When reading a .dta dataset into another package, it is best to first save the dataset in a Stata version 12 format using the command saveold.