options ls=132 ps=54 nonumber nocenter dquote nofmterr;
*-----------------------------------------------------;
* place directory where your dataset is located within double quote marks;
libname lib "C:\Projects\Comorbid";
* dataset name;
%let ds=spritzer;
* outcome variable;
%let outcome = sf6d36v1;
* list recycling variables;
%let recycle = depmch corpus MELANOMA COLOR BREAST PROSTATE
BLADDER NHLYMP KIDNEY OTHERC LUNG MI HYPER ANGINA OTHHRT DIAB HAND CHF
GI SCIAT STROKE COPD HIP;
* list any additional independent (casemix) variables;
%let adjust = educ male married widowed mail age proxy hisp black asian
ai other missing INC1 INC2 INC3 INC4 INC5 INC6 INC7;
** call macro;
%respect();