How could you generate test data with no input data?
Answers were Sorted based on User's Feedback
Answer / salman
For this Question the correct answer is data _NULL_
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / 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 |
Answer / prag s.
now which one is the correct answer people????????
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jahnavi
eg: data two;
var1 = ranuni(0) * 10 ;
run;
This datastep would create random integers between 0 and 10;
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / teena
using set statement ....cards and datalines needs input data
these below 2 will need input data
_null_ will create no actual dataset but will create obs
obs=0 will create empty dataset
| Is This Answer Correct ? | 0 Yes | 0 No |
what the use of proc glm
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
Identify statements whose placement in the DATA step is critical?
What is slibref?
In the flow of DATA step processing, what is the first action in a typical DATA Step?
which date functions advances a date time or date/time value by a given interval? : Sas programming
data task; input id date date9. visit; cards; 101 01jan2015 1 101 02jan2015 2 101 06jan2015 3 102 04jan2015 1 102 07jan2015 2 102 12jan2015 3 103 06jan2015 1 103 13jan2015 2 ; run; write a program to find out missing dates between visits by each subject.
What data sets do you need to produce the report?
Differentiate between sas functions and sas procedures.
name several ways to achieve efficiency in your program? : Sas programming
how to change the execute of macro
where will go the observations that were deleted by delete statement?