Hi I managed to get your code to run by doing this. data Data1; input purchase income age zipcode; datalines; 0 79.015 50 1 0 79.897 50 1 0 82.818 47 1 0 82.210 49 1 0 87.656 42 1 0 86.013 47 1 0 85.032 49 1 0 82.914 55 1 0 86.110 51 1 0 62.224 52 2 0 86.864 52 1 0 91.353 55 1 1 71.891 49 2 0 98.812 54 1 1 98.217 55 1 0 99.678 53 1 0 86.922 44 2 0 80.151 54 2 0 107.135 53 1 0 106.304 56 1 1 85.361 57 2 0 93.090 51 2 0 93.830 53 2 1 120.087 51 1 1 95.087 55 2 1 117.836 59 1 1 101.788 47 2 1 106.250 54 2 0 105.401 56 2 1 109.552 51 2 1 108.887 58 2 1 120.134 53 2 0 129.462 46 1 1 138.012 41 2 1 133.963 48 1 1 136.386 43 2 ; data new; input income age zipcode; datalines; 85.21 44 1 250.45 28 2 130.54 36 2 ; proc logistic data=Data1 outmodel=sasuser.model2; model purchase= income age zipcode; output out =prob predicted=phat; score data=new out=newscore; run; proc print data=newscore; run; The results were the same as my code which is data Data1; input purchase income age zipcode; datalines; 0 79.015 50 1 0 79.897 50 1 0 82.818 47 1 0 82.210 49 1 0 87.656 42 1 0 86.013 47 1 0 85.032 49 1 0 82.914 55 1 0 86.110 51 1 0 62.224 52 2 0 86.864 52 1 0 91.353 55 1 1 71.891 49 2 0 98.812 54 1 1 98.217 55 1 0 99.678 53 1 0 86.922 44 2 0 80.151 54 2 0 107.135 53 1 0 106.304 56 1 1 85.361 57 2 0 93.090 51 2 0 93.830 53 2 1 120.087 51 1 1 95.087 55 2 1 117.836 59 1 1 101.788 47 2 1 106.250 54 2 0 105.401 56 2 1 109.552 51 2 1 108.887 58 2 1 120.134 53 2 0 129.462 46 1 1 138.012 41 2 1 133.963 48 1 1 136.386 43 2 ; proc logistic data=Data1 outmodel=sasuser.model2; model purchase= income age zipcode; output out =prob predicted=phat; run; data new; input income age zipcode; datalines; 85.21 44 1 250.45 28 2 130.54 36 2 ; proc logistic inmodel=sasuser.model2; score data=new out=newscore; run; proc print data=newscore; run; For my scenario I would use data1 as the test/validation set and then any new data would be fed in later. Unless I have missed something the question has now been answered. Thanks for your help.
... View more