Errata
These errata are errors in the printed book. These changes are implemented in this online version.
- On pg. 53, footnote 1: “Here we are referring to an ‘inquiry model’ not a ‘reference model,’ as discussed in Section 2.2.1” should read “Here we are referring to an ‘inquiry model’ not a ‘reference model,’ as discussed in Section 2.1.1”.
- On pg. 69, Table 8.1, row 1 now reads
simple_rs(N = 100, prob = .25)
instead ofsimple_rs(N = 100, p = .25)
; row 2 now readscomplete_rs(N = 100, n = 25)
instead ofsimple_rs(N = 100, p = 0.25)
; row 4:cluster_ra
should becluster_rs
; and in row 6,cluster_ra
should becluster_rs
andstrata_ra
should bestrata_rs
. Thanks to Bjorn Van Campenhout for identifying the first two errors. - On pg. 101: “The \(p\)-value is the probability this also goes with the misplaced section estimates of 15 or larger” should read “The \(p\)-value is the probability under the null model of obtaining estimates of 15 or larger.”
- On pg. 158: The second code block, which includes the code
MASS::mvrnorm
, should readn = 1000
notN = 1000
.
Due to final copyediting by the Press, the website version may differ slightly from the print version. If you discover a discrepency, please email us at graeme.blair@gmail.com, acoppock@gmail.com, and macartan@gmail.com and we will fix it and send you DeclareDesign stickers!
Code updates
We are committed to maintaining the code in this book as the R ecosystem evolves. The following changes reflect differences between the printed book and the online version.
- On pg. 103, Declaration 9.3 now reads
.summary = ~tidy(., exponentiate = TRUE)
instead of.summary = ~tidy_stan(., exponentiate = TRUE)
, reflecting the use of the standardbroom.mixed
package for tidying stan objects. In addition, the libraryrdss
is replaced with the librarybroom.mixed
in the declaration.