Describes how a coefficient of a fitted formula is related to the fitted coordinates on the original scale of the predictors, from the fitted coefficient transform (JAGS_formula_coefficient_transform()): the type of the map, its support, and the weights of the coefficient on the fitted coordinates. Fit-level hypothesis tests use it to evaluate hypotheses on original-scale coefficients (hypothesis_BF()).

JAGS_formula_coefficient_route(
  fit,
  parameter,
  target,
  caller = "hypothesis_BF()",
  refit_class = NULL
)

Arguments

fit

a model fitted with JAGS_fit().

parameter

the formula parameter (for example "mu").

target

the name of the fitted coefficient (for example "mu_x").

caller

the name of the function reported in the reason of a coefficient with an unsupported map.

refit_class

condition classes that precede BayesTools_refit_required when the fitted metadata are outdated.

Value

A list with the formula_parameter, the target, its position target_i in the transform, the type of the map ("identity", "affine", "exp_affine", "state_dependent", or "unsupported"), the weights on the fitted coordinates, the support of the coefficient, and for an unsupported map the reason and its cause ("metadata", "fixed", or "nonlinear").