11-24-2016 07:51 AM
I have a rather simple question. I want to create a new variable in my data-set with the residuals from a simple regression procedure. This is what I tried:
PROC reg data=a;
OUTPUT out=b r=residual;
However, when I try to open the data-set, it says:
ERROR: You cannot open 'dataset' for input access with record-level control because
'dataset' is in use by you in resource environment REG.
What am I doing wrong?
Thanks a lot!