Underlying machinery: the sampling distribution of x̄, the (estimated) standard error of the mean (SEM)≈ s/√n, the t distribution.
Null hypothesis H0: already "known", [current] belief, established, default, status quo, old,
pre-existing, current practice, well-known, consensus, reference, "true until proven otherwise", original,
working assumption, nothing new, boring. The parameter μ equals some number a;
there is no significant difference between μ and x̄.
Alternative hypothesis HA: new, exciting, hoped/wished, changed, different, research,
challenger, the conjecture.
Either the parameter μ<a, or μ>a, or μ≠a;
there is a difference, there is an effect that is not caused by random chance.
AKA H1
Test if the sample (i.e. its statistic x̄ and its size n) provides enough evidence
to overthrow ("warrant rejection of") the null hypothesis.
Is the sample statistic x̄ extreme enough (i.e. very improbable under the null hypothesis).
Either "reject" or "fail to reject" the null hypothesis; never "accept" it.
Rejecting it ≡ "support" the alternative.
The alternative hypothesis is neither rejected nor accepted.
Nothing is ever "proven". (would need entire population to prove anything)
We never have certainty.
T-Test for mean μ. Uses μ, s, x̄, and n. Test statistic is t.
Assumes population is normal or n≥30 and no outliers or heavy tails.
Sample must be SRS random.
The test statistic t is a measure of discrepancy between the sample statistic x̄
and the H0 claimed value of the population parameter μ.
t = (observed x̄ - expected μ) / SEM
Exs.
Worksheet
μ=100 x̄=100 s n irrelevant. Can't reject claim that μ is 100.
μ=100 x̄=105 s=10 n=36 →SEM=1.66 An x̄≈3σ very unlikely → Reject claim that μ is 100.
μ=100 x̄=101.7 s=10 n=36 →SEM=1.66 An x̄≈1σ likely → Can't reject claim that μ is 100.. Can't reject claim that μ is 100.
T-test: μ=100, s=10, n=30. Try x̄= 102, 103, 104, 105. Ha>H0
T-test: μ=100, s=10, n=30. Try x̄= 102, 103, 104, 105. Ha≠H0
Effect of s:
T-test: μ=100, s=5, n=30. Try x̄= 101, 102, 103. Ha>H0
T-test: μ=100, s=5, n=30. Try x̄= 101, 102, 103. Ha≠H0
Effect of n:
T-test: μ=100, s=10, n=100. Try x̄= 101, 102, 103. Ha>H0
T-test: μ=100, s=10, n=100. Try x̄= 101, 102, 103. Ha≠H0