Releases: ASKurz/Doing-Bayesian-Data-Analysis-in-brms-and-the-tidyverse
Releases · ASKurz/Doing-Bayesian-Data-Analysis-in-brms-and-the-tidyverse
expand_grid() and linewidth
Fix broken links
In this minor update, I have fixed the broken links to my professional website, https://solomonkurz.netlify.app/, and corrected a couple typos.
1.0.0!
This is the first full draft containing brms versions of all of Kruschke's JAGS and Stan models, excluding examples that are not possible with the brms paradigm. Noteworthy changes include:
- two new solutions for the conditional logistic models of Chapter 22 thanks to the generous efforts by Henrik Singmann and Mattan Ben-Shachar;
- replacing the depreciated
posterior_samples()
function with the newposterior::as_draws_df()
-based workflow; - adding a new solution for the multivariate Bernoulli model with different trial numbers via the
resp_subset()
function in Section 7.4.4.1; - improving the efficiency of the intercept-only Bernoulli models with the new
lb
andub
arguments for priors ofclass = Intercept
; - updating all model fits with brms version 2.17.0; and
- various minor code, hyperlink, and typo corrections.
correct, refine, and augment
Noteworthy changes include:
- using the Metropolis algorithm to fit the bivariate Bernoulli model for Figure 7.6 (Section 7.4.3);
- corrections to mistakes around the
lag()
andlead()
functions in Section 7.5.2; - an added bonus section clarifying the pooled standard deviation for standardized mean differences (Section 16.3.0.1);
- refining the custom
stat_wilke()
plotting function in Chapter 18; - an overhaul of the bonus section covering effect sizes (Section 19.6);
- refining/correcting the threshold workflow for univariable logistic regression models (Chapter 21);
- fixing the divergent transitions issue for the robust logistic regression model by adding boundaries on the prior (Section 21.3);
- corrections to a few incorrectly computed effect sizes in Chapter 23;
- the addition of a new bonus section (Section 22.3.3.1.1) highlighting the benefits of the intercepts-only softmax model;
- expansions to the material on censored data (Section 25.4) and the addition of a brief introduction to truncated data (Section 25.4.4); and
- updating all HMC fits to the current version of brms (2.15.0).
Kruschke-style model diagrams + chapter themes and palettes
- add the Kruschke-style model diagrams throughout the text;
- add chapter-specific plotting schemes with help from the cowplot package, Wilke's (2019) Fundamentals of data visualization, and many other great color-scheme packages;
- overhaul the plotting workflow in Section 6.4.1 (Prior knowledge expressed as a beta distribution); and
- update all model fits to the current version of brms (2.13.5).
Figure 7.3 + zotero
Noteworthy changes include:
- finally reproducing the simulation necessary for Figure 7.3 (see GitHub issue #14) with help from Cardy Moten III (@cmoten);
- with guidance from Bjørn Peare Bartholdy (@bbartholdy), Mladen Jovanović (@mladenjovanovic), Cory Whitney (@CWWhitney), and Brenton M. Wiernik (@bwiernik), we have improved in-text citations and reference sections using BibTex, Better BibTeX, and zotero;
- increased the plot resolution with
fig.retina = 2.5
; - small updates to broken ggplot2 code;
- refreshed hyperlinks; and
- various typo corrections.
First full draft!
This is the first full draft in that all chapters are largely fleshed out in terms of content. In addition, all models have been refit with brms 2.11.5 and saved as external files.
Add Chapters 23 and 24!
Notable updates include:
- Chapter 23 for cumulative probit models,
- Chapter 24 for hierarchical Poisson alternatives to ANOVA, and
- various typo fixes.
Add Chapter 22!
The notable updates are:
- the addition of Chapter 22 for multinomial regression,
- more prose and resource links in Chapters 13 and 14,
- adoption of the patchwork package for combining ggplots, and
- minor typo fixes throughout.
Add Chapters 19--21
The notable updates are:
- the addition of Chapters 19 through 21,
- a first draft of content in Chapter 13, up through section 13.3.1,
- incorporation of some of the corrections listed in Kruschke's Corrigenda,
- replacements of overly-verbose
expand()
code withtidyr::crossing()
, and - minor typo fixes throughout.