ผลต่างระหว่างรุ่นของ "Probstat/week15 practice 1"

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา
 
(ไม่แสดง 1 รุ่นระหว่างกลางโดยผู้ใช้คนเดียวกัน)
แถว 21: แถว 21:
 
</center>
 
</center>
  
== Test ==
+
== Hypothesis testing ==
 
Then compute  
 
Then compute  
  
แถว 46: แถว 46:
 
</center>
 
</center>
  
Also, since <math>S_i^2</math> is independent of <math>\bar{X}_i</math>, <math>SS_w</math> and <math>SS_b</math> are independent.  Thus,
+
Also, since <math>S_i^2</math> is independent of <math>\bar{X}_{i\centerdot}</math>, <math>SS_w</math> and <math>SS_b</math> are independent.  Thus, the statistic
 +
 
 +
<center>
 +
<math>
 +
\frac{SS_b/(m-1)}{SS_w/m(n-1)} \sim F_{m-1,m(n-1)}.
 +
</math>
 +
</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.

Prob-anova-data.png

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 .