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

[FEATURE] Add a warning message to Balance when trying to run very large/imbalanced weights #84

Open
talgalili opened this issue Jun 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@talgalili
Copy link
Contributor

Add a warning message to Balance when trying to run very large/imbalanced weights (say, anything more than like 100k cases and population frame that's 10x the sample).
The thinking here is that, if the population is >10x the sample, then basically all the standard error in comparing (sample vs population) is coming from the sample rather than the population. It’s comparable to a 1-sample t-test rather than a 2-sample t-test.

Idea from: Ben Mainwaring

@talgalili talgalili added the enhancement New feature or request label Jun 22, 2024
@talgalili
Copy link
Contributor Author

talgalili commented Jun 22, 2024

TODO (thoughts):

  • Decide on a ratio of target/sample (it should probably also depend on the model matrix, might be worth finding some good role of thumb from the literature).
  • Maybe propose a user to do the sampling for them as an argument? (with control of the seed)
  • Should the warning be during the loading of the data, or when running adjust, or both?

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

No branches or pull requests

1 participant