¡@

Home 

python Programming Glossary: x_varnm

Python Multiple Linear Regression using OLS code with specific data?

http://stackoverflow.com/questions/7458391/python-multiple-linear-regression-using-ols-code-with-specific-data

variables note that a constant is added by default x_varnm string or list of variable labels for the independent variables.. by passing data to the class m ols y x y_varnm 'y' x_varnm 'x1' 'x2' 'x3' 'x4' Step 2 Get specific metrics To print the.. 24013 24003 21593 22319 def __init__ self y x1 y_varnm 'y' x_varnm '' Initializing the ols class. self.y y #self.x1 c_ ones x1.shape..