BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] PROCEDURE - MEANS

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

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:

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Article Labels
Article Tags