** by Jean Roth , jroth@nber.org , 2015-03-18 Sample model files are from http://www.nber.org/MedicareAdvtgSpecRateStats/2014/2014MidyearFinalModel/CMS-HCC_software_V1213.70.J1 formats.sas7bcat is from http://www.nber.org/MedicareAdvtgSpecRateStats/2014/2014MidyearFinalModel/CMS-HCC_software_V1213.70.J1/formats.sas7bcat hcccoefn.sas7bdat is from http://www.nber.org/MedicareAdvtgSpecRateStats/2014/2014MidyearFinalModel/CMS-HCC_software_V1213.70.J1/hcccoefn.sas7bdat input/person.sas7bdat has data from 24 completely made-up person people that vary on the sex, mcaid, nemcaid, and orec variables: 2 sex * 2 mcaid * 2 nemcaid * 3 orec = 24 records with a made up birthday of January 6, 1940 which is 7,300 days before January 1, 1960 or -7300 as a SAS or Stata date value. input/diag.sas7bdat has all the diagnosis codes from http://www.nber.org/MedicareAdvtgSpecRateStats/2014/2014MidyearFinalModel/CMS-HCC_software_V1213.70.J1/F1213H1Y.TXT applied to all of the made up people. The AGESEXNV.TXT EDITICD9.TXT SCOREVAR.TXT V1213J1M.TXT V1213J1P.TXT V12H70H.TXT V12H70L1.TXT V12H70M.TXT files have been renamed AGESEXNV.sas EDITICD9.sas SCOREVAR.sas V1213J1M.sas V1213J1P.sas V12H70H.sas V12H70L1.sas V12H70M.sas by convention. The LIBNAME and FILENAME statements in V1213J1P.sas have been modfied to indicate what directory the respective files are located in. The INCLUDE statements in V1213J1M.sas have been modified to reflect the filename change to .sas . The INCLUDE statement in V1213J1P.sas have been modified to reflect the filename change to .sas as well. V1213J1P.sas is the main SAS program. V1213J1P.sas calls V1213J1M.sas , the main SAS macro file, which in turn calls AGESEXNV.sas EDITICD9.sas SCOREVAR.sas V1213J1M.sas V1213J1P.sas V12H70H.sas V12H70L1.sas V12H70M.sas . The other .sas files do not have filename- or location-specific lines that require changes.