-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: df in wald_test_terms for single column items #5475
Comments
Needs investigating to see whether this is the case in general or whether there is something specific to my model. (There should not be anything specific to GAM and my GAM example for this.) |
confirmed bug in results table for wald_test_terms I'm using
unit tests in base test_generic_methods
|
names for df it looks like
wald_test_terms does not have a
|
quickfix for cleaner version: |
I was using this uncommitted change in the GAM PR #5370 (I will not include it there. PR not recently rebased)
|
simple example with problem using GLM with data from gam tests wrong in model created with pandas data
model created with formulas shows correct df
|
In the formula path of wald_test_terms all constraint matrices are 2-dim, from
|
I'm not sure what's going on with the df in wald_test_terms results
I'm working with a GAM example in a notebook, and the df in the results is equal to the number of coefficients and not 1 as it should be for a single constraint.
The constraint matrix (returned in
temp
) are 1-D for single column constraints and not 2-D as for joint hypothesis. So there might be a incorrect df = constraint.shape[0] or missing atleast_2d.Why doesn't this show up in the unit tests?
The text was updated successfully, but these errors were encountered: