09-29-2016 07:11 PM - edited 09-29-2016 07:12 PM
I'm getting duplicate records in my output dataset when I use the predicted= and residual= keywords (in the output statement)? Anybody else encounter this? (just wondering if I'm missing anything)
proc surveyreg data=name NOMCAR;
model var = vars / VADJUST=NONE solution deff;
output out=name predicted=Predicted residual=Residual;
10-01-2016 03:09 PM - edited 10-01-2016 03:13 PM
Unfortunately the SAS log does not include the number of obs read from the input file, which has 19,759 cases (exactly half of what is in the output file).
NOTE: Writing HTML Body file: sashtml.htm
NOTE: All observations were omitted due to missing values or non-positive weights in domain
NOTE: The data set MISSING.RESID2_1999_2002 has 39518 observations and 186 variables.
NOTE: PROCEDURE SURVEYREG used (Total process time):
real time 11.45 seconds
cpu time 1.93 seconds