What is a Nested Model? (Definition & Example)

What is a Nested Model? (Definition & Example)

A nested model is a statistical or mathematical model that contains one or more submodels within it. It is used to analyze complex relationships between different variables by breaking them down into smaller, more manageable components. The submodels within a nested model can interact with each other, allowing for a more comprehensive understanding of the overall system being studied. An example of a nested model is a multiple regression analysis, where the main model includes several nested submodels that represent different factors or variables affecting the outcome being studied. This approach allows for a more detailed examination of each factor’s individual impact, as well as their combined effect on the outcome. Nested models are commonly used in various fields such as economics, psychology, and ecology to better understand complex systems and make more accurate predictions.

What is a Nested Model? (Definition & Example)


A nested model is simply a that contains a subset of the predictor variables in another regression model.

For example, suppose we have the following regression model (let’s call it Model A) that predicts the number of points scored by a basketball player based on four predictor variables:

Points = β0 + β1(minutes) + β2(height) + β3(position) + β4(shots) + ε

One example of a nested model (let’s call it Model B) would be the following model with only two of the predictor variables from model A:

Points = β0 + β1(minutes) + β2(height) + ε

We would say that Model B is nested in Model A because Model B contains a subset of the predictor variables from Model A.

However, consider if we had another model (let’s call it Model C) that contains three predictor variables:

Points = β0 + β1(minutes) + β2(height) + β3(free throws attempted)

We would not say that Model C is nested in Model A because each model contains predictor variables that the other model does not.

The Importance of Nested Models

We often use nested models in practice when we want to know if a model with a full set of predictor variables can fit a dataset better than a model with a subset of those predictor variables.

For example, in the scenario above we might fit a full model using minutes played, height, position, and shots attempted to predict the number of points scored by basketball players.

However, we might suspect that position and shots attempted don’t do a very good job of predicting points scored.

Thus, we might fit a nested model that only uses minutes played and height to predict points scored.

We can then compare the two models to determine if there is a statistically significant difference.

If there is no significant difference between the models, we can drop position and shots attempted as predictor variables since they don’t significantly improve the model.

How to Analyze Nested Models

H0: The full model and the nested model fit the data equally well. Thus, you should use the nested model.

HA: The full model fits the data significantly better than the nested model. Thus, you should use the full model.

A likelihood ratio test produces a Chi-Square test statistic and a corresponding p-value.

If the of the test is below a certain significance level (e.g. 0.05), then we can reject the null hypothesis and conclude that the full model offers a significantly better fit.

The following tutorials explain how to perform a likelihood ratio test using R and Python:

Cite this article

stats writer (2024). What is a Nested Model? (Definition & Example). PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/what-is-a-nested-model-definition-example/

stats writer. "What is a Nested Model? (Definition & Example)." PSYCHOLOGICAL SCALES, 1 Jul. 2024, https://scales.arabpsychology.com/stats/what-is-a-nested-model-definition-example/.

stats writer. "What is a Nested Model? (Definition & Example)." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/what-is-a-nested-model-definition-example/.

stats writer (2024) 'What is a Nested Model? (Definition & Example)', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/what-is-a-nested-model-definition-example/.

[1] stats writer, "What is a Nested Model? (Definition & Example)," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, July, 2024.

stats writer. What is a Nested Model? (Definition & Example). PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)
Slide Up
x
PDF
Scroll to Top