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 |
Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com
I use NOCUM/NOPERCENT option in the tables statement like this Proc freq data = deepak; tables x y /nocum nopercent; run; Here I get nopercent and nocum in the output only for variables x and y. How do i do it for all variables? Deepak
If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro
Mention sas system options to debug sas macros.
i have a data set with 20 observations i want label from 8 to 15 observations ? how you create this one.
6) Explain about below automatic variables a) _N_ b) _ERROR_ c) _CHAR_ d) _NUMERIC_ e) _ALL_ f) FIRST.BY VARIABLE g) LAST.BY VARIABLE h) _NAME_ i) _TYPE_ j) _FREQ_ k) _STAT_ l) _BREAK
What are the main differences between sas versions 8.2, 9.0, 9.1?
What are all the problems you faced while validating tables and reports?
0 Answers Accenture, Quintiles,
explain what is factor analysis? : Sas-administrator
What would the following datastep do? Data _null_; Set Dist end=eof; Call Symput("xx"!!left(put(_n_,2.)),&dimension); If EOF then Call Symput('numrows',left(put(_n_,2.))); Run; dimension is a macro variable that is being passed here
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
what is the formula to measure Baseline