Kevin Sheppard

Results 499 comments of Kevin Sheppard

I found a workaround that re-enables coverage. After installing a meson build, it is possible to go back and generate the `.c` files in-tree for the `.pyx` files that should...

You can pass output options in `minimize_kwargs`. These are minimizer dependent unfortunately, but something like `minimize_kwargs={"iprint":-1}` should do the trick to remove output when using L-BFGS (the default). https://docs.scipy.org/doc/scipy/reference/optimize.minimize-lbfgsb.html

Please do, and submit a PR when ready. Please make the changes, and add a test.

Really should add a check that `x` has a constant, which is required for White's test (even if the original model doesn't).

statsmodels/stats/diagnostic.py:827:1: E302 expected 2 blank lines, found 1 Lint failure

I think that is right. I put the golden ratio in based on feedback from the PCG author. Forgot to backport it. Should update randomgen to match.

Good start, can you add a test that will check?

Which version of pandas is this, and can you provide a complete example that leads to the failure? I suspect that this is due to extension dtypes in pandas.