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
how sas deals with business intelligence? : Sas-bi
how are numeric and character missing values represented internally? : Sas programming
Describe the ways in which you can create macro variables? : sas-macro
What is SAS informats?
In sas, what are the areas that you are most interested in? : sas-grid-administration
What are the parameters of scan function?
What is the basic syntax style in SAS?
explain the main difference between the nodup and nodupkey options? : Sas-administrator
What is the difference between where and if statement?
Mention the category in which sas informats are placed?
Mention the difference between ceil and floor functions in sas?
Difference between informat and format?
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
what do the mod and int function do? What do the pad and dim functions do? : Sas programming
What are the data types that sas contain?