The problem asks us to find the new sample average after adding a new data point.
The sum of the initial data points can be calculated using the formula:
$ \text{Sum}_1 = n_1 \times \bar{x}_1 $
Substituting the values:
$ \text{Sum}_1 = 50 \times 40 = 2000 $
A new data point is added:
The new sum ($\text{Sum}_2$) is the initial sum plus the new data point:
$ \text{Sum}_2 = \text{Sum}_1 + 142 $
$ \text{Sum}_2 = 2000 + 142 = 2142 $
The updated sample average ($\bar{x}_2$) is calculated by dividing the new sum by the new number of data points:
$ \bar{x}_2 = \frac{\text{Sum}_2}{n_2} $
$ \bar{x}_2 = \frac{2142}{51} $
Performing the division:
$ \bar{x}_2 = 42 $
The updated sample average is exactly 42.
A data set is given to be $[1, 2, 0, -1, -3, 1, 2, 0, 1]$.
The median of the data set is ____. (rounded off to the nearest integer)
The mean absolute deviation about the median for the data 3, 9, 5, 3, 12, 10, 18, 4, 7, 19, 21 (rounded off to two decimal places) is ________________.