Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Calculate Regression with same data but got different intercept

Hi,

I tried to calculate the regression between US Equities and SPY by statsmodels.regression and factor method linear_regression but got different intercept and slope.

Is there any difference between the two regression methods?