Homogeneity or Independence?
導入済み
7:48
カテゴリーデータのための推論:カイ二乗
公平なサイコロを六十回振ります。各面は十回ずつ出るはずです。しかし、そうはなりません—ここ八回、あそこ十三回。ギャップは常に存在します。もう一度振って…
英語のナレーション・英語と中国語の字幕を切り替え可能
このレッスンの内容
| English | 意味 |
|---|---|
| Homogeneity/ˈhɒməʊdʒneɪti/ | Several groups are sampled separately. |
| Independence/ˌɪndɪˈpendəns/ | One sample, two variables recorded. |
| two-way table/tuː weɪ ˈteɪbl/ | |
| chi-square/kaɪ skweə/ | A family of distributions of sums of squared independent standard normal variables, used in tests such as goodness of fit and association. |
| design/dɪˈzaɪn/ | |
| sample/ˈsæmpl/ | A subset of a population selected for observation, measurement or analysis. |
| distribution/ˌdɪstrɪˈbjuːʃn/ | The pattern of values or outcomes and their frequencies or probabilities. |
| variable/ˈveərɪəbl/ | A characteristic recorded for each individual, such as height or eye colour. |
| hypotheses | |
| populations | |
| categorical variable/ˌkætɪˈɡɒrɪkl ˈveərɪəbl/ | A variable that places individuals in groups. |
| association/əˌsəʊsɪˈeɪʃn/ | A relationship between two variables. |
| expected count/ekˈspektɪd kaʊnt/ | The count expected in a category if the null hypothesis is true. |
| Degrees of freedom/dɪˈɡriːz ɒv ˈfriːdəm/ | |
| chi-square statistic/kaɪ skweə stəˈtɪstɪk/ | |
| random sample/ˈrændəm ˈsæmpl/ | A sample chosen by a chance process. |
同質性検定と独立性検定
- どちらも2次元表と同じカイ二乗の数式を使う — 区別するのは実験設計である。
- 同質性: 複数のグループ を別々にサンプリングし、ある変数の 分布が同じか を調べる。
- 独立性: 1つのサンプル から2つの変数を記録し、それらが 関連しているか を調べる。
- 計算は同じだが、質問と帰無仮説・対立仮説が異なる。
同質性検定
- 異なる集団やグループから 別々のサンプル を取るときに用いる。
- $H_0$: 分類変数の分布がすべてのグループで 同一 である。
- $H_a$: 少なくとも1つのグループで分布が 異なる 。
- 例: 3つの学校間で好きなスポーツの構成比は同じか?

同質性検定は1つの変数について集団を比較し、独立性検定は1つのサンプル内の2つの変数の関係性を問います

独立性検定
- 1つのサンプル を取り、2つ の分類変数を記録したときに用いる。
- $H_0$: 2つの変数が 独立 である(相関がない)。
- $H_a$: 2つの変数が 関連 している。
- 例: 1回の調査で、性別と利き手は関連しているか?
条件と期待値
- 両方共通の条件: ランダム, 10%, および すべての期待値 $\ge 5$。
- 期待値の計算には同じ $\frac{(\text{row})(\text{col})}{\text{grand total}}$ 式を用いる。
- 自由度: $(\text{rows}-1)(\text{columns}-1)$ (8.4と同様)。
- 2つの検定の間で異なるのは、$H_0/H_a$ の表現のみである。
同質性と独立性の違いは数式ではなくデザインで決まる。 1つの変数について 別々にサンプリングされた複数のグループ を比較 → 同質性 。2つの変数によって分類された 1つのサンプル → 独立性 。 カイ二乗統計量、期待値、および $df$ は同一であり、異なるのは帰無仮説・対立仮説と結論の表現のみである。
2つの研究、見た目同じ $2\times3$ 表:
- $100$ 男子と $100$ 女子を別々にサンプリング し、好きな教科を記録 → 同質性 (2つのグループ間で分布が同じか?)。
- $200$ 人を一度だけ調査し、性別および科目を記録 → 独立性(2つの変数が関連しているか?)。
同質性と独立性のカイ二乗検定は同じ数式を使うが、デザイン で異なる:同質性は 複数の別サンプル における1つの変数の分布を比較し、独立性は 1つのサンプル 内で2つの変数が関連しているかを確認する。 どちらも ランダム, 10%, および すべての期待値 $\ge 5$ を確認する。
1つのサンプルにおける独立性から計算する
- 1つの無作為抽出サンプルに対して、2つのカテゴリー変数が質問されます。
- 変数間に相関があるかどうかを問うものです。
One random sample of people records two categorical variables. To assess association between them, which chi-square test fits?
One sample measuring two categorical variables gives an independence question; two categories of a single variable do not.
Which chi-square test assesses association between two categorical variables recorded in one random sample?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
The design is one sample measuring two variables.
One group's category distribution
Homogeneity asks if this distribution is the same across groups.
You sample 100 boys and 100 girls SEPARATELY and compare favorite subject. This is a test of...
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Several separate samples compared on one variable → homogeneity.
You survey ONE sample of 200 people, recording gender AND handedness. This is a test of...
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
One sample, two variables → independence.
Homogeneity and independence tests use the same chi-square statistic and expected-count formula.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Only the hypotheses/design differ; the math is identical.
What decides whether a two-way chi-square test is homogeneity or independence?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Design decides it — several samples vs. one sample.
A test of ___ checks whether two variables in one sample are related (one word).
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Independence: one sample, two variables.
何が問題でしたか?この内容はサイトの運営チームだけが確認します。