BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] PROCEDURE - MEANS

Started ‎11-01-2021 by
Modified ‎11-01-2021 by
Views 230
  • 기술 통계량 생성.

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 자리로 출력.

Version history
Last update:
‎11-01-2021 11:17 PM
Updated by:
Contributors

sas-innovate-white.png

Register Today!

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.

Register now!

Article Labels
Article Tags