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 / solasa

we can use PROC SURVEY SELECT

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.

1706


Do you know the features of sas?

604


What are the statements in proc sql?

602


Name few SAS functions?

675


What is factor analysis?

673






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

619


How necessary is it to be creative in your work?

2030


explain what is factor analysis? : Sas-administrator

610


What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?

2016


What sas features do you use to check errors and data validation?

698


Differences between where and if statement?

592


Differentiate between sas functions and sas procedures.

651


What are the automatic variables for macro? : sas-macro

681


To what type of programms have you used scratch macros?

2156


Give some examples where proc report’s defaults are different than proc print’s defaults?

607