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 is your weekness? I am confuse what to say about this question. so can u give some answer which can be yur strenght.
When looking for data contained in a character string of 150 bytes, which function is the best to locate that data: scan, index, or indexc?
"What is the difference between proc sort nodup and proc sort nodupkey?"
what is the diff b/w verification validation in sas
data voter; input Age Party : $1. (Ques1-Ques4)($1. + 1); datalines; 23 D 1 1 2 2 45 R 5 5 4 1 67 D 2 4 3 3 39 R 4 4 4 4 19 D 2 1 2 1 75 D 3 3 2 3 57 R 4 3 4 4 ; Idont understand what the (Ques1-Ques4)($1. + 1) means. I have seen (Ques1-Ques4)(4*$1.), but what is (Ques1-Ques4)($1. + 1)? Appreciate all help Thanks
Mention common programming errors committed in sas ?
How do you add a prefix to some or all variables in a dataset using a SAS macro?
what are the three main credit bureau names
1 Answers Synchrony Financial,
Which statement does not perform automatic conversions in comparisons?
What is the difference between SAS functions and procedures?
I am looking to buy a sas advance book. So any one can guide me that which one i should buy.
Enlist the functions performed by sas.