24小时热门版块排行榜    

查看: 865  |  回复: 0

feifeihu0225

木虫 (小有名气)

[求助] 用SAS数据分析软件拟合方程,试了三个,感觉都可以用。。不知道该怎么办。求高手指点

data power;input x y @@;
cards;
1 94.444 2 91.176 3 85.367  4 80.714 5  77.647 6  69.540 7 66.189
;
proc plot;plot y*x;proc nlin;parms a=0 b=0;model y=a*(x**b);
output out=d predicted=yp;proc print;run;
proc plot;plot y*x yp*x='*'/overlay;run;
data power;input x y @@;Y1=LOG(Y);X1=log(x);
cards;
1 94.444 2 91.176 3 85.367  4 80.714 5  77.647 6  69.540 7 66.189
proc reg; model y1=x1;run;
data reg;input x y @@;
cards;
1 94.444 2 91.176 3 85.367  4 80.714 5  77.647 6  69.540 7 66.189
proc reg; model y=x;run;
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

智能机器人

Robot (super robot)

我们都爱小木虫

找到一些相关的精华帖子,希望有用哦~

科研从小木虫开始,人人为我,我为人人
相关版块跳转 我要订阅楼主 feifeihu0225 的主题更新
信息提示
请填处理意见