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
Do you need to rearrange the order of the data for the report?
What are common programming errors committed in sas
how can you import .csv file in to sas? : Sas programming
What are the automatic variables for macro? : sas-macro
What are types of transport files?
What are the functions used for character handling?
What are the features of SAS?
What are the default statistics for means procedure?
how do the in= variables improve the capability of a merge? : Sas programming
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
what are the categories that sas informats are used to the place the data? : Sas-administrator
Are you involved in writing the inferential analysis plan? Tables specfications?
What will calendar procedure do?
How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?
Mention how to limit decimal places for the variable using proc means?