How could you generate test data with no input data?
Answers were Sorted based on User's Feedback
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 |
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 do you control the number of observations and/or variables read or written?
What are the features of base sas system?
What is the Program Data Vector (PDV) and What are its functions?
Do you know the features of sas?
what techniques and/or procs do you use for tables? : Sas programming
When you will use nowd option in report???
In which case u go for libname and in which case u go for proc sql pass thru facilit diff?
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..
Have you used macros? For what purpose you have used? : sas-macro
how can u convert this 25-jul-2010 from numeric to charcter?
Can you use a macro within another macro? If so how would SAS know where the current acro ended and the new one began?
How would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable?