baggr_compare) on the fly (between
"groups"). Printing comparisons also returns posterior predictive draws.
Minor bug fixes:
mutaumodel when using
"mutau_full" model is a generalisation of the
"mutau" model into individual-level data.
The idea is similar as for the recent
"rubin_full" changes, see version 0.6.0.
I also reparameterised the
mutau model. It should be faster and have fewer divergent
transition warnings.Some of the code around the mu and tau model has also been
rewritten on the back end.
On the back end the package now follows the rstantools recommended way of compiling models. The user experience should be exactly the same, but this may avoid some problems when installing the package from GitHub or otherwise compiling it locally.
?baggrfor basics of working with this type of a model. A vignette will be added soon.
"full". Old syntax will still work, however. Made some documentation and code improvements around this issue.
model="rubin_full"now. It works the same way as for
?baggrfor more information on how to use it.
model="rubin"with the same inputs as
model="mutau". Some data columns are removed automatically in that case.
For v0.6 we added more generic code around plotting, printing, grabbing treatment effects etc. While there are no differences on the front-end, this means that for the next versions we will be able to consider some new models and have more homogeneous syntax for all models.
baggrmodels now have their own separate functions,
random_effects, in addition to
baggr()with summary data and
model="logit"for automatic conversion)
show = "covariates"
prepare_ma), esp. for prepping binary data.
exp, but any transform is allowed).
loo_compare(thanks to Brice Green)
baggr()using a syntax similar to
rstanarm. Extra priors are available
baggr()outputs prior predictive distributions; they can be examined using
effect_draw-- 2 new functions
First package version for CRAN.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.