I am trying to run a logistic regression using a hybrid MC exact estimation technique. There appears to be something wrong with my code and I think it is in the do loop. I am brand new to the SAS language and someone provided me with the following sloppy code. I was trying to run the analysis in SAS Enterprise Guide with SAS version 9.3. Apparently this code worked in a previous or later version of SAS. Any obvious mistakes with the code? The data is a binary response of two different count techniques with the actual paired counts as predictors. Sincerely, Gifford Gillette data Data1; do ID=1 to 16; do Outcome = 1 to 0 by -1; input rnam Count @@; output; end; end; datalines; 1 20 0 13 1 12 0 19 1 14 0 58 1 0 0 5 1 12 0 12 1 12 0 2 1 0 0 0 1 12 0 12 1 16 0 10 1 23 0 19 1 30 0 12 1 12 0 9 1 16 0 16 1 31 0 5 1 10 0 13 1 18 0 17 ; proc logistic data=Data1 exactonly exactoptions (Method=NetworkMC) plots=all; strata ID; model rnam=count; exact count / estimate=both; run;
... View more