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

What is program data vector (pdv)?

637


Mention sas system options to debug sas macros.

666


how sas deals with business intelligence? : Sas-bi

586


how do you debug and test your sas programs? : Sas programming

567


In proc transpose and data step with arrays which one you pick?

2579






Explain how you can debug and test your SAS program?

570


for what purpose would you use the retain statement? : Sas programming

589


Given an unsorted data set, how to read the last observation to a new data set?

843


how to read the variables in sas? : Sas-administrator

556


What is by-group processing?

579


explain the concepts and capabilities of business object? : Sas-bi

546


Tell e how how dealt with..

1776


What Proc glm does?

613


What are the difficulties u faced while doing vital signs table or dataset?

1939


what is hash files in sas and why we are using this one in sas?

1734