Fiche Data Prep

Action Principale : bartProbit

Code de préparation

Script en attente de validation
Copié !
1DATA getStarted;
2 call streaminit(123);
3 DO i = 1 to 100;
4 x1 = rand('UNIFORM');
5 x2 = rand('UNIFORM');
6 x3 = rand('UNIFORM');
7 p = 1 / (1 + exp(-(-2 + 6*x1 - 3*x2)));
8 y = rand('BERNOULLI', p);
9 OUTPUT;
10 END;
11RUN;
Actions utilisant ce script
  • bart bartProbit En cours
  • Aucune autre action n'utilise ce script exact.