🧠 MindStat

⚠️ Example not found

This example does not exist or may have been moved.

Browse all examples
🔗
Correlation

Pearson Correlation — Study Hours vs. GPA

Compute Pearson r between study hours and GPA. Includes t-test for significance and 95% CI using Fisher z-transformation.

📊 r(6) = .985, p < .001
Step-by-step solution

🔗 5 · Correlation

5a · Pearson Correlation: Study Hours vs GPA
Correlation
Research Question: Is there a linear relationship between weekly study hours (X) and GPA (Y) for 8 students?
iX (hrs)Y (GPA)X−X̄Y−Ȳ(X−X̄)(Y−Ȳ)(X−X̄)²(Y−Ȳ)²
1102.8-5-0.552.75250.30
2153.20-0.15000.02
3203.850.452.25250.20
4123.0-3-0.351.0590.12
5183.630.250.7590.06
682.5-7-0.855.95490.72
7224.070.654.55490.42
8153.30-0.05000.003
Σ12027.20017.301661.843
r = ( x i x ¯ ) ( y i y ¯ ) ( x i x ¯ ) 2 ( y i y ¯ ) 2 = 17.30 166 × 1.843 = 17.30 305.9 = 17.30 17.49 = 0.989
Significance test
t = r n 2 1 r 2 = 0.989 6 1 0.978 = 0.989 × 2.449 0.022 = 2.422 0.148 = 16.36 , d f = 6
95% CI via Fisher-z
z r = tanh 1 ( r ) = 1 2 ln 1 + r 1 r = 1 2 ln 1.989 0.011 = 2.693 C I z : 2.693 ± 1.96 n 3 = 2.693 ± 0.981 [ 1.712 ,   3.674 ] r [ .936 ,   .998 ]
.989
r
.978
16.36
t(6)
<.001
p
🔴 Strong positive correlation — Study hours are strongly associated with GPA, r=.989, p<.001.
APA-7
Study hours and GPA were strongly positively correlated, r(6) = .99, p < .001, 95% CI [.94, 1.00]. Study hours accounted for 97.8% of the variance in GPA.