ผลต่างระหว่างรุ่นของ "Probstat/week15 practice 1"
ไปยังการนำทาง
ไปยังการค้นหา
Jittat (คุย | มีส่วนร่วม) |
Jittat (คุย | มีส่วนร่วม) |
||
แถว 7: | แถว 7: | ||
== Variance estimations == | == Variance estimations == | ||
+ | '''Estimator 1.''' The first estimator for <math>\sigma^2</math> is | ||
+ | <center> | ||
+ | <math>\frac{1}{m}\sum_{i=1}^m \sum_{j=1}^n \frac{(X_{ij} - \bar{X}_{i\centerdot})^2}{n-1}.</math> | ||
+ | </center> | ||
+ | |||
+ | This estimator is always correct. (Even when <math>H_0</math> is not true.) | ||
+ | |||
+ | '''Estimator 2.''' The second estimator is calculated from the sample means. It will be correct only when <math>H_0</math> is true. | ||
+ | |||
+ | <center> | ||
+ | <math>n \sum_{i=1}^m \frac{(\bar{X}_{i\centerdot} - \bar{X}_{\centerdot\centerdot})^2}{m-1}</math> | ||
+ | </center> | ||
+ | |||
+ | == Test == | ||
Then compute | Then compute | ||
รุ่นแก้ไขเมื่อ 02:53, 4 ธันวาคม 2557
- This is part of probstat.
Data generation
Generate 5 sets of samples from normal populations, each of size 10, on a spreadsheet software. Make sure that the mean and variance of each set can be modified easily.
Variance estimations
Estimator 1. The first estimator for is
This estimator is always correct. (Even when is not true.)
Estimator 2. The second estimator is calculated from the sample means. It will be correct only when is true.
Test
Then compute
and