How to select the observations randomly from a SAS dataset
Answer Posted / name is no need
I think by using mod operator we can select the random
observations.
syntax:mod(_n_,number);
Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
how would you create multiple observations from a single observation? : Sas programming
how will you location sas platform applications available from web browser? : Sas-bi
How to limit decimal places for the variable using proc means?
What are the differences between proc means and proc summary?
what are some good sas programming practices for processing very large data sets? : Sas programming
what are input dataset and output dataset options? : Sas programming
Which date function advances a date, time or datetime value by a given interval?
Difference between nodup and nodupkey options?
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
For clinical entire study how many tables will create approx?
What will calendar procedure do?
What is the good sas programming practices for processing large data sets?
How long can a macro variable be? A token? : sas-macro
why is sas considered self-documenting? : Sas programming
how do you want missing values handled? : Sas programming