ผลต่างระหว่างรุ่นของ "Probstat/notes/sample means and sample variances"

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา
แถว 40: แถว 40:
 
<math>Var(\bar{X}) = \frac{\sigma^2}{n}.</math>
 
<math>Var(\bar{X}) = \frac{\sigma^2}{n}.</math>
 
</center>
 
</center>
 
{{กล่องเทา|'''Summary:''' <math>E[\bar{X}] = \mu</math>, and <math>Var(\bar{X}) = \frac{\sigma^2}{n}.</math> }}
 
  
 
=== Sample variances and sample standard deviations ===
 
=== Sample variances and sample standard deviations ===
แถว 94: แถว 92:
 
</center>
 
</center>
  
Let's work on the third term.  Most of the calculation is similar to the second term.
+
Let's work on the third term which ends up being the same as the middle term.
  
 
<center>
 
<center>
 
<math>
 
<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[\left(\sum_{j=1}^n X_j\right)^2\right] & = & E\left[\sum_{j=1}^n \sum_{k=1}^n X_jX_k\right]\\
+
= \sum_{j=1}^n \sum_{k=1}^n E[X_jX_k] = n E[X^2] + n(n-1)\mu^2.
&=& 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\\
 
\end{array}
 
 
</math>
 
</math>
 
</center>
 
</center>
  
 
== Distribution of sample means ==
 
== Distribution of sample means ==

รุ่นแก้ไขเมื่อ 21:42, 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 .

We note that since and are independent, we have that

.

Let's deal with the middle term here.

Let's work on the third term which ends up being the same as the middle term.

Distribution of sample means