SAE_S2.04/Exo2/Question2.sce

10 lines
295 B
Scilab
Raw Normal View History

2023-05-11 15:31:57 +02:00
//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(u,12).*data(u,12))-mean(data(u,12))^2;
ecartTypeFemme = sqrt(varianceFemme);