 PROC EXPORT DATA=TEMP1Y 
             OUTFILE="C:\AHRQQI\PSI\GEE_&PS..csv" 
             DBMS=csv REPLACE;
 RUN; 
 
 %MACRO PRED;

 %IF &N. = 2 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PSI\Prediction_PPS02.def';

 RUN;

 %END;

 %IF &N. = 3 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PSI\Prediction_PPS03.def';

 RUN;

 %END;

 %IF &N. = 4 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PSI\Prediction_PPS04.def';

 RUN;

 %END;

 %IF &N. = 6 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PSI\Prediction_PPS06.def';

 RUN;

 %END;

 %IF &N. = 7 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PSI\Prediction_PPS07.def';

 RUN;

 %END;

 %IF &N. = 8 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PSI\Prediction_PPS08.def';

 RUN;

 %END;

 %IF &N. = 9 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PSI\Prediction_PPS09.def';

 RUN;

 %END;

 %IF &N. = 10 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PSI\Prediction_PPS10.def';

 RUN;

 %END;

 %IF &N. = 11 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PSI\Prediction_PPS11.def';

 RUN;

 %END;

 %IF &N. = 12 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PSI\Prediction_PPS12.def';

 RUN;

 %END;

 %IF &N. = 13 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PSI\Prediction_PPS13.def';

 RUN;

 %END;

 %IF &N. = 14 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PSI\Prediction_PPS14.def';

 RUN;

 %END;

 %IF &N. = 15 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PSI\Prediction_PPS15.def';

 RUN;

 %END;

 %MEND PRED;

 %PRED;
 
 PROC IMPORT DATAFILE="C:\AHRQQI\PSI\GEE_&PS._gee_&PS._RegressionAnalysisGee_IndividualPredictions.csv" 
             OUT=TEMP1I
             DBMS=csv REPLACE; 
 RUN; 

