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
how to read the variables in sas? : Sas-administrator
how do you debug and test your sas programs? : Sas programming
What is the difference between class statement and by statement in proc means?
What are the data types does SAS contain?
Describe the function and untility of the most difficult SAS macro that you have written.
How to limit decimal places for the variable using proc means?
How to include or exclude specific variables in a data set?
What is the difference between %local and %global? : sas-macro
What is the difference between reading data from an external file and reading data from an existing data set?
Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??
Explain data step in SAS
What can you learn from the SAS log when debugging?
How do you control the number of observations and/or variables read or written?
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
what type of graphs we will create(for 2+years candidates)?