Category: Statistics


Deriving Regression coefficient from Residual Sum of Squares

When Linear Regression equation, \(y=\hat{\alpha} + \hat{\beta} x\), is found from the data, the formula for their coefficients, \(\hat{\alpha}\) and \(\hat{\beta}\), are the followings. $$ \hat{\beta} = r_{xy}\frac{s_{y}}{s_{x}} $$ $$ \hat{\alpha} = \bar{y} –...


Multiple Regression Analysis by Python statsmodels

Overview In this article, there is a explanation of Multiple Regression Analysis by using statsmodels in python. We focus not analyzing but understanding how to use this library. Environments Python 3.8.6 statsmodels 0.13.2 Preparetion...