question\nfind the median and mean of the data set below:\n24, 39, 28, 30, 29, 18\nanswer attempt 1 out of…

question\nfind the median and mean of the data set below:\n24, 39, 28, 30, 29, 18\nanswer attempt 1 out of 2\nmedian = \nmean =
Answer
Answer:
Median = 28.5 Mean = 27.5
Explanation:
Step1: Arrange data in ascending order
18, 24, 28, 29, 30, 39
Step2: Calculate the median
Since there are 6 data - points (an even number), the median is the average of the two middle - values. $\frac{28 + 29}{2}=28.5$
Step3: Calculate the sum of data
$18+24 + 28+29+30+39=168$
Step4: Calculate the mean
The mean $\bar{x}=\frac{\sum_{i = 1}^{n}x_{i}}{n}$, where $n = 6$ and $\sum_{i=1}^{n}x_{i}=168$. So, $\frac{168}{6}=27.5$