BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] PROCEDURE - MEANS

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

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

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

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch Now →
Article Labels
Article Tags