BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] Sub-setting IF 문

Started ‎10-28-2021 by
Modified ‎10-28-2021 by
Views 225
  • 조건표현식을 참이 되는 관측치만 다음 문장을 처리, 거짓일 경우 DATA 문장으로 이동.
  • WHERE 문장에서 사용할 수 있는 특수 연산자를 사용할 수 없음.

IF 조건표현식 ;

 

◀예제▶ age12에서 14 사이인 관측치 선택.

DATA class;

SET sashelp.class;

IF 12 <= age <= 14 ;

RUN;

Version history
Last update:
‎10-28-2021 02:47 AM
Updated by:
Contributors

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Article Labels
Article Tags