I am having an issue completing this probelm in R. Can't figure out how to divide autodths./14 in R. Here is the problem: The state of Arizona records the number of automobile two years ago in each of the state’s 14 counties: 30, 15, 183, 9, 7, 39, 28, 30, 76, 13, 21, 18, 323, 3 (a) Using R, enter these data into a variable called autodths. autodths. = c(30, 15, 183, 9, 7, 39, 28, 30, 76, 13, 21, 18, 323, 3) (b) What is the mean number of deaths per county? What is the median number of deaths per county? Can you explain why these two measures are so different? > autodths. = c(30, 15, 183, 9, 7, 39, 28, 30, 76, 13, 21, 18, 323, 3) > mean ( ~ autodths.) [1] 56.78571 (i need in code to divide this by 14, not sure how) > median ( ~ autodths.) [1] 24.5 The mean value is the average number of deaths, very different than the median number of deaths which is simply the middle number of deaths when the numbers are ordered sequentially. (c) What is the range of the numbers of deaths? # Type your code here
Inverse Normal Distribution
The method used for finding the corresponding z-critical value in a normal distribution using the known probability is said to be an inverse normal distribution. The inverse normal distribution is a continuous probability distribution with a family of two parameters.
Mean, Median, Mode
It is a descriptive summary of a data set. It can be defined by using some of the measures. The central tendencies do not provide information regarding individual data from the dataset. However, they give a summary of the data set. The central tendency or measure of central tendency is a central or typical value for a probability distribution.
Z-Scores
A z-score is a unit of measurement used in statistics to describe the position of a raw score in terms of its distance from the mean, measured with reference to standard deviation from the mean. Z-scores are useful in statistics because they allow comparison between two scores that belong to different normal distributions.
I am having an issue completing this probelm in R. Can't figure out how to divide autodths./14 in R. Here is the problem:
The state of Arizona records the number of automobile two years ago in each of the state’s 14 counties:
- 30, 15, 183, 9, 7, 39, 28, 30, 76, 13, 21, 18, 323, 3
(a)
Using R, enter these data into a variable called autodths.
autodths. = c(30, 15, 183, 9, 7, 39, 28, 30, 76, 13, 21, 18, 323, 3)
(b)
What is the mean number of deaths per county? What is the
> autodths. = c(30, 15, 183, 9, 7, 39, 28, 30, 76, 13, 21, 18, 323, 3)
> mean ( ~ autodths.)
[1] 56.78571 (i need in code to divide this by 14, not sure how)
> median ( ~ autodths.)
[1] 24.5
The
median number of deaths which is simply the middle number of deaths when the
numbers are ordered sequentially.
(c)
What is the
# Type your code here
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images