* 참고 사이트 : 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;
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.