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 do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming
Enlist the syntax rules followed in sas statements.
What is the basic structure of a sas program?
Do you need to know if there are any missing values?
What Proc glm does?
What are types of transport files?
What are the implications?
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
What are the differences between sum function and using “+” operator?
Briefly explain input and put function?
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
what are the best practices to process the large data sets in sas programming? : Sas-administrator
what is SAS OPTIMIZATION?
What is the use of %include statement?
What is a macro routine?