Companion Package for Statistics with R

Provides functions and datasets to support inference with the open access book "An Introduction to Bayesian Thinking", available online <> and online videos for the "Statistics with R Specialization" <>. which includes an introduction to Bayesian inference and decision making for one and two sample credible intervals and hypothesis testing for Gaussian and Binomial data, in addition to frequentist inference using model-based and randomization-based methods. To help with understanding concepts, 'shiny' applications are used to aide visualization of sampling distributions, credible intervals, hypothesis testing, Lindley's and Bartlett's paradoxes. For development versions or to report issues, please visit <>.


News for statsr

statsr 0.1.0 May 7, 2018

  • First release of package on CRAN to accompany version 2 of the Statistics With R course on Coursera and release of the online book Introduction to Bayesian Thinking

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1-0 by Merlise Clyde, a year ago,

Report a bug at

Browse source code at

Authors: Colin Rundel [aut] , Mine Cetinkaya-Rundel [aut] , Merlise Clyde [aut, cre] (<>) , David Banks [aut]

Documentation:   PDF Manual  

GPL (>= 3) license

Imports dplyr, rmarkdown, ggplot2, broom, gridExtra, shiny, cubature, knitr, tidyr

Depends on BayesFactor

Suggests HistData

See at CRAN