-
Notifications
You must be signed in to change notification settings - Fork 8
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 function to convert posterior distribution into likelihood profile #6
Comments
Convert the posterior samples to 1D density estimates right before here: EvidenceSynthesis/R/BayesianMetaAnalysis.R Line 273 in aee99c0
But, since the posterior is 2D (mu, tau), you might want to use the dependence between parameters. In which case, just return the samples themselves (or consider a 2D density estimator). |
For the particular use case I have in mind I only care about mu: In a network study, each site produces likelihood profiles for negative controls. For each negative control, we combine the per-site likelihood profiles using our Bayesian meta-analysis to produce a cross-network posterior distribution for the effect size of the negative control. I would then like to use these posterior distributions (without summarizing them as point estimates and standard errors) to fit an empirical null distribution. The fitNullNonNormalLl() function in the I could also modify the So perhaps a reasonable approach would be to use |
For your use-case, You can use these posteriors as input to |
The
computeBayesianMetaAnalysis()
outputs a posterior distribution for the parameter of interest (i.e. effect size estimate). If we convert that to a likelihood profile we can use it for example to estimate a systematic error distribution.. For this, the output should be a data frame with two fields:point
andvalue
. We can use the adaptive profiling also implemented in Cyclops to do this.The text was updated successfully, but these errors were encountered: