How do you generate random samples?
Answers were Sorted based on User's Feedback
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 |
Answer / chandu
sekhar and vinodh plz u people explain this briefly plz....
| Is This Answer Correct ? | 1 Yes | 0 No |
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 |
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
What are the features of SAS?
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
What are symget and symput? : sas-macro
Differentiate between format and informat? : sas-grid-administration
At compile time when a SAS data set is read, what items are created?
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?
Code a PROC SORT on a data set containing State, District and County as the primary variables, along with several numeric variables?
what is the difference between proc means and proc summary?
What is the length assigned to the target variable by the scan function?
if we dont want to print output what we have to do..???give syntax..???
8 Answers Accenture, GSK GlaxoSmithKline,
WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?