카테고리 없음

QUESTION NO: 34

IT grow. 2019. 3. 10. 23:11
반응형

QUESTION NO: 34  

The data set RALESTATE has the variable LOCALFEE with a format or 9. and a variable COUNTRYFEE with a format or 7.;

The following SAS program is submitted: data history; 

format local fee country fee percent6.; 

set realestate; 

local fee = local fee / 100; 

country fee = country fee / 100; 

run; 

 

What are the formats of the variables LOCALFEE and COUNTRYFEE in the output dataset? 

 

A. LOCALFEE has format of 9. and COUNTRYFEE has a format of 7.  

B. LOCALFEE has format of 9. and COUNTRYFEE has a format of percent6.  

C. LOCALFEE has format of percent6. and COUNTRYFEE has a format of percent6.  

D. The data step fails execution; there is no format for LOCALFEE  

Answer: C




Solution : 


data 를 불러오고 set 하기전에 format 을 해주었기 때문에 적용이 된다 

반응형