Find in Library
Search millions of books, articles, and more
Indexed Open Access Databases
From Scratch: A Didactic Example of Multivariate Regression in Python
oleh: Ashiabi, Godwin S.
Format: | Article |
---|---|
Diterbitkan: | Université d'Ottawa 2024-03-01 |
Deskripsi
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.