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


Please Help Members By Posting Answers For Below Questions

Do you need to rearrange the order of the data for the report?

1823


What are common programming errors committed in sas

656


how can you import .csv file in to sas? : Sas programming

624


What are the automatic variables for macro? : sas-macro

664


What are types of transport files?

6807






What are the functions used for character handling?

626


What are the features of SAS?

567


What are the default statistics for means procedure?

627


how do the in= variables improve the capability of a merge? : Sas programming

922


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

736


what are the categories that sas informats are used to the place the data? : Sas-administrator

603


Are you involved in writing the inferential analysis plan? Tables specfications?

2099


What will calendar procedure do?

581


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

1566


Mention how to limit decimal places for the variable using proc means?

629