SAS Certified Adv Programmer 130 Questions (6)
The following SAS program is submitted:
data one; do i = ito 10; ptobs = ceil(ranuni(0) * totobs); set temp point = ptobs nobs = totobs; output; end; stop; run;
The SAS data set TEMP contains 2,500,000 observations. Which one of the following represents the possible values for PTOBS?
A. any integer between 1 and 10
B. any real number between 0 and 1
C. any integer between 1 and 2,500,000
D. any real number between 1 and 2,500,000
Topics:
SAS Adv Questions |
2 Comments »
C
C: ranuni(0)*totobs generate number between 0 and 2,500,000 thus…