Skip to content
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

I have dummy variables in my independent variables, which will cause "numpy.linalg.linalg.LinAlgError: Matrix is singular." #105

Open
yahaha115 opened this issue Nov 8, 2021 · 1 comment

Comments

@yahaha115
Copy link

How should i solve this problem
image

@Ziqi-Li
Copy link
Member

Ziqi-Li commented Nov 8, 2021

Hi there:
It is possible that locally your dummy variable has all the 0s or 1s, therefore the matrix is singular.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants