我的sas程序如下:data y.sim;
set jy.sm;
if firm=1 then g=1;
else g=0;
run;
proc reg data=y.sim;
model y=x z g;
run;
我已经建立y库,定义哑变量后,为什么运行后显示:error:=
我把 reg改为 autoreg就可以运行了。我的sas是9.0
请哪位高人给我指点下啊 多谢;
The code is simple and nice. What I can say is checking if all variables are numeric and run it again. I think the error may be having its deeper reason, for example, for SAS itself or your PC.