inklap

Best Practices for Developing Linear Models With Multiple Explanatory Variables

Baidu Li, Xinhai Li · Advanced Genetics · 2026

ABSTRACT Linear models, including t‐test, ANOVA, regression, ANCOVA, and generalized linear models, are foundational tools in statistical analysis. For large datasets, such as those involving tens of thousands of genes and millions of records, numerous advanced methods have been developed to improve both computational efficiency and reliability. Here, we focus on a more general scenario: a linear model with many explanatory variables (e.g., >10) and a moderate sample size (e.g., thousands of observations). This paper provides the best practices for model selection, emphasizing the importance of including two‐way interaction and quadratic terms, which are frequently overlooked in textbooks and classic literature. When dealing with high‐dimensional data, we recommend using random forest for initial variable screening, followed by subset selection methods such as stepwise regression. Model selection can be guided by criteria like AIC, BIC, adjusted R 2 , and Mallows’ Cp, or by cross‐validation. Shrinkage methods such as the lasso and ridge regression improve model fitting by penalizing coefficient size.

📖 افتح في inklap 🔗 DOI 📮 اطلب بحثاً