How could you generate test data with no input data?
Answer Posted / rohit
SAS can be used to generate random numbers. The command
RANUNI is used to generate random numbers from a uniform
distribution ranging from 0 to 1, and the command RANNOR is
used to generate random numbers from a standard normal
distribution. To use the command, we need to specify a
seed. The seed, a numerical value, is placed in parentheses
after the command. If a different numerical value or seed
is specified, the commands will produce a different set of
random numbers. For example, the value produced by
RANUNI(1) is different from the value produced by RANUNI(2)
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
how does sas handle missing values in procs? : Sas programming
Differences between where and if statement?
What is the function of Stop statement in a SAS Program?
Are you sensitive to code walk-throughs peer review or QC review?
How does proc sql work?
why a stop statement is needed for the point= option on a set statement?
What is the role of sas grid administrator? : sas-grid-administration
How would you determine the number of missing or nonmissing values in computations?
What is the basic syntax of a sas program?
Give e an example of..
What is a pdv and what are its functions?
What system options would you use to help debug a macro? : sas-macro
What are types of transport files?
What are the features of SAS?