Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

814 the table below shows the number of hours ten students spent studyi…

Question

814 the table below shows the number of hours ten students spent studying for a test and their scores.
hours spent studying (x) | 0 | 1 | 2 | 4 | 4 | 4 | 6 | 6 | 7 | 8
test scores (y) | 35 | 40 | 46 | 65 | 67 | 70 | 82 | 88 | 82 | 95
write the linear regression equation for this data set. round all values to the nearest hundredth. state the correlation coefficient of this line, to the nearest hundredth. explain what the correlation coefficient suggests in the context of the problem.

Explanation:

Step1: List data pairs

Data: (0,35),(1,40),(2,46),(4,65),(4,67),(4,70),(6,82),(6,88),(7,82),(8,95)
n=10

Step2: Calculate sums

$\sum x=0+1+2+4+4+4+6+6+7+8=42$
$\sum y=35+40+46+65+67+70+82+88+82+95=670$
$\sum xy=0×35+1×40+2×46+4×65+4×67+4×70+6×82+6×88+7×82+8×95=3206$
$\sum x^2=0^2+1^2+2^2+4^2+4^2+4^2+6^2+6^2+7^2+8^2=246$

Step3: Compute slope (m)

$m=\frac{n\sum xy-\sum x\sum y}{n\sum x^2-(\sum x)^2}=\frac{10×3206-42×670}{10×246-42^2}=\frac{32060-28140}{2460-1764}=\frac{3920}{696}≈5.63$

Step4: Compute intercept (b)

$\bar{x}=\frac{42}{10}=4.2$, $\bar{y}=\frac{670}{10}=67$
$b=\bar{y}-m\bar{x}=67-5.63×4.2≈67-23.65=43.35$

Step5: Linear regression equation

$\hat{y}=5.63x+43.35$

Step6: Calculate correlation coefficient (r)

$r=\frac{n\sum xy-\sum x\sum y}{\sqrt{[n\sum x^2-(\sum x)^2][n\sum y^2-(\sum y)^2]}}$
$\sum y^2=35^2+40^2+46^2+65^2+67^2+70^2+82^2+88^2+82^2+95^2=48658$
$r=\frac{3920}{\sqrt{696×(10×48658-670^2)}}=\frac{3920}{\sqrt{696×(486580-448900)}}=\frac{3920}{\sqrt{696×37680}}≈\frac{3920}{5132.5}≈0.76$

Step7: Interpret r

r≈0.76 (positive, strong correlation)

Answer:

Linear regression equation: $\hat{y}=5.63x + 43.35$
Correlation coefficient: 0.76
Interpretation: There is a strong positive linear relationship between hours spent studying and test scores—more study hours tend to associate with higher scores.