wwiecek / baggr

R package for Bayesian meta-analysis models, using Stan
GNU General Public License v3.0
46 stars 12 forks source link

implement predict. generic for all models #141

Open wwiecek opened 2 years ago

wwiecek commented 2 years ago

To bring this in line with other rstan packages.

wwiecek commented 2 years ago

posterior_predict could have a 3-fold function:

wwiecek commented 2 years ago

What if newdata has logical type columns but either FALSE or TRUE is not present? Will model.matrix not break things?

wwiecek commented 2 years ago

Update: as of 0.7.1 we only need to implement the third bulletpoint in the list above.

wwiecek commented 8 months ago

Also need posterior_predict() and posterior_interval(). See #34 for much older conversations on this