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

Add a fast approximation for simple surveys #55

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Conversation

dirkschumacher
Copy link
Collaborator

In order to improve the run time and memory consumption we add a fast approximation for the cluster/strata/sw is NULL case.

This speeds up everything significantly. It reproduces the results of the survey package with an maximum empirical error < 0.0001 (see test file).

In addition documentation was improved.

The structure of the prevalence computation is also improved by now supporting multiple ways of computing something.

In order to improve the run time and memory consumption
we add a fast approximation for the cluster/strata/sw is NULL
case.

This speeds up everything significantly. It reproduces the results
of the survey package with an maximum empirical error < 0.0001
(see test file).

In addition documentation was improved.
@dirkschumacher dirkschumacher merged commit 2d96147 into master Oct 29, 2024
5 checks passed
@dirkschumacher dirkschumacher deleted the speed branch November 1, 2024 11:06
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

Successfully merging this pull request may close these issues.

1 participant