How do you generate random samples?

Answers were Sorted based on User's Feedback



How do you generate random samples?..

Answer / sekhar

ranuni

Is This Answer Correct ?    7 Yes 0 No

How do you generate random samples?..

Answer / sandhya

PROC SURVEYSELECT gives you the resulting sample dataset
from the population dataset. It is much more sofisticated.

Is This Answer Correct ?    3 Yes 0 No

How do you generate random samples?..

Answer / vinod swarna

randuni, do, point

Is This Answer Correct ?    1 Yes 0 No

How do you generate random samples?..

Answer / chandu

sekhar and vinodh plz u people explain this briefly plz....

Is This Answer Correct ?    1 Yes 0 No

How do you generate random samples?..

Answer / bhimu

ranuni()- Function will generate uniform random numbers
between 0 and 1

Ranuni(123) - here 123 is called seed.

Like that you can use Binomial and Poisson distributions.

You can also go for the procedure
PROC SURVEYSELECT

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More SAS Interview Questions

What is SAS informats?

0 Answers  


Explain proc sort?

0 Answers  


1.How to draw pivot tables in Excel by using SAS and in which version we can use VB script for to draw pivot tables in Excel? Answer with example data. 2.What are the advantages of _NULL_ in Data steps? Can we use _NULL_ in Proc steps also? 3. How to call the macro variable into Data Steps? 4. Can we draw pivot tables in Excel using Proc SQL? Please post answers for the above questions with suitable examples, and how to use VB script for Excel using SAS.

1 Answers  


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

0 Answers  


How to get top scorer student from a class-table having different sections A,B, C & D? Each section having same number of students.

2 Answers  


How many versions came upto now in SAS?

3 Answers   CTS, TCS,


how to generate report for 0 observation dataset?

3 Answers   Mind Tree, Student,


is QUALCOMM using SAS ?

1 Answers  


i have a dataset with var1,var2,var3; i want to upload the titles for the variables . How can we?

1 Answers   GSK,


data voter; input Age Party : $1. (Ques1-Ques4)($1. + 1); datalines; 23 D 1 1 2 2 45 R 5 5 4 1 67 D 2 4 3 3 39 R 4 4 4 4 19 D 2 1 2 1 75 D 3 3 2 3 57 R 4 3 4 4 ; Idont understand what the (Ques1-Ques4)($1. + 1) means. I have seen (Ques1-Ques4)(4*$1.), but what is (Ques1-Ques4)($1. + 1)? Appreciate all help Thanks

3 Answers  


What are the difference between ceil and floor functions in sas?

0 Answers  


Describe a time when you were really stuck on a problem and how you solved it?

0 Answers   Oracle,


Categories