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


Please Help Members By Posting Answers For Below Questions

Explain the use of proc gplot? : sas-grid-administration

764


Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?

1700


what is the effect of the options statement errors=1? : Sas programming

816


is data integration and etl programming is same? : Sas-di

808


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

827


Which command is used to perform sorting in sas program?

794


What are the different types of sas functions?

866


What is the difference between the proc sql and data step?

884


What do the PUT and INPUT functions do?

1011


What is interleaving in SAS?

862


Describe 5 ways to do a “table lookup” in SAS?

882


Explain proc univariate?

797


How can you create a macro variable with in data step? : sas-macro

777


What are the different versions of sas that you have used until now? : sas-grid-administration

1043


what type of graphs we will create(for 2+years candidates)?

2086