PROC MEANS DATA=SAS-data-set <통계량(s)> <option(s)>; VAR analysis-variable(s); CLASS classification-variable(s); OUTPUT OUT=SAS-data-set <options>; RUN; |
◀예제▶ 남녀별 키와 몸무게에 대한 기술통계량 값을 구함.
PROC MEANS DATA=sashelp.class MAXDEC=2;
VAR height weight;
CLASS sex ;
RUN;
⇒ MAXDEC=n : 통계량 값을 모두 소수점 아래 n 자리로 출력.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.