使用 statsmodels 进行双向方差分析中的值错误和运行时警告错误

问题描述 投票:0回答:0

我想使用 statsmodels 执行双向方差分析,但我不断收到错误:

value error (array must not contain infs or NaNs)
RuntimeWarning: divide by zero encountered in double_scalars

数据如下:

The data

这是第一个错误:

this is the first error

这是预期的结果:

enter image description here

python statsmodels
© www.soinside.com 2019 - 2024. All rights reserved.