Fiche Data Prep

Action Principale : bartProbit

Code de préparation

Script en attente de validation
Copié !
1DATA casuser.simulated_data(caslib='casuser');
2DO i = 1 to 1000;
3 array x[10];
4 DO j = 1 to 10;
5 x[j] = rannor(12345);
6 END;
7 mu = 10 * sin(3.14 * x[1] * x[2]) + 20 * (x[3] - 0.5)**2 + 10 * x[4] + 5 * x[5];
8 pr = 1 / (1 + exp(-mu));
9 y = rand('BERNOULLI', pr);
10 OUTPUT;
11END;
12RUN;
Actions utilisant ce script
  • bart bartProbit En cours
  • Aucune autre action n'utilise ce script exact.