summaryrefslogtreecommitdiff
path: root/vendor/bundle/ruby/3.4.0/gems/rouge-4.5.2/lib/rouge/demos/sas
blob: 1eee876ed8425db3f0a5dc2c56db599ae33c15c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
data sim;
    do i = 1 to 100;
        x1 = rand("Normal");
        x2 = rand("Binomial", 0.5, 100);
        output;
    end;
run;

proc means data=sashelp.class;
    class sex;
    var height weight;
    output out = mean_by_sex;
run;