Presentation is loading. Please wait.

Presentation is loading. Please wait.

Beyond Null Hypothesis Testing Supplementary Statistical Techniques.

Similar presentations


Presentation on theme: "Beyond Null Hypothesis Testing Supplementary Statistical Techniques."— Presentation transcript:

1 Beyond Null Hypothesis Testing Supplementary Statistical Techniques

2 PSYC 6130, PROF. J. ELDER 2 Limitations of NHT Criticisms of NHT date from the 1930s. –Null hypothesis is rarely true. –The real question is not about the existence of an effect, but about the nature of the effect: What is the direction of the effect? What is the size of the effect? How important is it? What are the underlying mechanisms (theory)?

3 PSYC 6130, PROF. J. ELDER 3 Direction of Effect NHT is reasonably well suited to testing the direction of an effect. –For example, are tall men more or less likely to be wealthy? (Canadian Community Health Survey, 2004)

4 PSYC 6130, PROF. J. ELDER 4 Magnitude of Effect NHT by itself tells us nothing about the magnitude of an effect. This is really a problem of descriptive statistics. The simplest descriptor of the magnitude of an effect is a point estimate:

5 PSYC 6130, PROF. J. ELDER 5 Magnitude of Effect A problem with a point estimate is that it suggests a certainty we do not really have. A more complete and useful description of the magnitude of the effect is provided by a confidence interval.

6 PSYC 6130, PROF. J. ELDER 6 Importance of Effect However, even a confidence interval does not really tell us whether a treatment or factor is important. One way to judge whether a difference of means is ‘big’ is to compare the size of the difference of the means to the values of the means themselves, e.g., i.e., wealthy men are roughly 1.2% taller.

7 PSYC 6130, PROF. J. ELDER 7 Importance of Effect However it is often more meaningful to compare the treatment effect to the overall variation in the measured variable. We call this normalized measure of the effect the effect size d.

8 PSYC 6130, PROF. J. ELDER 8 Importance of Effect However it is often more meaningful to compare the treatment effect to the overall variation in the measured variable:

9 PSYC 6130, PROF. J. ELDER 9 Example Effect Sizes Group 1 Group 2

10 PSYC 6130, PROF. J. ELDER 10 Importance of Effect d provides a sense of how much of the variation in the dependent variable is due to the ‘treatment’.

11 End of Lecture 6 Oct 22, 2008

12 PSYC 6130, PROF. J. ELDER 12 Theory Even when augmented with measures of effect size, NHT does not directly tell us about the mechanism by which the treatment impacts the dependent variable. e.g., Wealthy men are taller because… –Tall men attract wealthy women? –Wealthy men come from wealthy families that provided better care (e.g., nutrition). To understand these relationships, it is not enough to test the significance of and quantify effects. Ultimately, we require detailed, mechanistic (causal), testable theories, and experiments that test these theories. These theories should generate quantitative predictions, that can be compared against experimental outcomes. The theory that provides the closest quantiative account of the data should be considered our current ‘working hypothesis’ about how the system under study operates. When comparing theories, we must beware of “Occam’s Razor”. This process is less dependent on NHT, and more dependent upon model fitting, analysis of variance and cross-validation techniques.

13 Planning Experiments: Statistical Power

14 PSYC 6130, PROF. J. ELDER 14 Planning a Study There are many considerations that go into planning an experiment or study. Here we focus on the statistical considerations. Some possible questions: –How many samples (e.g., subjects) will I need for my study? –I already know that I will only have access to n samples (subjects). Will this be enough? Answering these questions depends on understanding the relationship between sample size, effect size, and statistical power.

15 PSYC 6130, PROF. J. ELDER 15 Sample Size and Effect Size Codetermine Power + +

16 PSYC 6130, PROF. J. ELDER 16 Statistical Power Power is defined as the complement of the Type II error rate. Thus understanding power means understanding Type II errors.

17 PSYC 6130, PROF. J. ELDER 17 Type I Errors and the Null Hypothesis Distribution (NHD) To understand Type I errors, we considered the situation where the null hypothesis is true, and modeled the null hypothesis distribution.

