Returns the growth and survival model pair carrying the highest crossed
weight, i.e. the single combination crossed_weights favours.
best_crossed(object)An object of class bayesnechurdlefit.
A list with elements growth,
survival (model names) and weight (the crossed weight of that
pair).
The crossed weights are the outer product of the two components'
model weights (see crossed_weights), so the best pair is the
best growth model paired with the best survival model. It is returned as a
pair rather than assembled by eye because it is the natural starting point
for a joint refit: bnec_joint takes it directly.
Selecting a single combination discards the rest of the crossed table, which is a real loss where the weights are spread. Prefer model-averaged estimates from the factorised fit itself unless a single fit is needed for a reason the factorisation cannot serve – coupling the two blocks through a shared group-level effect being the main one.
if (FALSE) { # \dontrun{
library(bayesnec)
data(nec_data)
nec_data$y[nec_data$x > 2.5] <- 0
fit <- bnec_hurdle(y ~ crf(x, c("nec3param", "nec4param", "ecx4param")),
data = nec_data)
crossed_weights(fit)
best_crossed(fit)
} # }