SAS中文论坛
标题:
proc reg 输出问题
[打印本页]
作者:
shiyiming
时间:
2009-11-14 20:14
标题:
proc reg 输出问题
请问proc reg怎么能不让它输出在output那里,而是生成一个新的data file。
比如我有好几个简单的reg,y1=a1+b1x1 y2=a2+b2x2,......
我想输出成
--- coefficient1 t_value1 coefficient2 t_value2
a
b
N
R-sq
F value
这个可以简单的实现吗?
我试过proc reg data=xxx outest=zzz tableout;
这个只能输出parameter estimates,也就是可以得到coefficient和t,但是我还想要N, R-sq和F value咋办?
作者:
shiyiming
时间:
2009-11-16 08:48
标题:
Re: proc reg 输出问题
[code:wxw8k98a]PROC REG < options > ;
< label: > MODEL dependents=<regressors> < / options > ;
BY variables ;
FREQ variable ;
ID variables ;
VAR variables ;
WEIGHT variable ;
ADD variables ;
DELETE variables ;
< label: > MTEST <equation, ... ,equation> < / options > ;
OUTPUT < OUT=SAS-data-set > keyword=names
< ... keyword=names > ;
PAINT <condition | ALLOBS>
< / options > | < STATUS | UNDO> ;
PLOT <yvariable*xvariable> <=symbol>
< ...yvariable*xvariable> <=symbol> < / options > ;
PRINT < options > < ANOVA > < MODELDATA > ;
REFIT;
RESTRICT equation, ... ,equation ;
REWEIGHT <condition | ALLOBS>
< / options > | < STATUS | UNDO> ;
< label: > TEST equation,<, ...,equation> < / option > ; [/code:wxw8k98a]
作者:
shiyiming
时间:
2009-11-16 14:15
标题:
Re: proc reg 输出问题
我也看过help,不过不知道怎么转化成code才能实现我的目标, 初学啊,任重而道远......
欢迎光临 SAS中文论坛 (https://mysas.net/forum/)
Powered by Discuz! X3.2