From the Introduction to Modern Statistics (IMS) textbook, complete
the following exercises:
Also complete the additional questions given below:
Additional Question #1: The table below was created
using the year
and body_camera
variables in
the police
data set described in our Data Visualization lab
(Lab #2):
police <- read.csv("https://remiller1450.github.io/data/Police.csv")
- Part A: Does this table describe the data using
frequencies or using proportions? How can you
tell?
- Part B: If the data are described using
proportions, are they conditional upon one of the variables? If
so, which one? If the data display frequencies you should answer “no” to
this question.
- Part C: Does there appear to be an association
between these variables? Justify your answer, making additional
calculations if necessary.
|
Body Camera
|
No Body Camera
|
2015
|
918
|
75
|
2016
|
804
|
144
|
2017
|
844
|
106
|
2018
|
823
|
118
|
2019
|
813
|
134
|
2020
|
804
|
172
|
2021
|
737
|
201
|
2022
|
710
|
145
|
\(~\)
Additional Question #2: The table below was created
using the armed
and manner_of_death
variables
in the police
data set used in the previous question.
- Part A: Does this table describe the data using
frequencies or using proportions? How can you
tell?
- Part B: If the data are described using
proportions, are they conditional upon one of the variables? If
so, which one? If the data display frequencies you should answer “no” to
this question.
- Part C: Does there appear to be an association
between these variables? Justify your answer, making additional
calculations if necessary.
|
shot
|
shot and Tasered
|
armed
|
0.960
|
0.040
|
unarmed
|
0.899
|
0.101
|
\(~\)
Additional Question #3: The table below was created
using the signs_of_mental_illness
and
manner_of_death
variables in the police
data
set used in the previous question.
- Part A: Does this table describe the data using
frequencies or using proportions? How can you
tell?
- Part B: If the data are described using
proportions, are they conditional upon one of the variables? If
so, which one? If the data display frequencies you should answer “no” to
this question.
- Part C: Does there appear to be an association
between these variables? Justify your answer, making additional
calculations if necessary.
|
shot
|
shot and Tasered
|
FALSE
|
0.756
|
0.030
|
TRUE
|
0.200
|
0.014
|
\(~\)
Submission instructions
- Submit a document of any type to P-web that clearly articulates your
responses.