├── .gitignore ├── README.md ├── book ├── Makefile ├── back.png ├── book.tex ├── custom.css ├── figs │ ├── dungeons1.eps │ ├── dungeons1.pdf │ ├── dungeons2.eps │ ├── dungeons2.pdf │ ├── dungeons3.eps │ ├── dungeons3.pdf │ ├── euro1.eps │ ├── euro1.pdf │ ├── euro2.eps │ ├── euro2.pdf │ ├── euro3.eps │ ├── euro3.pdf │ ├── hockey0.eps │ ├── hockey0.pdf │ ├── hockey1.eps │ ├── hockey1.pdf │ ├── hockey2.eps │ ├── hockey2.pdf │ ├── hockey3.eps │ ├── hockey3.pdf │ ├── jaynes1.eps │ ├── jaynes1.pdf │ ├── jaynes2.eps │ ├── jaynes2.pdf │ ├── kidney1.eps │ ├── kidney1.pdf │ ├── kidney2.eps │ ├── kidney2.pdf │ ├── kidney3.eps │ ├── kidney3.pdf │ ├── kidney4.eps │ ├── kidney4.pdf │ ├── kidney5.eps │ ├── kidney5.pdf │ ├── kidney6.eps │ ├── kidney6.pdf │ ├── kidney7.eps │ ├── kidney7.pdf │ ├── kidney8.eps │ ├── kidney8.pdf │ ├── paintball.eps │ ├── paintball.pdf │ ├── paintball1.eps │ ├── paintball1.pdf │ ├── paintball2.eps │ ├── paintball2.pdf │ ├── paintball3.eps │ ├── paintball3.pdf │ ├── paintball4.eps │ ├── paintball4.pdf │ ├── paintball5.eps │ ├── paintball5.pdf │ ├── price1.eps │ ├── price1.pdf │ ├── price2.eps │ ├── price2.pdf │ ├── price3.eps │ ├── price3.pdf │ ├── price4.eps │ ├── price4.pdf │ ├── price5.eps │ ├── price5.pdf │ ├── price6.eps │ ├── price6.pdf │ ├── redline0.eps │ ├── redline0.pdf │ ├── redline1.eps │ ├── redline1.pdf │ ├── redline2.eps │ ├── redline2.pdf │ ├── redline3.eps │ ├── redline3.pdf │ ├── redline4.eps │ ├── redline4.pdf │ ├── redline5.eps │ ├── redline5.pdf │ ├── sat_calibrate.eps │ ├── sat_calibrate.pdf │ ├── sat_join.eps │ ├── sat_join.pdf │ ├── sat_joint.eps │ ├── sat_joint.pdf │ ├── sat_normal.eps │ ├── sat_normal.pdf │ ├── sat_posteriors.eps │ ├── sat_posteriors.pdf │ ├── sat_posteriors2.eps │ ├── sat_posteriors2.pdf │ ├── sat_posteriors_eff.eps │ ├── sat_posteriors_eff.pdf │ ├── sat_posteriors_p_corr.eps │ ├── sat_posteriors_p_corr.pdf │ ├── sat_prior.eps │ ├── sat_prior.pdf │ ├── sat_prior2.eps │ ├── sat_prior2.pdf │ ├── species-cdf-B1558.G.eps │ ├── species-cdf-B1558.G.pdf │ ├── species-cond-B1242.eps │ ├── species-cond-B1242.pdf │ ├── species-cond-B1246.eps │ ├── species-cond-B1246.pdf │ ├── species-frac-B1242.eps │ ├── species-frac-B1242.pdf │ ├── species-frac-B1246.eps │ ├── species-frac-B1246.pdf │ ├── species-l-cal.eps │ ├── species-l-cal.pdf │ ├── species-l-val.eps │ ├── species-l-val.pdf │ ├── species-l.eps │ ├── species-l.pdf │ ├── species-madd.eps │ ├── species-madd.pdf │ ├── species-n-cal.eps │ ├── species-n-cal.pdf │ ├── species-n.eps │ ├── species-n.pdf │ ├── species-ndist-B1242.eps │ ├── species-ndist-B1242.pdf │ ├── species-ndist-B1246.eps │ ├── species-ndist-B1246.pdf │ ├── species-prev-B1242.eps │ ├── species-prev-B1242.pdf │ ├── species-prev-B1246.eps │ ├── species-prev-B1246.pdf │ ├── species-q-cal.eps │ ├── species-q-cal.pdf │ ├── species-q-val.eps │ ├── species-q-val.pdf │ ├── species-q.eps │ ├── species-q.pdf │ ├── species-rare-B1242.eps │ ├── species-rare-B1242.pdf │ ├── species-rare-B1246.eps │ ├── species-rare-B1246.pdf │ ├── species.cond.B1242.eps │ ├── species.cond.B1242.pdf │ ├── species.frac.B1242.eps │ ├── species.frac.B1242.pdf │ ├── species.frac.eps │ ├── species.frac.pdf │ ├── species.ndist.B1242.eps │ ├── species.ndist.B1242.pdf │ ├── species.prev.B1242.eps │ ├── species.prev.B1242.pdf │ ├── species.rare.B1242.eps │ ├── species.rare.B1242.pdf │ ├── species.rare.eps │ ├── species.rare.pdf │ ├── species1.eps │ ├── species1.pdf │ ├── species2.eps │ ├── species2.pdf │ ├── species4.eps │ ├── species4.pdf │ ├── species5-cal.eps │ ├── species5-cal.pdf │ ├── species5-val.eps │ ├── species5-val.pdf │ ├── species5.eps │ ├── species5.pdf │ ├── species6.eps │ ├── species6.pdf │ ├── train1.eps │ ├── train1.pdf │ ├── train2.eps │ ├── train2.pdf │ ├── train3.eps │ ├── train3.pdf │ ├── train4.eps │ ├── train4.pdf │ ├── variability_cv.eps │ ├── variability_cv.pdf │ ├── variability_posterior_female.eps │ ├── variability_posterior_female.pdf │ ├── variability_posterior_male.eps │ └── variability_posterior_male.pdf ├── footer.html ├── header.html ├── hevea.sty ├── htmlonly ├── kidney_table.tex ├── kidney_table2.tex ├── latexonly ├── localdef.py ├── macros.hva ├── next.png └── up.png └── code ├── CDBRFS08.ASC.gz ├── brfss.py ├── columns.py ├── cookie.py ├── cookie2.py ├── correlation.py ├── dice.py ├── dungeons.py ├── euro.py ├── euro2.py ├── euro3.py ├── hockey.py ├── hockey_data.csv ├── jaynes.py ├── journal.pone.0047712.s001.csv ├── kidney.py ├── m_and_m.py ├── monty.py ├── monty2.py ├── myplot.py ├── paintball.py ├── price.py ├── redline.py ├── redline_data.py ├── sat.py ├── sat_ranks.csv ├── sat_scale.csv ├── showcases.2011.csv ├── showcases.2012.csv ├── species.py ├── survey.py ├── thinkbayes.py ├── thinkplot.py ├── thinkstats.py ├── train.py ├── train2.py ├── train3.py └── variability.py /.gitignore: -------------------------------------------------------------------------------- 1 | *.py[cod] 2 | 3 | # C extensions 4 | *.so 5 | 6 | # Packages 7 | *.egg 8 | *.egg-info 9 | dist 10 | build 11 | eggs 12 | parts 13 | bin 14 | var 15 | sdist 16 | develop-eggs 17 | .installed.cfg 18 | lib 19 | lib64 20 | 21 | # Installer logs 22 | pip-log.txt 23 | 24 | # Unit test / coverage reports 25 | .coverage 26 | .tox 27 | nosetests.xml 28 | 29 | # Translations 30 | *.mo 31 | 32 | # Mr Developer 33 | .mr.developer.cfg 34 | .project 35 | .pydevproject 36 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ThinkBayes 2 | ========== 3 | 4 | Code repository for Think Bayes: Bayesian Statistics Made Simple 5 | by Allen B. Downey 6 | 7 | Available from Green Tea Press at http://thinkbayes.com. 8 | 9 | Published by O'Reilly Media, October 2013. 10 | 11 | -------------------------------------------------------------------------------- /book/Makefile: -------------------------------------------------------------------------------- 1 | PDFFLAGS = -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress \ 2 | -dCompressPages=true -dUseFlateCompression=true \ 3 | -dEmbedAllFonts=true -dSubsetFonts=true -dMaxSubsetPct=100 4 | 5 | 6 | all: book.tex 7 | pdflatex book 8 | makeindex book.idx 9 | pdflatex book 10 | mv book.pdf thinkbayes.pdf 11 | evince thinkbayes.pdf 12 | 13 | HEVEABUILDLOG=build.log 14 | 15 | hevea: 16 | sed 's/\(figs\/[^.]*\).\(pdf\|png\)/\1.eps/' book.tex > thinkbayes.tex 17 | rm -rf html 18 | mkdir html 19 | hevea macros.hva -O -e latexonly htmlonly thinkbayes 2>&1 | tee ${HEVEABUILDLOG} 20 | # the following greps are a kludge to prevent imagen from seeing 21 | # the definitions in latexonly, and to avoid headers on the images 22 | grep -v latexonly thinkbayes.image.tex > a; mv a thinkbayes.image.tex 23 | sed s/\\\\usepackage{fancyhdr}// < thinkbayes.image.tex > a; mv a thinkbayes.image.tex 24 | imagen -png thinkbayes 25 | hacha thinkbayes.html 26 | cp up.png next.png back.png html 27 | cp custom.css thinkbayes.css 28 | mv index.html thinkbayes.css thinkbayes*.html thinkbayes*.png *motif.gif html 29 | 30 | DEST = /home/downey/public_html/greent/thinkbayes 31 | 32 | distrib: 33 | rm -rf dist 34 | mkdir dist 35 | rsync -a thinkbayes.pdf html dist 36 | rsync -a dist/* $(DEST) 37 | chmod -R o+r $(DEST)/* 38 | cd $(DEST)/..; sh back 39 | 40 | plastex: 41 | # Before running plastex, we need the current directory in PYTHONPATH 42 | # export PYTHONPATH=$PYTHONPATH:. 43 | rm -rf /home/downey/thinkbayes/trunk/book/.svn 44 | plastex --renderer=DocBook --theme=book --image-resolution=300 --filename=book.xml book.tex 45 | rm -rf /home/downey/thinkbayes/trunk/book/.svn 46 | 47 | xxe: 48 | xmlcopyeditor ~/ThinkBayes/book/book/book.xml & 49 | 50 | lint: 51 | xmllint -noout book/book.xml 52 | 53 | OREILLY = atlas 54 | 55 | oreilly: 56 | rsync -a book/ $(OREILLY) 57 | rsync -a figs/* $(OREILLY)/figs/ 58 | cd $(OREILLY); git add . 59 | cd $(OREILLY); git commit -m "Automated check in." 60 | cd $(OREILLY); git push 61 | 62 | clean: 63 | rm -f *~ *.aux *.log *.dvi *.idx *.ilg *.ind *.toc 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /book/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/back.png -------------------------------------------------------------------------------- /book/custom.css: -------------------------------------------------------------------------------- 1 | 2 | div#main { 3 | display: grid; 4 | grid-template-columns: 1fr; 5 | grid-auto-rows: minmax(100px, auto); 6 | grid-gap: 10px; 7 | gap: 10px; 8 | } 9 | div#colorbar { 10 | display: none; 11 | /* background: #DC143C; */ 12 | } 13 | div#content { 14 | min-width: 0; 15 | padding: 10px; 16 | } 17 | div#content p:first-of-type { 18 | margin-top: 0; 19 | } 20 | h1, h2, h3, h4, h5, h6 { 21 | margin-bottom: 0; 22 | } 23 | h1 span, h2 span, h3 span, h4 span, h5 span, h6 span { 24 | display: block; 25 | } 26 | 27 | img { 28 | max-width: 100% 29 | } 30 | pre.verbatim { 31 | overflow-x: auto; 32 | max-width: 100%; 33 | } 34 | 35 | /* navarrow links */ 36 | img.navarrow { 37 | padding: 0 5px; 38 | text-decoration: none; 39 | color: #DC143C; 40 | } 41 | 42 | body > a, body > a:link { 43 | color: #DC143C; 44 | } 45 | body > a:hover { 46 | text-decoration: underline; 47 | } 48 | 49 | body div#content a, body div#sidebar a { 50 | text-decoration: underline; 51 | } 52 | 53 | img.prevarrow:after { 54 | content: " 🡄" 55 | } 56 | img.uparrow:after { 57 | content: " 🡅" 58 | } 59 | img.nextarrow:after { 60 | content: " 🡆" 61 | } 62 | /* end navarrow links */ 63 | 64 | div.notice { 65 | background-color: #f0f0f0; 66 | padding: 8px; 67 | border: 1px solid #d0d0d0; 68 | margin-bottom: 12px; 69 | } 70 | 71 | @media (max-width: 800px) { 72 | body > hr:first-of-type { 73 | color: #DC143C; 74 | background-color: #DC143C; 75 | height: 12px; 76 | margin-bottom: 0px; 77 | border: 0; 78 | } 79 | div#content { 80 | padding: 10px 2px; 81 | } 82 | } 83 | 84 | @media (min-width: 800px) { 85 | hr { border: 0; } 86 | div#colorbar { 87 | display: block; 88 | } 89 | div#main { 90 | grid-template-columns: 1fr 5fr 200px; 91 | } 92 | div#content { 93 | max-width: 600px; 94 | } 95 | div#sidebar { 96 | max-width: 200px; 97 | padding: 0px 10px; 98 | } 99 | img.prevarrow { 100 | margin-left: 15%; 101 | } 102 | } 103 | -------------------------------------------------------------------------------- /book/figs/dungeons1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/dungeons1.pdf -------------------------------------------------------------------------------- /book/figs/dungeons2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/dungeons2.pdf -------------------------------------------------------------------------------- /book/figs/dungeons3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/dungeons3.pdf -------------------------------------------------------------------------------- /book/figs/euro1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/euro1.pdf -------------------------------------------------------------------------------- /book/figs/euro2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/euro2.pdf -------------------------------------------------------------------------------- /book/figs/euro3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/euro3.pdf -------------------------------------------------------------------------------- /book/figs/hockey0.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/hockey0.pdf -------------------------------------------------------------------------------- /book/figs/hockey1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/hockey1.pdf -------------------------------------------------------------------------------- /book/figs/hockey2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/hockey2.pdf -------------------------------------------------------------------------------- /book/figs/hockey3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/hockey3.pdf -------------------------------------------------------------------------------- /book/figs/jaynes1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/jaynes1.pdf -------------------------------------------------------------------------------- /book/figs/jaynes2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/jaynes2.pdf -------------------------------------------------------------------------------- /book/figs/kidney1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/kidney1.pdf -------------------------------------------------------------------------------- /book/figs/kidney2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/kidney2.pdf -------------------------------------------------------------------------------- /book/figs/kidney3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/kidney3.pdf -------------------------------------------------------------------------------- /book/figs/kidney4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/kidney4.pdf -------------------------------------------------------------------------------- /book/figs/kidney5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/kidney5.pdf -------------------------------------------------------------------------------- /book/figs/kidney6.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/kidney6.pdf -------------------------------------------------------------------------------- /book/figs/kidney7.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/kidney7.pdf -------------------------------------------------------------------------------- /book/figs/kidney8.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/kidney8.pdf -------------------------------------------------------------------------------- /book/figs/paintball.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/paintball.pdf -------------------------------------------------------------------------------- /book/figs/paintball1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/paintball1.pdf -------------------------------------------------------------------------------- /book/figs/paintball2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/paintball2.pdf -------------------------------------------------------------------------------- /book/figs/paintball3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/paintball3.pdf -------------------------------------------------------------------------------- /book/figs/paintball4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/paintball4.pdf -------------------------------------------------------------------------------- /book/figs/paintball5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/paintball5.pdf -------------------------------------------------------------------------------- /book/figs/price1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/price1.pdf -------------------------------------------------------------------------------- /book/figs/price2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/price2.pdf -------------------------------------------------------------------------------- /book/figs/price3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/price3.pdf -------------------------------------------------------------------------------- /book/figs/price4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/price4.pdf -------------------------------------------------------------------------------- /book/figs/price5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/price5.pdf -------------------------------------------------------------------------------- /book/figs/price6.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/price6.pdf -------------------------------------------------------------------------------- /book/figs/redline0.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/redline0.pdf -------------------------------------------------------------------------------- /book/figs/redline1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/redline1.pdf -------------------------------------------------------------------------------- /book/figs/redline2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/redline2.pdf -------------------------------------------------------------------------------- /book/figs/redline3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/redline3.pdf -------------------------------------------------------------------------------- /book/figs/redline4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/redline4.pdf -------------------------------------------------------------------------------- /book/figs/redline5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/redline5.pdf -------------------------------------------------------------------------------- /book/figs/sat_calibrate.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/sat_calibrate.pdf -------------------------------------------------------------------------------- /book/figs/sat_join.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/sat_join.pdf -------------------------------------------------------------------------------- /book/figs/sat_joint.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/sat_joint.pdf -------------------------------------------------------------------------------- /book/figs/sat_normal.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/sat_normal.pdf -------------------------------------------------------------------------------- /book/figs/sat_posteriors.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/sat_posteriors.pdf -------------------------------------------------------------------------------- /book/figs/sat_posteriors2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/sat_posteriors2.pdf -------------------------------------------------------------------------------- /book/figs/sat_posteriors_eff.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/sat_posteriors_eff.pdf -------------------------------------------------------------------------------- /book/figs/sat_posteriors_p_corr.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/sat_posteriors_p_corr.pdf -------------------------------------------------------------------------------- /book/figs/sat_prior.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/sat_prior.pdf -------------------------------------------------------------------------------- /book/figs/sat_prior2.eps: -------------------------------------------------------------------------------- 1 | %!PS-Adobe-3.0 EPSF-3.0 2 | %%Title: sat_prior2.eps 3 | %%Creator: matplotlib version 0.99.1.1, http://matplotlib.sourceforge.net/ 4 | %%CreationDate: Tue Aug 23 12:03:18 2011 5 | %%Orientation: portrait 6 | %%BoundingBox: 18 180 594 612 7 | %%EndComments 8 | %%BeginProlog 9 | /mpldict 8 dict def 10 | mpldict begin 11 | /m { moveto } bind def 12 | /l { lineto } bind def 13 | /r { rlineto } bind def 14 | /c { curveto } bind def 15 | /cl { closepath } bind def 16 | /box { 17 | m 18 | 1 index 0 r 19 | 0 exch r 20 | neg 0 r 21 | cl 22 | } bind def 23 | /clipbox { 24 | box 25 | clip 26 | newpath 27 | } bind def 28 | %!PS-Adobe-3.0 Resource-Font 29 | %%Title: DejaVu Sans 30 | %%Copyright: Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved. DejaVu changes are in public domain 31 | %%Creator: Converted from TrueType by PPR 32 | 25 dict begin 33 | /_d{bind def}bind def 34 | /_m{moveto}_d 35 | /_l{lineto}_d 36 | /_cl{closepath eofill}_d 37 | /_c{curveto}_d 38 | /_sc{7 -1 roll{setcachedevice}{pop pop pop pop pop pop}ifelse}_d 39 | /_e{exec}_d 40 | /FontName /DejaVuSans def 41 | /PaintType 0 def 42 | /FontMatrix[.001 0 0 .001 0 0]def 43 | /FontBBox[-1020 -349 1681 1167]def 44 | /FontType 3 def 45 | /Encoding StandardEncoding def 46 | /FontInfo 10 dict dup begin 47 | /FamilyName (DejaVu Sans) def 48 | /FullName (DejaVu Sans) def 49 | /Notice (Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved. DejaVu changes are in public domain ) def 50 | /Weight (Book) def 51 | /Version (Version 2.30) def 52 | /ItalicAngle 0.0 def 53 | /isFixedPitch false def 54 | /UnderlinePosition -130 def 55 | /UnderlineThickness 90 def 56 | end readonly def 57 | /CharStrings 14 dict dup begin 58 | /period{318 0 107 0 210 124 _sc 59 | 107 124 _m 60 | 210 124 _l 61 | 210 0 _l 62 | 107 0 _l 63 | 107 124 _l 64 | _cl}_d 65 | /zero{636 0 66 -13 570 742 _sc 66 | 318 664 _m 67 | 267 664 229 639 203 589 _c 68 | 177 539 165 464 165 364 _c 69 | 165 264 177 189 203 139 _c 70 | 229 89 267 64 318 64 _c 71 | 369 64 407 89 433 139 _c 72 | 458 189 471 264 471 364 _c 73 | 471 464 458 539 433 589 _c 74 | 407 639 369 664 318 664 _c 75 | 318 742 _m 76 | 399 742 461 709 505 645 _c 77 | 548 580 570 486 570 364 _c 78 | 570 241 548 147 505 83 _c 79 | 461 19 399 -13 318 -13 _c 80 | 236 -13 173 19 130 83 _c 81 | 87 147 66 241 66 364 _c 82 | 66 486 87 580 130 645 _c 83 | 173 709 236 742 318 742 _c 84 | _cl}_d 85 | /one{636 0 110 0 544 729 _sc 86 | 124 83 _m 87 | 285 83 _l 88 | 285 639 _l 89 | 110 604 _l 90 | 110 694 _l 91 | 284 729 _l 92 | 383 729 _l 93 | 383 83 _l 94 | 544 83 _l 95 | 544 0 _l 96 | 124 0 _l 97 | 124 83 _l 98 | _cl}_d 99 | /two{{636 0 73 0 536 742 _sc 100 | 192 83 _m 101 | 536 83 _l 102 | 536 0 _l 103 | 73 0 _l 104 | 73 83 _l 105 | 110 121 161 173 226 239 _c 106 | 290 304 331 346 348 365 _c 107 | 380 400 402 430 414 455 _c 108 | 426 479 433 504 433 528 _c 109 | 433 566 419 598 392 622 _c 110 | 365 646 330 659 286 659 _c 111 | 255 659 222 653 188 643 _c 112 | 154 632 117 616 78 594 _c 113 | 78 694 _l 114 | 118 710 155 722 189 730 _c 115 | 223 738 255 742 284 742 _c 116 | 359 742 419 723 464 685 _c 117 | 509 647 532 597 532 534 _c 118 | 532 504 526 475 515 449 _c 119 | 504 422 484 390 454 354 _c 120 | 446 344 420 317 376 272 _c 121 | 332 227 271 164 192 83 _c 122 | _cl}_e}_d 123 | /four{636 0 49 0 580 729 _sc 124 | 378 643 _m 125 | 129 254 _l 126 | 378 254 _l 127 | 378 643 _l 128 | 352 729 _m 129 | 476 729 _l 130 | 476 254 _l 131 | 580 254 _l 132 | 580 172 _l 133 | 476 172 _l 134 | 476 0 _l 135 | 378 0 _l 136 | 378 172 _l 137 | 49 172 _l 138 | 49 267 _l 139 | 352 729 _l 140 | _cl}_d 141 | /six{{636 0 70 -13 573 742 _sc 142 | 330 404 _m 143 | 286 404 251 388 225 358 _c 144 | 199 328 186 286 186 234 _c 145 | 186 181 199 139 225 109 _c 146 | 251 79 286 64 330 64 _c 147 | 374 64 409 79 435 109 _c 148 | 461 139 474 181 474 234 _c 149 | 474 286 461 328 435 358 _c 150 | 409 388 374 404 330 404 _c 151 | 526 713 _m 152 | 526 623 _l 153 | 501 635 476 644 451 650 _c 154 | 425 656 400 659 376 659 _c 155 | 310 659 260 637 226 593 _c 156 | 192 549 172 482 168 394 _c 157 | 187 422 211 444 240 459 _c 158 | 269 474 301 482 336 482 _c 159 | 409 482 467 459 509 415 _c 160 | 551 371 573 310 573 234 _c 161 | 573 159 550 99 506 54 _c 162 | 462 9 403 -13 330 -13 _c 163 | 246 -13 181 19 137 83 _c 164 | 92 147 70 241 70 364 _c 165 | 70 479 97 571 152 639 _c 166 | 206 707 280 742 372 742 _c 167 | }_e{396 742 421 739 447 735 _c 168 | 472 730 498 723 526 713 _c 169 | _cl}_e}_d 170 | /eight{{636 0 68 -13 568 742 _sc 171 | 318 346 _m 172 | 271 346 234 333 207 308 _c 173 | 180 283 167 249 167 205 _c 174 | 167 161 180 126 207 101 _c 175 | 234 76 271 64 318 64 _c 176 | 364 64 401 76 428 102 _c 177 | 455 127 469 161 469 205 _c 178 | 469 249 455 283 429 308 _c 179 | 402 333 365 346 318 346 _c 180 | 219 388 _m 181 | 177 398 144 418 120 447 _c 182 | 96 476 85 511 85 553 _c 183 | 85 611 105 657 147 691 _c 184 | 188 725 245 742 318 742 _c 185 | 390 742 447 725 489 691 _c 186 | 530 657 551 611 551 553 _c 187 | 551 511 539 476 515 447 _c 188 | 491 418 459 398 417 388 _c 189 | 464 377 501 355 528 323 _c 190 | 554 291 568 251 568 205 _c 191 | 568 134 546 80 503 43 _c 192 | 459 5 398 -13 318 -13 _c 193 | 237 -13 175 5 132 43 _c 194 | 89 80 68 134 68 205 _c 195 | 68 251 81 291 108 323 _c 196 | 134 355 171 377 219 388 _c 197 | }_e{183 544 _m 198 | 183 506 194 476 218 455 _c 199 | 242 434 275 424 318 424 _c 200 | 360 424 393 434 417 455 _c 201 | 441 476 453 506 453 544 _c 202 | 453 582 441 611 417 632 _c 203 | 393 653 360 664 318 664 _c 204 | 275 664 242 653 218 632 _c 205 | 194 611 183 582 183 544 _c 206 | _cl}_e}_d 207 | /C{{698 0 56 -13 644 742 _sc 208 | 644 673 _m 209 | 644 569 _l 210 | 610 599 575 622 537 638 _c 211 | 499 653 460 661 418 661 _c 212 | 334 661 270 635 226 584 _c 213 | 182 533 160 460 160 364 _c 214 | 160 268 182 194 226 143 _c 215 | 270 92 334 67 418 67 _c 216 | 460 67 499 74 537 90 _c 217 | 575 105 610 128 644 159 _c 218 | 644 56 _l 219 | 609 32 572 15 534 4 _c 220 | 496 -7 455 -13 412 -13 _c 221 | 302 -13 215 20 151 87 _c 222 | 87 154 56 246 56 364 _c 223 | 56 481 87 573 151 641 _c 224 | 215 708 302 742 412 742 _c 225 | 456 742 497 736 535 725 _c 226 | 573 713 610 696 644 673 _c 227 | _cl}_e}_d 228 | /D{770 0 98 0 711 729 _sc 229 | 197 648 _m 230 | 197 81 _l 231 | 316 81 _l 232 | 416 81 490 103 537 149 _c 233 | 583 195 607 267 607 365 _c 234 | 607 463 583 534 537 580 _c 235 | 490 625 416 648 316 648 _c 236 | 197 648 _l 237 | 98 729 _m 238 | 301 729 _l 239 | 442 729 546 699 612 641 _c 240 | 678 582 711 490 711 365 _c 241 | 711 239 677 147 611 88 _c 242 | 545 29 441 0 301 0 _c 243 | 98 0 _l 244 | 98 729 _l 245 | _cl}_d 246 | /F{575 0 98 0 517 729 _sc 247 | 98 729 _m 248 | 517 729 _l 249 | 517 646 _l 250 | 197 646 _l 251 | 197 431 _l 252 | 486 431 _l 253 | 486 348 _l 254 | 197 348 _l 255 | 197 0 _l 256 | 98 0 _l 257 | 98 729 _l 258 | _cl}_d 259 | /i{278 0 94 0 184 760 _sc 260 | 94 547 _m 261 | 184 547 _l 262 | 184 0 _l 263 | 94 0 _l 264 | 94 547 _l 265 | 94 760 _m 266 | 184 760 _l 267 | 184 646 _l 268 | 94 646 _l 269 | 94 760 _l 270 | _cl}_d 271 | /o{612 0 55 -13 557 560 _sc 272 | 306 484 _m 273 | 258 484 220 465 192 427 _c 274 | 164 389 150 338 150 273 _c 275 | 150 207 163 156 191 118 _c 276 | 219 80 257 62 306 62 _c 277 | 354 62 392 80 420 118 _c 278 | 448 156 462 207 462 273 _c 279 | 462 337 448 389 420 427 _c 280 | 392 465 354 484 306 484 _c 281 | 306 560 _m 282 | 384 560 445 534 490 484 _c 283 | 534 433 557 363 557 273 _c 284 | 557 183 534 113 490 63 _c 285 | 445 12 384 -13 306 -13 _c 286 | 227 -13 165 12 121 63 _c 287 | 77 113 55 183 55 273 _c 288 | 55 363 77 433 121 484 _c 289 | 165 534 227 560 306 560 _c 290 | _cl}_d 291 | /p{{635 0 91 -207 580 560 _sc 292 | 181 82 _m 293 | 181 -207 _l 294 | 91 -207 _l 295 | 91 547 _l 296 | 181 547 _l 297 | 181 464 _l 298 | 199 496 223 520 252 536 _c 299 | 281 552 316 560 356 560 _c 300 | 422 560 476 533 518 481 _c 301 | 559 428 580 359 580 273 _c 302 | 580 187 559 117 518 65 _c 303 | 476 13 422 -13 356 -13 _c 304 | 316 -13 281 -5 252 10 _c 305 | 223 25 199 49 181 82 _c 306 | 487 273 _m 307 | 487 339 473 390 446 428 _c 308 | 418 466 381 485 334 485 _c 309 | 286 485 249 466 222 428 _c 310 | 194 390 181 339 181 273 _c 311 | 181 207 194 155 222 117 _c 312 | 249 79 286 61 334 61 _c 313 | 381 61 418 79 446 117 _c 314 | 473 155 487 207 487 273 _c 315 | _cl}_e}_d 316 | /r{411 0 91 0 411 560 _sc 317 | 411 463 _m 318 | 401 469 390 473 378 476 _c 319 | 366 478 353 480 339 480 _c 320 | 288 480 249 463 222 430 _c 321 | 194 397 181 350 181 288 _c 322 | 181 0 _l 323 | 91 0 _l 324 | 91 547 _l 325 | 181 547 _l 326 | 181 462 _l 327 | 199 495 224 520 254 536 _c 328 | 284 552 321 560 365 560 _c 329 | 371 560 378 559 386 559 _c 330 | 393 558 401 557 411 555 _c 331 | 411 463 _l 332 | _cl}_d 333 | end readonly def 334 | 335 | /BuildGlyph 336 | {exch begin 337 | CharStrings exch 338 | 2 copy known not{pop /.notdef}if 339 | true 3 1 roll get exec 340 | end}_d 341 | 342 | /BuildChar { 343 | 1 index /Encoding get exch get 344 | 1 index /BuildGlyph get exec 345 | }_d 346 | 347 | FontName currentdict end definefont pop 348 | end 349 | %%EndProlog 350 | mpldict begin 351 | 18 180 translate 352 | 576 432 0 0 clipbox 353 | 1.000 setlinewidth 354 | 1 setlinejoin 355 | 2 setlinecap 356 | [] 0 setdash 357 | 1.000 setgray 358 | gsave 359 | 0 0 m 360 | 576 0 l 361 | 576 432 l 362 | 0 432 l 363 | 0 0 l 364 | gsave 365 | fill 366 | grestore 367 | stroke 368 | grestore 369 | gsave 370 | 72 43.2 m 371 | 518.4 43.2 l 372 | 518.4 388.8 l 373 | 72 388.8 l 374 | 72 43.2 l 375 | fill 376 | grestore 377 | 2.000 setlinewidth 378 | 0.000 0.000 1.000 setrgbcolor 379 | gsave 380 | 446.4 345.6 72 43.2 clipbox 381 | 72 43.2 m 382 | 72 43.9363 l 383 | 77.5111 43.9363 l 384 | 77.5111 44.4222 l 385 | 83.0222 44.4222 l 386 | 83.0222 45.2073 l 387 | 88.5333 45.2073 l 388 | 88.5333 45.9248 l 389 | 94.0444 45.9248 l 390 | 94.0444 47.5776 l 391 | 99.5556 47.5776 l 392 | 99.5556 49.2304 l 393 | 105.067 49.2304 l 394 | 105.067 51.124 l 395 | 110.578 51.124 l 396 | 110.578 53.7693 l 397 | 117.091 53.7693 l 398 | 117.091 56.3301 l 399 | 124.606 56.3301 l 400 | 124.606 59.6148 l 401 | 132.121 59.6148 l 402 | 132.121 63.5771 l 403 | 139.636 63.5771 l 404 | 139.636 68.2494 l 405 | 147.152 68.2494 l 406 | 147.152 73.6061 l 407 | 154.667 73.6061 l 408 | 154.667 79.4133 l 409 | 163.852 79.4133 l 410 | 163.852 85.5086 l 411 | 173.037 85.5086 l 412 | 173.037 92.8014 l 413 | 182.222 92.8014 l 414 | 182.222 99.552 l 415 | 191.407 99.552 l 416 | 191.407 108.967 l 417 | 201.167 108.967 l 418 | 201.167 119.694 l 419 | 211.5 119.694 l 420 | 211.5 130.099 l 421 | 221.833 130.099 l 422 | 221.833 138.9 l 423 | 232.167 138.9 l 424 | 232.167 150.17 l 425 | 242.5 150.17 l 426 | 242.5 163.229 l 427 | 252.833 163.229 l 428 | 252.833 173.904 l 429 | 263.167 173.904 l 430 | 263.167 183.085 l 431 | 273.5 183.085 l 432 | 273.5 195.909 l 433 | 283.833 195.909 l 434 | 283.833 209.63 l 435 | 294.167 209.63 l 436 | 294.167 219.84 l 437 | 304.5 219.84 l 438 | 304.5 229.634 l 439 | 314.833 229.634 l 440 | 314.833 242.003 l 441 | 325.167 242.003 l 442 | 325.167 254.257 l 443 | 335.5 254.257 l 444 | 335.5 262.899 l 445 | 345.833 262.899 l 446 | 345.833 271.487 l 447 | 356.167 271.487 l 448 | 356.167 283.107 l 449 | 365.926 283.107 l 450 | 365.926 292.29 l 451 | 375.111 292.29 l 452 | 375.111 301.003 l 453 | 384.296 301.003 l 454 | 384.296 308.496 l 455 | 393.481 308.496 l 456 | 393.481 318.398 l 457 | 402.667 318.398 l 458 | 402.667 325.478 l 459 | 413 325.478 l 460 | 413 331.863 l 461 | 423.333 331.863 l 462 | 423.333 337.893 l 463 | 433.667 337.893 l 464 | 433.667 343.801 l 465 | 444 343.801 l 466 | 444 349.946 l 467 | 450.889 349.946 l 468 | 450.889 355.422 l 469 | 457.778 355.422 l 470 | 457.778 360.578 l 471 | 464.667 360.578 l 472 | 464.667 365.363 l 473 | 471.556 365.363 l 474 | 471.556 369.271 l 475 | 478.444 369.271 l 476 | 478.444 372.796 l 477 | 485.333 372.796 l 478 | 485.333 374.52 l 479 | 489.467 374.52 l 480 | 489.467 376.703 l 481 | 493.6 376.703 l 482 | 493.6 378.398 l 483 | 497.733 378.398 l 484 | 497.733 380.714 l 485 | 501.867 380.714 l 486 | 501.867 382.29 l 487 | 506 382.29 l 488 | 506 384.461 l 489 | 510.133 384.461 l 490 | 510.133 385.308 l 491 | 514.267 385.308 l 492 | 514.267 386.114 l 493 | 518.4 386.114 l 494 | 518.4 388.8 l 495 | stroke 496 | grestore 497 | 0.500 setlinewidth 498 | 0 setlinecap 499 | 0.000 setgray 500 | gsave 501 | /o { 502 | gsave 503 | newpath 504 | translate 505 | 0 0 m 506 | 0 4 l 507 | stroke 508 | grestore 509 | } bind def 510 | 72 43.2 o 511 | grestore 512 | gsave 513 | /o { 514 | gsave 515 | newpath 516 | translate 517 | 0 0 m 518 | 0 -4 l 519 | stroke 520 | grestore 521 | } bind def 522 | 72 388.8 o 523 | grestore 524 | /DejaVuSans findfont 525 | 14.000 scalefont 526 | setfont 527 | gsave 528 | 61.789062 28.606250 translate 529 | 0.000000 rotate 530 | 0.000000 0.203125 m /zero glyphshow 531 | 8.907227 0.203125 m /period glyphshow 532 | 13.357422 0.203125 m /zero glyphshow 533 | grestore 534 | gsave 535 | /o { 536 | gsave 537 | newpath 538 | translate 539 | 0 0 m 540 | 0 4 l 541 | stroke 542 | grestore 543 | } bind def 544 | 161.28 43.2 o 545 | grestore 546 | gsave 547 | /o { 548 | gsave 549 | newpath 550 | translate 551 | 0 0 m 552 | 0 -4 l 553 | stroke 554 | grestore 555 | } bind def 556 | 161.28 388.8 o 557 | grestore 558 | gsave 559 | 151.311250 28.606250 translate 560 | 0.000000 rotate 561 | 0.000000 0.203125 m /zero glyphshow 562 | 8.907227 0.203125 m /period glyphshow 563 | 13.357422 0.203125 m /two glyphshow 564 | grestore 565 | gsave 566 | /o { 567 | gsave 568 | newpath 569 | translate 570 | 0 0 m 571 | 0 4 l 572 | stroke 573 | grestore 574 | } bind def 575 | 250.56 43.2 o 576 | grestore 577 | gsave 578 | /o { 579 | gsave 580 | newpath 581 | translate 582 | 0 0 m 583 | 0 -4 l 584 | stroke 585 | grestore 586 | } bind def 587 | 250.56 388.8 o 588 | grestore 589 | gsave 590 | 240.278750 28.606250 translate 591 | 0.000000 rotate 592 | 0.000000 0.203125 m /zero glyphshow 593 | 8.907227 0.203125 m /period glyphshow 594 | 13.357422 0.203125 m /four glyphshow 595 | grestore 596 | gsave 597 | /o { 598 | gsave 599 | newpath 600 | translate 601 | 0 0 m 602 | 0 4 l 603 | stroke 604 | grestore 605 | } bind def 606 | 339.84 43.2 o 607 | grestore 608 | gsave 609 | /o { 610 | gsave 611 | newpath 612 | translate 613 | 0 0 m 614 | 0 -4 l 615 | stroke 616 | grestore 617 | } bind def 618 | 339.84 388.8 o 619 | grestore 620 | gsave 621 | 329.605625 28.606250 translate 622 | 0.000000 rotate 623 | 0.000000 0.203125 m /zero glyphshow 624 | 8.907227 0.203125 m /period glyphshow 625 | 13.357422 0.203125 m /six glyphshow 626 | grestore 627 | gsave 628 | /o { 629 | gsave 630 | newpath 631 | translate 632 | 0 0 m 633 | 0 4 l 634 | stroke 635 | grestore 636 | } bind def 637 | 429.12 43.2 o 638 | grestore 639 | gsave 640 | /o { 641 | gsave 642 | newpath 643 | translate 644 | 0 0 m 645 | 0 -4 l 646 | stroke 647 | grestore 648 | } bind def 649 | 429.12 388.8 o 650 | grestore 651 | gsave 652 | 418.924688 28.606250 translate 653 | 0.000000 rotate 654 | 0.000000 0.203125 m /zero glyphshow 655 | 8.907227 0.203125 m /period glyphshow 656 | 13.357422 0.203125 m /eight glyphshow 657 | grestore 658 | gsave 659 | /o { 660 | gsave 661 | newpath 662 | translate 663 | 0 0 m 664 | 0 4 l 665 | stroke 666 | grestore 667 | } bind def 668 | 518.4 43.2 o 669 | grestore 670 | gsave 671 | /o { 672 | gsave 673 | newpath 674 | translate 675 | 0 0 m 676 | 0 -4 l 677 | stroke 678 | grestore 679 | } bind def 680 | 518.4 388.8 o 681 | grestore 682 | gsave 683 | 508.501562 28.606250 translate 684 | 0.000000 rotate 685 | 0.000000 0.203125 m /one glyphshow 686 | 8.907227 0.203125 m /period glyphshow 687 | 13.357422 0.203125 m /zero glyphshow 688 | grestore 689 | 291.77 12.856 m 690 | 0 2.906 rmoveto 691 | (p) show 692 | gsave 693 | /o { 694 | gsave 695 | newpath 696 | translate 697 | 0 0 m 698 | 4 0 l 699 | stroke 700 | grestore 701 | } bind def 702 | 72 43.2 o 703 | grestore 704 | gsave 705 | /o { 706 | gsave 707 | newpath 708 | translate 709 | 0 0 m 710 | -4 0 l 711 | stroke 712 | grestore 713 | } bind def 714 | 518.4 43.2 o 715 | grestore 716 | gsave 717 | 47.578125 37.903125 translate 718 | 0.000000 rotate 719 | 0.000000 0.203125 m /zero glyphshow 720 | 8.907227 0.203125 m /period glyphshow 721 | 13.357422 0.203125 m /zero glyphshow 722 | grestore 723 | gsave 724 | /o { 725 | gsave 726 | newpath 727 | translate 728 | 0 0 m 729 | 4 0 l 730 | stroke 731 | grestore 732 | } bind def 733 | 72 112.32 o 734 | grestore 735 | gsave 736 | /o { 737 | gsave 738 | newpath 739 | translate 740 | 0 0 m 741 | -4 0 l 742 | stroke 743 | grestore 744 | } bind def 745 | 518.4 112.32 o 746 | grestore 747 | gsave 748 | 48.062500 107.023125 translate 749 | 0.000000 rotate 750 | 0.000000 0.203125 m /zero glyphshow 751 | 8.907227 0.203125 m /period glyphshow 752 | 13.357422 0.203125 m /two glyphshow 753 | grestore 754 | gsave 755 | /o { 756 | gsave 757 | newpath 758 | translate 759 | 0 0 m 760 | 4 0 l 761 | stroke 762 | grestore 763 | } bind def 764 | 72 181.44 o 765 | grestore 766 | gsave 767 | /o { 768 | gsave 769 | newpath 770 | translate 771 | 0 0 m 772 | -4 0 l 773 | stroke 774 | grestore 775 | } bind def 776 | 518.4 181.44 o 777 | grestore 778 | gsave 779 | 47.437500 176.143125 translate 780 | 0.000000 rotate 781 | 0.000000 0.203125 m /zero glyphshow 782 | 8.907227 0.203125 m /period glyphshow 783 | 13.357422 0.203125 m /four glyphshow 784 | grestore 785 | gsave 786 | /o { 787 | gsave 788 | newpath 789 | translate 790 | 0 0 m 791 | 4 0 l 792 | stroke 793 | grestore 794 | } bind def 795 | 72 250.56 o 796 | grestore 797 | gsave 798 | /o { 799 | gsave 800 | newpath 801 | translate 802 | 0 0 m 803 | -4 0 l 804 | stroke 805 | grestore 806 | } bind def 807 | 518.4 250.56 o 808 | grestore 809 | gsave 810 | 47.531250 245.263125 translate 811 | 0.000000 rotate 812 | 0.000000 0.203125 m /zero glyphshow 813 | 8.907227 0.203125 m /period glyphshow 814 | 13.357422 0.203125 m /six glyphshow 815 | grestore 816 | gsave 817 | /o { 818 | gsave 819 | newpath 820 | translate 821 | 0 0 m 822 | 4 0 l 823 | stroke 824 | grestore 825 | } bind def 826 | 72 319.68 o 827 | grestore 828 | gsave 829 | /o { 830 | gsave 831 | newpath 832 | translate 833 | 0 0 m 834 | -4 0 l 835 | stroke 836 | grestore 837 | } bind def 838 | 518.4 319.68 o 839 | grestore 840 | gsave 841 | 47.609375 314.383125 translate 842 | 0.000000 rotate 843 | 0.000000 0.203125 m /zero glyphshow 844 | 8.907227 0.203125 m /period glyphshow 845 | 13.357422 0.203125 m /eight glyphshow 846 | grestore 847 | gsave 848 | /o { 849 | gsave 850 | newpath 851 | translate 852 | 0 0 m 853 | 4 0 l 854 | stroke 855 | grestore 856 | } bind def 857 | 72 388.8 o 858 | grestore 859 | gsave 860 | /o { 861 | gsave 862 | newpath 863 | translate 864 | 0 0 m 865 | -4 0 l 866 | stroke 867 | grestore 868 | } bind def 869 | 518.4 388.8 o 870 | grestore 871 | gsave 872 | 48.203125 383.503125 translate 873 | 0.000000 rotate 874 | 0.000000 0.203125 m /one glyphshow 875 | 8.907227 0.203125 m /period glyphshow 876 | 13.357422 0.203125 m /zero glyphshow 877 | grestore 878 | 42.438 202.492 m 879 | gsave 880 | 90 rotate 881 | 0 0.203 rmoveto 882 | (CDF) show 883 | grestore 884 | 1.000 setlinewidth 885 | 2 setlinecap 886 | gsave 887 | 72 388.8 m 888 | 518.4 388.8 l 889 | stroke 890 | grestore 891 | gsave 892 | 518.4 43.2 m 893 | 518.4 388.8 l 894 | stroke 895 | grestore 896 | gsave 897 | 72 43.2 m 898 | 518.4 43.2 l 899 | stroke 900 | grestore 901 | gsave 902 | 72 43.2 m 903 | 72 388.8 l 904 | stroke 905 | grestore 906 | gsave 907 | 80.4 350.507 m 908 | 178.693 350.507 l 909 | 178.693 380.4 l 910 | 80.4 380.4 l 911 | 80.4 350.507 l 912 | cl 913 | gsave 914 | 1.000 setgray 915 | fill 916 | grestore 917 | stroke 918 | grestore 919 | 2.000 setlinewidth 920 | 0.000 0.000 1.000 setrgbcolor 921 | gsave 922 | 92.16 366.638 m 923 | 115.68 366.638 l 924 | stroke 925 | grestore 926 | 0.000 setgray 927 | /DejaVuSans findfont 928 | 16.800 scalefont 929 | setfont 930 | 134.16 357.227 m 931 | 0 3.531 rmoveto 932 | (prior) show 933 | 934 | end 935 | showpage 936 | -------------------------------------------------------------------------------- /book/figs/sat_prior2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/sat_prior2.pdf -------------------------------------------------------------------------------- /book/figs/species-cdf-B1558.G.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-cdf-B1558.G.pdf -------------------------------------------------------------------------------- /book/figs/species-cond-B1242.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-cond-B1242.pdf -------------------------------------------------------------------------------- /book/figs/species-cond-B1246.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-cond-B1246.pdf -------------------------------------------------------------------------------- /book/figs/species-frac-B1242.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-frac-B1242.pdf -------------------------------------------------------------------------------- /book/figs/species-frac-B1246.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-frac-B1246.pdf -------------------------------------------------------------------------------- /book/figs/species-l-cal.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-l-cal.pdf -------------------------------------------------------------------------------- /book/figs/species-l-val.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-l-val.pdf -------------------------------------------------------------------------------- /book/figs/species-l.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-l.pdf -------------------------------------------------------------------------------- /book/figs/species-madd.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-madd.pdf -------------------------------------------------------------------------------- /book/figs/species-n-cal.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-n-cal.pdf -------------------------------------------------------------------------------- /book/figs/species-n.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-n.pdf -------------------------------------------------------------------------------- /book/figs/species-ndist-B1242.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-ndist-B1242.pdf -------------------------------------------------------------------------------- /book/figs/species-ndist-B1246.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-ndist-B1246.pdf -------------------------------------------------------------------------------- /book/figs/species-prev-B1242.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-prev-B1242.pdf -------------------------------------------------------------------------------- /book/figs/species-prev-B1246.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-prev-B1246.pdf -------------------------------------------------------------------------------- /book/figs/species-q-cal.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-q-cal.pdf -------------------------------------------------------------------------------- /book/figs/species-q-val.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-q-val.pdf -------------------------------------------------------------------------------- /book/figs/species-q.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-q.pdf -------------------------------------------------------------------------------- /book/figs/species-rare-B1242.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-rare-B1242.pdf -------------------------------------------------------------------------------- /book/figs/species-rare-B1246.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species-rare-B1246.pdf -------------------------------------------------------------------------------- /book/figs/species.cond.B1242.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species.cond.B1242.pdf -------------------------------------------------------------------------------- /book/figs/species.frac.B1242.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species.frac.B1242.pdf -------------------------------------------------------------------------------- /book/figs/species.frac.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species.frac.pdf -------------------------------------------------------------------------------- /book/figs/species.ndist.B1242.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species.ndist.B1242.pdf -------------------------------------------------------------------------------- /book/figs/species.prev.B1242.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species.prev.B1242.pdf -------------------------------------------------------------------------------- /book/figs/species.rare.B1242.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species.rare.B1242.pdf -------------------------------------------------------------------------------- /book/figs/species.rare.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species.rare.pdf -------------------------------------------------------------------------------- /book/figs/species1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species1.pdf -------------------------------------------------------------------------------- /book/figs/species2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species2.pdf -------------------------------------------------------------------------------- /book/figs/species4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species4.pdf -------------------------------------------------------------------------------- /book/figs/species5-cal.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species5-cal.pdf -------------------------------------------------------------------------------- /book/figs/species5-val.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species5-val.pdf -------------------------------------------------------------------------------- /book/figs/species5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species5.pdf -------------------------------------------------------------------------------- /book/figs/species6.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/species6.pdf -------------------------------------------------------------------------------- /book/figs/train1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/train1.pdf -------------------------------------------------------------------------------- /book/figs/train2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/train2.pdf -------------------------------------------------------------------------------- /book/figs/train3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/train3.pdf -------------------------------------------------------------------------------- /book/figs/train4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/train4.pdf -------------------------------------------------------------------------------- /book/figs/variability_cv.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/variability_cv.pdf -------------------------------------------------------------------------------- /book/figs/variability_posterior_female.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/variability_posterior_female.pdf -------------------------------------------------------------------------------- /book/figs/variability_posterior_male.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AllenDowney/ThinkBayes/77eed00b89c8dadf01d674b8b8f5a8d4e7e9cd27/book/figs/variability_posterior_male.pdf -------------------------------------------------------------------------------- /book/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
38 | 39 |