나루다루

SAS BASE Q74. array 본문

Study/SAS BASE

SAS BASE Q74. array

나루다루 2018. 11. 2. 02:07
728x90
반응형

QUESTION NO: 74

The following SAS program is submitted:

data WORK.TEST;

set WORK.MEASLES(keep=Janpt Febpt Marpt);

array Diff{3} Difcount1-Difcount3;

array Patients{3} Janpt Febpt Marpt;

run;

 

What new variables are created?

 

A. Difcount1, Difcount2 and Difcount3

B. Diff1, Diff2 and Diff3

C. Janpt, Febpt, and Marpt

D. Patients1, Patients2 and Patients3

 

 

Answer: A





# 문제 풀이

 - array Diff{3} : Diff1 Diff2 Diff3이 생성


 - array Diff{3} Difcount1-Difcount3 : Difcount1 Difcount2 Difcount3이 생성


 - Janpt Febpt Marpt는 기존에 있는 변수들이기 때문에 새로 생성된 변수는 아니다.

728x90
반응형

'Study > SAS BASE' 카테고리의 다른 글

SAS BASE Q76. obs  (0) 2018.11.02
SAS BASE Q75. cat & catx  (0) 2018.11.02
SAS BASE Q73. truncover  (0) 2018.11.02
SAS BASE Q72. first/last  (0) 2018.11.02
SAS BASE Q71. firstobs & obs  (0) 2018.11.02
Comments