From health tips to tech hacks, find it all on IDNLearn.com. Discover comprehensive answers to your questions from our community of experienced professionals.

The number of murders and robberies per 100,000 population for a random selection of states is shown.

The Number Of Murders And Robberies Per 100000 Population For A Random Selection Of States Is Shown class=
The Number Of Murders And Robberies Per 100000 Population For A Random Selection Of States Is Shown class=

Sagot :

The equation of the regression line has the following shape:

[tex]y=mx+b[/tex]

Where m is calculated through the following equation:

[tex]m=\frac{N\sum^{}_{}xy-\sum^{}_{}x\sum^{}_{}y}{N\sum^{}_{}x^2-(\sum^{}_{}x)^2}[/tex]

And b is calculated through the following equation:

[tex]b=\frac{\sum^{}_{}y-m\sum^{}_{}x}{N}[/tex]

N is the number of samples. 8 for this case.

The values of all the sums present in the above equation are reported in the last row of the table:

[tex]\begin{gathered} \sum ^{}_{}x=31 \\ \sum ^{}_{}y=680.1 \\ \sum ^{}_{}xy=3202.71 \\ \sum ^{}_{}x^2=142.52 \\ \sum ^{}_{}y^2=80033.99 \end{gathered}[/tex]

Now, we can begin calculating m by replacing the values:

[tex]\begin{gathered} m=\frac{8\cdot3202.71-31\cdot680.1}{8\cdot142.52-31^2} \\ m=25.333 \end{gathered}[/tex]

The slope of the equation is m = 25.333.

Now, we can calculate b:

[tex]\begin{gathered} b=\frac{680.1-25.333\cdot31}{8} \\ b=-13.153 \end{gathered}[/tex]

Now that we know the parameters m and b for the linear regression, we can build the equation:

[tex]\begin{gathered} y=mx+b \\ y=25.333x-13.153 \end{gathered}[/tex]

Where x represents the murders and y the robberies per 100,000 population.

Then, (a): the equation of the regression line is y = 25.333x - 13.153.

To predict the robberies per 100,000 population when x = 4.5 murders, we just need to replace that 4.5 in the equation that we just found:

[tex]y=25.333\cdot4.5-13.153=100,85[/tex]

Finally, (b): according to the linear regression, the number of robberies per 100,000 population when x = 4.5 murders is approximately 100,85.