第13章F分布と一元配置分散分析
13.2 The F Distribution and the F-Ratio13.2 F分布とF比
The distribution used for the hypothesis test is a new one. It is called the F distribution, named after Sir Ronald Fisher, an English statistician. The F statistic is a ratio (a fraction). There are two sets of degrees of freedom; one for the numerator and one for the denominator.
英語のヒント
この仮説検定では、新しい分布を使う。イギリスの統計学者ロナルド・フィッシャーにちなんで、F分布と呼ばれている。F統計量は比(分数)である。自由度は二つあり、一つは分子の自由度、もう一つは分母の自由度である。
For example, if F follows an F distribution and the number of degrees of freedom for the numerator is four, and the number of degrees of freedom for the denominator is ten, then F ~ F4,10.
例えば、FがF分布に従い、分子の自由度が4、分母の自由度が10ならば、F ~ F4,10と表す。
To calculate the F ratio, two estimates of the variance are made.
F比を計算するために、分散について二つの推定値を求める。
- Variance between samples: An estimate of σ2 that is the variance of the sample means multiplied by n (when the sample sizes are the same.). If the samples are different sizes, the variance between samples is weighted to account for the different sample sizes. The variance is also called variation due to treatment or explained variation.
英語のヒント
標本間の分散:σ2の推定値であり、標本の大きさが同じ場合は、標本平均の分散にnを掛けたものである。標本の大きさが異なる場合は、その違いを考慮するために、標本間の分散に重みを付ける。この分散は、処理による変動、または説明される変動とも呼ばれる。 - Variance within samples: An estimate of σ2 that is the average of the sample variances (also known as a pooled variance). When the sample sizes are different, the variance within samples is weighted. The variance is also called the variation due to error or unexplained variation.
英語のヒント
標本内の分散:σ2の推定値であり、標本分散の平均である。プールした分散とも呼ばれる。標本の大きさが異なる場合は、標本内の分散に重みを付ける。この分散は、誤差による変動、または説明されない変動とも呼ばれる。
- SSbetween = the sum of squares that represents the variation among the different samplesSSbetween = 異なる標本間の変動を表す平方和
- SSwithin = the sum of squares that represents the variation within samples that is due to chance.SSwithin = 偶然による標本内の変動を表す平方和
To find a "sum of squares" means to add together squared quantities that, in some cases, may be weighted. We used sum of squares to calculate the sample variance and the sample standard deviation in Descriptive Statistics.
英語のヒント
「平方和」を求めるとは、二乗した量を足し合わせることである。場合によっては、それらの量に重みを付ける。「記述統計」では、標本分散と標本標準偏差を計算するために平方和を用いた。
MS means "mean square." MSbetween is the variance between groups, and MSwithin is the variance within groups.
MSは「平均平方」を意味する。MSbetweenは群間の分散、MSwithinは群内の分散である。
Calculation of Sum of Squares and Mean Square
平方和と平均平方の計算
- k = the number of different groupsk = 異なる集団の数
- nj = the size of the jth groupnj = 第j群の大きさ
- sj = the sum of the values in the jth groupsj = 第j群の値の合計
- n = total number of all the values combined (total sample size: ∑nj)n = 全集団を合わせた値の総数(標本の大きさの合計:∑nj)
- x = one value: ∑x = ∑sjx = 一つの値:∑x = ∑sj
- Sum of squares of all values from every group combined: ∑x2すべての集団のすべての値を二乗して合計したもの:∑x2
- Total sum of squares:全平方和:
- Explained variation: sum of squares representing variation among the different samples: SSbetween =説明される変動:異なる標本間の変動を表す平方和:SSbetween =
- Unexplained variation: sum of squares representing variation within samples due to chance:説明されない変動:偶然による標本内の変動を表す平方和:
- df's for different groups (df's for the numerator): = k – 1集団間の自由度(分子の自由度): = k – 1
- Equation for errors within samples (df's for the denominator): dfwithin = n – k標本内の誤差についての式(分母の自由度):dfwithin = n – k
- Mean square (variance estimate) explained by the different groups: MSbetween =集団の違いによって説明される平均平方(分散の推定値):MSbetween =
- Mean square (variance estimate) that is due to chance (unexplained): MSwithin =偶然による、説明されない平均平方(分散の推定値):MSwithin =
MSbetween and MSwithin can be written as follows:
MSbetweenとMSwithinは、次のように書ける。
The one-way ANOVA test depends on the fact that MSbetween can be influenced by population differences among means of the several groups. Since MSwithin compares values of each group to its own group mean, the fact that group means might be different does not affect MSwithin.
英語のヒント
一元配置分散分析は、複数の集団の母平均の違いによってMSbetweenが影響を受ける、という事実に基づいている。MSwithinは各集団の値をその集団自身の平均と比較するので、集団の平均が互いに異なっていても、MSwithinには影響しない。
The null hypothesis says that all groups are samples from populations having the same normal distribution. The alternate hypothesis says that at least two of the sample groups come from populations with different normal distributions. If the null hypothesis is true, MSbetween and MSwithin should both estimate the same value.
帰無仮説は、すべての集団が、同じ正規分布に従う母集団から得られた標本である、というものである。対立仮説は、少なくとも二つの標本集団が、異なる正規分布に従う母集団から得られた、というものである。帰無仮説が正しければ、MSbetweenとMSwithinは、ともに同じ値を推定するはずである。
F-Ratio or F StatisticF比、またはF統計量
If MSbetween and MSwithin estimate the same value (following the belief that H0 is true), then the F-ratio should be approximately equal to one. Mostly, just sampling errors would contribute to variations away from one. As it turns out, MSbetween consists of the population variance plus a variance produced from the differences between the samples. MSwithin is an estimate of the population variance. Since variances are always positive, if the null hypothesis is false, MSbetween will generally be larger than MSwithin.Then the F-ratio will be larger than one. However, if the population effect is small, it is not unlikely that MSwithin will be larger in a given sample.
英語のヒント
MSbetweenとMSwithinが同じ値を推定するならば(H0が正しいと考えた場合)、F比はほぼ1になるはずである。1からのずれの大部分は、標本誤差だけによって生じることになる。実際、MSbetweenは、母分散と、標本間の違いから生じる分散との和からなる。MSwithinは母分散の推定値である。分散は常に正なので、帰無仮説が誤っている場合、MSbetweenは一般にMSwithinより大きくなる。そのときF比は1より大きくなる。しかし、母集団による効果が小さい場合は、ある標本においてMSwithinの方が大きくなることも珍しくない。
The foregoing calculations were done with groups of different sizes. If the groups are the same size, the calculations simplify somewhat and the F-ratio can be written as:
英語のヒント
ここまでの計算は、大きさの異なる集団について行った。集団の大きさが同じ場合は、計算はいくらか簡単になり、F比を次のように書ける。
F-Ratio Formula when the groups are the same size集団の大きさが同じ場合のF比の公式
- n = the sample sizen = 標本の大きさ
- dfnumerator = k – 1
- dfdenominator = n – k
- s2 pooled = the mean of the sample variances (pooled variance)s2 pooled = 標本分散の平均(プールした分散)
- = the variance of the sample means= 標本平均の分散
where ...ここで、各記号は次を表す。
Data are typically put into a table for easy viewing. One-Way ANOVA results are often displayed in this manner by computer software.
データは見やすくするために、通常、表にまとめる。コンピューターソフトウェアでも、一元配置分散分析の結果をこのような形式で表示することが多い。
Source of Variation 変動の要因 |
Sum of Squares (SS) 平方和(SS) |
Degrees of Freedom (df) 自由度(df) |
Mean Square (MS) 平均平方(MS) |
F |
|---|---|---|---|---|
Factor (Between) 因子(群間) |
SS(Factor) SS(因子) |
k – 1 |
MS(Factor) = SS(Factor)/(k – 1) MS(因子)= SS(因子)/(k – 1) |
F = MS(Factor)/MS(Error) F = MS(因子)/MS(誤差) |
Error (Within) 誤差(群内) |
SS(Error) SS(誤差) |
n – k |
MS(Error) = SS(Error)/(n – k) MS(誤差)= SS(誤差)/(n – k) |
|
Total 合計 |
SS(Total) SS(全体) |
n – 1 |
Example 13.1例題 13.1
Three different diet plans are to be tested for mean weight loss. The entries in the table are the weight losses for the different plans. The one-way ANOVA results are shown in Table 13.4.
三つの異なる食事療法について、平均体重減少量を検定する。表の値は、それぞれの食事療法による体重減少量である。一元配置分散分析の結果を表13.4に示す。
Plan 1: n1 = 4 食事療法1:n1 = 4 |
Plan 2: n2 = 3 食事療法2:n2 = 3 |
Plan 3: n3 = 3 食事療法3:n3 = 3 |
|---|---|---|
5 |
3.5 |
8 |
4.5 |
7 |
4 |
4 |
3.5 |
|
3 |
4.5 |
s1 = 16.5, s2 =15, s3 = 15.5
s1 = 16.5、s2 = 15、s3 = 15.5
Following are the calculations needed to fill in the one-way ANOVA table. The table is used to conduct a hypothesis test.
英語のヒント
一元配置分散分析表を埋めるために必要な計算を、以下に示す。この表を用いて仮説検定を行う。
where n1 = 4, n2 = 3, n3 = 3 and n = n1 + n2 + n3 = 10
ここで、n1 = 4、n2 = 3、n3 = 3、n = n1 + n2 + n3 = 10である。
Using the Calculator電卓の操作
Source of Variation 変動の要因 |
Sum of Squares (SS) 平方和(SS) |
Degrees of Freedom (df) 自由度(df) |
Mean Square (MS) 平均平方(MS) |
F |
|---|---|---|---|---|
Factor (Between) 因子(群間) |
SS(Factor) = SS(Between) = 2.2458 SS(因子) = SS(群間) = 2.2458 |
k – 1 = 3 groups – 1 = 2 k – 1 = 3 群 – 1 = 2 |
MS(Factor) = SS(Factor)/(k – 1) = 2.2458/2 = 1.1229 MS(因子) = SS(因子)/(k – 1) = 2.2458/2 = 1.1229 |
F = MS(Factor)/MS(Error) = 1.1229/2.9792 = 0.3769 F = MS(因子)/MS(誤差) = 1.1229/2.9792 = 0.3769 |
Error (Within) 誤差(群内) |
SS(Error) = SS(Within) = 20.8542 SS(誤差) = SS(群内) = 20.8542 |
n – k = 10 total data – 3 groups = 7 n – k = 10 個のデータ – 3 群 = 7 |
MS(Error) = SS(Error)/(n – k) = 20.8542/7 = 2.9792 MS(誤差) = SS(誤差)/(n – k) = 20.8542/7 = 2.9792 |
|
Total 合計 |
SS(Total) = 2.2458 + 20.8542 = 23.1 SS(全体) = 2.2458 + 20.8542 = 23.1 |
n – 1 = 10 total data – 1 = 9 n – 1 = 10 個のデータ – 1 = 9 |
The one-way ANOVA hypothesis test is always right-tailed because larger F-values are way out in the right tail of the F-distribution curve and tend to make us reject H0.
英語のヒント
一元配置分散分析の仮説検定は、常に右片側検定となる。大きなF値はF分布曲線の右裾の遠くに位置し、H0を棄却する方向に働くからである。