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.5285 になるように z をドラッグします。z を小数第 2 位まで求めなさい。
A = 0.5285
z =
2.正規分布むずかしい
穴の直径 D は平均 25.03 mm、標準偏差 0.01 mm の正規分布に従います。軸の直径 d は D と独立で、平均 25 mm、標準偏差 0.01 mm の正規分布に従います。無作為に選んだ軸は D − d > 0 のとき穴にはまります。はまる確率 P を求めなさい。z は小数第 2 位に丸めなさい。
穴: μ = 25.03 mm, σ = 0.01 mm軸: μ = 25 mm, σ = 0.01 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.5285)/2 = 0.7642
z 表を逆に読む
表の中で 0.7642 を見つけ、z を読み取ります。
z = 0.72
答え
z = 0.72
2.正規分布
答え: P = 0.983
正規変数の和と差: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.03 − 25 = 0.03 mm, σ = 0.01414 mm
標準化する
z = (0 − 0.03)/0.01414 = −2.12
確率
P = 1 − Φ(−2.12) = 0.983
答え
P = 0.983
3.信頼区間
答え: E₂ = 3.943
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.
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 ≤ α.