You are on page 1of 9

Bachelor's Unemployment Police Expenditure Per Population in

Crime
Degree Rate Capita (in US$) Millions
614 120 11 432 29.76
512 170 10.1 499 17.99
435 220 9.5 237 16.987
764 100 12 354 12.938
222 450 6.2 229 11.882
524 150 10.3 266 11.431
265 380 7.3 249 10.847
468 200 9.8 303 9.295
311 308 8 349 7.73
426 240 9.3 231 6.629
427 230 9.4 266 6.478
188 480 6 260 6.187
481 190 9.9 315 6.016
328 301 8.2 173 5.544
458 205 9.7 189 5.117
127 800 5.1 268 4.892
419 250 9.2 221 4.877
303 309 7.9 261 4.867
498 180 10 358 4.781
177 600 5.6 228 4.375

569 140 10.5 241 4.22


521 160 10.2 185 4.041
285 330 7.8 190 3.685
443 210 9.6 372 3.665
759 110 11.5 224 3.487
385 270 9 290 3.294
286 320 7.8 346 3.287
370 280 8.8 195 3.146
312 306 8.1 288 2.842
240 410 6.9 190 2.777
198 460 6.1 134 2.573
286 325 7.8 239 2.478
365 300 8.3 142 2.351
102 1100 4.7 118 1.793
186 500 5.8 220 1.723
246 400 7.1 183 1.578
606 130 10.8 284 1.515
96 1200 4.5 189 1.228
291 310 7.8 417 1.202
68 1400 2.3 233 1.109
153 700 5.3 320 1.108
231 420 5.7 197 1.007
280 360 7.7 287 1.003
108 1000 4.8 196 0.799
114 900 5 161 0.696
397 260 9.1 328 0.666
47 1500 2.1 143 0.639
87 1300 3.4 185 0.563
367 290 8.5 600 0.55
251 390 7.2 300 0.454
Population Density
(Persons/Sq Mile)
190.8
381 *Note: Data loosely taken from Risk Simulator Sample Models
64.9
239.6 Table contains data on US states with the number of cases of crimes, bachelo
265.1
rate, police expendutre per capita, population in millions, and population de
205.6
TASKS
264.9
1. Identify if there is a relationship between the number of crimes per year a
163.6
multiple regression analysis
1042
136.1 2. What is the predicted number of crimes if there are 100 individuals who c
111.9 unemployment rate, police expenditure of $100 per capita, 5M population, a
156.3
767.6
154.6
74.3
90.1
118.3
73.1
489.2
55 100 - bachelor's degree
96.9 15% - unemployment rate 981.902148186
79.6 $100 - police expenditure
92.8 5,000,000 - population
32.3 200 - density
115.8
31.8 SUMMARY OUTPUT
678.4
45.8 Regression Statistics
29.6 Multiple R 0.97381717873
49.7 R Square 0.94831989759
54.9 Adjusted R Square 0.946120744296
30.3 Standard Error 40.13663923302
45.1 Observations 50
74.5
21 ANOVA
20.5 df SS
12.5 Regression 2 1389349.03898069
39.8 Residual 47 75714.6410193086
10.9 Total 49 1465063.68
123.7
172.5 Coefficients Standard Error
12.2 Intercept -530.762418671 64.2032382774832
960.3 Bachelor's Degree 0.206365468439 0.0405958119795755
5.5 Unemployment Rate 99.46853466756 6.10455791495132
9.2
340.8
9.3
60.8 RESIDUAL OUTPUT
1
4.7 Observation Predicted Crime Residuals
1 588.155318885 25.844681115025
2 508.9519111061 3.04808889387732
3 459.5890637275 -24.5890637275375
4 683.4965441838 80.5034558162472
5 178.8069570656 43.1930429344354
6 524.7183086709 -0.71830867085464
7 273.7767624091 -8.77676240914877
8 485.302314759 -17.3023147590251
9 328.5464229488 -17.5464229488321
10 443.8226661628 -17.8226661628058
11 451.7058649452 -24.7058649451717
12 165.1042141852 22.8957858147774
13 493.1855135414 -12.1855135413909
14 346.9955716033 -18.9955716032706
15 476.3872886345 -18.3872886344641
16 141.6194828849 -14.6194828848954
17 435.9394673804 -16.9394673804397
18 318.8059349505 -15.8059349505154
19 501.0687123238 -3.06871232375681
20 150.0806565309 26.9193434691224
21 542.54836092 26.4516390800238
22 516.8351098885 4.16489011151134
23 313.192756321 -28.1927563209783
24 467.4722625099 -24.4722625099034
25 635.8259315344 123.174068465636
26 420.1730698157 -35.1730698157081
27 311.1291016366 -25.1291016365884
28 402.3430175666 -32.3430175665864
29 338.0805454787 -26.0805454787098
30 240.1803125953 -0.180312595295391
31 170.9237582832 27.0762417168013
32 312.1609289788 -26.1609289787834
33 356.7360596016 8.2639403984125
34 163.7417095496 -61.7417095495672
35 149.3378166205 36.6621833795092
36 258.0103648444 -12.010364844417
37 570.3252666359 35.6747333641465
38 164.48454946 -68.484549459954
39 309.0654469522 -18.0654469521986
40 -13.0731331209 81.0731331208755
41 140.8766429745 12.1233570254914
42 122.8817256786 108.118274321383
43 309.4368669074 -29.4368669073921
44 153.0520161724 -45.0520161724247
45 152.309176262 -38.3091762620379
46 428.0562685981 -31.0562685980739
47 -12.3302932105 59.3302932104888
48 75.70570816954 11.2942918304608
49 374.5661118507 -7.56611185070904
50 265.8935636268 -14.8935636267829
48 74.69258788176 12.3074121182442
49 369.270305517 -2.27030551703962
50 264.8891797457 -13.8891797456573
Models

ber of cases of crimes, bachelor's degree completed, unemployment


n millions, and population density.

number of crimes per year and the explanatory variables using

ere are 100 individuals who completed their bachelor's degrees, 15%
0 per capita, 5M population, and population density is 200

MS F Significance F
694674.5194903 431.22046114859 5.79560918E-31
1610.949808921

t Stat P-value Lower 95% Upper 95% Lower 95.0% Upper 95.0%
-8.26691040687 1.02079579522803E-10 -659.922674226 -401.602163115 -659.922674226 -401.602163115
5.083417682169 6.34118714369676E-06 0.124697228792 0.288033708086 0.124697228792 0.288033708086
16.29414218906 5.79125803244895E-21 87.18774819164 111.7493211435 87.18774819164 111.7493211435
Source: https://towardsdatascience.com/how-are-logistic-regression-ordinary-least-squares-regression-related-1deab32d79f5
elated-1deab32d79f5

You might also like