How could you generate test data with no input data?

Answers were Sorted based on User's Feedback



How could you generate test data with no input data? ..

Answer / salman

For this Question the correct answer is data _NULL_

Is This Answer Correct ?    10 Yes 2 No

How could you generate test data with no input data? ..

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

How could you generate test data with no input data? ..

Answer / tangyoulei

randuni

Is This Answer Correct ?    4 Yes 1 No

How could you generate test data with no input data? ..

Answer / kiran

even by using do loop.

Is This Answer Correct ?    2 Yes 1 No

How could you generate test data with no input data? ..

Answer / ram

Give one answer

Is This Answer Correct ?    1 Yes 0 No

How could you generate test data with no input data? ..

Answer / prag s.

now which one is the correct answer people????????

Is This Answer Correct ?    0 Yes 0 No

How could you generate test data with no input data? ..

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

How could you generate test data with no input data? ..

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 could you generate test data with no input data? ..

Answer / guest

Using data _null_ or obs=0

Is This Answer Correct ?    4 Yes 5 No

How could you generate test data with no input data? ..

Answer / mallikarjuna reddy

by using Explicit OUTPUT statement

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More SAS Interview Questions

What are TEAEs

2 Answers   Accenture, Quintiles,


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

0 Answers   Pfizer,


Identify statements whose placement in the DATA step is critical?

11 Answers  


What is the purpose of _error_?

1 Answers   Quintiles,


how would you determine the number of missing or nonmissing values in computations? : Sas programming

0 Answers  






hi all, I need the SAS DI DUMP(A00 260) for attending the certification. if any one have, pls provide it.Please Email to vrpotluri@hotmail.com. Thanks - Ramana

0 Answers   SAS,


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

0 Answers  


How to read multiple excel sheets from a single excel file at once????

7 Answers   HCL, Verinon Technology Solutions,


How do you define proc in sas? : sas-grid-administration

0 Answers  


wt is a-z and a--z?

3 Answers   Accenture,


how to generate means for every subject;

4 Answers   Mind Tree,


% let A=3+4 what is result

4 Answers   Satyam,


Categories