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 / bitla

using random functions like RANUNI() RANBIN() etc
with DO loops
ex:
data one;
do i=1 to 1000;
x=ranuni(32223);
end;
run;

Is This Answer Correct ?    11 Yes 1 No

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

Answer / k ramesh

data testdata_anlyse;
do i=1 to 100;
x=rannor(i);
output;
end;
run;

Is This Answer Correct ?    3 Yes 1 No

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

Answer / x

data step with(empty data)/withuot set statement.

Is This Answer Correct ?    2 Yes 2 No

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

Answer / ganesh k

using PROC PLAN

Is This Answer Correct ?    1 Yes 1 No

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

Answer / chandra sekar

data test;
delete;
run;

Is This Answer Correct ?    3 Yes 12 No

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

Answer / bala

By using 'cards' and 'Datalines' statements

Is This Answer Correct ?    2 Yes 12 No

Post New Answer

More SAS Interview Questions

how can u create zero observation dataset?

11 Answers   CitiGroup,


what is prime numbers? how we can get plc write sas code?

5 Answers   Icon,


What is the purpose of _character_ and _numeric_?

0 Answers  


What is the difference between reading data from an external file and reading data from an existing data set?

0 Answers  


what is the difference between proc means and proc summary?

2 Answers   Accenture,


What is your favorite all time computer book? Why?

0 Answers   Oracle,


Difference between nodup and nodupkey options?

0 Answers  


hi i date is 05sep2005; i want the oupput like 05sep2005:00:00:00 ; how it wil come?

6 Answers   Accenture,


What is the use of the %include statement?

0 Answers  


What is your weekness? I am confuse what to say about this question. so can u give some answer which can be yur strenght.

1 Answers   Cipla,


how many display types available in sas bi dashboard? : Sas-bi

0 Answers  


hi guys ...i have one query... data abc; input s w k g o t a m; cards; 1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 9 ; run; i want the output to be the sorted order(only variables).observations should not be changed..

14 Answers  


Categories