





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Hypothesis Testing
I. Introduction Based on statements of probability we make conclusions concerning populations. For example, suppose I hit a coin with my “magic” hammer. I then toss the coin 4 times and get four heads in a row. p(4 heads in 4 tosses of a coin) =. We might want to conclude that the population of coin tosses with this new coin does not have a mean = np, where p = .5. Population μ 1 Treatment Population μ 2 If μ 1 ≠ μ 2 then we would conclude that there was a treatment effect
II. Two Hypotheses
No treatment effect μ 1 = μ 2 H 1 = alternative hypothesis There is a treatment effect
II. Two Hypotheses A statistical decision is reached by choosing between these two hypotheses. We do this by calculating the probability that the null hypothesis is true. If this probability is small, we reject the null hypothesis, and accept the alternative hypothesis. Example: Toss my coin 4 times, I expect 2 heads (4*.5). But I get 4. The probability that I get 4 if μ 2 = np is small, p = .0625. Do we reject the null hypothesis? Population μ 1 = np Magic hammer Population μ 2 =?
Two Types of Errors
α = the probability of a Type I error_._ Two Types of Errors Correct Decision Probability of a Type I error, p = . Fair coin (no treatment effect). Correct Type II error Decision Magic coin. Magic coin Fair coin
Actual State of the real world. Because the p(Type I error) > .05, we conclude that the coin is fair. Legal system as an analogy. Correct Decision Did not do it. Type I error Correct Type II error Decision Did it. Guilty Not Guilty
Actual State of the real world. Type I error (sentencing an innocent person to jail) is usually considered the worse error, as a result we have a presumption of innocence.
Directionality When evaluating the probability of a type I error, one has to decide between directional (one tailed) and non-directional (two tailed) tests. If you do not know whether the treatment should raise or lower the scores, use a two tailed (non-directional) test. For example, if I hit my coin with a hammer, I don’t know if that will increase or decrease the probability of a head. Two Tailed tests:
No treatment effect μ 1 = μ 2 H 1 = alternative hypothesis There is a treatment effect
Two Tailed tests: Split α in half, and put 1/2 in each tail.
Four Steps in Hypothesis Testing
a) What is the appropriate test statistic? b) What is the critical value?
Examples The simplest case: Known μ, and σ Example 1: The effect of Project Help on academic performance. Population of disadvantaged children: μ = 2 years below grade level σ = .5 years Sample of n = 1 child, after project help, who is only 1 year below grade level. Is there a treatment effect? Use α =. Examples Rework the problem, with n = 25, and a sample mean M = 1.5. Example 2: Adult males have a life expectancy, μ = 74 years, with σ = 15. A sample, n = 16, is encouraged to exercise regularly. This sample lived on average M = 79 years. Test the hypothesis that exercise increases longevity. Use the .01 level of significance.
Examples
Power
Power and sample size: