|
from statsmodels.regression.linear_model import OLS
>>> OLS.movingOLS()
Traceback (most recent call last):
File "<pyshell#7>", line 1, in <module>
OLS.movingOLS()
AttributeError: type object 'OLS' has no attribute 'movingOLS'
也就是说 from statsmodels.regression.linear_model import OLS也没有movingOLS()这个函数
请问在新版本中有替换这个函数的方法吗? |
|