├── .gitignore ├── LICENSE ├── README.md ├── original ├── README.md ├── _bookdown.yml ├── all.bib ├── before-chapter.R ├── build-pdf.sh ├── build.sh ├── calibration.Rmd ├── conjugacy.Rmd ├── conjugate-posteriors.Rmd ├── continuous-random-variables.Rmd ├── densities.Rmd ├── discrete-markov-chains.Rmd ├── divergence.Rmd ├── expectations.Rmd ├── exponential.Rmd ├── finite-markov-chains.Rmd ├── floating-point.Rmd ├── header.tex ├── hmc.R ├── img │ └── mc-casino.jpg ├── index.Rmd ├── inference.Rmd ├── information-theory.Rmd ├── joint.Rmd ├── mcmc-convergence.Rmd ├── mcmc.Rmd ├── metropolis.Rmd ├── multiple-random-variables.Rmd ├── normal.Rmd ├── philosophical-prelude.Rmd ├── predictive-inference.Rmd ├── prob-stats-2020-draft.pdf ├── random-variables.Rmd ├── regression-mean.Rmd ├── rejection-sampling.Rmd ├── stationary-markov-chains.Rmd ├── testing-prngs.Rmd ├── testing-rngs.Rmd └── typical-sets.Rmd └── quarto-book ├── .gitignore ├── _extensions └── show-code │ ├── README.md │ ├── _extension.yml │ └── show-code.lua ├── _quarto.yml ├── conditional.qmd ├── continuous-random-variables.qmd ├── event-probabilities.qmd ├── expectation.qmd ├── independence.qmd ├── index.qmd ├── intro.qmd ├── laws-of-probability.qmd ├── probability-mass-functions.qmd ├── random-variables.qmd ├── references.bib ├── references.qmd ├── set-theory.qmd └── stan ├── dice-events.stan ├── dice.stan ├── die.stan ├── dnd-attributes.stan ├── dnd-diff.stan ├── flip.stan ├── joint-die-2.stan ├── joint-die.stan └── stick.stan /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/README.md -------------------------------------------------------------------------------- /original/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/README.md -------------------------------------------------------------------------------- /original/_bookdown.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/_bookdown.yml -------------------------------------------------------------------------------- /original/all.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/all.bib -------------------------------------------------------------------------------- /original/before-chapter.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/before-chapter.R -------------------------------------------------------------------------------- /original/build-pdf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/build-pdf.sh -------------------------------------------------------------------------------- /original/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/build.sh -------------------------------------------------------------------------------- /original/calibration.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/calibration.Rmd -------------------------------------------------------------------------------- /original/conjugacy.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/conjugacy.Rmd -------------------------------------------------------------------------------- /original/conjugate-posteriors.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/conjugate-posteriors.Rmd -------------------------------------------------------------------------------- /original/continuous-random-variables.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/continuous-random-variables.Rmd -------------------------------------------------------------------------------- /original/densities.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/densities.Rmd -------------------------------------------------------------------------------- /original/discrete-markov-chains.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/discrete-markov-chains.Rmd -------------------------------------------------------------------------------- /original/divergence.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/divergence.Rmd -------------------------------------------------------------------------------- /original/expectations.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/expectations.Rmd -------------------------------------------------------------------------------- /original/exponential.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/exponential.Rmd -------------------------------------------------------------------------------- /original/finite-markov-chains.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/finite-markov-chains.Rmd -------------------------------------------------------------------------------- /original/floating-point.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/floating-point.Rmd -------------------------------------------------------------------------------- /original/header.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/header.tex -------------------------------------------------------------------------------- /original/hmc.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/hmc.R -------------------------------------------------------------------------------- /original/img/mc-casino.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/img/mc-casino.jpg -------------------------------------------------------------------------------- /original/index.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/index.Rmd -------------------------------------------------------------------------------- /original/inference.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/inference.Rmd -------------------------------------------------------------------------------- /original/information-theory.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/information-theory.Rmd -------------------------------------------------------------------------------- /original/joint.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/joint.Rmd -------------------------------------------------------------------------------- /original/mcmc-convergence.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/mcmc-convergence.Rmd -------------------------------------------------------------------------------- /original/mcmc.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/mcmc.Rmd -------------------------------------------------------------------------------- /original/metropolis.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/metropolis.Rmd -------------------------------------------------------------------------------- /original/multiple-random-variables.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/multiple-random-variables.Rmd -------------------------------------------------------------------------------- /original/normal.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/normal.Rmd -------------------------------------------------------------------------------- /original/philosophical-prelude.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/philosophical-prelude.Rmd -------------------------------------------------------------------------------- /original/predictive-inference.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/predictive-inference.Rmd -------------------------------------------------------------------------------- /original/prob-stats-2020-draft.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/prob-stats-2020-draft.pdf -------------------------------------------------------------------------------- /original/random-variables.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/random-variables.Rmd -------------------------------------------------------------------------------- /original/regression-mean.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/regression-mean.Rmd -------------------------------------------------------------------------------- /original/rejection-sampling.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/rejection-sampling.Rmd -------------------------------------------------------------------------------- /original/stationary-markov-chains.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/stationary-markov-chains.Rmd -------------------------------------------------------------------------------- /original/testing-prngs.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/testing-prngs.Rmd -------------------------------------------------------------------------------- /original/testing-rngs.Rmd: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /original/typical-sets.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/original/typical-sets.Rmd -------------------------------------------------------------------------------- /quarto-book/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/.gitignore -------------------------------------------------------------------------------- /quarto-book/_extensions/show-code/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/_extensions/show-code/README.md -------------------------------------------------------------------------------- /quarto-book/_extensions/show-code/_extension.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/_extensions/show-code/_extension.yml -------------------------------------------------------------------------------- /quarto-book/_extensions/show-code/show-code.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/_extensions/show-code/show-code.lua -------------------------------------------------------------------------------- /quarto-book/_quarto.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/_quarto.yml -------------------------------------------------------------------------------- /quarto-book/conditional.qmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/conditional.qmd -------------------------------------------------------------------------------- /quarto-book/continuous-random-variables.qmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/continuous-random-variables.qmd -------------------------------------------------------------------------------- /quarto-book/event-probabilities.qmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/event-probabilities.qmd -------------------------------------------------------------------------------- /quarto-book/expectation.qmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/expectation.qmd -------------------------------------------------------------------------------- /quarto-book/independence.qmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/independence.qmd -------------------------------------------------------------------------------- /quarto-book/index.qmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/index.qmd -------------------------------------------------------------------------------- /quarto-book/intro.qmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/intro.qmd -------------------------------------------------------------------------------- /quarto-book/laws-of-probability.qmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/laws-of-probability.qmd -------------------------------------------------------------------------------- /quarto-book/probability-mass-functions.qmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/probability-mass-functions.qmd -------------------------------------------------------------------------------- /quarto-book/random-variables.qmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/random-variables.qmd -------------------------------------------------------------------------------- /quarto-book/references.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/references.bib -------------------------------------------------------------------------------- /quarto-book/references.qmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/references.qmd -------------------------------------------------------------------------------- /quarto-book/set-theory.qmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/set-theory.qmd -------------------------------------------------------------------------------- /quarto-book/stan/dice-events.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/stan/dice-events.stan -------------------------------------------------------------------------------- /quarto-book/stan/dice.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/stan/dice.stan -------------------------------------------------------------------------------- /quarto-book/stan/die.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/stan/die.stan -------------------------------------------------------------------------------- /quarto-book/stan/dnd-attributes.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/stan/dnd-attributes.stan -------------------------------------------------------------------------------- /quarto-book/stan/dnd-diff.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/stan/dnd-diff.stan -------------------------------------------------------------------------------- /quarto-book/stan/flip.stan: -------------------------------------------------------------------------------- 1 | generated quantities { 2 | int y = bernoulli_rng(0.5); 3 | } 4 | -------------------------------------------------------------------------------- /quarto-book/stan/joint-die-2.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/stan/joint-die-2.stan -------------------------------------------------------------------------------- /quarto-book/stan/joint-die.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/stan/joint-die.stan -------------------------------------------------------------------------------- /quarto-book/stan/stick.stan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bob-carpenter/prob-stats/HEAD/quarto-book/stan/stick.stan --------------------------------------------------------------------------------