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

Unit Specific Variances Possible Speed-Up #109

Open
EdJeeOnGitHub opened this Issue Feb 6, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@EdJeeOnGitHub
Copy link

EdJeeOnGitHub commented Feb 6, 2019

Do unit specific variances in build_margins.R strictly need to be calculated row-by-row?

I've been calculating SEs in blocks of 10,000 manually since the default implementation was taking too long - my case might be unique as I already know the gradient function for every row but if it isn't I'm happy to try and speed this section up.

Apologies if I'm missing something and this is the only way to deal with calculating the SEs.

@leeper

This comment has been minimized.

Copy link
Owner

leeper commented Feb 7, 2019

There should definitely be ways to improve this significantly. I intended to improve but then discovered most people don't seem to need these, so I turned it off by default (to improve overall speed) and haven't received a lot of requests for improvement. If you have ideas for how to update, I'm open to suggestions and PRs.

@leeper leeper added the enhancement label Feb 7, 2019

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