(In R) Given a vector data = c(4, 8, 6, 5, 9, 7), calculate the mean, median, and standard deviation. For the dataset c(12, 15, 14, 16, 15, 20, 22), find the range, interquartile range (IQR), and variance.
Added by Lucy Y.
Step 1
```R data1 = c(4, 8, 6, 5, 9, 7) mean_data1 = mean(data1) # Mean median_data1 = median(data1) # Median sd_data1 = sd(data1) # Standard deviation ``` Show more…
Show all steps
Close
Your feedback will help us improve your experience
Lucas Finney and 56 other Intro Stats / AP Statistics educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Find the mean deviation about the median for the data. $$ \begin{array}{ccccccc} x_{i} & 5 & 7 & 9 & 10 & 12 & 15 \\ f_{i} & 8 & 6 & 2 & 2 & 2 & 6 \end{array} $$
Statistics
Introduction
Find the mean deviation about the mean for the data. $$ \begin{array}{cccccc} x_{i} & 5 & 10 & 15 & 20 & 25 \\ f_{i} & 7 & 4 & 6 & 3 & 5 \end{array} $$
Find the mean deviation about the median for the data. $$ \begin{array}{cccccc} x_{i} & 15 & 21 & 27 & 30 & 35 \\ f_{i} & 3 & 5 & 6 & 7 & 8 \end{array} $$
Recommended Textbooks
Elementary Statistics a Step by Step Approach
The Practice of Statistics for AP
Introductory Statistics
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD