Stata Files for High Frequency Checks, Annual Survey 2017
The repository will a do file 00_dirtshfc_master and 5 ado files. The ado files will include:
- Prepare dataset and bc dataset from surveycto for hfc and bc. A file dirts_annual_17_preped.dta will be saved
- Check the correction sheet for data and make the neccesary changes to the data if there are corrections. A smcl log file dirts_corr_log_hfcdate will be saved with details of corrections made to the data.
- Will run the various checks and bc comparisons on the data and produce a logfile dirtshfc_log_hfcdate
- Will calculate HFC and BC error rates
- Do final cleaning on data. Also save a non pii version of the dataset
net install dirtshfc, all replace from(https://raw.githubusercontent.com/iabaako/dirtshfc/master)