SAE_S2.04/Exo2/Question2.sce

10 lines
295 B
Scilab

//Homme
medianeHomme = median(data(:, 11));
varianceHomme = mean(data(u,11).*data(u,11))-mean(data(u,11))^2;
ecartTypeHomme = sqrt(varianceHomme);
//Femme
medianeFemme = median(data(:, 12));
varianceFemme = mean(data(v,12).*data(v,12))-mean(data(v,12))^2;
ecartTypeFemme = sqrt(varianceFemme);