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
a followup to constrained estimation:
If constraints are imposed without changing the parameter space, then the cov_params has reduced rank.
If we use pinv that drops singular vectors, or we use PCR with reduced number of components, then we get cov_params with reduced rank.
any consequences of this?
e.g. compare_lr_test and compare_f_test uses the difference in df_resid which should still be correctly set.
Bigger conceptual question:
What's the meaning of the wald test in the constrained model?
We are imposing the constraint, so cov_params includes the constraints. The only thing that we can meaningfully test is in the direction where we don't have the constraints, for example on unconstrained parameters.
To test the constraints that are already imposed we cannot use the cov_params and wald_test, but we can use the score/lagrange multiplier test. (issues #2041)
I'm not sure this is clear when we have a full model in hand that already has imposed some constraints, params, cov_params and so on are for the full parameter space but the values are in a subspace.
related: diagnostic tests like linear_lm don't check whether adding the transformed exog are not collinear with existing exog (which will happen for example with dummy variables.). Because we use pinv, this doesn't cause a problem with chisquare test, but the degrees of freedom might or will be wrong.
question related to this issue: The f-test (Wald) version tests the added parameters. Does this still work if some of those parameters are based on perfectly collinear variables, besides the df question.
Activity
josef-pkt commentedon Jun 4, 2017
related: diagnostic tests like linear_lm don't check whether adding the transformed exog are not collinear with existing exog (which will happen for example with dummy variables.). Because we use pinv, this doesn't cause a problem with chisquare test, but the degrees of freedom might or will be wrong.
question related to this issue: The f-test (Wald) version tests the added parameters. Does this still work if some of those parameters are based on perfectly collinear variables, besides the df question.