Difference between revisions of "2.1.6 Sample size and power analysis"
(→B. Guidance & Expectations) |
(→C. Resources) |
||
Line 61: | Line 61: | ||
* [http://davidmlane.com/hyperstat/power.html JAVA applets for power and sample size] | * [http://davidmlane.com/hyperstat/power.html JAVA applets for power and sample size] | ||
* [https://www.psychometrica.de/effect_size.html Computation of sample sizes @Psychometrica] | * [https://www.psychometrica.de/effect_size.html Computation of sample sizes @Psychometrica] | ||
+ | * [http://powerandsamplesize.com/Calculators/ Overview of sample size and power calculators] | ||
Revision as of 16:43, 15 October 2020
UNDER CONSTRUCTION
A. Background & Definitions
Statistical power is defined as the probability of detecting as statistically significant a clinically or practically important difference of a pre-specified size, if such a difference truly exists. Formally, power is equal to 1 minus the Type II error rate (beta or ß). The Type II error rate is the probability of obtaining a non-significant result when the null hypothesis is false — in other words, failing to find a difference or relationship when one exists.
Balancing sample size, effect size and power is critical to good study design. When the power is low, only large effects can be detected, and negative results cannot be reliably interpreted. The consequences of low power are particularly dire in the search for high-impact results, when the researcher may be willing to pursue low-likelihood hypotheses for a groundbreaking discovery (see Fig. 1 in Krzywinski & Altman 2013). Ensuring that sample sizes are large enough to detect the effects of interest is an essential part of study design.
Studies with inadequate power are a waste of research resources and arguably unethical when subjects are exposed to potentially harmful or inferior experimental conditions.
Statistical power analysis exploits the relationships among the four variables involved in statistical inference: sample size (N), significance criterion (α), effect size (ES), and statistical power. For any statistical model, these relationships are such that each is a function of the other three.
B. Guidance & Expectations
General advice - DO:
- Whenever possible, seek professional biostatistician support to estimate sample size.
- Use power prospectively for planning future studies.
- Put science before statistics. It is easy to get caught up in statistical significance and such; but studies should be designed to meet scientific goals, and you need to keep those in sight at all times (in planning and analysis). The appropriate inputs to power/sample-size calculations are effect sizes that are deemed scientifically important, based on careful considerations of the underlying scientific (not statistical) goals of the study. Statistical considerations are used to identify a plan that is effective in meeting scientific goals – not the other way around.
- Do pilot studies. Investigators tend to try to answer all the world’s questions with one study. However, you usually cannot do a definitive study in one step. It is far better to work incrementally. A pilot study helps you establish procedures, understand and protect against things that can go wrong, and obtain variance estimates needed in determining sample size. A pilot study with 20-30 degrees of freedom for error is generally quite adequate for obtaining reasonably reliable sample-size estimates.
- Effect size should be specified on the actual scale of measurement, not on a standardized scale.
- Generate sample size estimates for a range of power and effect size values to explore the gains and and losses in power or detectable effect size due to increasing or decreasing n. This is why the term ‘sample size estimation’ is often preferred over ‘sample size calculation’. Although the arrival at a number for the required sample size is invariably based on (often complex) formulae, the term ‘calculation’ implies an unwarranted degree of precision. The purpose of sample size estimation is not to give an exact number but rather to subject the study design to scrutiny, including an assessment of the validity and reliability of data collection (Batterham & Atkinson 2005).
General advice - DO NOT:
- Avoid using the definition of “small,” “medium,” or “large” effect size based on Cohen's d of .20, .50, or .80, respectively. Cohen's assessments are based on an extensive survey of statistics reported in the literature in the social sciences and may not apply to other fields of science. Further, this method uses a standardized effect size as the goal. Think about it: for a “medium” effect size, you’ll choose the same n regardless of the accuracy or reliability of your instrument, or the narrowness or diversity of your subjects. Clearly, important considerations are being ignored here. “Medium” is definitely not the message!
- Retrospective power calculations should generally be avoided, because they add no new information to an analysis (i.e. avoid using observed power to interpret the results of the statistical test). You’ve got the data, did the analysis, and did not achieve “significance.” So you compute power retrospectively to see if the test was powerful enough or not. This is an empty question. Of course it wasn’t powerful enough – that’s why the result isn’t significant. Power calculations are useful for design, not analysis.
Guidance on sample size estimation:
--- to be added ---
What to do if you have no choice about sample size:
Limited budget, limited supply of research materials, or a difficult-to-overcome guidance from a collaborator, a funder or a senior colleagues may leave no choice but to consider running a study with a certain potentially small sample size. What can be done in such situations?
- consider study designs involving correlated data (e.g. repeated measures, crossover or matched-pairs designs) that are usually associated with greater statistical power than those involving separate samples allocated to different treatment groups ([see section 2.1 here).
- consider intervening variables or pre-intervention measurements for stratification; if not possible, one can still improve statistical power by entering these variables as covariates in the analysis
- make sure that the most suited randomization schedule is used to control for random influences
- explore and engage all other means to minimize variation (including using properly maintained and calibrated research instruments, adequate and well controlled environmental conditions, making sure that experiments are performed by competent and adequately trained scientists)
- if a study has low power because of the given sample size, reflect this limitation in the study plan and indicate to all stakehodlers that the study cannot be run as knowledge-claiming (decision-enabling, confirmatory).
- evaluate power not only for the given sample size for also for the values around and discuss the impact of the sample size on power with the stakeholders - in some cases, it may help re-consider the original sample size restrictions.
C. Resources
Tools to sample size estimation:
- G*Power
- WISE power tutorial
- JAVA applets for power and sample size
- Computation of sample sizes @Psychometrica
- Overview of sample size and power calculators
Educational instruments and resources:
Useful literature (for non-statisticians):
- Practical advice on sample size estimation by Russell Lenth
- A primer on murky world of sample size estimation by Alan Batterham & Greg Atkinson
Useful literature:
Power in various ANOVA designs by Joel Levin
- https://www.ncbi.nlm.nih.gov/books/NBK43321/
- http://davidmlane.com/hyperstat/power.html
- http://powerandsamplesize.com/Calculators/Test-1-Mean/1-Sample-Equality
Guidelines on reporting of sample size (in vivo research):
back to Toolbox
Next item: 2.1.7 Blinding