QUESTION IMAGE
Question
find the equation for the least squares regression line of the data described below. a pharmaceutical company is testing a new headache medication. researchers at the company conducted an observational study using volunteer participants. all participants were given a supply of tablets of the new medication. the participants then recorded how many headaches they had had for a week, x, and how many tablets they had taken, y. headaches | tablets 3 | 1 4 | 3 5 | 10 6 | 2 10 | 5 round your answers to the nearest thousandth. y = x +
Step1: Calculate sums for regression
$n=5$, $\sum x = 3+4+5+6+10 = 28$, $\sum y =1+3+10+2+5=21$, $\sum xy=(3*1)+(4*3)+(5*10)+(6*2)+(10*5)=3+12+50+12+50=127$, $\sum x^2 = 3^2+4^2+5^2+6^2+10^2=9+16+25+36+100=186$
Step2: Compute slope $m$
Step3: Compute intercept $b$
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
$y = 0.322x + 2.397$