MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
6th Edition
ISBN: 9781119256830
Author: Amos Gilat
Publisher: John Wiley & Sons Inc
Bartleby Related Questions Icon

Related questions

Question
The Federal Bureau of Investigation (FBI), as part of its internal security mission,
serves as a database for all the reported crimes committed in the United States. One question
that might be of interest is does having more police officers reduce the number of homicides? To
investigate this claim, the 2013 data from the twenty largest municipal cities was supplied by the
FBI's Uniform Crime Report. Below are two observations from the dataset:
> head (cities)
City
Pop Homicides
Police
Density MedHome Mayor
1
New York
8175.133
335
4.2595
27016.30
5.5390
1
2
Chicago
2695.598
414
4.4309
11843.58
1.8310
The variables included in the study are:
Name of city
Population of city in 1,000s of people
Number of homicides in the year 2013
Number of police officers per 1,000 people
Number of people per square mile
Median home price in $100,000
1 if city has a "Strong Mayor" form of government; 0 if not
City
Рор
Homicides
Police
Density
MedHome
Мayor
Model: log(u;) = Bo + B1Police; + B2MedHome; + B3I(Mayor;) + log(Pop;)
mod1
glm (Homicides ~ Police + MedHome + Mayor, family=poisson, offset=log (Pop))
Coefficients:
Estimate Std. Error z value Pr(>]z|)
(Intercept) -2.19745
0.35530
-6.185 1.31e-05
Police
0.05424
0.11390
0.476 0.640352
i
MedHome
-0.28076
0.05630
-4.987 0.000134
Мayor
0.60000
0.31171
1.925 0.072219
(Dispersion parameter for poisson family taken to be 1)
expand button
Transcribed Image Text:The Federal Bureau of Investigation (FBI), as part of its internal security mission, serves as a database for all the reported crimes committed in the United States. One question that might be of interest is does having more police officers reduce the number of homicides? To investigate this claim, the 2013 data from the twenty largest municipal cities was supplied by the FBI's Uniform Crime Report. Below are two observations from the dataset: > head (cities) City Pop Homicides Police Density MedHome Mayor 1 New York 8175.133 335 4.2595 27016.30 5.5390 1 2 Chicago 2695.598 414 4.4309 11843.58 1.8310 The variables included in the study are: Name of city Population of city in 1,000s of people Number of homicides in the year 2013 Number of police officers per 1,000 people Number of people per square mile Median home price in $100,000 1 if city has a "Strong Mayor" form of government; 0 if not City Рор Homicides Police Density MedHome Мayor Model: log(u;) = Bo + B1Police; + B2MedHome; + B3I(Mayor;) + log(Pop;) mod1 glm (Homicides ~ Police + MedHome + Mayor, family=poisson, offset=log (Pop)) Coefficients: Estimate Std. Error z value Pr(>]z|) (Intercept) -2.19745 0.35530 -6.185 1.31e-05 Police 0.05424 0.11390 0.476 0.640352 i MedHome -0.28076 0.05630 -4.987 0.000134 Мayor 0.60000 0.31171 1.925 0.072219 (Dispersion parameter for poisson family taken to be 1)
a. The offset term is set to be log(Pop). If this offset term was not included in the model, what
would we be modeling with respect to the response instead?
b. Write out the estimated model and state the random, systematic, and link components in this
model.
expand button
Transcribed Image Text:a. The offset term is set to be log(Pop). If this offset term was not included in the model, what would we be modeling with respect to the response instead? b. Write out the estimated model and state the random, systematic, and link components in this model.
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Similar questions
Recommended textbooks for you
Text book image
MATLAB: An Introduction with Applications
Statistics
ISBN:9781119256830
Author:Amos Gilat
Publisher:John Wiley & Sons Inc
Text book image
Probability and Statistics for Engineering and th...
Statistics
ISBN:9781305251809
Author:Jay L. Devore
Publisher:Cengage Learning
Text book image
Statistics for The Behavioral Sciences (MindTap C...
Statistics
ISBN:9781305504912
Author:Frederick J Gravetter, Larry B. Wallnau
Publisher:Cengage Learning
Text book image
Elementary Statistics: Picturing the World (7th E...
Statistics
ISBN:9780134683416
Author:Ron Larson, Betsy Farber
Publisher:PEARSON
Text book image
The Basic Practice of Statistics
Statistics
ISBN:9781319042578
Author:David S. Moore, William I. Notz, Michael A. Fligner
Publisher:W. H. Freeman
Text book image
Introduction to the Practice of Statistics
Statistics
ISBN:9781319013387
Author:David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:W. H. Freeman