SAS中文论坛
标题:
如何用SAS进行非线性回归
[打印本页]
作者:
shiyiming
时间:
2005-5-14 09:23
标题:
如何用SAS进行非线性回归
正在处理数据,可不会用SAS,哪位高手帮忙一下,谢谢
[code:abfe6]x1 x2 x3 Y
70 1 2 9.36
90 1 2 15.66
70 3 2 10.32
90 3 2 12.62
70 2 1 13.6
90 2 1 10.61
70 2 3 12.36
90 2 3 17.66
80 1 1 9.88
80 3 1 9.74
80 1 3 12.37
80 3 3 10.18
80 2 2 12.82
80 2 2 10.73
80 2 2 11.21[/code:abfe6]
作者:
shiyiming
时间:
2005-5-15 11:12
标题:
Re: 如何用SAS进行非线性回归
总得有个非线性函数的具体形式吧
作者:
shiyiming
时间:
2005-9-29 09:57
标题:
做图
低维的,还可以做图先看一下他可能是哪种关系!
作者:
shiyiming
时间:
2005-10-3 03:11
标题:
re: your nonliear regression problem
I can tell you the result will be awful.
Please take a look at your data first. There are only 3 levels for each IV. I doubt if you can get a good nonlinear solution.
作者:
shiyiming
时间:
2005-10-4 15:43
标题:
同意楼上
同意楼上
作者:
shiyiming
时间:
2005-10-9 23:06
标题:
Re: 如何用SAS进行非线性回归
试试三元二次方程,估计你是在做响应面的分析.
程序如下,(还有画图的程序,要否?)
[code:6e110]data ex;
input x1 x2 x3 y;
cards;
x1 x2 x3 Y
70 1 2 9.36
90 1 2 15.66
70 3 2 10.32
90 3 2 12.62
70 2 1 13.6
90 2 1 10.61
70 2 3 12.36
90 2 3 17.66
80 1 1 9.88
80 3 1 9.74
80 1 3 12.37
80 3 3 10.18
80 2 2 12.82
80 2 2 10.73
80 2 2 11.21
proc sort ;
by x1-x3;
proc rereg;
model y=x1-x3/lackfit;
run;[/code:6e110]
作者:
shiyiming
时间:
2006-4-6 09:29
标题:
[求]画图的程序
能否把画图的程序传上来
谢谢!!!!!!
作者:
shiyiming
时间:
2007-1-23 22:31
标题:
程序好像有点错误*求画图程序
proc rereg;好像应该是proc rsreg吧?
我也想要图,谢谢! <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
作者:
shiyiming
时间:
2007-4-4 23:31
标题:
不是说非线形回归是只做一元的吗?
在SAS帮助里不是说非线形回归是只做一元的吗?"The NLIN procedure performs univariate nonlinear regression using the least squares method"楼上说的多元多次方程拟和是在哪个过程里实现啊?
作者:
shiyiming
时间:
2010-2-24 10:01
标题:
Re: 如何用SAS进行非线性回归
data ex;
input x1 x2 x3 y;
cards;
x1 x2 x3 Y
70 1 2 9.36
90 1 2 15.66
70 3 2 10.32
90 3 2 12.62
70 2 1 13.6
90 2 1 10.61
70 2 3 12.36
90 2 3 17.66
80 1 1 9.88
80 3 1 9.74
80 1 3 12.37
80 3 3 10.18
80 2 2 12.82
80 2 2 10.73
80 2 2 11.21
proc sort ;
by x1-x3;
proc rsreg;
model y=x1-x3/lackfit;
run;
作者:
shiyiming
时间:
2010-3-2 16:20
标题:
Re: 不是说非线形回归是只做一元的吗?
to chenar
那是对应那个最简单的引入例子说的
你的非线性函数可以包含多个自变量,参见后面的列子。
如果要MLE的话,用PROC NLMIXED;
欢迎光临 SAS中文论坛 (https://mysas.net/forum/)
Powered by Discuz! X3.2