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

Question: How to include prior knowledge in data generation (and not in data analysis)? #45

Open
jcwie opened this issue Oct 4, 2021 · 1 comment

Comments

@jcwie
Copy link

jcwie commented Oct 4, 2021

Dear package developers,

thank you very much for providing the R package bayesCT for the simulation of Bayesian adaptive trials! This is much welcome in these times with still grand persisting unmet needs for such software!

My question: Is there a way to apply BayesCT to simulate the study characteristics of a Bayesian clinical trial with two-arms binomial outcomes and assuming beta-binomially distributed event probabilities for the outcomes of the simulated trials?

In other words, I would like to plan a Bayesian analysis with uninformative prior but assume some (beta-binomial distribution) knowledge about "p_treatment" and "p_control" for the simulation of trial outcome. The function "binomial_outcome()" seems to allow only specific fixed probability values which I do not find intuitive when thinking Bayesian and facing only limited knowledge about model parameters. I would like to include this uncertainty information in the adaptive design modelling reflecting my subjective believe that I developed on the basis of pilot data. Reading through your documentation I only found a way to include prior information into the planned analysis of the study (via "bayesDP"). Contrarily, my plan is to analyze the study with uninformative prior to make it fit for performance validation and make it as convincing as possible for others. I may summarize this as follows: I would like to include my limited prior knowledge about study-arm specific probabilities into the data generation process but not into study analysis.

Maybe I am just not sufficiently understanding your package bayesCT and my sought opportunity is already available in your package?

Best regards,
Jan Wiemer

@graemeleehickey
Copy link
Collaborator

graemeleehickey commented Nov 16, 2021 via email

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

2 participants