Selecting a Categorical Procedure
導入済み
7:48
カテゴリーデータのための推論:カイ二乗
公平なサイコロを六十回振ります。各面は十回ずつ出るはずです。しかし、そうはなりません—ここ八回、あそこ十三回。ギャップは常に存在します。もう一度振って…
英語のナレーション・英語と中国語の字幕を切り替え可能
このレッスンの内容
| English | 意味 |
|---|---|
| categorical/ˌkætɪˈɡɒrɪkl/ | |
| proportion $z$-procedures | |
| chi-square tests | |
| variables/ˈveərɪəblz/ | A characteristic recorded for each individual, such as height or eye colour. |
| samples | |
| study design | |
| independence/ˌɪndɪˈpendəns/ | The condition in which learning about one event or variable does not change the probabilities associated with another. |
| count conditions | |
| paired binary responses | |
| goodness-of-fit/ˈɡʊdnəs ɒv fɪt/ | A test of whether one categorical variable fits a claimed distribution. |
| homogeneity/ˈhɒməʊdʒneɪti/ | |
| proportion/prəˈpɔːʃn/ | The number in a category divided by the total number of observations. |
| categories | |
| one-proportion $z$-test | |
| two-proportion $z$-test | |
| one-sided/wʌn ˈsaɪdɪd/ | |
| chi-square test of homogeneity | |
| hypotheses | |
| statistic/stəˈtɪstɪk/ | A numerical summary computed from a sample, such as its mean or proportion; a statistic may be used to estimate a population parameter. |
| p-value/piː ˈvæljuː/ | The probability, assuming the null model, of a test statistic at least as extreme as the observed one in the direction or directions tested. |
| association/əˌsəʊsɪˈeɪʃn/ | A relationship between two variables. |
| random sample/ˈrændəm ˈsæmpl/ | A sample chosen by a chance process. |
どのカテゴリー手法を選ぶか?
- カテゴリーデータの場合、比例 $z$-手続とカイ二乗検定の中から選択する。
- 判断の鍵は変数の数とサンプルの数にある。
- これらを正しく特定すれば、適用すべき手続が決まる。
- このスキルレッスンでは、ユニット 6 と 8 を統合して解説する。
変数とサンプルの数を数える
- 変数1つ、サンプル1つ、主張された分布との比較 → 適合度検定。
- 変数1つ、複数の別個のサンプル → 同質性検定。
- 変数2つ、サンプル1つ → 独立性検定。
- 単一比例(2つのカテゴリ、サンプル1つ)もまた、単一比例 $z$-検定として扱える。

カテゴリー推論手続の選択

カイ二乗検定と両群z検定
- 2つのカテゴリを持つ変数で2つのグループを比較する場合? このケースでは2つの有効な選択肢が重なる。
- 両比例 $z$-検定も適用可能であり、方向性(片側検定含む)を示せる。
- 同質性のカイ二乗検定も適用可能($2\times2$ 表)だが、非方向性である点に注意。
- 方向性を伴う2群の比例に関する質問には、$z$-検定を好む。
実行と報告
- 帰無仮説・対立仮説を提示し、条件を確認し、統計量とp値を計算し、文脈の中で結論を下す。
- 具体的な手続名を明記し、なぜその手続がデータに適しているかを説明する。
- 結論をテストの種類(適合度検定/同質性検定/相関関係)に合わせて述べる。
- 明瞭なコミュニケーション能力も、計算力と同じくらい採点される。
カテゴリーデータの手順を選ぶ2つの質問:変数の数と、サンプルの数を問う。 1変数が特定の分布に合致するか → 適合度検定;1変数が複数のサンプルで比較される → 同質性検定;1サンプル内の2変数 → 独立性検定。カイ二乗検定は方向性が全くないため、2つの比率に関する片側仮説が必要な場合は、代わりに2比率$z$検定を用いる。
"3つの学校において、好きなスポーツの分布が同じか?"
- 変数: 1つ(好きなスポーツ)。サンプル: 3つ(別々の学校)。
- 1変数、複数のサンプル → カイ二乗同質性検定。
- (もし「1つの調査において、スポーツは性別と関連しているか?」であれば → 独立性検定。)
変数の数とサンプルの数に基づき、適切なカテゴリーデータの手順を選択する:適合度検定(1変数と分布)、同質性検定(1変数、複数のサンプル)、独立性検定(2変数、1サンプル)、または比率$z$手順。手続を完全に適用し、文脈の中で推論の根拠と結論を明確に伝える。
適合度検定から計算する
- 1つのカテゴリー変数があります。
- 1つの無作為抽出サンプルがあり、複数のカテゴリ比率が主張されています。
One random sample records one categorical variable with several categories. The null specifies all category proportions in advance. Which procedure checks that claimed distribution?
Goodness of fit checks one variable against claimed proportions.
One random sample records one categorical variable with several categories. The null specifies all category proportions in advance. Which procedure checks that claimed distribution?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
One categorical variable in one sample is goodness of fit.
Categorical data to analyze
Count the variables and samples to pick the right test.
One categorical variable checked against a claimed distribution (one sample) calls for a...
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
One variable vs. a distribution → goodness-of-fit.
Three separately-sampled schools compared on one variable calls for a...
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
One variable, several samples → homogeneity.
Two categorical variables recorded in ONE sample calls for a...
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Two variables, one sample → independence.
A chi-square test can give a one-sided (directional) conclusion.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Chi-square is never directional — use a two-proportion z-test for that.
Order the two questions that pick a categorical procedure, then the action.
難易度 3/5 · 200 コイン + 今日初回達成時の小ボーナス
Variables, then samples, then run the procedure.
何が問題でしたか?この内容はサイトの運営チームだけが確認します。