predict value with interactions in statsmodel

后端 未结 0 767
灰色年华
灰色年华 2021-01-17 13:47

I have code like this

m2=smf.ols(formula=\'demand~year+C(months)+year*C(months)\',data=df).fit()
m2.summary()

A dataframe with three columns,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题