P e a r s o n ? s c o r r e l a t i o n c o e f f i c i e n t : n = 8 ∑ x i = 522 ∑ y i = 610 ∑ x i 2 = 39308 ∑ y i 2 = 46904 ∑ x i y i = 39818 r = n ∑ x i y i − ∑ x i ∑ y i ( n ∑ x i 2 − ( ∑ x i ) 2 ) ( n ∑ y i 2 − ( ∑ y i ) 2 ) = = 8 ⋅ 39818 − 522 ⋅ 610 ( 8 ⋅ 39308 − 52 2 2 ) ( 8 ⋅ 46904 − 61 0 2 ) = 0.0108141 T = r n − 2 1 − r 2 = 0.0108141 8 − 2 1 − 0.010814 1 2 = 0.0264905 ∼ t n − 2 = t 6 P − v a l u e : P ( ∣ T ∣ > 0.0265 ) = 2 F t , 6 ( − 0.0265 ) = 2 ⋅ 0.48986 = 0.97972 > 0.05 ⇒ ⇒ i n s i g n i f i c a n t Pearson?s\,\,correlation\,\,coefficient:\\n=8\\\sum{x_i}=522\\\sum{y_i}=610\\\sum{{x_i}^2}=39308\\\sum{{y_i}^2}=46904\\\sum{x_iy_i}=39818\\r=\frac{n\sum{x_iy_i}-\sum{x_i}\sum{y_i}}{\sqrt{\left( n\sum{{x_i}^2}-\left( \sum{x_i} \right) ^2 \right) \left( n\sum{{y_i}^2}-\left( \sum{y_i} \right) ^2 \right)}}=\\=\frac{8\cdot 39818-522\cdot 610}{\sqrt{\left( 8\cdot 39308-522^2 \right) \left( 8\cdot 46904-610^2 \right)}}=0.0108141\\T=r\sqrt{\frac{n-2}{1-r^2}}=0.0108141\sqrt{\frac{8-2}{1-0.0108141^2}}=0.0264905\sim t_{n-2}=t_6\\P-value:\\P\left( \left| T \right|>0.0265 \right) =2F_{t,6}\left( -0.0265 \right) =2\cdot 0.48986=0.97972>0.05\Rightarrow \\\Rightarrow insignificant P e a rso n ? s corre l a t i o n coe ff i c i e n t : n = 8 ∑ x i = 522 ∑ y i = 610 ∑ x i 2 = 39308 ∑ y i 2 = 46904 ∑ x i y i = 39818 r = ( n ∑ x i 2 − ( ∑ x i ) 2 ) ( n ∑ y i 2 − ( ∑ y i ) 2 ) n ∑ x i y i − ∑ x i ∑ y i = = ( 8 ⋅ 39308 − 52 2 2 ) ( 8 ⋅ 46904 − 61 0 2 ) 8 ⋅ 39818 − 522 ⋅ 610 = 0.0108141 T = r 1 − r 2 n − 2 = 0.0108141 1 − 0.010814 1 2 8 − 2 = 0.0264905 ∼ t n − 2 = t 6 P − v a l u e : P ( ∣ T ∣ > 0.0265 ) = 2 F t , 6 ( − 0.0265 ) = 2 ⋅ 0.48986 = 0.97972 > 0.05 ⇒ ⇒ in s i g ni f i c an t
Comments