Skip to contents

Builds a reporting_if_draws() object with n values of \(\bar\omega\) from ifrac() with tau_sampling = "posterior" and n_tau_samples = n (each draw samples \(\tau\) or \(\tau_\gamma\) from the native bayesmeta / bmr tau margin). Use as at_ifrac for the same outer Monte Carlo loop as reporting_if_draws(). This is not the default marginal path: with at_ifrac = NULL, modifiers() uses the DIRECT grid (ifrac() default) and quadrature weights on fit$support.

Usage

fit_reporting_if_draws(
  fit,
  n,
  ifrac = c("interaction", "combined"),
  seed = NULL
)

Arguments

fit

A Bayesian CAMS interactmeta.

n

Number of outer resamples.

ifrac

"interaction" (default) or "combined".

seed

Optional set.seed() before sampling.