Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upmargins() fails when design matrix is rank deficient #71
Comments
leeper
added
bug
enhancement
labels
Aug 9, 2017
leeper
changed the title
margins fail when design matrix is rank deficient
margins() fails when design matrix is rank deficient
Aug 9, 2017
This comment has been minimized.
This comment has been minimized.
hbahamonde
commented
Nov 16, 2017
•
I get this error also when estimating a model with interactions and lags, using the Error: |
leeper
referenced this issue
Jan 25, 2018
Closed
margins() fails when one or more coefficients are not estimated #82
leeper
added this to the v0.4.0 milestone
Jan 25, 2018
This comment has been minimized.
This comment has been minimized.
Closing this for now as I think the issue is fixed for lm/glm. {plm} remains an ongoing source of frustration, which I'll need to resolve separately. |
leeper
closed this
Jan 25, 2018
This comment has been minimized.
This comment has been minimized.
sanseveroj
commented
May 12, 2019
Hi I was just wondering if the plm package issues got resolved as I am experiencing this issue. |
This comment has been minimized.
This comment has been minimized.
No, unfortunately not |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
leeper commentedAug 9, 2017
Reproducible example:
This can occur when some factor levels are colinear. Presumably the solution is either to fail with a more informative error, or to recognize what terms are being dropped from the model and not attempt to estimate the marginal effects thereof.