Introduction
A biostatistics interview is rarely just a test of whether you remember statistical formulas.
Strong candidates are expected to demonstrate that they understand why a method is appropriate, what assumptions it requires, how to interpret its results, and how statistical decisions affect the clinical question.
For a clinical-trial biostatistician, the interviewer may move quickly between topics such as hypothesis testing, survival analysis, longitudinal data, sample-size calculation, estimands, missing data, regulatory expectations, SAS or R programming, and communication with clinical colleagues.
How Biostatistics Interviews Are Usually Structured
Although interviews differ across organizations, many contain several recurring components.
| Interview area | Typical topics |
|---|---|
| Statistical fundamentals | Probability, distributions, hypothesis testing, p-values, confidence intervals |
| Study design | Randomization, blinding, endpoints, sample size, power |
| Clinical trials | ITT, PP, safety population, estimands, missing data, interim analyses |
| Modeling | Linear regression, logistic regression, Cox models, mixed models |
| Survival analysis | Kaplan-Meier, hazard ratios, censoring, proportional hazards |
| Programming | SAS, R, data manipulation, validation, TLF production |
| Regulatory | CDISC, SAPs, clinical study reports, traceability |
| Behavioral/scenario | Stakeholder communication, disagreement, deadlines, quality control |
The Best Way to Answer a Statistical Interview Question
A useful structure is:
This approach is generally stronger than giving a one-sentence textbook definition.
Quick Interview Preparation Framework
Question 1: What Is a P-Value?
What is a p-value?
A p-value is the probability, under the null hypothesis and the statistical model being used, of obtaining a result at least as extreme as the observed result.
A small p-value indicates that the observed data would be relatively unusual if the null hypothesis were true.
Question 2: What Is the Difference Between a P-Value and a Confidence Interval?
How does a confidence interval differ from a p-value?
A p-value summarizes evidence against a specified null hypothesis, whereas a confidence interval provides a range of parameter values that are compatible with the data under the statistical procedure used to construct the interval.
A confidence interval is often more informative because it communicates both the estimated effect and its uncertainty.
Question 3: What Does a 95% Confidence Interval Mean?
How would you explain a 95% confidence interval?
In repeated sampling, if we repeatedly applied the same confidence-interval procedure under the same conditions, approximately 95% of the resulting intervals would contain the true parameter.
For a particular calculated interval, it is better not to say that there is a 95% probability that the fixed parameter lies inside that specific interval under the standard frequentist interpretation.
Question 4: What Is Statistical Significance?
What does it mean for a result to be statistically significant?
Statistical significance usually means that the result provides sufficient evidence against a prespecified null hypothesis according to a chosen significance level, such as 0.05.
Statistical significance does not necessarily imply clinical importance. Effect size, confidence intervals, clinical relevance, study design, and patient context must also be considered.
Question 5: Statistical Significance vs. Clinical Significance
Can a result be statistically significant but clinically unimportant?
Yes.
With a sufficiently large sample size, even a very small treatment difference can produce a small p-value.
For example, a treatment might reduce an outcome by 0.5 units with a very narrow confidence interval excluding zero. The result can be statistically significant but too small to matter clinically.
Question 6: Type I and Type II Errors
What are Type I and Type II errors?
A Type I error occurs when we reject a true null hypothesis. Its probability is controlled by the significance level, usually denoted \(\alpha\).
A Type II error occurs when we fail to reject a false null hypothesis. Its probability is commonly denoted \(\beta\).
Statistical power is:
Question 7: What Is Statistical Power?
What is power, and what factors affect it?
Power is the probability of detecting a specified effect when that effect truly exists, under the assumptions of the statistical design.
Power generally increases with:
- Larger sample size
- Larger true effect size
- Lower variability
- Higher significance level
- More informative study design
For a fixed design, reducing sample size generally reduces power.
Question 8: What Is the Difference Between Standard Error and Standard Deviation?
How are standard deviation and standard error different?
The standard deviation describes variability among individual observations. The standard error describes uncertainty in an estimated quantity, such as a sample mean.
For a simple sample mean:
As sample size increases, the standard error of the mean generally decreases.
Question 9: What Is a Normal Distribution?
What are the characteristics of a normal distribution?
The normal distribution is a continuous symmetric distribution characterized by its mean and variance.
In a normal distribution, the mean, median, and mode coincide.
Approximately 68%, 95%, and 99.7% of observations lie within one, two, and three standard deviations of the mean, respectively, under the ideal normal model.
Question 10: What Is the Central Limit Theorem?
Explain the Central Limit Theorem.
The Central Limit Theorem states, under appropriate conditions, that the sampling distribution of a properly standardized sample mean approaches a normal distribution as sample size increases, even when the underlying population distribution is not normal.
This is one reason normal-based inference can be useful for means even when individual observations are not normally distributed.
Question 11: Parametric vs. Nonparametric Tests
What is the difference between parametric and nonparametric methods?
Parametric methods generally make assumptions about the distribution or structure of the data and estimate parameters of that model.
Nonparametric methods typically make fewer distributional assumptions and often operate on ranks or other distribution-free quantities.
Examples include the two-sample t-test as a parametric method and the Wilcoxon rank-sum test as a commonly used nonparametric alternative.
Question 12: T-Test vs. Wilcoxon Test
When would you use a t-test versus a Wilcoxon rank-sum test?
The choice depends on the estimand, data structure, distributional assumptions, and study design.
A two-sample t-test compares means under its model assumptions. A Wilcoxon rank-sum test compares distributions through ranks and can be useful when a rank-based analysis is appropriate.
I would not select the method solely because the sample size is "small" or because the data fail a normality test. I would first consider the scientific question and the characteristics of the outcome.
Question 13: Correlation vs. Causation
Does correlation imply causation?
No.
Correlation describes statistical association. Causal inference requires additional assumptions and study-design or analytical conditions that support a causal interpretation.
Randomization is particularly important in clinical trials because it helps balance measured and unmeasured prognostic factors in expectation.
Question 14: What Is Confounding?
What is a confounder?
A confounder is a variable that creates a misleading or distorted association between an exposure and an outcome because of its relationship with the exposure and outcome.
For example, in an observational study, age could be associated with both a treatment exposure and an outcome. Failure to account for age could distort the estimated treatment association.
Question 15: What Is Randomization?
Why is randomization important in a clinical trial?
Randomization assigns participants to treatment groups using a chance-based mechanism.
Its major purpose is to reduce systematic differences between treatment groups and provide a foundation for causal inference under the trial's assumptions.
Randomization does not guarantee that every prognostic variable will be perfectly balanced in a finite sample.
Question 16: What Is Stratified Randomization?
Why might a trial use stratified randomization?
Stratified randomization helps maintain balance between treatment groups within important prespecified factors, such as disease stage, geographic region, or prior therapy.
The stratification factors should generally be clinically justified and carefully aligned with the analysis strategy.
Question 17: What Is Blinding?
Why is blinding important?
Blinding reduces the potential for knowledge of treatment assignment to influence behavior, assessment, reporting, or other aspects of the trial.
Depending on the study, participants, investigators, outcome assessors, sponsors, or statisticians may be blinded.
Question 18: What Is an Endpoint?
What is the difference between a primary and secondary endpoint?
The primary endpoint is the prespecified outcome that is central to evaluating the main objective of the trial.
Secondary endpoints address additional important objectives.
The distinction matters because the primary endpoint generally drives the sample-size justification and the main confirmatory inference.
Question 19: What Is an Estimand?
What is an estimand in a clinical trial?
An estimand precisely describes the treatment effect of interest.
It specifies the population, treatment conditions, endpoint or variable, handling of intercurrent events, and summary measure used to quantify the effect.
The estimand helps align the scientific question, trial design, data collection, statistical analysis, and interpretation.
Question 20: What Is the Intention-to-Treat Principle?
What does intention-to-treat mean?
The intention-to-treat principle generally evaluates randomized participants according to the treatment strategy to which they were assigned, regardless of subsequent adherence or treatment changes, according to the prespecified analysis.
It helps preserve the benefits of randomization and provides an estimate related to the treatment strategy assigned by the trial.
Question 21: ITT vs. Per-Protocol
What is the difference between ITT and per-protocol analysis?
An ITT-oriented analysis generally follows randomized treatment assignment. A per-protocol analysis focuses on participants who sufficiently adhered to specified protocol requirements.
Per-protocol analyses can be subject to selection bias because protocol adherence after randomization is not generally random.
Question 22: What Is a Safety Population?
What is a safety analysis population?
A safety population is generally defined according to participants who received at least a specified amount of study treatment, often at least one dose, with the exact definition prespecified in the statistical analysis plan.
Safety analyses may therefore use a population different from the primary efficacy population.
Question 23: What Is a Hazard Ratio?
How would you explain a hazard ratio?
A hazard ratio compares the instantaneous event rates between two groups under the assumptions of the fitted survival model.
For example, a hazard ratio of 0.70 can be described as an estimated 30% relative reduction in the hazard in one group compared with the reference group, assuming the proportional-hazards interpretation is appropriate.
Question 24: What Is a Kaplan-Meier Curve?
Explain a Kaplan-Meier curve.
A Kaplan-Meier estimator estimates the survival function while accounting for right-censored observations.
The curve represents the estimated probability of remaining event-free beyond a given time.
Censoring indicates that the event has not been observed for that participant during the period in which they were followed.
Question 25: What Is Censoring?
What is right censoring in survival analysis?
Right censoring occurs when the event time is not observed beyond a certain point, but we know that the event has not occurred up to that point.
Common examples include a participant completing follow-up without an event, being lost to follow-up, or reaching an administrative study cutoff before experiencing the event.
Question 26: What Is the Proportional Hazards Assumption?
What does proportional hazards mean?
The proportional-hazards assumption means that the hazard ratio between groups is constant over time, or more precisely that the ratio of hazards does not depend on time under the model.
If proportional hazards is substantially violated, a single hazard ratio may not adequately summarize the treatment effect.
Question 27: What Is a Logistic Regression Model?
When would you use logistic regression?
Logistic regression is commonly used when the outcome is binary.
The model relates predictors to the log odds of the outcome:
Exponentiating a coefficient gives an odds ratio associated with a one-unit increase in the corresponding predictor, holding other model variables constant.
Question 28: What Is an Odds Ratio?
How do you interpret an odds ratio of 2?
An odds ratio of 2 means the odds of the outcome are estimated to be twice as large in one group compared with the reference group, under the model.
It does not mean that the probability of the outcome is twice as large.
Question 29: What Is Linear Regression?
What assumptions are important in linear regression?
Important assumptions depend on the inferential goal, but commonly include appropriate functional form, independent errors where applicable, constant error variance, and assumptions concerning the distribution of errors for certain types of inference.
For a clinical trial, I would also consider randomization, covariate measurement, treatment coding, missing data, influential observations, and whether the model corresponds to the scientific question.
Question 30: What Is an Interaction?
What does an interaction between treatment and a covariate mean?
An interaction means that the association or treatment effect depends on the level of another variable.
For example, a treatment could have a different estimated effect in younger and older participants.
An interaction is sometimes described as effect modification, although the exact interpretation depends on the model and estimand.
Question 31: What Is ANCOVA?
Why might ANCOVA be used in a clinical trial?
ANCOVA can compare treatment groups while adjusting for prespecified baseline covariates.
For example, a continuous endpoint measured at Week 12 might be analyzed using treatment group as a factor and baseline measurement as a covariate.
Covariate adjustment can improve precision when the baseline covariate is strongly associated with the outcome.
Question 32: What Is a Mixed-Effects Model?
When would you use a mixed-effects model?
Mixed-effects models are useful for correlated or hierarchical observations.
In longitudinal clinical trials, repeated measurements from the same participant are correlated. A mixed model can account for this dependence through random effects and/or an appropriate covariance structure.
Question 33: What Is Multiple Testing?
Why is multiplicity important?
When many hypotheses are tested, the probability of obtaining at least one apparently significant result by chance can increase.
Therefore, confirmatory clinical trials may use multiplicity-control procedures such as hierarchical testing, gatekeeping, alpha spending, or other prespecified strategies.
Question 34: What Is the Difference Between One-Sided and Two-Sided Tests?
When would you use a one-sided versus a two-sided test?
A two-sided test considers departures from the null hypothesis in either direction.
A one-sided test focuses on a prespecified direction.
The choice should be determined before examining the data and justified by the scientific question and study design. One should not choose a one-sided test after seeing the observed treatment effect simply to obtain a smaller p-value.
Question 35: What Is a Missing Completely at Random Mechanism?
What do MCAR, MAR, and MNAR mean?
MCAR means the probability of missingness does not depend on observed or unobserved data.
MAR means missingness can depend on observed information, conditional on which the missingness mechanism does not depend on the missing values themselves.
MNAR generally refers to missingness that depends on unobserved or missing information even after accounting for observed data.
These mechanisms are conceptual assumptions that guide sensitivity analysis and modeling rather than variables that can usually be proven directly from the observed dataset.
Question 36: How Would You Handle Missing Data?
How would you approach missing data in a clinical trial?
I would first understand why the data are missing and whether missingness is related to treatment, outcome history, adverse events, progression, or other variables.
I would then follow the prespecified estimand and SAP, use an analysis method appropriate to the outcome and missing-data assumptions, and perform sensitivity analyses when warranted.
I would avoid automatically assuming that simple methods such as last observation carried forward are unbiased.
Question 37: What Is Imputation?
What is multiple imputation?
Multiple imputation replaces missing values with multiple plausible values drawn from an imputation model.
Each completed dataset is analyzed separately, and the results are combined using rules that account for both within-imputation and between-imputation variability.
Question 38: What Is a Sensitivity Analysis?
Why perform a sensitivity analysis?
A sensitivity analysis evaluates whether conclusions are robust to reasonable alternative assumptions, analytical choices, or data-handling strategies.
For example, a primary missing-data analysis might be complemented by alternative assumptions representing less favorable outcomes after discontinuation.
Question 39: What Is a Sample-Size Calculation?
What information is needed for sample-size determination?
The required inputs depend on the design and endpoint but can include:
- Primary endpoint
- Target treatment effect
- Type I error rate
- Desired power
- Variability or event rate
- Allocation ratio
- Follow-up duration
- Accrual assumptions
- Expected dropout or non-evaluable rate
For time-to-event studies, the number of events is often more fundamental than the total number randomized.
Question 40: What Happens If You Increase Sample Size?
What is the effect of increasing sample size?
Increasing sample size generally reduces the standard error of an estimate and increases precision.
It also generally increases statistical power for detecting a specified nonzero effect.
However, a larger sample does not automatically eliminate bias or make a poorly designed study valid.
Question 41: What Is Effect Size?
Why is effect size important?
Effect size quantifies the magnitude of an observed or estimated difference or association.
It provides information that a p-value alone does not.
In clinical research, the effect size should be interpreted together with its confidence interval and clinical relevance.
Question 42: What Is Standardized Mean Difference?
When might standardized mean difference be useful?
A standardized mean difference expresses a difference between means relative to a measure of variability.
It can be useful when outcomes are measured on different scales, although the clinical interpretation can be less intuitive than the original measurement scale.
Question 43: What Is Meta-Analysis?
What is a meta-analysis?
A meta-analysis statistically combines results from multiple studies to estimate an overall effect, provided that combining the studies is scientifically and statistically appropriate.
Important considerations include heterogeneity, study quality, effect-measure compatibility, publication bias, and the choice of fixed-effect or random-effects methodology.
Question 44: What Is I-Squared?
What does I-squared measure in meta-analysis?
I-squared describes the proportion of observed variability in effect estimates that is attributed to between-study heterogeneity rather than sampling variability, under the framework of the meta-analysis.
It should not be interpreted in isolation. The magnitude of heterogeneity, study characteristics, confidence intervals, and clinical context all matter.
Question 45: Fixed Effect vs. Random Effects
What is the difference between fixed-effect and random-effects meta-analysis?
A fixed-effect model generally assumes one common underlying effect, with differences between observed estimates attributed to sampling error.
A random-effects model allows the underlying effects to vary across studies and models between-study heterogeneity.
The choice should reflect the scientific question rather than being based solely on whether a heterogeneity statistic is statistically significant.
Question 46: What Is Publication Bias?
What is publication bias?
Publication bias occurs when the availability or publication of study results depends on characteristics of the findings, such as statistical significance or direction of effect.
This can cause published evidence to differ systematically from the total body of evidence that was conducted.
Question 47: What Is a Funnel Plot?
How would you explain a funnel plot?
A funnel plot displays study effect estimates against a measure of their precision or size.
In ideal circumstances, smaller studies tend to have greater variability and larger studies tend to have more precise estimates.
Asymmetry can suggest small-study effects or publication bias, but funnel-plot asymmetry does not prove publication bias.
Clinical-Trial Interview Questions
Clinical-trial interviews often move beyond general statistics and test whether a candidate understands how statistical methodology is applied in drug development.
Question 48: What Is a Clinical Trial?
What are the major phases of clinical drug development?
| Phase | General purpose |
|---|---|
| Phase 1 | Initial human evaluation, including safety, tolerability, pharmacokinetics, and dose exploration |
| Phase 2 | Preliminary evidence of efficacy and continued safety/dose evaluation |
| Phase 3 | Confirmatory evaluation of efficacy and safety in larger populations |
| Phase 4 | Post-approval evidence generation and additional safety/effectiveness evaluation |
Question 49: What Is a Statistical Analysis Plan?
What is an SAP?
A Statistical Analysis Plan describes the planned statistical analyses for a clinical study in sufficient detail to support consistent and reproducible analysis.
It typically covers analysis populations, endpoints, estimands where applicable, derivations, statistical methods, handling of missing data, multiplicity, sensitivity analyses, subgroup analyses, and presentation of results.
Question 50: Why Should the SAP Be Finalized Before Unblinding?
Why is the timing of SAP finalization important?
Finalizing the SAP before unblinding helps reduce the risk that analytical choices are influenced by knowledge of treatment results.
It supports the credibility, reproducibility, and prespecification of the confirmatory analysis.
Question 51: What Are TLFs?
What does TLF stand for?
TLF stands for Tables, Listings, and Figures.
These outputs communicate clinical-trial results and can include demographic summaries, adverse-event tables, efficacy analyses, laboratory summaries, patient listings, Kaplan-Meier plots, forest plots, and other graphical displays.
Question 52: What Is CDISC?
What is CDISC and why is it important?
CDISC is the Clinical Data Interchange Standards Consortium.
CDISC standards support consistent organization and exchange of clinical research data.
Examples include SDTM for standardized tabulation data and ADaM for analysis datasets.
Question 53: SDTM vs. ADaM
What is the difference between SDTM and ADaM?
| SDTM | ADaM |
|---|---|
| Standardizes clinical trial tabulation data | Supports analysis and traceability |
| Organized around standardized domains | Designed around statistical analyses |
| Focuses on representation of collected data | Contains analysis-ready variables and derivations |
Question 54: What Is Traceability?
What does traceability mean in clinical-trial programming?
Traceability means that an analysis result can be followed back through the analysis dataset and derivations to the underlying source data.
Good traceability helps reviewers understand how a number in a clinical study report was generated.
Question 55: What Is a Baseline Value?
How do you define baseline in a clinical trial?
Baseline is the prespecified measurement used as the reference for post-baseline change.
The exact definition varies by protocol and endpoint. It might be the last nonmissing assessment before first treatment, for example, but the actual rule must follow the study's protocol and SAP.
Question 56: How Is Change From Baseline Calculated?
What is the formula for change from baseline?
For example, if baseline is 100 and the Week 12 value is 80:
Percentage change is:
which gives −20%.
Question 57: What Is an Adverse Event?
How would you define an adverse event?
An adverse event is an unfavorable medical occurrence in a participant who receives a pharmaceutical product or other intervention, and it does not necessarily have to have a causal relationship with the treatment.
Causality, seriousness, severity, and other classifications are distinct concepts and should not be conflated.
Question 58: Serious vs. Severe Adverse Event
What is the difference between serious and severe?
Severe generally describes the intensity or magnitude of a symptom or event.
Serious is a regulatory classification based on specified outcomes or criteria.
An event can be severe without being serious, and an event can be serious without being severe in intensity.
Question 59: What Is an Objective Response Rate?
How would you define objective response rate?
In oncology, objective response rate is commonly defined as the proportion of participants achieving a prespecified response category such as complete response or partial response according to the applicable response criteria.
The exact definition, analysis population, assessment rules, and handling of missing assessments should be prespecified.
Question 60: What Is Duration of Response?
How is duration of response generally defined?
Duration of response is generally measured from the time a response is first documented according to prespecified criteria until progression or another defined event.
Because death and censoring rules can affect the analysis, the exact definition should follow the protocol and SAP.
Scenario-Based Interview Questions
Experienced biostatistics interviews often use scenarios instead of asking for definitions.
The interviewer wants to know whether you can apply statistical reasoning when the situation is ambiguous.
Question 61: The P-Value Is 0.049. What Do You Say?
A clinical trial produces a p-value of 0.049. Is the treatment effective?
I would not determine clinical effectiveness from the p-value alone.
If 0.05 was the prespecified significance level and the test was part of the prespecified confirmatory strategy, the result may meet the statistical criterion for that hypothesis.
I would also examine the treatment-effect estimate, confidence interval, endpoint definition, multiplicity, estimand, analysis population, missing-data handling, and clinical relevance.
Question 62: The Confidence Interval Crosses Zero
What does it mean if a 95% CI for a treatment difference includes zero?
For a conventional two-sided 5% hypothesis test of a null difference of zero, this is consistent with not rejecting the null hypothesis.
However, the width of the interval is also important. A very wide confidence interval could be compatible with both clinically meaningful benefit and clinically meaningful harm.
Question 63: The Treatment Effect Is Large but Not Significant
What if the treatment effect looks clinically large but the p-value is not significant?
I would examine the confidence interval and precision of the estimate.
The result could reflect limited sample size, high variability, few events, or other sources of uncertainty.
I would avoid describing the treatment as definitively ineffective simply because the p-value exceeds 0.05.
Question 64: A Clinician Disagrees With Your Analysis
What would you do if a clinical colleague disagreed with your statistical analysis?
I would first understand the clinical concern rather than immediately defending the statistical method.
I would explain the statistical reasoning in clinically meaningful language, review the protocol and SAP, and determine whether the disagreement reflects a scientific issue, an interpretation issue, or an implementation issue.
If appropriate, I would explore sensitivity analyses or alternative approaches while maintaining the prespecified primary analysis.
Question 65: You Find a Programming Error Before Database Lock
What would you do after discovering a programming error?
I would assess the scope and impact of the error, document the issue, correct the programming, rerun the affected analyses, and ensure appropriate independent review or validation.
I would also determine whether downstream outputs were affected and whether any previously reviewed materials need to be regenerated.
The priority is transparent documentation and controlled correction rather than simply fixing the code silently.
Question 66: The Dataset Has Unexpected Outliers
How would you handle an extreme outlier?
I would first determine whether the value is a data-entry, derivation, or measurement error.
If it is valid, I would not remove it simply because it makes the analysis less favorable.
I would assess its influence, consider appropriate model diagnostics, and perform prespecified or justified sensitivity analyses where appropriate.
Question 67: A Senior Colleague Wants to Change the Analysis After Seeing Results
How would you respond?
I would distinguish between a legitimate data or programming correction and a post hoc analytical change motivated by the observed results.
For a confirmatory analysis, I would maintain the prespecified primary analysis and clearly document any exploratory or sensitivity analyses.
If an analysis change is genuinely necessary, it should be governed by the appropriate statistical and clinical review process and documented before results are interpreted as confirmatory.
Question 68: Your Study Has a Very Small Sample Size
How would you analyze a small clinical study?
I would not automatically choose a nonparametric test solely because the sample is small.
I would examine the endpoint, distribution, study design, estimand, precision, and relevant assumptions.
Exact methods, permutation methods, robust methods, or appropriate model-based approaches may be useful depending on the problem.
Question 69: Your Kaplan-Meier Curves Cross
What does crossing Kaplan-Meier curves suggest?
Crossing curves can suggest that the relative treatment effect changes over time and may raise concerns about the proportional-hazards assumption.
I would investigate the survival distributions and consider whether a single hazard ratio adequately summarizes the treatment effect.
Depending on the estimand and analysis plan, alternatives could include restricted mean survival time or time-varying effects.
Question 70: Your Manager Asks for a Result Immediately
How would you balance speed and statistical quality?
I would clarify what level of analysis is needed and distinguish a preliminary exploratory result from a validated production output.
For an urgent exploratory request, I can provide a clearly labeled preliminary analysis while explaining what remains to be validated.
For a regulatory or final deliverable, I would not bypass required quality controls simply to meet an arbitrary deadline.
SAS Interview Questions
Question 71: DATA Step vs. PROC SQL
When would you use a DATA step versus PROC SQL?
Both can manipulate clinical-trial data.
The DATA step is particularly useful for row-wise processing, conditional logic, retained values, BY-group processing, and many derivation workflows.
PROC SQL is especially convenient for joins, aggregations, subqueries, and relational operations.
The best choice depends on readability, performance, validation requirements, and the task.
Question 72: What Is a BY-Group?
How does BY-group processing work in SAS?
BY-group processing allows SAS to process observations according to groups defined by one or more variables.
Automatic variables such as FIRST.variable and
LAST.variable can identify the beginning and end of
each group.
proc sort data=adsl; by usubjid; run; data first_record; set adsl; by usubjid; if first.usubjid; run;
Question 73: What Is the RETAIN Statement?
What does RETAIN do in SAS?
Normally, variables created in a DATA step are reset to missing at the beginning of each iteration unless they are read from an input dataset.
The RETAIN statement prevents a variable from being reset, allowing its value to persist across observations.
data example; set source; retain previous_value; change = value - previous_value; previous_value = value; run;
Question 74: What Is a SAS Merge?
What should you check before merging SAS datasets?
- Are the datasets sorted by the BY variables?
- Are the key variables correctly defined?
- Are there duplicate keys?
- Is the intended join one-to-one, one-to-many, or many-to-many?
- Could the merge unintentionally duplicate observations?
Question 75: What Is PROC FREQ Used For?
How might PROC FREQ be used in clinical-trial programming?
proc freq data=adae; tables trt01p*aept01 / missing; run;
PROC FREQ can be used for frequency tables, cross-tabulations, categorical summaries, and useful data-quality checks.
R Interview Questions
Question 76: Why Use R for Biostatistics?
What are advantages of R in clinical statistics?
- Extensive statistical methodology
- Strong visualization capabilities
- Large package ecosystem
- Reproducible scripting
- Data manipulation capabilities
- Flexible reporting workflows
However, regulated clinical-trial programming also requires appropriate validation, documentation, version control, and process controls.
Question 77: How Would You Create a Summary in R?
Give an example using dplyr.
library(dplyr)
summary_data <- data %>%
group_by(TRT01P) %>%
summarise(
n = n(),
mean = mean(AVAL, na.rm = TRUE),
sd = sd(AVAL, na.rm = TRUE)
)
Question 78: How Would You Create a Kaplan-Meier Curve in R?
Which R packages might you use?
library(survival) library(survminer) fit <- survfit( Surv(TIME, EVENT) ~ TRT01P, data = adtte ) ggsurvplot( fit, data = adtte, risk.table = TRUE )
Question 79: How Would You Validate an R Analysis?
What does validation mean for statistical programming?
Validation means obtaining documented evidence that the program and resulting outputs are fit for their intended purpose.
Depending on the environment, this can involve independent programming, code review, test datasets, automated checks, output comparison, controlled software versions, and documented issue resolution.
Statistical Programming Interview Questions
Question 80: What Is a Production Program?
What makes a clinical-trial statistical program production quality?
- Correct statistical logic
- Clear derivations
- Reproducibility
- Appropriate documentation
- Controlled inputs and outputs
- Quality-control procedures
- Traceability
- Consistent naming conventions
- Appropriate handling of edge cases
- Independent review where required
Question 81: What Is an Analysis Dataset?
What is the purpose of an analysis dataset?
An analysis dataset contains appropriately derived variables and records needed to perform a specific statistical analysis.
It should support the planned analyses while maintaining traceability to standardized or source data.
Question 82: What Is a Derivation?
Give an example of a clinical-trial variable derivation.
Suppose BASE is 100 and
AVAL is 80.
The derived PCHG variable can then be used in
tables, figures, and statistical analyses according to the SAP.
Question 83: What Is Output QC?
How do you QC a statistical table?
I would verify the population, treatment groups, denominators, derived variables, statistical calculations, formatting, labels, footnotes, and consistency with the SAP.
I would also compare selected values against independent calculations or programs and investigate unexpected differences.
Advanced Statistical Interview Questions
Question 84: What Is Bayesian Statistics?
How does Bayesian inference differ from frequentist inference?
Bayesian inference combines prior information with observed data through a probabilistic model to obtain a posterior distribution.
Frequentist inference generally treats parameters as fixed quantities and bases inference on the sampling distribution of statistics or estimators.
Question 85: What Is a Prior Distribution?
What is a Bayesian prior?
A prior distribution represents information or assumptions about an unknown parameter before incorporating the current study data.
The prior should be justified according to the scientific context, and sensitivity to reasonable alternative priors may be important.
Question 86: What Is a Posterior Distribution?
What is the posterior distribution?
The posterior distribution represents updated uncertainty about the parameter after combining the prior information with the observed data.
It forms the basis for Bayesian estimates, credible intervals, posterior probabilities, and Bayesian decision-making.
Question 87: What Is a Credible Interval?
How is a Bayesian credible interval different from a confidence interval?
A Bayesian credible interval is an interval containing a specified posterior probability of the parameter, conditional on the model, prior, and observed data.
This differs conceptually from a frequentist confidence interval, whose coverage interpretation is based on repeated sampling.
Question 88: What Is an Interim Analysis?
Why are interim analyses carefully planned?
Repeatedly examining accumulating data can increase the chance of rejecting a true null hypothesis if ordinary fixed-sample significance thresholds are used.
Therefore, confirmatory trials may use prespecified group-sequential designs, alpha-spending methods, or other approaches to control the relevant error rate.
Question 89: What Is an Adaptive Design?
What is an adaptive clinical-trial design?
An adaptive design allows prespecified modifications to aspects of a clinical trial based on accumulating data while maintaining the trial's statistical integrity.
Examples can include sample-size re-estimation, dropping an ineffective arm, or changing allocation according to prespecified rules.
Question 90: What Is Non-Inferiority?
What is a non-inferiority trial?
A non-inferiority trial is designed to determine whether a new treatment is not unacceptably worse than a comparator by more than a prespecified non-inferiority margin.
The margin must be clinically justified and the analysis requires careful consideration of both statistical and clinical assumptions.
Question 91: What Is Equivalence?
How is equivalence different from non-inferiority?
An equivalence trial seeks to demonstrate that the treatment difference lies within a prespecified interval around zero.
A non-inferiority trial generally focuses on excluding an unacceptable disadvantage in one direction.
Question 92: What Is the Difference Between Relative and Absolute Risk?
Why does the distinction matter?
Suppose an event rate decreases from 10% to 5%.
The relative risk is:
The relative risk reduction is therefore 50%, while the absolute risk reduction is 5 percentage points.
Both provide useful but different perspectives.
Question 93: What Is Number Needed to Treat?
How is NNT calculated?
When an appropriate absolute risk reduction is available:
If the absolute risk reduction is 0.05:
Interpretation depends on the outcome definition and follow-up period.
Rapid-Fire Interview Questions
The following questions are useful for final interview review.
| Question | Short answer |
|---|---|
| Mean vs median? | The mean is arithmetic average; the median is the middle value of the ordered data. |
| Variance vs standard deviation? | Standard deviation is the square root of variance and is expressed in the original measurement units. |
| What is a percentile? | A value below which a specified percentage of observations fall. |
| What is a covariate? | A variable included in an analysis model, often to improve precision or account for prognostic factors. |
| What is a residual? | The difference between an observed value and its fitted value under a model. |
| What is multicollinearity? | Strong association among predictors that can make individual regression coefficients unstable or difficult to interpret. |
| What is overfitting? | A model captures noise or idiosyncrasies of the development data and performs poorly on new data. |
| What is bootstrap? | A resampling method used to estimate sampling variability and construct uncertainty measures. |
| What is cross-validation? | A resampling approach commonly used to evaluate predictive performance and tune models. |
| What is a forest plot? | A graphical display of effect estimates and confidence intervals across studies, subgroups, or analyses. |
| What is a waterfall plot? | A patient-level oncology display commonly showing best percentage change from baseline. |
| What is a spider plot? | A longitudinal display of individual patient tumor-response trajectories over time. |
How to Answer "Tell Me About Yourself" as a Biostatistician
This is one of the most important nontechnical interview questions.
A strong answer should connect your education, statistical experience, programming skills, clinical-trial exposure, and the role you are seeking.
Avoid spending most of the answer on personal history that is unrelated to the role.
How to Answer "Why Biostatistics?"
What is a strong approach to this question?
Connect your interest in quantitative reasoning with the real-world impact of statistical analysis.
For a clinical-trial position, emphasize the role of biostatistics in designing efficient studies, quantifying uncertainty, evaluating treatment effects, and supporting evidence-based medical decisions.
How to Answer "Why Clinical Trials?"
A strong response should demonstrate that you understand the difference between statistics as an academic discipline and statistics as part of the drug-development process.
- Clinical trials require prospective statistical planning.
- Randomization supports causal inference.
- Statistical analysis must align with clinical questions.
- Results must be reproducible and traceable.
- Statisticians work closely with clinicians, programmers, data managers, and regulatory teams.
How to Explain a Complex Statistical Method to a Clinician
Common Interview Mistakes
- Giving memorized definitions without interpretation. Knowing a definition is useful, but interviewers often want to know whether you understand how the concept is used.
- Confusing p-values with probabilities of hypotheses. A p-value is not the probability that the null hypothesis is true.
- Confusing odds ratios with risk ratios. Odds and probability are different quantities.
- Calling a nonparametric method assumption-free. Nonparametric methods still have assumptions.
- Calling a hazard ratio a probability ratio. The hazard ratio compares instantaneous event rates under its model.
- Assuming statistical significance means clinical importance. Magnitude and uncertainty matter.
- Automatically removing outliers. First determine whether the observation is valid.
- Automatically using last observation carried forward. Missing-data handling should be justified and aligned with the estimand and analysis plan.
- Choosing methods solely from normality tests. Statistical-method selection should consider the scientific question, outcome, design, assumptions, and robustness.
- Ignoring multiplicity. Multiple confirmatory hypotheses can require explicit error-rate control.
- Overusing technical jargon. A statistician must communicate with nonstatisticians.
- Claiming that a p-value above 0.05 proves no effect. A nonsignificant result may reflect uncertainty or inadequate precision.
How Interviewers Evaluate Statistical Answers
| Skill | What the interviewer is looking for |
|---|---|
| Technical knowledge | Correct statistical concepts and formulas |
| Interpretation | Ability to explain results accurately |
| Clinical thinking | Connection between statistics and the clinical question |
| Programming | Ability to implement and validate analyses |
| Study design | Understanding of prospective statistical planning |
| Communication | Ability to explain statistics to different audiences |
| Judgment | Ability to recognize assumptions and limitations |
| Quality mindset | Attention to reproducibility, traceability, and validation |
A Practical Interview Decision Tree
Mini Example: Choosing a Statistical Method
A strong interview answer follows a reasoning process rather than jumping directly to a named statistical test.
Example: Selecting a Method for a Binary Endpoint
Suppose a randomized trial compares the proportion of patients who achieve a response.
Possible analytical approaches depend on the estimand, design, stratification, covariate structure, and prespecified statistical method.
A simple comparison could use a two-sample comparison of proportions, while a regression-based analysis could use logistic regression.
The best interview answer is not simply:
A stronger answer is:
Example: Selecting a Method for a Continuous Endpoint
Suppose the primary endpoint is a continuous measurement at Week 12 with a baseline value available for each patient.
A common approach could be an ANCOVA model:
Here, the treatment coefficient represents the adjusted treatment difference under the specified model.
Example: Selecting a Method for Time-to-Event Data
Suppose the endpoint is progression-free survival.
A strong interview response could mention:
- Kaplan-Meier estimation for describing survival distributions
- Cox regression for estimating a hazard ratio when appropriate
- Stratification factors if prespecified
- Censoring rules
- Assessment of proportional hazards
- Alternative summaries such as restricted mean survival time when appropriate
What to Say When You Do Not Know the Answer
No statistician knows every method or every implementation detail.
A much better response than guessing is:
Then explain the part you do know.
This demonstrates intellectual honesty and statistical judgment.
Questions You Should Ask the Interviewer
An interview is also an opportunity to understand the statistical environment you would be joining.
- What types of clinical programs does the statistical team support?
- How are responsibilities divided between statisticians and statistical programmers?
- What statistical software is used most frequently?
- How much interaction does the statistician have with clinicians?
- How are SAPs and TLF specifications developed?
- How does the organization approach programming QC and validation?
- What opportunities are there to work on study design?
- How involved are statisticians in regulatory submissions?
- What would success look like in the first six months?
Final-Day Interview Checklist
The Most Important Interview Strategy
The strongest biostatistics candidates do more than identify the correct statistical method.
They explain the reasoning that leads to the method.
For example, instead of saying:
say:
The second answer demonstrates much more statistical maturity.
Biostatistics Interview Master Summary
| Topic | What you should be able to explain |
|---|---|
| P-value | Evidence against a null hypothesis under the assumed model |
| Confidence interval | Uncertainty and compatible parameter values under the confidence procedure |
| Power | Probability of detecting a specified effect under the design assumptions |
| Type I error | Rejecting a true null hypothesis |
| Type II error | Failing to reject a false null hypothesis |
| Randomization | Foundation for reducing systematic treatment-group differences |
| ITT | Analysis generally based on randomized treatment assignment |
| Logistic regression | Model for binary outcomes, often interpreted through odds ratios |
| Cox regression | Time-to-event model commonly summarized with hazard ratios |
| Kaplan-Meier | Nonparametric estimator of the survival function |
| ANCOVA | Model for comparing continuous outcomes while adjusting for covariates |
| Mixed model | Model for correlated or hierarchical observations |
| Multiplicity | Control of error rates when multiple hypotheses are evaluated |
| Missing data | Requires understanding of missingness, estimand, assumptions, and sensitivity |
| CDISC | Standards supporting clinical research data organization and analysis |
| TLFs | Tables, Listings, and Figures used to communicate trial results |
Final Takeaways
References and Further Reading
Fisher, R.A. (1935).
The Design of Experiments.
Oliver and Boyd.
Cochran, W.G. (1977).
Sampling Techniques.
3rd ed. Wiley.
Hernán, M.A. and Robins, J.M. (2020).
Causal Inference: What If.
Chapman & Hall/CRC.
ICH E9.
Statistical Principles for Clinical Trials.
ICH E9(R1).
Addendum on Estimands and Sensitivity Analysis in Clinical Trials.
Altman, D.G. (1991).
Practical Statistics for Medical Research.
Chapman & Hall.
Kirkwood, B.R. and Sterne, J.A.C. (2003).
Essential Medical Statistics.
2nd ed. Blackwell Publishing.
Schoenfeld, D. (1982).
Partial residuals for the proportional hazards regression model.
Biometrika, 69(1), 239–241.