Research Playbook

Module 09 · Phase 3: Analyze and write

Stats Basics

Enough statistics to plan and defend your study

You do not need to be a statistician to publish clinical research. You do need to know what kind of data you have, which test fits it, what the numbers actually mean, and when to ask for help.

Most statistical problems reviewers flag are not advanced. They are the wrong test for the data, a p-value with no effect size, or an analysis that was clearly chosen after looking at the results.

Choose the analysis before you see the data, and report effect sizes with confidence intervals.

A p-value is how surprising your data would be if there were truly no difference. It is not the probability that the result is due to chance, and it does not say how big the difference is or whether it matters to patients.

You leave with: An analysis plan matched to each outcome45 min
Learn the framework

The core framework

Four steps to the right analysis.

Work through these for each outcome in your protocol. The result is your analysis plan.

STEP 01

Know your variable types

What kind of number is each outcome?

The data type decides the test.

  • Continuous, roughly normal: age, BMI, operative time in many samples
  • Continuous, skewed: length of stay, cost, time to return to work
  • Ordinal: pain scales, Kellgren-Lawrence grade, ASA class
  • Categorical or binary: reoperation yes/no, sex, fracture type
  • Time-to-event: time to revision or implant failure, where some patients have not had the event yet
STEP 02

Match the test

How many groups, and are they independent?

Use the chooser below. Paired data (before and after in the same patient, or both knees of one patient) needs paired tests. Comparing three or more groups needs one overall test, not many pairwise ones.

STEP 03

Report size, not just significance

How big is the difference, and does it matter?

Report the effect (mean difference, odds ratio, risk ratio or hazard ratio) with a 95% confidence interval. For patient-reported outcomes, compare differences with the minimal clinically important difference (MCID) for that score.

STEP 04

Adjust, and know when to get help

Could something else explain the result?

In observational studies, use regression to adjust for confounders: linear for continuous outcomes, logistic for binary, Cox for time-to-event. Keep the model small for your data: a common rule of thumb is about 10 outcome events per variable in logistic or Cox models. Bring in a statistician at the protocol stage, not after the data is collected.

Test chooser

Which test for which outcome?

Find your outcome type in the left column and your comparison across the top. This covers most trainee projects.

Outcome type2 independent groups3+ independent groupsPaired / before-afterAdjusting for confounders
Continuous, roughly normalIndependent t-testOne-way ANOVAPaired t-testLinear regression
Continuous skewed, or ordinalMann-Whitney UKruskal-WallisWilcoxon signed-rankRegression after transformation, or ask a statistician
Binary or categoricalChi-square (Fisher’s exact test if any expected count is < 5)Chi-squareMcNemarLogistic regression
Time-to-eventKaplan-Meier with log-rank testLog-rank testAsk a statisticianCox proportional hazards
For the association between two continuous variables, use Pearson correlation (normal) or Spearman (skewed or ordinal).

Reading the numbers

What the common statistics actually mean.

Being able to say these in one sentence each will get you through most reviewer comments and journal clubs.

p-value

If there were truly no difference, the chance of seeing a result at least this extreme. It is not the chance that your finding is wrong.

95% confidence interval

The range of effect sizes compatible with your data. A wide interval means an imprecise estimate, even if p < 0.05.

Power

The chance of detecting a real effect of a given size. Studies are usually planned for 80%. Low power makes “no difference” uninterpretable.

MCID

The smallest change in a score that patients notice as meaningful. A statistically significant change smaller than the MCID may not matter clinically.

Odds ratio vs. risk ratio

Both compare how likely an outcome is between groups. They are similar when the outcome is rare and diverge when it is common.

Hazard ratio

The relative rate of an event over time, from a Cox model. Used for outcomes like revision or survival.

Describing your groups (Table 1).

Report continuous normal variables as mean (SD), skewed variables as median (IQR), and categorical variables as n (%). Do not put significance tests for baseline differences in Table 1 of a randomized trial. For observational studies STROBE also discourages them; describe the groups, then handle imbalance with adjustment. Some journals still ask for p-values, so follow the author instructions.

Common pitfalls

What stalls projects at this step.

Each of these costs weeks or credibility. Most are easy to avoid once you can name them.

Many t-tests instead of one ANOVA

Each extra comparison raises the chance of a false positive. Use one overall test, then planned comparisons.

Only reporting p-values

Reviewers want the effect size and confidence interval so readers can judge clinical importance.

“A trend toward significance”

A p-value of 0.07 is not a trend. Report the effect and interval and interpret them honestly.

Ignoring paired or clustered data

Both knees of one patient, or many patients per surgeon, are not independent. Use paired or clustered methods.

Overloading regression models

Too many variables for too few events gives unstable, overfitted results.

Calling an underpowered study “no difference”

Absence of evidence is not evidence of absence. Report the confidence interval and the power limitation.

Your deliverable

Your analysis plan

One row per outcome. Add this to your protocol and take it to your statistician or mentor.

Template
STATISTICAL ANALYSIS PLAN

Primary outcome:
  Type (continuous normal / skewed / ordinal / binary / time-to-event):
  Summary statistic (mean (SD) / median (IQR) / n (%)):
  Comparison (2 groups / 3+ groups / paired):
  Test:
  Effect measure with 95% CI (mean difference / OR / RR / HR):
  Adjusted for (confounders), model type:
  Events available ÷ variables in model:

Secondary outcome 1:
  Type / test / effect measure:

Secondary outcome 2:
  Type / test / effect measure:

Sample size: power calculation (alpha, power, expected effect and source) or justification
Missing data: how much is expected, and how it will be handled
Multiple comparisons: how they will be handled
Paired or clustered data: yes / no, method
Significance level: two-sided p < 0.05
Software: e.g., JASP, R, SPSS, Stata
Statistician involved: name / not yet

Before you move on

0/7
Get BroBot feedback on it

Capstone exercise

Review your analysis plan with BroBot

Paste your analysis plan. BroBot checks each outcome’s test against its data type and design, and flags what a statistical reviewer would question.

BroBot checks for

  • Outcome types
  • Test matches data
  • Paired or clustered data
  • Effect sizes and CIs
  • Confounding and model size
  • Sample size
  • Missing data and multiple testing
  • Descriptive statistics

BroBot research reviews are currently unavailable. You can still use the lesson and its template.

Never paste patient identifiers. BroBot gives educational feedback, not IRB, legal or statistical sign-off. Check journal and institutional rules at the source.