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 |
How to find out no. of business days in a month using macros.???(excluding weekends and holidays).
How would you define the end of a macro?
how to delete the duplicates by using proc sql?
Does anybody has lastest SAS certification dumps,if anybody has please mail me at akshara_SAS@ymail.com Thanks Akshara
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
what is fact table and factless table?
What statement do you code to tell SAS that it is to write to an external file? What statement do you code to write the record to the file?
What do you know about sas data set?
Mention few ways with which a “table lookup’ is done in sas programming.
What are the rows present in protocol Violation table?
2 Answers Accenture, Quintiles,
What do the PUT and INPUT functions do?
How will you assign all the variables of an dataset into a macro variable separated by a space? For example if a dataset has variables A,B,C. Assign them to a macro variable X as X=A B C