~/ learn/ afm-113/ cards/ The sampling distribution of a difference
1 of 6

With σ₁ = 6, n₁ = 36, σ₂ = 8, n₂ = 64, compute the SE of X̄₁ − X̄₂ and the z statistic for an observed difference of 3.5 under H₀: μ₁ − μ₂ = 0.

With σ₁ = 6, n₁ = 36, σ₂ = 8, n₂ = 64, compute the SE of X̄₁ − X̄₂ and the z statistic for an observed difference of 3.5 under H₀: μ₁ − μ₂ = 0.

Answer

import math sigma1, n1, sigma2, n2 = 6, 36, 8, 64 se = math.sqrt(sigma1**2 / n1 + sigma2**2 / n2) diff = 3.5 z = diff / se print(f"SE={se:.4f} z={z:.2f}")

IBS1 §10.1 and §10.5 (the σ-known case), CC BY 4.0; H-W9 — shape only; original dataset

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/b45bc783-61a7-46b5-9a20-39bfb9fa65b1/flashcard utf-8 LF