QUESTION IMAGE
Question
a mathematics teacher wanted to see the correlation between test scores and homework. the homework grade (x) and test grade (y) are given in the accompanying table. write the linear regression equation that represents this set of data, rounding all coefficients to the nearest tenth. using this equation, find the projected test grade, to the nearest integer, for a student with a homework grade of 35.
homework grade (x) | test grade (y)
90 | 78
88 | 87
88 | 85
83 | 78
81 | 74
81 | 76
52 | 41
62 | 55
Step1: Calculate sums for regression
$n=8$, $\sum x=90+88+88+83+81+81+52+62=625$, $\sum y=78+87+85+78+74+76+41+55=574$, $\sum xy=90×78+88×87+88×85+83×78+81×74+81×76+52×41+62×55=46316$, $\sum x^2=90^2+88^2+88^2+83^2+81^2+81^2+52^2+62^2=49517$
Step2: Compute slope $m$
$m=\frac{n\sum xy-\sum x\sum y}{n\sum x^2-(\sum x)^2}=\frac{8×46316-625×574}{8×49517-625^2}=\frac{370528-358750}{396136-390625}=\frac{11778}{5511}≈1.05≈1.1$
Step3: Compute intercept $b$
$\bar{x}=\frac{625}{8}=78.125$, $\bar{y}=\frac{574}{8}=71.75$, $b=\bar{y}-m\bar{x}=71.75-1.1×78.125=71.75-85.9375≈-14.2$
Step4: Form regression equation
$y=1.1x-14.2$
Step5: Predict test grade for $x=35$
$y=1.1×35-14.2=38.5-14.2=24.3≈24$
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
24