作者kingbee ( 将心比心)
看板Statistics
标题Re: [问题] 在Results里抓出某个变数的值 (SAS)
时间Thu Dec 4 14:25:22 2008
我不知道proc autoreg 有没有支援 不过你可以试试看
ods trace on ;
proc autoreg data=simulate;
model mu = / garch = ( q=1, p=1 );
by j;
run;
ods trace off ;
执行之後去log那边看一下有没有这样的log叙述如下
Output Added:
-------------
Name: ModelInfo
Label: Model Information
Template: Stat.Genmod.ModelInfoLabel
Path: Genmod.ModelInfo
-------------
Output Added:
-------------
Name: NObs
Label: Observations Summary
Template: Stat.Genmod.NObs
Path: Genmod.NObs
-------------
Output Added:
-------------
Name: ModelFit
Label: Criteria For Assessing Goodness Of Fit
Template: stat.genmod.ModelFit
Path: Genmod.ModelFit
-------------
Output Added:
-------------
Name: ConvergenceStatus
Label: Convergence Status
Template: Stat.Genmod.ConvergenceStatus
Path: Genmod.ConvergenceStatus
-------------
NOTE: Algorithm converged.
Output Added:
-------------
Name: ParameterEstimates
Label: Analysis Of Parameter Estimates
Template: stat.genmod.parameterestimates
Path: Genmod.ParameterEstimates
-------------
若有的话 就找出你要找的报表 例如我要ParameterEstimates这张报表
所以我要引用里面的数据的话只要打上
ods output ParameterEstimates = 新档案名称;
就会转出到work资料夹噜
※ 引述《idaidai (^^)》之铭言:
: 请问一下
: 资料有了...跑proc autoreg
: 像我是跑
: proc autoreg data=simulate;
: model mu = / garch = ( q=1, p=1 );
: by j;
: run;
: quit;
: 在这个result跑出後会有许多统计数字
: 像是SSE MSE AIC..........
: 如果我只要GARCH esimate这个部分里的 Log Likelihood 和 AIC 这两个数值
: 有程式能把他抓出来吗?
: 然後放在同一个data里(因为我的j=1 to 1000所以共有一千组)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 163.29.135.120
※ 编辑: kingbee 来自: 163.29.135.120 (12/04 14:26)
1F:推 idaidai:有耶!!!谢谢你^^ 12/04 22:40