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 the work of tranwrd function?
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
what do the pad and dim functions do? : Sas programming
Describe the ways in which you can create macro variables? : sas-macro
Explain what is data step?
which date function advances a date, time or datetime value by a given interval? : Sas programming
how many types of prompts are there? : Sas-bi
What are the features of base sas system?
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
Explain data step in SAS
What is the difference between nodupkey and nodup options?
What are the default statistics that proc means produce?
What do you know about sas data set?
how would you create multiple observations from a single observation? : Sas programming
For clinical entire study how many tables will create approx?