Statistics & Analysis

Regression Analysis

Reviewed byShrishti Chaudhary

Definition

Regression analysis is a family of statistical methods used to model the relationship between one or more independent (predictor) variables and a dependent (outcome) variable.[1] It estimates the strength, direction, and form of these relationships, allowing researchers to predict outcomes, test hypotheses about associations, and control for confounding variables.

Explore the concept

The outcome picks the model

Slide through four kinds of outcome to see which regression each one calls for, then read the adjusted hazard ratios of a diabetes cohort without ranking or overreading them.

Same exposure, four kinds of outcome

203040lowhighBMI, kg/m²Fasting glucose
Illustrative personWhat the model fits

Model

Linear

models the mean of the outcome

Reported as

b

average change per 1 kg/m²

A measured amount: linear regression

Glucose can take any value, so linear regression fits a straight line for its average. The slope is the average change in glucose per 1 unit of BMI.

The big idea: Regression models how an outcome relates to predictors, and the type of outcome picks the model: linear for continuous, logistic for binary, Poisson for counts, Cox for time to event. Read each coefficient in its own units with its confidence interval, and treat adjusted associations as associations unless the design supports a causal reading.

The cohort figures are the article’s example: 8,500 adults followed for 10 years, adjusted hazard ratios 1.42 (1.18 to 1.71) per 5 kg/m² of BMI, 1.28 (1.09 to 1.50) for family history and 0.82 (0.71 to 0.95) per 30 minutes of daily moderate activity, c statistic 0.74 (log axis ticks 0.7, 1, 1.4 and 2); each interval is symmetric on the log scale around its ratio. The 24 people in the first view, their glucose, diabetes status and visit counts, the axis ranges (BMI 20 to 40, 0 to 6 visits, 70% to 100% free of diabetes) and the baseline curve are illustrative. The two step curves follow proportional hazards: the BMI 30 curve is the BMI 25 curve raised to the power 1.42.

Why it matters

Regression analysis is arguably the most widely used analytical framework in quantitative research across virtually all disciplines. It enables researchers to quantify associations between exposures and outcomes while adjusting for confounders, estimate the independent contribution of each predictor, predict outcomes for new observations, and test theoretical models. In clinical research, regression models are used to identify risk factors, develop prediction rules, analyze trial data with covariate adjustment, and evaluate dose response relationships. Understanding regression analysis is essential for both producing and critically appraising quantitative research.

How it works

The type of regression model selected depends on the nature of the outcome variable. Linear regression is used when the outcome is continuous, modeling the expected value of the outcome as a linear function of the predictors. Logistic regression is used for binary outcomes (such as disease present versus absent), modeling the log odds of the outcome. Poisson regression models count outcomes (such as the number of hospital admissions). Cox proportional hazards regression models time to event outcomes (such as time to death or disease recurrence). Ordinal and multinomial logistic regression handle categorical outcomes with more than two levels.

In its simplest form, linear regression fits a line through the data that minimizes the sum of squared residuals (differences between observed and predicted values).[1] The regression coefficient for each predictor represents the average change in the outcome associated with a one unit change in that predictor, holding all other predictors constant.[1] The coefficient's sign indicates the direction of the relationship (positive or negative), and its magnitude gives the size of the association in the units of the predictor and the outcome, so coefficients for predictors measured in different units cannot be compared directly.

Model building involves selecting predictors based on theoretical relevance, prior evidence, and statistical criteria. Forward, backward, and stepwise selection procedures automate this process but can produce unstable models and should be used with caution.[1][2] Theory driven selection, guided by causal diagrams (directed acyclic graphs), is generally preferred. Model diagnostics check assumptions such as linearity, independence of errors, homoscedasticity (constant variance of residuals), and normality of residuals.[1] Violations of these assumptions may require data transformations, alternative models, or resistant estimation methods.

Multicollinearity, the condition where predictor variables are highly correlated with each other, inflates the variance of regression coefficients and makes them unstable. The variance inflation factor (VIF) is used to detect multicollinearity, with values above 5 or 10 indicating concern.

When to use it

Use regression analysis whenever the research question involves understanding the relationship between predictor variables and an outcome, predicting outcomes, or adjusting for confounders. Select the type of regression based on the outcome variable type: linear for continuous, logistic for binary, Poisson for counts, Cox for time to event. Regression is appropriate for both observational and experimental data, though the causal interpretation of coefficients requires appropriate study design and analytical assumptions.

Key takeaways

  • Regression analysis is arguably the most widely used analytical framework in quantitative research across virtually all disciplines.
  • Linear regression is used when the outcome is continuous, modeling the expected value of the outcome as a linear function of the predictors.
  • Use regression analysis whenever the research question involves understanding the relationship between predictor variables and an outcome, predicting outcomes, or adjusting for confounders.
  • A common error is including too many predictors relative to the sample size, leading to overfitting and unstable estimates.

Common mistakes

  • A common error is including too many predictors relative to the sample size, leading to overfitting and unstable estimates. For logistic and Cox regression, a common rule of thumb is at least 10 events per candidate predictor, but it is only a rule of thumb: Riley and colleagues (2020) show that the sample size needed to develop a prediction model depends on the number of candidate predictor parameters, how common the outcome is and the expected model fit.[3][4]
  • Another mistake is omitting important confounders from the model, leading to biased estimates (omitted variable bias). Conversely, including mediators (variables on the causal pathway between the exposure and outcome) as covariates can mask or distort the exposure effect.[2]
  • Researchers sometimes interpret regression coefficients as causal effects without adequate consideration of confounding and study design.
  • Finally, reporting only p values without effect estimates and confidence intervals provides incomplete information about the clinical significance of the associations.

Example

A cohort study of 8,500 adults examines risk factors for incident diabetes over 10 years. Multivariable Cox regression yields adjusted hazard ratios of 1.42 (95% CI: 1.18 to 1.71) per 5 kg/m² increase in BMI, 1.28 (95% CI: 1.09 to 1.50) for family history of diabetes, and 0.82 (95% CI: 0.71 to 0.95) per 30 minutes of daily moderate physical activity, after adjusting for age, sex, smoking, alcohol intake, and socioeconomic status. The model's discrimination, assessed by the c statistic, is 0.74.

Test your understanding

5 questions that adapt as you go: answer two in a row correctly and they get harder.

Question 1 of 5

Scenario:

The same diabetes model reports a c statistic of 0.74.

Question:

What does this c statistic assess?

Hardness: Interpret

Sources

  1. [1]Field A. Discovering Statistics Using IBM SPSS Statistics. 6th ed. SAGE Publications, 2024. ISBN 9781529630008
  2. [2]Lash TL, VanderWeele TJ, Haneuse S, Rothman KJ. Modern Epidemiology. 4th ed. Wolters Kluwer, 2021. ISBN 9781451193282
  3. [3]Peduzzi P, Concato J, Kemper E, Holford TR, Feinstein AR. A simulation study of the number of events per variable in logistic regression analysis. Journal of Clinical Epidemiology. 1996;49(12):1373-1379. doi:10.1016/S0895-4356(96)00236-3
  4. [4]Riley RD, Ensor J, Snell KIE, et al. Calculating the sample size required for developing a clinical prediction model. BMJ. 2020;368:m441. doi:10.1136/bmj.m441

Cite this term

FullPaperguide. (2026, October 16). Regression Analysis. In Paperguide Research Glossary. https://paperguide.ai/research-glossary/regression-analysis/
In-text(Paperguide, 2026)

Related terms