SAS Crambible 14

Adios_Hosang·2022년 9월 30일
0

SAS crambible

목록 보기
14/20

Q14.

Given the SAS data set AGES: AGES AGE

The variable AGE contains character values.
The following SAS program is submitted:

data subset;
set ages;
where age> 12;
run;

How many observations are written out to the data set SUBSET?

A. 0
B. 1
C. 2
D. 3

답은 A입니다.

위 문제는 프로그램이 수행되었을 때 몇 개의 관측치가 결과창에 출력되느냐를 묻는 문제입니다.

age는 문자형변수로 지정이 되어있어서 수치형이랑 비교가 불가능합니다.
따라서 관측치는 0개로 나타납니다.

profile
IT를 시작하고자 합니다

0개의 댓글