BookmarkSubscribeRSS Feed

[SAS 프로그래밍 고수 백승민] [ODS] ODS를 사용하여 통계 프로시져의 모수 추정치를 테이블로 생성

Started ‎06-11-2020 by
Modified ‎06-12-2020 by
Views 113

* 참고 사이트 : http://www.math.smith.edu/sas/;

 

* 다른 통계 프로시져에서도 ODS를 사용하여서 통계 추정치를 테이블로 생성 가능합니다.;

 

libname k "c:/";

data help;
set k.help;
run;

 

* 다음 출력 결과를 확인한 후, 출력결과 레이블을 하단에서 사용;
ods output close;
ods graphics on;
ods trace on /listing;

proc gam data=help plots=components(clm);
  class substance;
  model cesd = param(female) spline(pcs) param(substance) /
    method=gcv;
run;
ods trace OFF;
ods graphics off;

 

* 위 출력 결과에서 레이블 명을 사용;
ods output close;
ods graphics on;
ods output "Summary of Input"          =BACK1
           "Class Level Information"   =BACK2
     "Iteration Summary"         =BACK3
     "Convergence Status"        =BACK4
     "Parameter Estimates"       =BACK5 /* 모수 추정치 */
     "Nonparametric Fit Summary" =BACK6
     "Analysis of Deviance"      =BACK7;
proc gam data=help plots=components(clm);
  class substance;
  model cesd = param(female) spline(pcs) param(substance) /
    method=gcv;
run;
ods output close;
ods graphics off;

Version history
Last update:
‎06-12-2020 03:55 AM
Updated by:
Contributors

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

Article Labels
Article Tags