How to compare two nested models when they have very small R_squared diffrence.

11 vues (au cours des 30 derniers jours)
Muhammad Sajjad
Muhammad Sajjad le 5 Déc 2022
Réponse apportée : Rohit le 20 Mar 2023
I have two models, ie v1 = a1 + a2*f + a3*f2 and v2 = k( a1 + a2*f a3*f^2)

Réponses (1)

Rohit
Rohit le 20 Mar 2023
When comparing two nested models with very small differences in R-squared, it is important to consider other metrics and factors to determine which model is better.
Here are some suggestions:
  1. Consider the complexity of the models. A smaller model that explains the data just as well as a larger model is generally preferred, as it is simpler and easier to interpret.
  2. Look at other goodness-of-fit metrics, such as the adjusted R-squared', 'AIC (Akaike Information Criterion), or BIC (Bayesian Information Criterion)'. These metrics penalize more complex models, so a smaller model may perform better. The 'F-test' can also be used to test whether the larger model (v2) is significantly better than the smaller model (v1).
  3. Conduct cross-validation or use a hold-out dataset to test the performance of the models on new data. The model with better out-of-sample performance is generally preferred.

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by