obsX= load('training_ind_binaire000_Distanceaucentre_coordonneaucentre_333_U_333M_333C_cube.csv') % que les observations : obs=obsX(:,2:9) % dist. uniforme des points : U U = 1:333 % point proche Milieu cube : M M = 334:333+333 % points proches des Coins et dans cube : C C = 334+333:333+333+333 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Variance inter : VinterU = mean(var(obs(U,:))) VinterU = 0.077 VinterM = mean(var(obs(M,:))) VinterM = 0.038 VinterC = mean(var(obs(C,:))) VinterC = 0.123 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Variance intra : VintraU = mean(var(obs(U,:)')) VintraU = 0.086 VintraM = mean(var(obs(M,:)')) VintraM = 0.042 VintraC = mean(var(obs(C,:)')) VintraC = 0.139 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Variances totales : Uob = obs(U,:); var(Uob(:)) ans = 0.077 Mob = obs(M,:); var(Mob(:)) ans = 0.038 Cob = obs(C,:); var(Cob(:)) ans = 0.123