Boyeba coefficient ya corrélation entre ba variables mibale.
Coefficient ya corrélation, oyo elakisami na r, ezali mesure ya makasi pe direction ya relation linéaire entre deux variables. Formule ya kosala calcul ya coefficient ya corrélation ezali : r = 1/n-1 * Σ[(xi-x̄)(yi-ȳ) / (sx)(sy)] esika : n = motango ya ba paires ya ba données x̄ = the moyenne ya ba valeurs x ȳ = moyenne ya ba valeurs y sx = écart standard ya ba valeurs x sy = écart standard ya ba valeurs y Ya liboso, tokoki kosala calcul ya moyenne ya ba variables mibale : x̄ = ( 1 + 2 + 3 + 4 + 5) / 5 = 3 ȳ = (2 + 4 + 6 + 8 + 10) / 5 = 6 Na sima, tosali calcul ya écart standard ya ba variables mibale : sx = sqrt[1/5 -1 * Σ (xi - x̄) ^ 2] = sqrt [(2 ^ 2 + 1 + 0 + 1 + 2 ^ 2) / (5-1)] = 1,581 sy = sqrt [1/5-1 * Σ (yi - ȳ)^2] = sqrt[(8 + 4 + 0 + 4 + 8)/(5-1)] = 3.162 Sikoyo tokoki kosala calcul ya coefficient ya corrélation : r = 1/5-1 * ([( 1-3)(2-6) + (2-3)(4-6) + (3-3)(6-6) + (4-3)(8-6) + (5-3)(10) Ezali na ntina mingi -6)] / [1,581 * 3,162]) r = 1/4 * ([(1-3) (2-6) + (2-3) (4-6) + (3-3) (6-6 ) + (4-3) (8-6) + (5-3) (10-6)] / [1,581*3,162]) r = 1/4 * (10 / [1,581*3,162]) r = 1 Ezali na moboko na likambo oyo, tokoki koloba ete coefficient ya corrélation entre ba variables mibale x na y ezali 1. Yango elingi koloba que ezali na relation linéaire positive parfaite entre ba variables mibale.