Presentation on theme: "Notes on Power and Sample Size D. Keith Williams PhD Department of Biostatistics."— Presentation transcript:
Notes on Power and Sample Size D. Keith Williams PhD Department of Biostatistics
3.87 Area = 0.955
Goals n Remove the ‘mystery’ of power and sample size n Introduce the main ideas n See how a ‘statistician’ views the topic n Provide information on how to do it yourself, or at least get started (Its no big deal)
Buzzwords n Alpha (α) = P(Type I error) = P(Conclude experimental groups are different when they really are the same) n Beta ( ) = P(Type II error) = P(Conclude the experimental groups are the same when they really are different) n Power = 1 - = P(Conclude experimental groups are different when they really are!)
Thoughts n When planning an experiment, one should determine a sample size that results in a statistical test powerful enough to declare significance for a reasonable difference in the means…if that difference truly exists in the population
Thoughts n Generally speaking...in order to calculate power/sample size, one needs a ‘guess’ about the pattern of the population means and an estimate of their variance n Otherwise the statistician feels that they have the role of dreaming up what the population means and variances are…YIKES!
Thoughts n α n 1- n Variance n Population means n N: n Represent the five items involved in power and sample size. n One needs to recognize that that you must input 4 of these items to get the fifth.
One or the other…. n Input ⇒ (α, 1- , variance,population means) ⇒ gives N n Input ⇒ (α, variance,population means, N) ⇒ gives 1- n One usually ends up iterating between the above to arrive at a sample size that has a desirable level of power.
How to Help Your Statistician Help You! n Usually a study has several questions to be answered…and a statistical test that goes with each. n Prioritize which of these are most important and arguably the ones power should be based on. n Organize your best bet on the population means and their variances…or some scenarios that are clinically important that you wish to detect (if they truly exist in the population).
How to Help Your Statistician Help You! n Determine what the resources of the study are…how many subjects can you afford. Communicate this up front. n Try to do some preliminary power calculations on your own.
The Non Centrality Parameter Two Group t-test
Scenario 1 n Alpha =0.05, sigma=2 n |mu1 – mu2| = 2, that is, a two unit diff in means for a population n Propose n1 = 10 and n2 = 10
Rejection region for two tailed t- test alpha=0.05, df = 18
Noncentrality value =2.236, Critical value = |2.101| Table B.5, Values between 2.0 and 3.0, alpha = 0.05, df = 18 Power between 0.47 and 0.81, SAS calculation
Now one has a couple of choices n Decide that a 2 unit difference in the means is reasonable and you can afford 30 subjects in each group
Rejection region for two tailed t- test alpha=0.05, df = 58
Noncentrality value =3.87, Critical value = |2.00| Table B.5, Values between 3.0 and 4.0, alpha = 0.05, df = 58 (60) Power between 0.84 and 0.98, SAS calculation
Now one has a couple of choices n Decide that a 3 unit difference in the means is reasonable and you can only afford 10 subjects in each group
Noncentrality value =3.35, Critical value = |2.101| Table B.5, Values between 3.0 and 4.0, alpha = 0.05, df = 18 Power between 0.81 and 0.97, SAS calculation
Now Lets Turn it Around Sample Sizes for Given Power Values n Δ = max(mu) – min(mu) n Determine k = Δ/s.d. (‘effect size’) n Use table B.12 n Different levels of alpha = 0.2, , and 0.01 n 1 – β = 0.7, 0.8, 0.9, and 0.95 n r : number of treatments, 2, 3, …., 10
From Our Earlier Anova Setting.. n mu1 = 20, mu2 = 15, mu3 = 15, mu4 = 12 n Δ = 20 – 12 = 8, sigma = 4 n K = Δ/sigma = 8/4 = 2, r = 4 Powern per groupTotal N