3. 2 3 5 6. 4 2 2 4 3 2 You may use computer software such as Excel to do the calculations for this problem if you wish, but you must show all intermediate calculations and indicate how the calculations were performed. (In other words, you should show all the same work as if you had done the calculations by hand.) It is also fine to do the problem entirely by hand. a. Make a scatterplot of gun stores (X) and deaths by shooting (Y). b. Describe the form of the relationship. Is there a linear pattern? Is the direction of the association positive or negative? c. Calculate the Pearson correlation coefficient. Explain in simple language what this says about gun stores and shooting deaths. d. What is the equation of the OLS regression line for predicting shooting deaths and the proximity of stores that sell guns? Interpret the coefficients. c. What is the predicted number of deaths from shootings where the number of stores in a neighborhood that sell guns is 4? r. Conduct a hypothesis test for the significance of the regression slope coefficient (t-test). Be sure to show all 4 steps. Interpret your results.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Please solve d,e,f sub-parts

Non-Computer Problem:
1. Does having more gun stores in your neighborhood increase
the risk of getting shot? Researchers looked at neighborhoods in
a (made-up) city and recorded the number of stores that sold
guns in a neighborhood and counted the number of deaths by
shootings recorded in that neighborhood in a 6 month period.
The data are below.
Gun Stores Shooting Deaths
3
5
7
2
3
3
4
3
You may use computer software such as Excel to do the
calculations for this problem if you wish, but you must show all
ntermediate calculati
performed. (In other words, you should show all the same work
as if you had done the calculations by hand.) It is also fine to do
the problem entirely by hand.
and indicate
the calculations were
a. Make a scatterplot of gun stores (X) and deaths by shooting
(Y).
b. Describe the form of the relationship. Is there a linear
pattern? Is the direction of the association positive or
negative?
c. Calculate the Pearson correlation coefficient. Explain in
simple language what this says about gun stores and
shooting deaths.
d. What is the equation of the OLS regression line for
predicting shooting deaths and the proximity of stores that
sell guns? Interpret the coefficients.
e. What is the predicted number of deaths from shootings
where the number of stores in a neighborhood that sell guns
is 4?
f. Conduct a hypothesis test for the significance of the
regression slope coefficient (t-test). Be sure to show all 4
steps. Interpret your results.
g. What percent of the variation among neighborhoods in
shooting deaths is explained by the straight-line
relationship with gun stores? (In other words, calculate and
interpret R.)
Transcribed Image Text:Non-Computer Problem: 1. Does having more gun stores in your neighborhood increase the risk of getting shot? Researchers looked at neighborhoods in a (made-up) city and recorded the number of stores that sold guns in a neighborhood and counted the number of deaths by shootings recorded in that neighborhood in a 6 month period. The data are below. Gun Stores Shooting Deaths 3 5 7 2 3 3 4 3 You may use computer software such as Excel to do the calculations for this problem if you wish, but you must show all ntermediate calculati performed. (In other words, you should show all the same work as if you had done the calculations by hand.) It is also fine to do the problem entirely by hand. and indicate the calculations were a. Make a scatterplot of gun stores (X) and deaths by shooting (Y). b. Describe the form of the relationship. Is there a linear pattern? Is the direction of the association positive or negative? c. Calculate the Pearson correlation coefficient. Explain in simple language what this says about gun stores and shooting deaths. d. What is the equation of the OLS regression line for predicting shooting deaths and the proximity of stores that sell guns? Interpret the coefficients. e. What is the predicted number of deaths from shootings where the number of stores in a neighborhood that sell guns is 4? f. Conduct a hypothesis test for the significance of the regression slope coefficient (t-test). Be sure to show all 4 steps. Interpret your results. g. What percent of the variation among neighborhoods in shooting deaths is explained by the straight-line relationship with gun stores? (In other words, calculate and interpret R.)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Linear Equations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman