|
|
แถว 83: |
แถว 83: |
| &=& \sum_{i=1}^n E[X_i^2] + \sum_{i=1}^n\sum_{j\neq i} E[X_i]E[X_j]\\ | | &=& \sum_{i=1}^n E[X_i^2] + \sum_{i=1}^n\sum_{j\neq i} E[X_i]E[X_j]\\ |
| &=& n E[X^2] + n(n-1)E[X]E[X]\\ | | &=& n E[X^2] + n(n-1)E[X]E[X]\\ |
| + | &=& n E[X^2] + n(n-1)\mu^2\\ |
| + | \end{array} |
| + | </math> |
| + | </center> |
| + | |
| + | Let's work on the third term. Most of the calculation is similar to the second term. |
| + | |
| + | <center> |
| + | <math> |
| + | \begin{array}{rcl} |
| + | E\left[\left(\sum_{j=1}^n X_j\right)^2\right] & = & E\left[\sum_{j=1}^n \sum_{k=1}^n X_jX_k\right]\\ |
| + | &=& E\left[\sum_{j=1}^n X_j^2 + \sum_{j=1}^n \sum_{k\neq j} X_jX_k\right]\\ |
| + | &=& \sum_{j=1}^n E[X_j^2] + \sum_{j=1}^n \sum_{k\neq j} E[X_jX_k]\\ |
| &=& n E[X^2] + n(n-1)\mu^2\\ | | &=& n E[X^2] + n(n-1)\mu^2\\ |
| \end{array} | | \end{array} |
รุ่นแก้ไขเมื่อ 21:36, 2 ธันวาคม 2557
- This is part of probstat
Consider a certain distribution. The mean
of the distribution is the expected value of a random variable
sample from the distribution. I.e.,
.
Also recall that the variance of the distribution is
.
And finally, the standard deviation is
.
Sample Statistics
Suppose that you take
samples
independently from this distribution. (Note that
are random variables.)
Sample means
The statistic
is called a sample mean. Since
are random variables, the mean
is also a random variable.
We hope that
approximates
well. We can compute:
and
Sample variances and sample standard deviations
We can also use the sample to estimate
.
The statistic
is called a sample variance. The sample standard deviation is
.
Note that the denominator is
instead of
.
We can show that
.
Let's deal with the middle term here:
Let's work on the third term. Most of the calculation is similar to the second term.
Distribution of sample means