select_best_model
Compare multiple fitted marketing mix models using PSIS-LOO, WAIC, or Bayesian stacking to identify the top-performing model by predictive accuracy and return its ID.
Instructions
Compare multiple fitted MMMs using PSIS-LOO, WAIC, or Bayesian stacking weights via ArviZ. All models must be fitted on the same dataset. Returns ranked specifications, LOO/WAIC scores, and recommended model ID. Methods: loo (PSIS-LOO), waic (WAIC), stacking (BMA weights), all (run all three).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes |