Homicide Problem Stats

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 14

Question 6

A researcher is investigating whether population impacts homicide rate. He uses demographic data from Detroit, MI to compare homicide ra
Homicide rate per
Population Size
100,000 people
558,724 8.6
538,584 8.9
519,171 8.52 CLICK THE FF: (TO BE REDIRE
500,457 8.89
482,418 13.07
465,029 14.57
448,267 21.36
432,109 28.03
416,533 31.49
401,518 37.39
387,046 46.26
373,095 47.24
359,647 52.33

1. Find the equation of the regression line , interpret the slope and y-intercept. 5 pts.
2. Compute and interpret the coefficient of determination. 3 pts
3. Estimate the homicide rate when the population is 380000. 2 pts.
etroit, MI to compare homicide rates and the number of the population that are white males.

CLICK THE FF: (TO BE REDIRECTED)


SUMMARY OF ANSWERS
FULL COMPUTATION
REGRESSION FULL DETAILS
Step 1: List all the Information
A researcher is investigating whether population impacts homicide rate. He uses demographic data from Detroit, MI to compare homicide ra
that are white males.
Homicide rate per
Population Size
100,000 people
558,724 8.6
538,584 8.9
519,171 8.52
500,457 8.89
482,418 13.07
465,029 14.57
448,267 21.36
432,109 28.03
416,533 31.49
401,518 37.39
387,046 46.26
373,095 47.24
359,647 52.33

Step 2: CORRELATION TEST (To test whether strong, moderate or weak)

Population Size Homicide rate per 100,000 people


Population Size 1
Homicide rate per
100,000 people -0.95257479022621 1

r= -0.95257479022621
x (independent) Population size
Determination of variables:
y (dependent) Homicide rate per 100,000 people

Interpretation: There is a strong negative correlation between population size and homicide rate per 100,000 people
This means that as the population size increase homicide rate per 100,000 people decreases

Step 3: COMPUTE FOR REGRESSION

REGRESSION OUTPUT
*click to be redirected to the computation*

Regression Statistics
Multiple R 0.952574790226214
R Square 0.907398730974516
Adjusted R Square 0.898980433790381
Standard Error 5.20787701132779
Observations 13
ANOVA
df SS MS F
Regression 1 2923.4478643068 2923.448 107.78886883259
Residual 11 298.341812616281 27.12198
Total 12 3221.78967692308

Coefficients Standard Error t Stat P-value


Intercept 134.513669403614 10.6345953080284 12.64869 0.000000067590
X Variable 1 -0.00024173463872 2.32836964509328E-05 -10.38214 0.000000507606
*both not more than 0.05*
(very important to check ,if more than 0.05, th

FORMULA: Y = a + Bx

Homicide rate per 100,000 people = 134.51 + -0.00024* (Population Size)

Interpretation of Regression Equation (Model):

For every increase in the population size of people, the homicide rate per 100,000 people
decreases by 0.00024 on the average

Step 4: Coefficient of Determination

How Good is the model? r-square (MUST BE ATLEAST .7)


R Square 0.907398730974516
100% 9.26%
Interpretation:
Thus, 90.74% of the variation of homicide rate per 100,000 people is due to population size
The remaining 9.26% is due to other factors that are not included in the study.

Step 4: ANOVA Table

Is the model significant? Significance F


0.000000507606

Interpretation: Since the p-value of the ANOVA table is less than 0.05 level of significant (0.000000507606),
therefore the model is significant in explaining the homicid rate per 100,000 people
due to population size.

Step 4: PREDICTION

Estimate the homicide rate when the population is 380000


Homicide rate per 100,000 people = 134.51 - 0.00024* (Population Size)
Homicide rate per 100,000 people = 134.51 - 0.00024* (380,000)

43.31

If the population is 380,000, then the homicide rate per 100,000 people is 43.31
ta from Detroit, MI to compare homicide rates and the number of the population
s.

Manual Computation (if I will arrange the data individually)


Homicide rate per
Population size 100,000 people
359,647 52.33
373,095 47.24
CAN STAND ALONE 387,046 46.26
100,000 people 401,518 37.39
416,533 31.49
and homicide rate per 100,000 people. 432,109 28.03
per 100,000 people decreases 465,029 14.57
448,267 21.36
482,418 13.07
500,457 8.89
519,171 8.52
538,584 8.9
558,724 8.6
Significance F
0.000000507606

Lower 95% Upper 95%Lower 95.0% Upper 95.0%


111.1070829471 157.9203 111.1071 157.9203
-0.00029298171 -0.00019 -0.000293 -0.00019
not more than 0.05*
mportant to check ,if more than 0.05, then it must be drop from the equation)

ide rate per 100,000 people


e

ple is due to population size


d in the study.

gnificant (0.000000507606),
per 100,000 people
range the data individually)
SUMMARY OUTPUT

Regression Statistics
Multiple R 0.952574790226214
R Square 0.907398730974516
Adjusted R Square 0.898980433790381
Standard Error 5.20787701132779
Observations 13

ANOVA
df SS MS
Regression 1 2923.4478643068 2923.4478643068
Residual 11 298.3418126163 27.1219829651165
Total 12 3221.789676923

Coefficients Standard Error t Stat


Intercept 134.513669403614 10.63459530803 12.6486871862501
X Variable 1 -0.00024173463871694 2.328369645E-05 -10.382141822986

RESIDUAL OUTPUT

Observation Predicted Y Residuals Standard Residuals


1 -0.549274878868573 9.149274878869 1.83493310745646
2 4.31926074489059 4.580739255109 0.918690303560442
3 9.01205528630251 -0.492055286303 -0.0986841632248675
4 13.5358773152513 -4.645877315251 -0.931754069235021
5 17.8965284630662 -4.826528463066 -0.967984565795038
6 22.100052095715 -7.530052095715 -1.51018983189715
7 26.1520081098883 -4.792008109888 -0.96106133529145
8 30.0579564022766 -2.027956402277 -0.406716859235501
9 33.8232151349317 -2.333215134932 -0.467938033842748
10 37.4528607352665 -0.062860735267 -0.0126070367134757
11 40.9512444267781 5.308755573222 1.06469763884759
12 44.3236843715181 2.916315628482 0.584881771434539
13 47.5745317929835 4.755468207017 0.953733073936271
F Significance F
107.788868832594 0.000000507606

P-value Lower 95% Upper 95% Lower 95.0% Upper 95.0%


0.000000067590 111.107082947064 157.92025586 111.10708294706 157.92025586016
0.000000507606 -0.00029298170907752 -0.0001904876 -0.000292981709 -0.0001904875684
*both not more than 0.05*
X Variable 1 Residual Plot
15
10
Residuals

5
0
300,000
-5 400,000 500,000 600,000
-10
X Variable 1

X Variable 1 Line Fit Plot


60
40
Y
20 Predicted Y
Y

0
300,000
-20 400,000 500,000 600,000
X Variable 1
QUESTIONS:

1. Find the equation of the regression line , interpret the slope and y-intercept. 5 pts.

Y = a + Bx
Homicide rate per 100,000 people = 134.51 + -0.00024* (Population Size)

Interpretation of Regression Equation (Model):


For every increase in the population size of people, the
homicide rate per 100,000 people decreases by 0.00024 on
the average

2. Compute and interpret the coefficient of determination. 3 pts

How Good is the model? r-square (MUST BE ATLEAST .7)


R Square 0.907399
100% 9.26%
Interpretation:
Thus, 90.74% of the variation of homicide rate per 100,000 people is due to populatio
The remaining 9.26% is due to other factors that are not included in the study.

Is the model significant? Significance F


0.000000507606

Interpretation: Since the p-value of the ANOVA table is less than 0.05 level of significant (0.000000507
therefore the model is significant in explaining the homicid rate per 100,000 people
due to population size.

3. Estimate the homicide rate when the population is 380000. 2 pts.

Homicide rate per 100,000 people = 134.51 - 0.00024* (Population Size)


Homicide rate per 100,000 people = 134.51 - 0.00024* (380,000)

43.31

If the population is 380,000, then the homicide rate per 100,000 people is 43.31
people is due to population size
uded in the study.

of significant (0.000000507606),
ate per 100,000 people
Population Size Homicide rate per 100,000 people
Population Size 1
Homicide rate per 100,000 people -0.952574790226214 1

You might also like