Skip to contents

Evaluates the CAMS fixed-effect reconstruction at the overall information fraction \(\omega\), rather than using each trial's \(\pi_j\) and engine-native trial latent effect: $$\mu_i=\alpha+\beta\omega+\gamma\,1(i=B).$$ This is standardization to the target population, not shrinkage. Prefer shrinkage() for forest greys and trial-specific posterior means.

Usage

standardized_trial_effects(
  fit,
  type = c("modifiers", "interaction", "combined", "subgroups"),
  format = c("list", "summary"),
  prob = 0.95,
  max_support = NULL,
  summary = TRUE,
  contrast_sep = "-",
  ifrac = c("interaction", "overall"),
  at = NULL,
  exponentiate = FALSE,
  component = NULL,
  contribution
)

Arguments

fit

A interactmeta from cams().

type

Which estimand: "modifiers", "interaction", or "combined".

format

Output representation (same choices as shrinkage()).

prob

Coverage probability for intervals when a summary is built.

max_support

Optional cap on unweighted posterior rows. Rejected for Bayesian CAMS DIRECT supports; omit it.

summary

If TRUE (default), attach / build a summary when format = "list" or "summary".

contrast_sep

Passed to contrast resolution (default "-").

ifrac

How overall IF \(\omega\) is pooled via ifrac() when at is NULL: "interaction" (default) or "overall".

at

Optional reporting information fraction (same as modifiers()).

exponentiate

If TRUE, transform posterior draws with exp().

component

Soft-deprecated alias for type.

contribution

Deprecated; use \code{at}.

Value

Same structure as shrinkage() for the chosen type / format.