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
explain the main difference between the nodup and nodupkey options? : Sas-administrator
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?
what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming
Mention what is the difference between nodupkey and nodup options?
What areas of SAS are you most interested in?
Difference between SAS STATA & SPSS?
Which are the statements whose placement in the data step is critical?
What are the features of base sas system?
How to sort in descending order?
Difference between informat and format?
what are sas bi dashboard components? : Sas-bi
What is your favorite all time computer book? Why?
please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??
What is PDV?
what are validation tools that are used in sas? : Sas-administrator