Improved speed in test runs for CRAN (d5d097fb).
Aligned generic method consistency for
Fixed a bug relating to 01 bounded x data in
Fixed messages returned for
Reduced n_trials and deleted unnecessary set.seed in while call for
gsubsubstitution of x in original brms non-linear formulas, and added various tests (
bnec now works exclusively with formulas (
update methods via a common class
nsec following new formula-based implementation (
Fixes to predict methods following formula-based implementation (
Dispersion now takes a
bayesnecfit as input (
brms::bernoulli to the list of allowed model distributions (
identity the default link (
Added more controls and tweaks to checking model relative to input data (
model.frame methods to main classes (
ggplot2 plotting method (
Enhanced handling of argument
bnec to allow argument for both
Added Bayesian R2 to
bnec’s capacity to accept input x and y vectors, data frames (
f256b39) and formulas (
Corrected error for logit link cases for the beta_binomial2 where data contain 0 and 1 to ensure appropriate prior values on top and bot (
Series of internal fixes to standardise function class outputs (
If link functions are not specified in bnec, then the default link function is used; previous versions of bayesnec used the identity link.
An additional family has been added betabinomial2 for over dispersered binomial data.
The package supports using link functions for generalized modelling, which appears to be more stable and is also in line with more typical generalised modelling approaches.
There are multiple options for model weights calculation from the loo package. The default is “pseudobma BB”.
There is now a compare_posterior function that also includes a bootstrapping procedure. This can be used to compare model fits across different datasets, or even different model sets for the same dataset (ie nec v ecx models). Please see the vignette for examples of usage.
There is a vignette detailing the models available in bayesnec. Note that not all models are suitable for all families, and also depending if link functions are used.
A new check_chains function has been added to allow chain plotting in base R and that works more smoothly with plotting chains for multiple fits for bayesmanec objects.