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

Exceedance probability for PoolPrev, HierPoolPrev, or getPrevalence #3

Open
AngusMcLure opened this issue Dec 15, 2020 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@AngusMcLure
Copy link
Owner

Can we perhaps have an option to return the exceedance probability for a given threshold to PoolPrev and/or HierPoolPrev or even getPrevalence?

Something like PoolPrev(Data, Result, NumInPool , Threshold = X/100) would return the same as PoolPrev(Data, Result, NumInPool), but with an additional column giving the posterior probability that prevalence exceeds X %.

Similarly something like

mod <- PoolRegBayes(Result ~ Cov1 + Cov2 + (1|Cov3), Data, NumInPool)
getPrevalence(mod, Threshold = X)

would return the same as getPrevalence(mod), but with an additional column in the data.frames at each level giving the posterior probability that prevalence exceeds X %.

Exceedance probability isn't a properly defined concept for the frequentist analyses (but similar-ish to one-side p-values), so would have to be restricted to the Bayesian versions of outputs

@AngusMcLure AngusMcLure added the enhancement New feature or request label Dec 15, 2020
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