How could you generate test data with no input data?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

606


How do you test for missing values?

1057


How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

579


what is hierarchy flattening? : Sas-di

616


I have a dataset concat having a variable a b & c. How to rename a b to e & f?

755






what is PhaseIII, ODS, TLG, Macro and Proc in SAS

3902


What is the role of unrestrictive users? : sas-grid-administration

571


what is SAS OPTIMIZATION?

1814


Mention what is the difference between nodupkey and nodup options?

595


How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

1578


how does sas handle missing values in procs? : Sas programming

634


what are informats in sas? : Sas-administrator

584


how do you want missing values handled? : Sas programming

532


name the scheduler for scheduling job and explain the scheduler? : Sas-di

592


what do you mean by data staging area? : Sas-di

600