我正在尝试在SAS中运行此代码
proc mi data=Mono1 seed=1423741 nimpute=6 out=outex18;
class Trt;
monotone reg;
mnar adjust( y1 / adjustobs=(Trt='0') parms(shift=shift_c)=parm1);
adjust( y1 / adjustobs=(Trt='1') parms(shift=shift_t)=parm1);
var Trt y0 y1;
run;
但出现以下错误
ERROR: The _Imputation value is not a valid SAS name.
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.OUTMI was only partially opened and will not be saved.
mnar也变成红色。
我该如何解决这个问题?
数据是
data Mono1;
input trt y0 y1;
cards;
0 10.5212 11.3604
0 8.5871 8.5178
0 9.3274 .
0 9.7519 .
0 9.3495 9.4369
1 11.5192 13.2344
1 10.7841 .
1 9.7717 10.9407
1 10.1455 10.8279
1 8.2463 9.6844
;
run;