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

Sparse solver for OLS #7806

Open
chunkaowang opened this issue Oct 17, 2021 · 2 comments
Open

Sparse solver for OLS #7806

chunkaowang opened this issue Oct 17, 2021 · 2 comments

Comments

@chunkaowang
Copy link

In OLS estimation, when the number of discrete factors in the model is large, the estimation is too slow.
It is better to add sparse solver to speedup the calculation because LSH of the model is sparse for this case.

@josef-pkt
Copy link
Member

#2711 pull request with draft code
#2710 more general question for all/many models
relate absorbing fixed effects.

I didn't see an issue specifically for linear regression model, OLS, WLS

linearmodelspackage supports absorbing fixed effects for panel data

@lorentzenchr
Copy link
Contributor

OLS for sparse X should be relatively easy with the help of scipy.sparse.linalg.lsqr or scipy.sparse.linalg.lsmr.

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

No branches or pull requests

3 participants