E = row total × column total / grand total, df = (r − 1)(c − 1)
臨界値(α = 0.05)
df 1: 3.841, 2: 5.991, 3: 7.815, 4: 9.488
判断
χ² > χ²crit なら H0 を棄却
2演習問題
1.正規分布ふつう
標準正規曲線の下で、−z から z の間の色つき面積が 0.8969 になるように z をドラッグします。z を小数第 2 位まで求めなさい。
A = 0.8969
z =
2.正規分布むずかしい
穴の直径 D は平均 25.05 mm、標準偏差 0.015 mm の正規分布に従います。軸の直径 d は D と独立で、平均 25 mm、標準偏差 0.02 mm の正規分布に従います。無作為に選んだ軸は D − d > 0 のとき穴にはまります。はまる確率 P を求めなさい。z は小数第 2 位に丸めなさい。
穴: μ = 25.05 mm, σ = 0.015 mm軸: μ = 25 mm, σ = 0.02 mm
面積から z へ戻る:Φ(z) は z の左側の面積です。左側の裾の面積 A なら、表で Φ(z) = A となる z を見つけます。右側の裾の面積 A なら Φ(z) = 1 − A です。−z から z の間の中央の面積 A なら、各裾に (1 − A)/2 が残るので、Φ(z) = (1 + A)/2 です。値 x には x = μ + zσ を使います。
z の左側の面積
Φ(z) = (1 + 0.8969)/2 = 0.9484
z 表を逆に読む
表の中で 0.9484 を見つけ、z を読み取ります。
z = 1.63
答え
z = 1.63
2.正規分布
答え: P = 0.9772
正規変数の和と差:X と Y が独立で正規分布に従うなら、X + Y と X − Y も正規分布に従います。平均は足したり引いたりします:E(X ± Y) = μX ± μY。分散は差の場合でも常に足します:Var(X ± Y) = σX² + σY²、したがって σ = √(σX² + σY²) です。標準偏差を直接足すことはありません。同じ分布に従う独立な n 個の合計は、平均 n·μ、標準偏差 σ·√n です。そのあとはいつもどおり標準化します:z = (x − 平均)/σ とし、Φ(z) を読み取ります。
差の分布
μ = 25.05 − 25 = 0.05 mm, σ = 0.025 mm
標準化する
z = (0 − 0.05)/0.025 = −2
確率
P = 1 − Φ(−2) = 0.9772
答え
P = 0.9772
3.信頼区間
答え: E₂ = 3.445
Confidence interval for a mean: x̄ ± margin of error. With a known population σ the margin is z·σ/√n; with only the sample standard deviation s, use t with n − 1 degrees of freedom: t·s/√n. Critical values: z = 1.645 (90%), 1.96 (95%), 2.576 (99%). To get a margin E or smaller, you need n ≥ (z·σ/E)², rounded up.
誤差の幅の比
E₂/E₁ = (2.576/1.645)·√(64/16) = 3.132
新しい誤差の幅
E₂ = 1.1·3.132 = 3.445
答え
E₂ = 3.445
4.信頼区間
答え: 上限 = −4.546 kg
Interval for a difference: estimate ± critical value × standard error. For two independent means with known σ: SE = √(σ₁²/n₁ + σ₂²/n₂) and z. With equal unknown variances: pooled s_p and t with n₁ + n₂ − 2 degrees of freedom. For paired data, work with the differences: d̄ ± t·s_d/√n.
プールした標準偏差
sp² = (8·6.5² + 7·1.5²)/15 = 23.58
sp = 4.856
誤差の幅
E = 2.947·4.856·√(1/9 + 1/8) = 6.954
区間
−11.5 ± 6.954 → [−18.45, −4.546]
答え
上限 = −4.546 kg
5.仮説検定と信頼区間
答え: t = 0.5922
Hypothesis test: the test statistic = (estimate − value under H₀)/(standard error under H₀). The p-value is the probability, assuming H₀ is true, of a statistic at least as extreme as the one observed: the area in one tail for a one-sided H₁, twice the tail area for a two-sided H₁. Reject H₀ when p ≤ α.