ผลต่างระหว่างรุ่นของ "Probstat/week15 practice 1"
ไปยังการนำทาง
ไปยังการค้นหา
Jittat (คุย | มีส่วนร่วม) (→Test) |
Jittat (คุย | มีส่วนร่วม) (→Test) |
||
แถว 21: | แถว 21: | ||
</center> | </center> | ||
− | == | + | == Hypothesis testing == |
Then compute | Then compute | ||
แถว 53: | แถว 53: | ||
</math> | </math> | ||
</center> | </center> | ||
+ | |||
+ | Therefore, we can use the table for the F-distribution to test for <math>H_0</math>. |
รุ่นแก้ไขปัจจุบันเมื่อ 03:00, 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.
Hypothesis testing
Then compute
and
Recall that
,
and
.
Also, since is independent of , and are independent. Thus, the statistic
Therefore, we can use the table for the F-distribution to test for .