Hello

I want to simulate defaults, so I would like to sample integers "0" and "1" so that of my x=10000 obs. I get 2.45% "1" and the rest as "0"
Really nice procedure:-)

data RandInt;
do i = 1 to 10000;
lgd_realiseret=RAND('BINOMIAL', 0.0245, 1);
output;
end;
run;
proc freq data=work.randInt;
tables lgd_realiseret / list missing;
run;