i have a dataset with 100000 records. i want 100 records
from that dataset and create a dataset.we need to pick the
observations random order like
100obs,500obs,1020obs,1890obs,2565obs like that i need 100
obs in random order? how can we create this one?
Answer Posted / dilip
data A;
do slice = 100,500,1890,256,...100th;
set source point=slice;
output;
end;
stop;
run;
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is interleaving in SAS?
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
what is study design in while working with SAS? what are screening variables in SAS?
Differentiate between format and informat? : sas-grid-administration
Do you need to know if there are any missing values?
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
explain about various caches available in data integrator? : Sas-di
Describe the ways in which you can create macro variables? : sas-macro
What is factor analysis?
what are sas/access and sas/connect? : Sas programming
In sas admin differentiate between roles and capabilities? : sas-grid-administration
what are the types of interactive display types? : Sas-bi
Explain how merging helps to combine data sets.
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
how would you determine the number of missing or nonmissing values in computations? : Sas programming