View source: R/weight_fc_jags.R
weight_fc_jags | R Documentation |
Computes probability weights by fast computation (Hunanyan et al., 2021) in JAGS.
weight_fc_jags(jags.obj, w)
jags.obj |
character string, the name of the JAGS object fitted with |
w |
numeric, weighting factor to weight the likelihood. |
A fast computation formula is derived (Hunanyan et al., 2021) to estimate the weighted samples for the model fitted in JAGS.
numeric vector
Hunanyan, S., Roos, M., Plummer, M., Rue, H. (2021). Quantification of empirical determinacy: the impact of likelihood weighting on posterior location and spread in Bayesian meta-analysis estimated with JAGS and INLA. Bayesian Analaysis (under review). https://arxiv.org/abs/2109.11870.
expectation_fc
, sd_fc
, extract_descriptives_jags
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.