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

Implement "Randomize Until Reaches Threshold" Functionality #5

Open
WarrenZhu050413 opened this issue Nov 13, 2024 · 0 comments
Open
Assignees

Comments

@WarrenZhu050413
Copy link
Collaborator

Currently, Generate Randomizations can only output the lower $\alpha$ percent of randomizations according to some threshold function. Rerandomization methods, however, normally requires that all randomizations go below some threshold value $t$. It would be great if FastRerandomize supported this.

One potential way to implement this is to allow the user to specify num_required and threshold_value, and run the function until num_required number of randomizations that matches threshold_value is sampled. Another paramter max_time could be provided that requires the function to halt after a certain period, or give warnings about the time this rerandomization could take. The function could also calculate based on some preliminary sampling of the time taken.

@WarrenZhu050413 WarrenZhu050413 self-assigned this Nov 19, 2024
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

1 participant