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


Please Help Members By Posting Answers For Below Questions

What is the work of tranwrd function?

736


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

691


what do the pad and dim functions do? : Sas programming

633


Describe the ways in which you can create macro variables? : sas-macro

646


Explain what is data step?

786






which date function advances a date, time or datetime value by a given interval? : Sas programming

663


how many types of prompts are there? : Sas-bi

619


What are the features of base sas system?

664


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

1977


Explain data step in SAS

695


What is the difference between nodupkey and nodup options?

662


What are the default statistics that proc means produce?

661


What do you know about sas data set?

662


how would you create multiple observations from a single observation? : Sas programming

644


For clinical entire study how many tables will create approx?

1587