You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some of my regression tables, the F statistic is printed as [[value]], e.g.:
In other very similar tables, it's shown without them, e.g.:
The only difference between these sets of models is the set of regressors. I've removed stars and F-statistic degrees of freedom from both; see the notebook for the full code. I couldn't figure out a more minimal example to reproduce the issue.
Never mind, I was able to reproduce. Apparently, a RegressionResults.fvalue is a scalar by default but becomes a 2D numpy.array with (some?) robust standard errors.
Activity
toobaz commentedon Jun 4, 2020
Not sure what's causing this, and it's difficult to reproduce without the data. Did c492e65 change anything? Does this happen also with
render_latex?toobaz commentedon Jun 4, 2020
Never mind, I was able to reproduce. Apparently, a
RegressionResults.fvalueis a scalar by default but becomes a 2Dnumpy.arraywith (some?) robust standard errors.toobaz commentedon Jun 4, 2020
See statsmodels/statsmodels#6778
Workaround for statsmodels bug #6778
Merge pull request #45 from toobaz/workaround_fvalue_bug