Manuel B. Garcia

Manuel B. Garcia serves as the Senior Director for Educational Technology and Digital Learning at FEU Institute of Technology, Manila, Philippines. Read More

Contact Info

1607, FEU Tech Building,
P. Paredes St, Sampaloc,
Manila, Philippines
mbgarcia@feutech.edu.ph

Follow Me

How Large Should a Sample Be for a Regression Model?

There is no universal sample size for regression analysis. Learn how model purpose, predictor complexity, outcome distribution, statistical power, and estimation precision determine the number of observations required for a defensible regression model.

692
Sample Size Requirements for Regression Models Guide 692 of 1272
01 · The Question

How Many Participants Are Enough for Regression Analysis?

You plan to use regression analysis to investigate whether students' motivation, prior achievement, and study habits are associated with academic performance. Alternatively, you may want to predict which students are at risk of dropping out or estimate the relationship between an intervention and an outcome after adjusting for relevant covariates.

How many participants should you recruit? Some researchers recommend a fixed number per predictor. Others cite formulas based on the total number of predictors or the number of outcome events.

These recommendations can produce substantially different sample sizes, partly because regression models serve different purposes. A model designed to estimate one prespecified association is not necessarily subject to the same planning requirements as a model intended to develop a reliable prediction algorithm.

The appropriate sample size depends on what the regression model must accomplish and how much information the available observations provide.

02 · The Short Answer

There Is No Universal Minimum Sample Size for Regression

In Brief

Regression sample size should be determined from the model's primary objective, outcome type, number of parameters, expected effect sizes, desired precision or power, and the risk of overfitting. Fixed rules such as ten or twenty observations per predictor may be useful as rough warnings about limited information, but they are not sufficient as general sample-size justifications.

For explanatory regression, planning may focus on a primary coefficient or hypothesis. For prediction model development, the required sample depends on model complexity, anticipated predictive performance, and, for binary outcomes, the numbers of events and nonevents.

03 · What You Need to Know

What Determines the Sample Size Needed for Regression?

First, What Is the Regression Model Intended to Do?

Regression is a family of statistical methods for representing relationships between an outcome and one or more explanatory variables or predictors.

Researchers use regression for different inferential purposes. An explanatory study may seek to estimate an association, assess a theoretical relationship, or evaluate an intervention effect after adjustment. A prediction study may instead aim to estimate outcomes accurately for new individuals.

These objectives overlap statistically but are not interchangeable.

For example, a coefficient may be estimated precisely enough to investigate an association while the overall model remains unsuitable for predicting individual outcomes. Conversely, a model may predict reasonably well without identifying causal relationships.

Sample-size planning should therefore begin by defining the primary estimand or predictive objective.

Does the Type of Regression Matter?

Yes. Different regression models use different outcome distributions, likelihood functions, variance assumptions, and measures of information.

Regression model Typical outcome Important planning considerations
Multiple linear regression Continuous numerical outcome Residual variability, predictor relationships, coefficient precision, model complexity.
Logistic regression Binary outcome Events, nonevents, predictor complexity, separation, coefficient precision.
Poisson or negative binomial regression Counts or event rates Event frequency, exposure, dispersion, predictor distribution.
Cox proportional hazards regression Time-to-event outcome Observed events, censoring, follow-up, predictor complexity.
Multilevel regression Outcomes nested within clusters Number of clusters, cluster sizes, intracluster dependence, random-effects structure.

A sample of 200 observations may provide adequate information for a simple continuous-outcome model but be insufficient for a binary-outcome model with very few events or a multilevel model involving only a handful of clusters.

Why Does the Number of Predictors Affect Sample Size?

Each estimated regression parameter uses information from the data. Adding predictors generally increases model complexity and can increase the risk that the model fits random variation rather than stable relationships.

However, the number of named variables is not always the number of estimated parameters.

A categorical predictor with four levels commonly requires three indicator coefficients when one level serves as the reference. A nonlinear effect represented by several spline terms may require multiple coefficients. Interaction terms introduce additional parameters.

Consequently, a model with five named predictors may involve considerably more than five regression coefficients.

