Data Prep Sheet

Action Principale : countregViewStore

Preparation Code

Script awaiting validation
Copied!
1DATA casuser.Charity;
2 DO i = 1 to 100;
3 Age = 20 + int(60 * ranuni(1));
4 Income = 30000 + int(70000 * ranuni(1));
5 lambda = exp(-2 + 0.03 * Age + 0.00001 * Income);
6 NumDonations = ranpoi(1, lambda);
7 OUTPUT;
8 END;
9RUN;
Actions using this script
  • countreg countregViewStore En cours
  • No other action uses this exact script.