Open
Description
Given the new research progress on "hierarchical stacking", it would be useful to implement this new tool into the loo package.
This new tool needs more user customization: after a few models are fit, the user needs to
- Run pointwise model evaluation. For IID data, this is highly automated.
- Specify what variable that stacking weight should depend on. This cannot be automated.
- Come up with a stacking model. A template may look like https://github.com/yao-yl/hierarchical-stacking-code/blob/main/well_switch/optim.stan. But this model could be more complicated too.
- Specify hyper prior.
The challenge for putting this package into the present package lies in that
- Extra dependence on stan.
- May even need stanglm/brms syntax to write stacking models.