1. \(6, 7, 10, 12, 13, 4, 8, 12\)
Show solutionHide solution
We are given the observations
\[6,\ 7,\ 10,\ 12,\ 13,\ 4,\ 8,\ 12.\]There are \(n=8\) observations.
Step 1: Mean
The mean is
\[ \bar{x}=\frac{1}{n}\sum_{i=1}^{n}x_i =\frac{6+7+10+12+13+4+8+12}{8}. \]Compute the sum:
\[ 6+7=13,\quad 13+10=23,\quad 23+12=35,\quad 35+13=48, \] \[ 48+4=52,\quad 52+8=60,\quad 60+12=72. \]Thus
\[ \bar{x}=\frac{72}{8}=9. \]Step 2: Deviations from the mean and their squares
For each observation \(x_i\), compute \(x_i-\bar{x}=x_i-9\) and \((x_i-9)^2\):
| \(x_i\) | \(x_i-9\) | \((x_i-9)^2\) |
|---|---|---|
| 6 | \(-3\) | 9 |
| 7 | \(-2\) | 4 |
| 10 | 1 | 1 |
| 12 | 3 | 9 |
| 13 | 4 | 16 |
| 4 | \(-5\) | 25 |
| 8 | \(-1\) | 1 |
| 12 | 3 | 9 |
The sum of the squared deviations is
\[ 9+4+1+9+16+25+1+9=74. \]Check: \(9+4=13\), \(13+1=14\), \(14+9=23\), \(23+16=39\), \(39+25=64\), \(64+1=65\), \(65+9=74\).
Step 3: Variance
For the given data treated as the whole population, the variance is
\[ \sigma^2=\frac{1}{n}\sum_{i=1}^{n}(x_i-\bar{x})^2 =\frac{74}{8}=\frac{37}{4}=9.25. \]Therefore,
\[ \boxed{\text{Mean}=9,\qquad \text{Variance}=\frac{37}{4}=9.25.} \]