Data Prep Sheet

Action Principale : exploreCorrelation

Preparation Code

Script awaiting validation
Copied!
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 using this script
  • dataSciencePilot exploreCorrelation En cours
  • No other action uses this exact script.