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

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา
แถว 29: แถว 29:
 
is called a '''sample mean.'''  Since <math>X_1,X_2,\dots,X_n</math> are random variables, the mean <math>\bar{X}</math> is also a random variable.
 
is called a '''sample mean.'''  Since <math>X_1,X_2,\dots,X_n</math> are random variables, the mean <math>\bar{X}</math> is also a random variable.
  
Thus, we can compute:
+
We hope that <math>\bar{X}</math> approximates <math>\mu</math> well.  We can compute:
  
 
<math>E[\bar{X}]= E\left[\frac{1}{n}\sum_{i=1}^n X_i\right] = \frac{1}{n}E\left[\sum_{i=1}^n X_i\right] = \frac{1}{n}\sum_{i=1}^n E[X_i] = \frac{1}{n} n\mu = \mu</math>
 
<math>E[\bar{X}]= E\left[\frac{1}{n}\sum_{i=1}^n X_i\right] = \frac{1}{n}E\left[\sum_{i=1}^n X_i\right] = \frac{1}{n}\sum_{i=1}^n E[X_i] = \frac{1}{n} n\mu = \mu</math>
แถว 38: แถว 38:
  
 
=== Sample variances and sample standard deviations ===
 
=== Sample variances and sample standard deviations ===
 +
We can also use the sample to estimate <math>\sigma^2</math>.
 +
 +
The statistic
 +
 +
<center>
 +
<math>S^2 = \frac{\sum_{i=1}^n (X_i - \bar{X})^2}{n-1}</math>
 +
</center>
 +
 +
is called a '''sample variance'''.  The sample standard deviation is <math>S = \sqrt{S^2}</math>.

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