Fiche Data Prep

Action Principale : exploreCorrelation

Code de préparation

Script en attente de validation
Copié !
1PROC CAS;
2 dataStep.runCode /
3 code="data casuser.correlation_data;
4 call streaminit(123);
5 do i=1 to 1000;
6 x = rand('normal');
7 y = 2*x + rand('normal', 0, 0.5);
8 if x > 0 then c = 'Positive'; else c = 'Negative';
9 if rand('uniform') > 0.9 then call missing(x);
10 output;
11 end;
12 run;";
13RUN;
Actions utilisant ce script
  • dataSciencePilot exploreCorrelation En cours
  • Aucune autre action n'utilise ce script exact.