For planning, researchers should consider the number of candidate predictor parameters, including nonlinear terms and interactions, rather than simply count questionnaire variables.

What Is the Difference Between Sample Size and Information?

Total sample size is an important measure of available data, but it does not fully describe the information relevant to every regression parameter.

In linear regression, coefficient precision depends on residual variance and the variation in predictors after accounting for their relationships with other predictors.

In logistic regression, the distribution of outcome events and nonevents matters. Rare outcomes may provide limited information even when the dataset contains thousands of observations.

In clustered data, multiple observations from the same group may contribute less independent information than the same number of observations sampled independently.

Thus, a larger dataset is not automatically sufficient for a more complex model.

How Does Multicollinearity Affect Sample-Size Requirements?

Multicollinearity occurs when predictors are strongly linearly related to one another.

When a predictor can be largely explained by other predictors, it becomes harder to estimate its unique association with the outcome precisely.

For ordinary least squares regression, the variance of a coefficient depends partly on the variation in that predictor remaining after adjustment for the others.

A simplified expression is:

Coefficient Variance in Multiple Linear Regression
Var(β̂j | X) = σ2 / [SSTj(1 − R2 j)]

Var(β̂j | X) = conditional variance of the estimated coefficient for predictor j; σ2 = error variance; SSTj = sum of squared deviations of predictor j from its sample mean; R2 j = coefficient of determination when predictor j is regressed on the other predictors, including an intercept.

If R2 j = 0.75, then 1/(1 − R2 j) = 4.

Holding the other components constant, the coefficient variance is four times what it would be if R2 j were zero.

This is the variance inflation factor relationship. It illustrates why predictor redundancy can reduce coefficient precision even when the total sample size is unchanged.

The expression assumes the conventional homoscedastic linear model with a full-rank design matrix. It is not a universal sample-size formula.

Collecting more observations may improve precision, but it does not necessarily resolve severe structural redundancy among predictors.

How Should Sample Size Be Planned for Explanatory Linear Regression?

For explanatory regression, researchers should identify the primary hypothesis or coefficient before calculating sample size.

If the objective is to test whether a particular predictor contributes to explaining an outcome after adjustment, a power calculation for the corresponding coefficient or incremental explained variance may be appropriate.

If the objective is to estimate that coefficient accurately, a precision-based calculation may better match the research question.

For a block of predictors, the relevant effect may be the increase in explained variance attributable to the block after accounting for other predictors.

A common standardized effect for an F test is:

Cohen's f-Squared for a Predictor Block
f2 = (R2 full − R2 reduced) / (1 − R2 full)

f2 = incremental standardized effect; R2 full = population explained-variance proportion for the full model; R2 reduced = corresponding value for the reduced model without the tested predictor block.

Suppose the full model has R2 = 0.30 and the reduced model has R2 = 0.25.

f2 = (0.30 − 0.25)/(1 − 0.30) ≈ 0.0714.

This represents the incremental effect associated with the tested block under the specified model. It is not the same as the overall effect R2/(1 − R2).

Power calculations must also specify the number of tested parameters, the number of parameters in the full model, the significance level, and the desired power.

Researchers should not substitute an arbitrary conventional effect size without considering the theoretical or practical magnitude of the relationship being tested.

Why Is Precision Sometimes More Important Than Power?

Some regression studies aim to quantify a relationship rather than merely reject the hypothesis that a coefficient equals zero.

For example, a researcher may want to estimate how much examination performance changes, on average, with an additional hour of study after adjustment for prior achievement.

A statistically significant coefficient may still have a confidence interval spanning effects with substantially different practical implications.

Kelley and Maxwell (2003) discuss sample-size planning for multiple regression with an emphasis on obtaining accurate coefficient estimates rather than focusing exclusively on statistical significance.

The choice between precision-based and power-based planning should therefore reflect the intended inferential objective.

How Does Sample Size Differ for Logistic Regression?

Logistic regression models the relationship between predictors and the probability of a binary outcome, commonly through the logit link.

Its sample-size requirements depend not only on the total number of observations but also on the number and distribution of events and nonevents.

