question\nfind the median and mean of the data set below:\n39, 48, 32, 47, 31, 38, 31\nanswer attempt 1 out…

question\nfind the median and mean of the data set below:\n39, 48, 32, 47, 31, 38, 31\nanswer attempt 1 out of 2\nmedian = \nmean =
Answer
Explanation:
Step1: Arrange data in ascending order
$31,31,32,38,39,47,48$
Step2: Find the median
Since there are 7 (odd number) data - points, the median is the $\left(\frac{n + 1}{2}\right)$-th value. Here $n=7$, so $\frac{7 + 1}{2}=4$-th value. The 4 - th value is 38.
Step3: Calculate the mean
The mean $\bar{x}=\frac{\sum_{i = 1}^{n}x_{i}}{n}$, where $x_{i}$ are the data - points and $n$ is the number of data - points. $\sum_{i=1}^{7}x_{i}=31 + 31+32 + 38+39+47+48=266$, and $n = 7$. So $\bar{x}=\frac{266}{7}=38$.
Answer:
Median = 38 Mean = 38