18 PSYC 6130, PROF. J. ELDER 18 Understanding Type II Errors To understand the factors that determine Type II errors, we need to model the situation when the null hypothesis is false and the alternative hypothesis is true. The difficulty is that the alternative hypothesis typically encompasses a range of possible population means, and we do not know which one is the correct mean. But suppose for the moment we did. This defines the alternative hypothesis distribution (AHD), which follows a non-central t distribution. We will often approximate this as a normal distribution, in order to compute rough estimates of power.

19 PSYC 6130, PROF. J. ELDER 19 Sampling Distributions of the Difference of the Means 0 0.1 0.2 0.3 0.4 Probability p NHD AHD 0

20 PSYC 6130, PROF. J. ELDER 20 Standardizing the Alternative Hypothesis Distribution Just as for the NHD, it is useful to standardize the AHD:

21 PSYC 6130, PROF. J. ELDER 21 Standardized Distributions of the Difference of the Means 0 0.1 0.2 0.3 0.4 Probability p(t) NHD AHD -4-2 0 2468 t

22 PSYC 6130, PROF. J. ELDER 22 Planning an Experiment: Approximations Estimates of effect size are always approximate, and so it is reasonable to make approximations when planning a study. For example:

23 PSYC 6130, PROF. J. ELDER 23 Standardized Distributions of the Difference of the Means (Assume homogeneity of variance, equal sample sizes)

24 PSYC 6130, PROF. J. ELDER 24 Standardized Distributions of the Difference of the Means 0 0.1 0.2 0.3 0.4 Probability p(t) NHD AHD -4-2 0 2468 t

25 PSYC 6130, PROF. J. ELDER 25 Estimating Power (Non-central t distribution) (Central t distribution) Expected t value Pr(t)

26 PSYC 6130, PROF. J. ELDER 26 Calculating Power from Sample Size and Effect Size + + + - -

27 PSYC 6130, PROF. J. ELDER 27 Planning Experiments Planning experiments may involve estimating any one of these variables given knowledge or assumptions about the other two:

28 PSYC 6130, PROF. J. ELDER 28 Example: Height Difference between Men and Women

29 PSYC 6130, PROF. J. ELDER 29 Example 1. From this large prior study we know men are on average 5.4” taller than women. We wish to see if this also applies to University students, i.e., whether male students are taller on average than female students. What power will we obtain if we have a class of 10 males and 10 females?

30 PSYC 6130, PROF. J. ELDER 30

31 PSYC 6130, PROF. J. ELDER 31 Example 2a. From this large prior study we know men are on average 5.4” taller than women. We wish to see if this also applies to University students, i.e., whether male students are taller on average than female students. What sample size do we need to obtain power of 0.8?

32 PSYC 6130, PROF. J. ELDER 32 Example 2b. Suppose we only care about differences greater than 1” Suppose also that we wish to have power of at least.8 (i.e., 80% chance of rejecting the null hypothesis, given it is false) for a 2-tailed test with  =.05. What is the maximum sample size worth collecting?

33 PSYC 6130, PROF. J. ELDER 33 Example 3. Suppose we are stuck with a sample size of 10 (i.e., 10 men and 10 women). Is it worth doing the study? Let’s decide that it is not worth doing the study unless we have power of at least.8 (i.e., 80% chance of rejecting the null hypothesis, given it is false) for a 2-tailed test with  =.05.

34 PSYC 6130, PROF. J. ELDER 34 Manipulating Power In theory, power can be manipulated by changing –Sample size –Alpha level –Effect size Increase strength of treatment Decrease variability –Control of nuisance variables –Matched designs

35 PSYC 6130, PROF. J. ELDER 35 One-Sample Tests Note the greater power of one-sample tests, relative to two-sample tests!

36 PSYC 6130, PROF. J. ELDER 36 Unequal Sample Sizes When samples are of different size, apply same formulas for estimating power, using average sample size. Most accurate method is to use the harmonic mean:

37 PSYC 6130, PROF. J. ELDER 37 Effect Size for Paired Sample Designs Two methods for computing effect size for paired designs: (e.g., Dunlop et al., 1996) (e.g., Rosenthal, 1991) Either method is fine, as long as you know what it means!


Download ppt "Beyond Null Hypothesis Testing Supplementary Statistical Techniques."

Similar presentations


Ads by Google