19 Credits

This set of notes was constructed in bookdown, using R and RStudio.

bookdown

Xie Y (2023). bookdown: Authoring Books and Technical Documents with R Markdown. R package version 0.33, https://github.com/rstudio/bookdown.

R

R Core Team (2022). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. URL https://www.R-project.org/.

RStudio

RStudio Team (2020). RStudio: Integrated Development for R. RStudio. PBC, Boston, MA. URL http://www.rstudio.com/.


The main statistical output is from Stata:

Stata

StataCorp. 2017. Stata Statistical Software: Release 15. College Station, TX: StataCorp LLC.


R packages used in this set of notes, or at least in a prior version of this set of notes:

conflicted

Wickham H (2023). conflicted: An Alternative Conflict Resolution Strategy. https://conflicted.r-lib.org/, https://github.com/r-lib/conflicted.

emojifont

Yu G (2021). emojifont: Emoji and Font Awesome in Graphics. R package version 0.5.5, https://CRAN.R-project.org/package=emojifont.

estimatr

Blair G, Cooper J, Coppock A, Humphreys M, Sonnet L (2022). estimatr: Fast Estimators for Design-Based Inference. R package version 1.0.0, https://CRAN.R-project.org/package=estimatr.

ggdag

Barrett M (2023). ggdag: Analyze and Create Elegant Directed Acyclic Graphs. R package version 0.2.8, https://CRAN.R-project.org/package=ggdag.

ggeffects

Lüdecke D (2018). ggeffects: Tidy Data Frames of Marginal Effects from Regression Models. Journal of Open Source Software, 3(26), 772. doi:10.21105/joss.00772 https://doi.org/10.21105/joss.00772.

ggforce

Pedersen T (2022). ggforce: Accelerating ‘ggplot2’. R package version 0.4.1, https://CRAN.R-project.org/package=ggforce.

ggpubr

Kassambara A (2023). ggpubr: ‘ggplot2’ Based Publication Ready Plots. R package version 0.6.0, https://CRAN.R-project.org/package=ggpubr.

grid

R Core Team (2022). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. URL https://www.R-project.org/.

haven

Wickham H, Miller E, Smith D (2023). haven: Import and Export ‘SPSS’, ‘Stata’ and ‘SAS’ Files. R package version 2.5.2, https://CRAN.R-project.org/package=haven.

jtools

Long JA (2022). jtools: Analysis and Presentation of Social Scientific Data. R package version 2.2.0, https://cran.r-project.org/package=jtools.

knitr

Yihui X (2023). knitr: A General-Purpose Package for Dynamic Report Generation in R. R package version 1.42.

labelled

Larmarange J (2022). labelled: Manipulating Labelled Data. R package version 2.10.0, https://CRAN.R-project.org/package=labelled.

maps

Original S code by Richard A. Becker and Allan R. Wilks. R version by Ray Brownrigg. Enhancements by Thomas P Minka and Alex Deckmyn. (2022). maps: Draw Geographical Maps. R package version 3.4.1, https://CRAN.R-project.org/package=maps.

modelsummary

Arel-Bundock V (2022). modelsummary: Data and Model Summaries in R. Journal of Statistical Software, 103(1), 1-23. doi:10.18637/jss.v103.i01 https://doi.org/10.18637/jss.v103.i01.

multcomp

Hothorn T, Bretz F, Westfall P (2008). Simultaneous Inference in General Parametric Models. Biometrical Journal, 50(3), 346-363.

patchwork

Pedersen T (2023). patchwork: The Composer of Plots. R package version 1.1.3, https://CRAN.R-project.org/package=patchwork.

PBSmodelling

Schnute JT, Couture-Beil A, Haigh R (2023). PBSmodelling: GUI Tools Made Easy: Interact with Models and Explore Data. R package version 2.69.3, https://CRAN.R-project.org/package=PBSmodelling.

psych

Revelle W (2023). psych: Procedures for Psychological, Psychometric, and Personality Research. Northwestern University, Evanston, Illinois. R package version 2.3.3, https://CRAN.R-project.org/package=psych.

Rmisc

Hope RM (2022). Rmisc: Ryan Miscellaneous. R package version 1.5.1, https://CRAN.R-project.org/package=Rmisc.

rnaturalearth

Massicotte P, South A (2023). rnaturalearth: World Map Data from Natural Earth. R package version 0.3.2, https://CRAN.R-project.org/package=rnaturalearth.

rnaturalearthdata

South A (2017). rnaturalearthdata: World Vector Map Data from Natural Earth Used in ‘rnaturalearth’. R package version 0.1.0, https://CRAN.R-project.org/package=rnaturalearthdata.

scales

Wickham H, Pedersen T, Seidel D (2023). scales: Scale Functions for Visualization. R package version 1.3.0, https://CRAN.R-project.org/package=scales.

sf

Pebesma, E (2018). Simple Features for R: Standardized Support for Spatial Vector Data. The R Journal 10 (1), 439-446, https://doi.org/10.32614/RJ-2018-009

Statamarkdown

Hemken D (2023). Statamarkdown: ‘Stata’ Markdown. R package version 0.7.2, https://CRAN.R-project.org/package=Statamarkdown.

statar

Gomez M (2022). statar: Tools Inspired by ‘Stata’ to Manipulate Tabular Data. R package version 0.7.4, https://CRAN.R-project.org/package=statar.

stringr

Wickham H (2022). stringr: Simple, Consistent Wrappers for Common String Operations. R package version 1.5.0, https://CRAN.R-project.org/package=stringr.

survey

Lumley T (2020) survey: analysis of complex survey samples. R package version 4.0.

tidyverse

Wickham H, Averick M, Bryan J, Chang W, McGowan LD, François R, Grolemund G, Hayes A, Henry L, Hester J, Kuhn M, Pedersen TL, Miller E, Bache SM, Müller K, Ooms J, Robinson D, Seidel DP, Spinu V, Takahashi K, Vaughan D, Wilke C, Woo K, Yutani H (2019). Welcome to the tidyverse. Journal of Open Source Software, 4(43), 1686. doi:10.21105/joss.01686 https://doi.org/10.21105/joss.01686.