proc import
datafile='G:\need\a.xls'
out=a
dbms=excel replace;
run;
PROC nlin method=newton;
parms b0 15 b1 10 b2 0.3;
model height=b0/(1+b1*exp(-b2*age));
OUTPUT OUT=B P=P R=R ;
run;
请各位高手指教一下。
还有我想知道如果想直接在程序中算出R Squared,算法应该怎么写,不知道这个可不可以透漏给我,我也不懂,谢谢各位了!
我刚才找以前的资料,找到了方差分析的代码,但是我已经看不懂了,不知道可否吧方程分析的代码加到上面的非线性回归分析中。
下面是方差分析的代码:
data Aa;
do treat =1 to 4;
do r=1 to 4;
input y @@;
output;
end;
end;
cards;
247 258 256 251 238 244 246 236 214 117 221 218 210 204 200 210
;
proc anova;
class treat;
model y=treat;
means treat / duncan ;
means treat / lsd cldiff ;
means treat / snk ;
means treat / tukey ;means treat / scheffe;
run;
谢谢给位了!



雷达卡


京公网安备 11010802022788号