For example, a dataset of 1,000 students with only 20 dropout events may provide limited information for a complex dropout model despite its substantial total size.

Low event counts can contribute to unstable coefficient estimates, wide confidence intervals, and complete or quasi-complete separation.

However, there is no universal event count that guarantees reliable logistic regression. Predictor distributions, effect magnitudes, model complexity, and estimation methods all matter.

The number of events needed for logistic regression should be evaluated according to the model's purpose and intended analysis.

What Is the Events-per-Variable Rule?

Events per variable, commonly abbreviated EPV, is a ratio used in discussions of regression models with binary or time-to-event outcomes.

In a simplified form, EPV divides the number of outcome events by the number of predictor parameters being considered.

A historically influential recommendation suggested approximately ten events per predictor variable in certain logistic and survival regression settings.

However, subsequent methodological research has shown that a fixed EPV threshold does not adequately capture the complexity of regression sample-size requirements.

Vittinghoff and McCulloch (2007) examined the circumstances under which fewer than ten events per variable may be acceptable. Van Smeden and colleagues (2019) further demonstrated limitations of simple EPV-based approaches.

The question of whether ten events per variable is sufficient should therefore be treated as a methodological question rather than a universal rule.

Why Is Prediction Model Development Different?

A prediction model is intended to generate predictions for new observations. Its performance must therefore be assessed beyond how well it fits the development dataset.

Model development may involve predictor selection, nonlinear transformations, interactions, shrinkage, and tuning decisions that increase effective complexity.

With insufficient data, a model may overfit random variation and show overly optimistic apparent performance.

Riley and colleagues (2019) propose sample-size criteria for developing prediction models that consider expected model performance, shrinkage, and precision of important quantities rather than relying solely on a fixed number of observations per predictor.

The sample size required for prediction model development should therefore be evaluated separately from that required to test a single explanatory coefficient.

How Does Overfitting Affect Regression Models?

Overfitting occurs when a model captures random patterns specific to the development data rather than relationships that generalize well to new observations.

It can arise when model complexity is excessive relative to the available information.

Overfitting may lead to unstable coefficients, exaggerated apparent associations, and optimistic predictive performance.

Penalization, shrinkage, and careful internal validation can reduce some consequences, but they do not eliminate the need for adequate data.

Researchers should also avoid selecting predictors solely because they achieve statistical significance in a small dataset. Data-driven selection can increase instability and invalidate naive confidence intervals.

Can You Calculate Sample Size From the Number of Predictors Alone?

Not reliably. The number of predictors is one component of model complexity, but it does not determine the effect sizes, outcome variability, event frequency, or relationships among predictors.

Two models with the same number of coefficients can have very different information requirements.

For example, a linear regression with five weakly correlated predictors and a continuous outcome may be more stable than a logistic regression with five highly correlated predictors and a rare outcome.

Rules such as N = 50 + 8m or ten observations per predictor have appeared in methodological discussions, but they should not be treated as universally valid sample-size formulas.

Green (1991) examined commonly used rules for multiple regression and emphasized the role of effect size and statistical power.

What If the Regression Model Includes Interactions or Nonlinear Terms?

Interactions and nonlinear terms increase model complexity and may require additional information.

For example, a continuous predictor modeled using a restricted cubic spline with several degrees of freedom uses more parameters than a single linear term.

An interaction between two categorical predictors may require multiple interaction coefficients.

These terms should be included in the candidate parameter count when planning the model.

Researchers should avoid assuming that the number of named variables equals the number of estimated parameters.

How Do Missing Data Affect Regression Sample Size?

Missing outcome or predictor values can reduce the effective information available for analysis.

Complete-case analysis may exclude participants with incomplete records, potentially reducing precision and introducing bias when missingness is systematic.

Multiple imputation or other appropriate methods may retain information under specified assumptions, but they do not create information equivalent to fully observed data.

Recruitment targets should account for anticipated missingness, while the analysis plan should address the assumptions and potential bias associated with missing data.

Should You Use Simulation for Regression Sample-Size Planning?

Simulation can be useful when analytical power or precision formulas do not adequately represent the planned regression model.

