There is a newer version of the record available.

Published May 7, 2020 | Version v0.4
Software Open

baggr: Bayesian Aggregate Treatment Effects package

Description

baggr 0.4.0 (February 2020)

Binaries are available on CRAN

New features

  • Covariates can now be used in all baggr() models: in "rubin" model they give meta-regression (group-level covariates), while in "full" and "logit" models they can be used for "regular" regression (individual-level covariates)
  • Priors for covariates are set through the argument prior_beta
  • You can work with regression coefficients for covariates
    • you can access and summarise coefficients through fixed_effects(),
    • you will also see them when printing baggr objects;
    • when using forest_plot() you can request show = "covariates"
  • Prototype of pp_check() function now works for Rubin model (thanks to Brice Green) you can apply it to generate new datasets according to posterior distribution of treatment effect and contrast them with the observed quantities as part of model checking
  • baggr_compare() function now has standard output which you can print() or plot(), thanks to Brice Green
  • Vignettes and documentation were updated to better describe binary data analysis
  • We now give more warnings when plugging in stupid inputs.

Bug fixes

  • Messages for setting priors were accidentally given when e.g. running full pooling models
  • All models were re-written to standardise our approach and syntax.
    • "Full" model might now behave differently.
    • "Mutau" model will be re-written and generalised for next release.
    • LOO CV is also disabled for some models. Prompts will be given.

Files

wwiecek/baggr-v0.4.zip

Files (4.0 MB)

Name Size Download all
md5:f17d6eb899f92aa1428497ef71659e51
4.0 MB Preview Download

Additional details

Related works