Back to Search
Start Over
From Scratch: A Didactic Example of Multivariate Regression in Python
- Source :
- Tutorials in Quantitative Methods for Psychology, Vol 20, Iss 2, Pp 186-204 (2024)
- Publication Year :
- 2024
- Publisher :
- Université d'Ottawa, 2024.
-
Abstract
- Although Python has the statsmodels library that can be used to perform different statistical analyses, including multiple regression, it has not yet implemented multivariate regression as one of its methods. An investigator interested in conducting a multivariate regression is thus limited to running a series of univariate regression models, which do not take into account the collinearity among variables in the models. Thus, the purpose of this tutorial is to demonstrate how to perform multivariate regression in Python using custom user-defined classes, and linear hypothesis testing using statsmodels.
Details
- Language :
- English, French
- ISSN :
- 19134126
- Volume :
- 20
- Issue :
- 2
- Database :
- Directory of Open Access Journals
- Journal :
- Tutorials in Quantitative Methods for Psychology
- Publication Type :
- Academic Journal
- Accession number :
- edsdoj.18f1bc07b37241b7b04599107efeeadd
- Document Type :
- article
- Full Text :
- https://doi.org/10.20982/tqmp.20.2.p186