Researchers can specify plausible data-generating models, simulate datasets at candidate sample sizes, fit the intended regression model, and evaluate performance across repeated simulations.

Relevant performance measures may include coefficient bias, confidence-interval coverage, estimation precision, convergence, power, or predictive performance.

However, simulation is only as credible as its assumed data-generating processes. It does not remove the need to justify predictor distributions, effect sizes, outcome variability, and other inputs.

Where these parameters are uncertain, a sample-size sensitivity analysis should examine plausible alternatives.

04 · A Practical Example

Planning a Multiple Regression Study of Academic Achievement

Hypothetical Example

Estimating the Association Between Study Habits and Examination Scores

A researcher plans a multiple linear regression model predicting examination scores from study time, prior achievement, academic motivation, and learning self-efficacy.

The primary research question concerns the unique association between study time and examination performance after adjustment for the other variables.

The researcher anticipates that the full model may explain approximately 30% of outcome variance, while the model without study time may explain approximately 25%.

Step 1: Identify the primary hypothesis

The target is the incremental contribution of study time after adjustment for the other predictors, not merely the overall statistical significance of the regression model.

Step 2: Specify the predictor parameters

The initial model includes four one-degree-of-freedom predictors and an intercept, assuming all predictors are modeled linearly without interactions.

Step 3: Calculate the incremental effect

Using R2 full = 0.30 and R2 reduced = 0.25 gives f2 ≈ 0.0714.

Step 4: Specify the power calculation

The researcher plans a one-degree-of-freedom incremental F test with four total predictor parameters, two-sided-equivalent significance level α = 0.05, and desired power of 80%. The required sample is then obtained using the corresponding noncentral F calculation rather than an observations-per-predictor rule.

Step 5: Examine alternative assumptions

The researcher evaluates smaller incremental effects and considers whether coefficient precision, predictor correlations, or missing data require a larger sample than the primary power calculation suggests.

The example deliberately distinguishes the effect-size calculation from the final sample-size determination. The latter requires an appropriately implemented noncentral F calculation or validated software using the stated degrees of freedom and effect assumptions.

If the objective were instead to predict individual examination scores in new students, the planning criteria would need to address prediction performance and overfitting rather than relying solely on the incremental hypothesis test.

05 · What Researchers Often Get Wrong

Common Misconceptions About Regression Sample Size

Misconception

Ten Participants per Predictor Is Always Enough

Fixed observations-per-predictor ratios do not account adequately for effect sizes, outcome variability, predictor correlations, or the intended inferential objective.

Misconception

Every Named Predictor Uses Exactly One Regression Parameter

Categorical variables, nonlinear terms, and interactions may require multiple coefficients. Planning should reflect the actual model parameterization.

Misconception

A Large Dataset Cannot Produce an Overfitted Regression Model

Overfitting depends on model complexity relative to available information. Rare outcomes, complex predictors, and extensive data-driven modeling can produce overfitting even in datasets with many rows.

Misconception

A Significant Overall Regression F Test Means Every Predictor Is Estimated Reliably

Overall model significance does not establish precision or stability for individual coefficients. Strong predictor correlations and small unique effects can leave particular coefficients uncertain.

Misconception

Logistic Regression Requires Only the Same Sample as Linear Regression

Binary outcomes introduce event-frequency and separation considerations. Total observations alone do not determine the information available for logistic coefficient estimation.

Misconception

Penalization Eliminates the Need for Sample-Size Planning

Penalization can reduce overfitting, but model performance and stability still depend on the available information and the complexity of the prediction task.

06 · What This Means for You

Plan Regression Sample Size Around the Model's Intended Use

Begin by distinguishing explanation, estimation, hypothesis testing, and prediction. Then identify the outcome type, the actual number of candidate parameters, and the information required for the primary objective.

Do not select a sample size solely by multiplying the number of named predictors by a conventional constant.

A simple decision framework

