Biostatistics
Biostatistics is the use of statistics to answer questions in biology, medicine, and public health. Biostatisticians help find out whether a new drug works, what causes a disease, and how long a person with an illness is likely to survive.[1]
Their work follows a study from start to finish:[1]
- Plan the study before any data exist.
- Make sure enough of the right data get collected.
- Analyze and interpret the results, allowing for chance, bias (a consistent distortion in how data are collected, analyzed, or reported), and missing data.
What biostatisticians do
Biostatisticians work in teams with biologists, cancer specialists, surgeons, geneticists, and other experts.[1]
Their main tasks follow the life of a study.
| Task | What it involves |
|---|---|
| Design | Choosing how a study is set up and how many people it needs, so that it can answer its question[1][2] |
| Analysis | Analyzing, evaluating, and interpreting results, allowing for other variables, biases, and missing data[1] |
| Monitoring | Sitting on data safety monitoring committees, which decide whether a trial should stop early to prevent harm or because a treatment clearly works[1] |
| New methods | Building new statistical tools for new kinds of data, such as genome sequences and electronic medical records[1] |
In drug trials, international guidelines expect a qualified statistician to be responsible for all the statistical work in a clinical trial.[2]
In its early days the field was often called biometrics, a word that now has other meanings.[3]
As clinical trials and drug studies spread, the field grew in several directions:[3]
- methods for clinical trials
- health outcomes research (research on outcomes that matter to patients, such as recovery or quality of life)
- survival analysis
- longitudinal models, for data collected over time
- generalized linear models
Basic ideas
Kinds of data
Each thing a study records is a variable, and its type decides which methods fit. The table shows the common types.[4][5]
| Type | What it records | Example |
|---|---|---|
| Continuous | A measurement on a scale | Age, level of C-reactive protein (a blood marker of inflammation)[6] |
| Ordinal | Ranked levels | One item on a 1 to 5 rating scale |
| Nominal (categorical) | Groups with no order | Sex, blood type |
| Binary | One of two outcomes | Cured or not cured |
Each common method answers a different kind of question and fits a certain type of data.[4]
| Method | What it does | Data type |
|---|---|---|
| t-test | Compares two groups on one continuous variable, such as treatment against control | Continuous |
| Analysis of variance | Compares more than two groups on one continuous variable | Continuous |
| Correlation | Measures how strongly two variables rise or fall together, on a scale from -1 to 1 | Continuous |
| Linear regression | Estimates an outcome from one or more other variables | Continuous |
| Mann-Whitney U test | Compares two groups using ranks instead of raw values | Ordinal |
| Kruskal-Wallis test | Compares several groups using ranks | Ordinal |
| Chi-square test | Tests for links between categorical variables | Nominal |
| Fisher's exact test | A variant of the chi-square test that also tests for links between categories | Nominal |
| Logistic regression | Relates a binary outcome to other variables | Binary |
The methods differ in what they assume about the data:
- The t-test and analysis of variance assume that the scores in the population follow a bell-shaped (normal) curve, with equal spread in each group.[7]
- Linear regression assumes that its residuals follow a normal curve, with equal spread at every value of the predictor. Residuals are the gaps between the observed values and the model's predictions.[7]
- Nonparametric tests, such as the Mann-Whitney U test, need fewer assumptions and can handle lopsided or ordinal data.[4]
From a sample to a population
A study measures a sample of people but wants conclusions about a whole population. The result from one sample can differ from the true population value by chance alone.[8] Statistical inference is the set of methods for judging how far a sample result can be trusted.
P-values
A p-value measures how well the data fit a statistical model. A test statistic measures the distance between the data and what the model predicts. The p-value is then the probability that this statistic would be at least as large as observed if every assumption of the model were correct.[9]
Here is the test statistic and is its observed value. The model usually includes a null hypothesis, such as "the treatment has no effect", but the p-value tests all of the assumptions together, not only that hypothesis.[9]
In 2016 the American Statistical Association (ASA) set out six principles for using p-values.[10] Three of them correct common errors:
- A p-value is not the probability that the hypothesis is true, or that the data came from chance alone.
- A p-value does not measure the size of an effect or how important a result is.
- Conclusions and decisions should not rest only on whether a p-value passes a set threshold.
Confidence intervals
A confidence interval gives a range of effect sizes that fit the data well, if the model is correct. A 95% interval holds the effect sizes whose tests give p greater than 0.05.[9]
The 95% describes the method, not one interval. If valid 95% intervals are computed in very many studies, about 95% of them will contain the true effect. A single reported interval either contains the true effect or does not.[9]
An interval that does have a 95% probability of holding the true value needs extra assumptions about likely effect sizes. That is the Bayesian credible interval, covered under Bayesian methods.[9]
Study design
Confounding
A confounder is a third variable that can make an exposure look harmful or helpful when it is not. An exposure is a factor being studied for its effect on the risk of a disease or outcome, such as a treatment.[11]
A confounder is linked to the exposure and is also a risk factor for the outcome, meaning it affects the chance of the outcome. It is not caused by the exposure and does not lie on the causal path to the outcome.[5]
There are two main ways to deal with confounding:
- Random assignment. Randomly assigning people to groups avoids confounding.[11]
- Adjustment. Observational studies, where researchers watch what happens without assigning treatments, must adjust for confounders in the analysis.[11][5] One way is with regression models, which relate an outcome to several variables at once, so the exposure's effect can be estimated while allowing for the others.[4][5]
Experiments and observational studies
Studies fall into two broad types:[11]
- Experimental studies, where researchers assign people to treatment and comparison groups.
- Observational studies, where researchers only watch what happens, without stepping in.
| Design | How it works | Strengths | Weaknesses |
|---|---|---|---|
| Randomized controlled trial | People are randomly assigned to treatment or control, then followed to see who develops the outcome | Seen as the gold standard; random assignment avoids confounding | Expensive; dropouts and people not following the treatment |
| Cohort study | People are grouped by exposure, then followed to see who gets the disease; reports relative risk | Can measure new cases directly; little recall bias (people misremembering past exposures); several outcomes at once | Can have selection bias (the groups studied differ from the population in ways that affect the result); slow and costly for rare outcomes |
| Case-control study | People with the disease (cases) and without it (controls) are asked about past exposures; reports the odds ratio | Cheap and quick; suited to rare diseases | Recall bias; choosing controls is hard |
| Cross-sectional study | Exposure and outcome are measured at one point in time; reports how common the disease is at that time | Simple, with no follow-up | Cannot show cause and effect |
The case-control study is one of the classic methods of epidemiology.[1]
Randomization and blinding
The International Council for Harmonisation's E9 guideline (ICH E9) names blinding and randomization as the most important design tools for avoiding bias in clinical trials.[2]
- Randomization adds a deliberate element of chance to who gets which treatment. It tends to produce groups with similar risk factors, both known and unknown, and it gives the analysis a sound statistical basis.[2]
- Blinding keeps people from knowing who got which treatment. In a double-blind trial, neither the participants nor the staff who treat or assess them know. This limits bias in care, in measuring outcomes, and in handling dropouts.[2]
Sample size and power
A trial needs enough participants to detect an effect that matters. The trial plan (protocol) must state how the sample size was calculated. It must also give the assumptions used, such as how spread out the measurements are, how often events occur, and the difference to be detected.[2]
Two error rates drive the calculation. They are the two kinds of type I and type II errors.[2]
- A type I error (false positive) is concluding there is an effect when there is none. Its probability, , is usually set at 5% or less.
- A type II error (false negative) is missing a real effect. Its probability, , is usually set at 10% to 20%.
Power is the chance of detecting a real effect of the planned size:
With set at 10% to 20%, the usual power is 80% to 90%.
Measuring effects
Many health studies compare how often an event happens in an exposed group and an unexposed group. The counts fit a two-by-two table with cells , , , and .[8]
The odds ratio compares the odds of the event in the two groups:[8]
The relative risk compares the probabilities instead:[8]
Here and are the exposed people with and without the event, and and are the unexposed people with and without it. Each formula is defined only when its denominators are not zero. For example, the odds ratio needs and to be nonzero, and the relative risk needs and to be nonzero.
- An odds ratio of 1 means equal odds in both groups. Above 1 means higher odds with exposure, and below 1 means lower odds.[8]
- If the confidence interval for the odds ratio includes 1, the result is not statistically significant, meaning it does not meet the chosen cutoff for evidence against the null hypothesis.[8]
- When the disease is rare, the odds ratio and relative risk are close.[8] When it is common, the odds ratio lies further from 1 than the relative risk, so it makes the link seem stronger.[12]
- Case-control studies report odds ratios, because they cannot measure relative risk.[8]
Core methods
Regression models
Regression links an outcome to several variables at once and gives an equation for prediction.[4]
Logistic regression is used when the outcome is binary, such as cured or not cured.[4]
Including possible confounders in a model lets researchers estimate an exposure's effect while allowing for those variables.[5]
Much medical data needs extensions of the basic model:[3]
- Longitudinal models handle repeated measurements on the same people.
- Generalized linear models cover outcomes such as counts and yes-or-no results.
Survival analysis
Survival analysis studies the time until an event, such as death, relapse, or the failure of a treatment. The "event" can be anything of interest, not only death.[13]
The main difficulty is censoring. A person is censored when their full time to the event is unknown, for example because they left the study or the study ended first. Censored people still carry information up to the time they were last seen.[13]
The Kaplan-Meier estimator estimates the chance of surviving past each time. The curve drops only when an event happens. A censored person causes no drop but leaves the group still at risk.[13]
Here is the estimated chance of surviving past time , are the times when events happen, is the number of events at , and is the number still at risk just before .
The right end of a Kaplan-Meier curve often rests on very few people, so it is less reliable. Published curves should show the number at risk at each time.[13]
The Cox proportional hazards model adds patient characteristics to survival analysis. The hazard is the instant rate of the event among people who have not yet had it:[5]
Here is the baseline hazard for a person with all predictors set to zero, and are coefficients the model estimates. For each predictor, is its hazard ratio. A hazard ratio of 1.03 for age means the hazard rises by 3% for each extra year.[5]
The model assumes that each hazard ratio stays constant over time. For example, if the survival curves of two groups cross, the assumption fails.[5]
Meta-analysis
Meta-analysis is the statistical combination of results from two or more separate studies.[14]
It has both benefits and risks:[14]
- It can make an estimate more precise and settle conflicts between studies.
- It can mislead badly if bias and differences between studies are ignored.
Most methods take a weighted average of the effect estimates. In the fixed-effect inverse-variance method, each study is weighted by how precise its estimate is, so more precise studies count for more:[14]
Here is the effect estimated in study , and is its standard error, a measure of how precise that estimate is.
The two main approaches differ in what they assume about the studies.[14]
| Method | Assumption about study effects |
|---|---|
| Fixed-effect meta-analysis | Every study estimates the same effect |
| Random-effects meta-analysis | The true effects vary between studies |
Bayesian methods
Bayesian statistics combines earlier information with new data. Before a trial, the chances of the possible values of an unknown quantity form the prior distribution. After the trial, Bayes' theorem updates the prior into the posterior distribution:[15]
Here is the prior, is the likelihood of the observed data, and is the posterior. In FDA medical device trials, informative priors are usually based on earlier studies.[15]
The posterior gives a Bayesian credible interval (also called a posterior interval). A 95% credible interval can be read as having a 95% probability of containing the true value, but only given the prior and the other model assumptions.[9]
The US Food and Drug Administration (FDA) issued guidance on Bayesian statistics for medical device trials in 2010.[15] In January 2026 it released draft guidance on Bayesian methods in trials of drugs and biological products.[16] The FDA recommends that sponsors justify their priors and check how much results change under other priors.[15]
Multiple testing and genomics
Running many tests at once raises the chance of false positives, and researchers tend to pick out the significant results for emphasis.[17] This is the multiple comparisons problem.
A 1987 survey by Pocock and colleagues, cited by Benjamini and Hochberg, found that reports in major medical journals often overlooked multiple testing. As a result, the reports tended to exaggerate treatment differences.[17]
Family-wise error rate
The standard approach controls the family-wise error rate, the chance of making even one false positive. With tests, testing each at level keeps this chance at or below .[17] This is the Bonferroni correction.
False discovery rate
In 1995 Yoav Benjamini and Yosef Hochberg proposed controlling the false discovery rate instead. It is the expected share of false positives among all the hypotheses declared significant.[17]
Here is the number of true null hypotheses wrongly rejected and is the total number rejected, with the ratio taken as 0 when . When all null hypotheses are true, the FDR equals the family-wise error rate. Otherwise it is smaller or equal, which allows more power.[17]
The Benjamini-Hochberg procedure works in four steps:[17]
- Sort the p-values from smallest to largest: .
- Compare each with , where is the chosen FDR level.
- Find the largest for which , and call it .
- Reject the hypotheses with the smallest p-values.
The authors proved that this controls the FDR at when the test statistics are independent, meaning that one test's result gives no information about another's.[17]
Their paper applied the procedure to 15 p-values from a heart attack trial. Bonferroni at 0.05 (a threshold of 0.05/15, about 0.0033) rejected three hypotheses. The new procedure rejected four, including a drop in deaths with p = 0.0095.[17]
Genome-wide studies
A genome-wide association study tests up to millions of genetic variants against a trait.[18] A genetic variant is a place in the DNA where the code differs between people.[19]
Most such studies use a cutoff of for common variants.[18] Several groups reached this value as a Bonferroni correction for the effective number of independent tests in the genome, which is the estimated number of distinct tests once related tests are allowed for.[18] A common estimate of that number is about one million, and .[18]
The strict cutoff was first suggested in 1996 because candidate-gene studies had reported many false positives.[18] These studies test a small set of genetic variants chosen in advance for their known or suspected biological role.[20] Since then, the cutoff has greatly limited false positives in a field that had earlier reported many findings that later studies did not reproduce.[18]
Software projects such as Bioconductor, started in 2001, provide free tools for analyzing genomic data.[21]
History
| Year | Event |
|---|---|
| 1662 | John Graunt publishes his analysis of London's bills of mortality[22] |
| 1901 | Karl Pearson, with Raphael Weldon and Francis Galton, founds Biometrika[23] |
| 1925 | Ronald Fisher's Statistical Methods for Research Workers sets out the principles of randomization[24] |
| 1947 | The International Biometric Society is founded; its bulletin becomes the journal Biometrics[25] |
| 1948 | The Medical Research Council reports its streptomycin trial, with treatment assigned by random numbers[26][27] |
| 1950 | Richard Doll and Austin Bradford Hill report a case-control study of smoking and lung cancer[28] |
| 1958 | Edward Kaplan and Paul Meier publish their survival estimator[29] |
| 1959 | Nathan Mantel and William Haenszel publish methods for case-control data[30] |
| 1972 | David Cox publishes the proportional hazards model[5] |
| 1995 | Benjamini and Hochberg introduce the false discovery rate[17] |
| 1998 | The ICH E9 guideline on statistics in clinical trials is adopted[2] |
| 2016 | The American Statistical Association issues its statement on p-values[10] |
Counting deaths
Graunt's 1662 book studied London's weekly records of deaths and christenings. His work had three main parts:[22]
- Tables. He was probably the first person to use numerical tables to analyze data on health and disease.
- Error checks. He checked his data for errors, such as the under-recording of christenings.
- Survival by age. He was the first to present deaths in terms of how many people survive to each age, though his table rested on many assumptions.
The first life table based on actual ages at death was built later by Edmond Halley.[22]
Biometry and heredity
Around 1900, Pearson, Galton, and Weldon led a "biometric school" focused on heredity and variation.[31] In 1901 Pearson founded Biometrika with Weldon and Galton. Britannica calls it the first journal of modern statistics.[23]
Fisher and experimental design
Fisher developed modern methods for designing and analyzing experiments, including the analysis of variance.[24]
- Rothamsted. He did this work at Rothamsted Experimental Station in England, a center for farm research that he joined in 1919.[24]
- Books and randomization. His 1925 book first set out the principles of randomization. His 1935 book The Design of Experiments was the first devoted to that subject.[24]
- Eugenics. Fisher, Galton, and Pearson were all involved in eugenics. The International Biometric Society notes that this has clouded their reputations.[25]
Trials and epidemiology after 1945
Three developments shaped the field in the years after the Second World War:
- A society and journal. The International Biometric Society was founded on 6 September 1947 at a conference in Woods Hole, Massachusetts, with Fisher as its first president. Its bulletin, started in 1945, was renamed Biometrics that same year.[25]
- The streptomycin trial. The 1948 report is a landmark because it described in detail how the trial kept doctors from knowing treatment assignments in advance, and Hill was the trial's statistician.[27] Historians disagree about where the randomized trial came from. Some trace it to Fisher's ideas, but Iain Chalmers has argued that statistical theory was not the reason randomization was used in this trial.[26]
- Smoking studies. Doll and Hill compared smoking in hospital patients with and without lung cancer and reported the results in 1950.[28] In 1951 they started the British Doctors Study, which followed 40,701 doctors. It was the world's first large study to follow people forward in time that firmly linked smoking with specific causes of death.[32]
Methods for medical data
Three papers laid the base for analyzing medical data:
- Kaplan and Meier (1958) showed how to handle incomplete observations, and their curves became standard for time-to-event data.[13][29]
- Mantel and Haenszel (1959) gave methods for analyzing retrospective (case-control) studies.[30]
- Cox (1972) extended survival analysis to include patient characteristics.[5]
Tools
Common software for biostatistics includes:
| Software | What it offers |
|---|---|
| R | A free system with built-in tools for linear and nonlinear models, survival analysis, and time series; Bioconductor adds R packages for genomic data[21] |
| OpenEpi | Free, open-source web software for epidemiologic statistics, including sample size and power calculations[33] |
| Epi Info | A public-domain suite from the US Centers for Disease Control and Prevention for data entry and analysis in public health[34] |
Current debates
Three questions are under active discussion:
- P-values. Their role is still argued over. Ron Wasserstein, the ASA's executive director, said its 2016 statement was meant to steer research into a "post p<0.05 era". ASA president Jessica Utts said it was the first time the community of statisticians, as represented by the ASA Board, had issued a statement on these issues.[10]
- Bayesian trials. Regulators are setting rules for them, including how earlier data can enter a trial's main analysis through a prior.[15][16]
- The genetic threshold. Researchers are reviewing whether the cutoff still suits the much larger genetic studies now possible.[18]
References
- What is Biostatistics?, University of Washington Department of Biostatistics.
- ICH Harmonised Tripartite Guideline E9: Statistical Principles for Clinical Trials, International Council for Harmonisation, 1998.
- Biostatistical and medical statistics graduate education, BMC Medical Education (via PubMed Central), 2014.
- Types of Variables and Commonly Used Statistical Designs, StatPearls, NCBI Bookshelf.
- Methods to Analyze Time-to-Event Data: The Cox Regression Analysis, Oxidative Medicine and Cellular Longevity (via PubMed Central), 2021.
- C-reactive protein, MedlinePlus Medical Encyclopedia, US National Library of Medicine.
- Are Assumptions of Well-Known Statistical Techniques Checked, and Why (Not)?, Frontiers in Psychology (via PubMed Central), 2012.
- Odds Ratio, StatPearls, NCBI Bookshelf.
- Statistical tests, P values, confidence intervals, and power: a guide to misinterpretations, European Journal of Epidemiology, 2016.
- American Statistical Association Releases Statement on Statistical Significance and P-Values, American Statistical Association, 2016.
- Epidemiology Of Study Design, StatPearls, NCBI Bookshelf.
- When can odds ratios mislead?, BMJ (via PubMed Central), 1998.
- A practical guide to understanding Kaplan-Meier curves, Otolaryngology-Head and Neck Surgery (via PubMed Central), 2010.
- Chapter 10: Analysing data and undertaking meta-analyses, Cochrane Handbook for Systematic Reviews of Interventions, Cochrane.
- Guidance for the Use of Bayesian Statistics in Medical Device Clinical Trials, US Food and Drug Administration, 2010.
- Use of Bayesian Methodology in Clinical Trials of Drug and Biological Products, US Food and Drug Administration, 2026.
- Controlling the False Discovery Rate: a Practical and Powerful Approach to Multiple Testing, Journal of the Royal Statistical Society Series B, 1995.
- Revisiting the genome-wide significance threshold for common variant GWAS, G3: Genes, Genomes, Genetics (via PubMed Central), 2021.
- Polygenic Risk Scores, National Human Genome Research Institute.
- On improving the credibility of candidate gene studies: A review of candidate gene studies published in Emotion, Emotion (PubMed abstract), 2015.
- About Bioconductor, Bioconductor.
- John Graunt F.R.S. (1620-74): The founding father of human demography, epidemiology and vital statistics, Journal of Medical Biography (via PubMed Central), 2024.
- Biometrika, Encyclopaedia Britannica.
- Ronald Aylmer Fisher 1890-1962, Biographical Memoirs of Fellows of the Royal Society (Rothamsted Repository), 1963.
- Our History, International Biometric Society.
- Why the 1948 MRC trial of streptomycin used treatment allocation based on random numbers, Journal of the Royal Society of Medicine (via PubMed Central), 2011.
- Medical Research Council (1948), The James Lind Library.
- The British Doctors' Study (1951-2001), Embryo Project Encyclopedia, Arizona State University.
- Nonparametric Estimation from Incomplete Observations, Journal of the American Statistical Association, 1958.
- Statistical aspects of the analysis of data from retrospective studies of disease, Journal of the National Cancer Institute, 1959.
- Biometry and medical statistics, Biometrics (PubMed abstract).
- British Doctors Study, Clinical Trial Service Unit, University of Oxford.
- OpenEpi: Open Source Epidemiologic Statistics for Public Health, OpenEpi.
- Epi Info, US Centers for Disease Control and Prevention.