If testing one prespecified linear regression coefficient
Consider a coefficient-specific or incremental F-test power calculation with justified effect assumptions.
If estimating regression coefficients precisely
Use a precision-based calculation that considers residual variability and predictor relationships.
If modeling a binary outcome
Consider event and nonevent counts, parameter complexity, and the risk of separation or unstable estimation.
If developing a prediction model
Use prediction-model sample-size criteria addressing overfitting, shrinkage, and anticipated performance.
If the model includes nonlinear terms, interactions, or clustering
Reflect those features in the parameter count, variance structure, and planning method.

The final protocol should report the regression family, outcome, primary estimand or prediction target, candidate parameters, relevant effect or performance assumptions, and sample-size calculation method.

When assumptions are uncertain, examine plausible alternatives and explain how they influence the final recruitment target.

07 · A Quick Checklist

Before Finalizing a Regression Sample Size

Before accepting your regression sample-size justification, check:
Define whether the primary objective is explanatory inference, coefficient estimation, hypothesis testing, or prediction.
Select the regression family appropriate to the outcome distribution and estimand.
Count candidate predictor parameters, including categorical contrasts, nonlinear terms, and interactions.
Identify the relevant effect size, variance, event frequency, or predictive-performance assumptions.
Evaluate predictor correlations and other features affecting coefficient precision.
Avoid relying exclusively on fixed observations-per-predictor or events-per-variable rules.
Account for clustering, missing data, and other relevant design features.
Use an analytical or simulation-based calculation appropriate to the planned model.
Evaluate sensitivity to uncertain effect, variance, or outcome-frequency assumptions.
Document the model specification, assumptions, calculation method, and final recruitment rationale.
08 · Frequently Asked Questions

Frequently Asked Questions About Regression Sample Size

What is the minimum sample size for multiple regression?

There is no universal minimum. Requirements depend on the model's purpose, number of parameters, effect sizes, outcome variability, predictor relationships, and desired power or precision.

Is ten participants per predictor sufficient?

Not necessarily. The ratio does not account for important features such as effect magnitude, multicollinearity, outcome events, or model complexity. It should not serve as the sole justification.

Can I use G*Power for multiple linear regression?

Yes. G*Power supports several linear-regression power analyses, including overall and incremental explained-variance tests. The selected procedure must match the primary hypothesis and model parameterization.

Does adding more predictors always require more participants?

Additional parameters generally increase complexity, but the exact requirement depends on the outcome, predictor relationships, effect assumptions, and objective. The relationship is not captured by a universal multiplier.

Is regression sample size different for prediction models?

Yes. Prediction model development requires attention to overfitting, shrinkage, predictive performance, and available outcome information rather than only power for individual coefficients.

Do categorical predictors count as one variable?

A categorical predictor may require multiple regression coefficients. For example, a four-level nominal predictor commonly uses three indicator parameters when one category is the reference.

Can a regression model be statistically significant but unreliable?

Yes. Overall significance does not guarantee precise coefficients, stable model selection, valid assumptions, or good predictive performance on new data.

Should I use power or precision for regression sample-size planning?

Use power when a prespecified hypothesis test is central. Use precision when estimating coefficients accurately is the main objective. Prediction model development may require separate performance-based criteria.

09 · The Bottom Line

Regression Sample Size Depends on the Information the Model Needs

The Bottom Line

There is no universally sufficient sample size for regression. A defensible calculation must reflect the model's objective, outcome distribution, parameter complexity, effect or precision targets, and available statistical information.

Rules of thumb may flag potentially inadequate designs, but they cannot replace a calculation aligned with the planned analysis. The number of observations matters, yet the distribution of outcomes and predictors determines how informative those observations are.

10 · Sources and Further Reading

Research Literature on Regression Sample-Size Requirements

11 · Cite this Guide

How to Cite This Guide

This guide is intended to be read, shared, and used in research, teaching, and academic work. If you draw on its ideas, explanations, or other content, please acknowledge the source by citing the guide. Doing so gives appropriate credit and helps your readers locate the original resource.

Has the Field Guide helped your research?

If a guide helped clarify a question, inform a research decision, or move your work forward, I would love to hear about your experience. Your story may also help other researchers discover the Field Guide.

Share Your Experience
Takes only a few minutes