579 lines
66 KiB
HTML
579 lines
66 KiB
HTML
<!DOCTYPE html>
|
||
<!--********************************************-->
|
||
<!--* Generated from PreTeXt source *-->
|
||
<!--* *-->
|
||
<!--* https://pretextbook.org *-->
|
||
<!--* *-->
|
||
<!--********************************************-->
|
||
<html lang="en-US" dir="ltr">
|
||
<!--******************************************-->
|
||
<!--* Authored with PreTeXt *-->
|
||
<!--* pretextbook.org *-->
|
||
<!--* Theme: boulder *-->
|
||
<!--* Palette: *-->
|
||
<!--******************************************-->
|
||
<head xmlns:og="http://ogp.me/ns#" xmlns:book="https://ogp.me/ns/book#">
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
<title>Conditional Probability</title>
|
||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
|
||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0">
|
||
<link href="_static/pretext/css/theme.css" rel="stylesheet" type="text/css">
|
||
<script type="module">import { startMathJax } from './_static/pretext/js/dist/mathjax_startup.js';
|
||
startMathJax({
|
||
hasWebworkReps: false,
|
||
hasSage: false,
|
||
isReact: false,
|
||
htmlPresentation: false,
|
||
});
|
||
</script><script defer src="https://cdn.jsdelivr.net/npm/mathjax@4/tex-mml-chtml.js"></script><meta name="Keywords" content="Authored in PreTeXt">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<meta property="og:type" content="book">
|
||
<meta name="twitter:title" content="Math 1044 Notes">
|
||
<meta property="og:title" content="Math 1044 Notes">
|
||
<meta property="book:title" content="Math 1044 Notes">
|
||
<meta name="twitter:card" content="summary">
|
||
<script src="_static/pretext/js/jquery.min.js"></script><script src="_static/pretext/js/dist/pretext-core.js?v=2.45"></script><!--** eBookCongig is necessary to configure interactive **-->
|
||
<!--** Runestone components to run locally in reader's browser **-->
|
||
<!--** No external communication: **-->
|
||
<!--** log level is 0, Runestone Services are disabled **-->
|
||
<script type="text/javascript">
|
||
eBookConfig = {};
|
||
eBookConfig.useRunestoneServices = false;
|
||
eBookConfig.host = 'http://127.0.0.1:8000';
|
||
eBookConfig.course = 'PTX_Course_Title_Here';
|
||
eBookConfig.basecourse = 'PTX_Base_Course';
|
||
eBookConfig.isLoggedIn = false;
|
||
eBookConfig.email = '';
|
||
eBookConfig.isInstructor = false;
|
||
eBookConfig.logLevel = 0;
|
||
eBookConfig.username = '';
|
||
eBookConfig.readings = null;
|
||
eBookConfig.activities = null;
|
||
eBookConfig.downloadsEnabled = false;
|
||
eBookConfig.allow_pairs = false;
|
||
eBookConfig.enableScratchAC = false;
|
||
eBookConfig.build_info = "";
|
||
eBookConfig.python3 = null;
|
||
eBookConfig.runestone_version = '8.2.0';
|
||
eBookConfig.jobehost = '';
|
||
eBookConfig.proxyuri_runs = '';
|
||
eBookConfig.proxyuri_files = '';
|
||
eBookConfig.enable_chatcodes = false;
|
||
</script>
|
||
<!--*** Runestone Services ***-->
|
||
<script src="_static/prefix-runtime.82b0f3334d1d4a05.bundle.js"></script><script src="_static/prefix-926.5c7038c8ef173faf.bundle.js"></script><script src="_static/prefix-runestone.5555907f139e2014.bundle.js"></script><link rel="stylesheet" type="text/css" href="_static/prefix-926.229729d09512acc9.css">
|
||
<link rel="stylesheet" type="text/css" href="_static/prefix-runestone.8086b62682b271d1.css">
|
||
<script src="_static/pretext/js/dist/lti_iframe_resizer.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/lunr.js/2.3.9/lunr.min.js" integrity="sha512-4xUl/d6D6THrAnXAwGajXkoWaeMNwEKK4iNfq5DotEbLPAfk6FSxSP3ydNxqDgCw1c/0Z1Jg6L8h2j+++9BZmg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script><script src="lunr-pretext-search-index.js" async=""></script><script src="_static/pretext/js/dist/pretext_search.js"></script><!--knowl.js code controls Sage Cells within knowls--><script>sagecellEvalName='Evaluate (Sage)';
|
||
</script>
|
||
</head>
|
||
<body class="pretext book ignore-math">
|
||
<a class="assistive" href="#ptx-content">Skip to main content</a><header id="ptx-masthead" class="ptx-masthead" role="banner"><div class="ptx-banner"><div class="title-container">
|
||
<div class="heading ptx-banner-heading"><a href="my-great-book.html"><span class="title">Math 1044 Notes</span></a></div>
|
||
<p class="byline">Andy Eisenberg (testing)</p>
|
||
</div></div></header><nav id="ptx-navbar" class="ptx-navbar navbar"><div class="ptx-navbar-contents">
|
||
<button id="ptx-toc-toggle" type="button" aria-controls="ptx-sidebar" class="toc-toggle button" title="Contents"><span class="icon material-symbols-outlined" aria-hidden="true"></span><span class="name">Contents</span></button><div class="ptx-search-box">
|
||
<div class="ptx-search-widget"><button id="ptx-search-button" type="button" class="ptx-search-button button" title="Search Book"><span class="icon material-symbols-outlined" aria-hidden="true"></span><span class="name">Search Book</span></button></div>
|
||
<dialog id="ptx-search-dialog" class="ptx-dialog ptx-search-dialog"><div class="ptx-search-dialog-controls">
|
||
<input aria-label="Search term" id="ptx-search-terms" class="ptx-search-terms" type="text" name="terms" placeholder="Search terms"><button aria-label="Close" id="ptx-search-close" class="ptx-search-close"><span class="icon material-symbols-outlined" aria-hidden="true"></span></button>
|
||
</div>
|
||
<div id="ptx-search-status" class="ptx-search-status" aria-live="polite" aria-atomic="true"></div>
|
||
<h2 class="heading ptx-search-results-heading">Search Results: </h2>
|
||
<div id="ptx-search-empty" class="ptx-search-empty"><span>No results.</span></div>
|
||
<ol id="ptx-search-results" class="ptx-search-results"></ol></dialog>
|
||
</div>
|
||
<span class="nav-other-controls"><button id="ptx-embed-button" class="ptx-embed-button button" title="Embed this page"><span class="icon material-symbols-outlined" aria-hidden="true"></span><span class="name">Embed</span></button><dialog class="ptx-dialog ptx-embed-popup" id="ptx-embed-popup"><div class="ptx-embed-popup-controls">
|
||
<p>Copy the code below to embed this page in your own website or LMS page.</p>
|
||
<button class="ptx-embed-close-button button" id="ptx-embed-close-button" title="Close"><span class="icon material-symbols-outlined" aria-hidden="true"></span></button>
|
||
</div>
|
||
<div class="ptx-embed-code-container">
|
||
<textarea class="ptx-embed-code-textbox" id="ptx-embed-code-textbox" readonly aria-label="Embed"><iframe src="https://example.com/embed" width="100%" height="1000"></iframe></textarea><button autofocus="autofocus" class="ptx-embed-copy-button button" id="ptx-embed-copy-button" title="Copy"><span class="icon material-symbols-outlined" aria-hidden="true"></span><span class="name">Copy</span></button>
|
||
</div></dialog><button id="ptx-readability-options-button" class="ptx-readability-options-button button" title="Readability settings"><span class="icon material-symbols-outlined" aria-hidden="true"></span><span class="name">Readability settings</span></button><dialog class="ptx-dialog ptx-readability-options-popup" id="ptx-readability-options-popup"><div class="ptx-readability-options-popup-controls">
|
||
<h2 class="heading">Readability settings</h2>
|
||
<button class="ptx-readability-options-close-button button" id="ptx-readability-options-close-button" title="Close"><span class="icon material-symbols-outlined" aria-hidden="true"></span></button>
|
||
</div>
|
||
<div class="ptx-readability-options-group">
|
||
<label class="ptx-readability-slider-label" for="ptx-readability-line-height"><span class="icon material-symbols-outlined" aria-hidden="true"></span><span>Line height</span><output id="ptx-readability-line-height-value" for="ptx-readability-line-height">1.35</output></label><input type="range" id="ptx-readability-line-height" min="1.10" max="3" step="0.05" value="1.35">
|
||
</div>
|
||
<div class="ptx-readability-options-group">
|
||
<label class="ptx-readability-slider-label" for="ptx-readability-font-size"><span class="icon material-symbols-outlined" aria-hidden="true"></span><span>Content font size</span><output id="ptx-readability-font-size-value" for="ptx-readability-font-size">100%</output></label><input type="range" id="ptx-readability-font-size" min="0.8" max="1.5" step="0.05" value="1">
|
||
</div>
|
||
<fieldset class="ptx-readability-options-group ptx-readability-options-group-theme">
|
||
<legend>Theme</legend>
|
||
<label for="ptx-readability-theme-system"><input type="radio" name="ptx-readability-theme" id="ptx-readability-theme-system" value="system"><span class="icon material-symbols-outlined" aria-hidden="true"></span><span>System</span></label><label for="ptx-readability-theme-light"><input type="radio" name="ptx-readability-theme" id="ptx-readability-theme-light" value="light"><span class="icon material-symbols-outlined" aria-hidden="true"></span><span>Light</span></label><label for="ptx-readability-theme-dark"><input type="radio" name="ptx-readability-theme" id="ptx-readability-theme-dark" value="dark"><span class="icon material-symbols-outlined" aria-hidden="true"></span><span>Dark</span></label>
|
||
</fieldset>
|
||
<fieldset class="ptx-readability-options-group">
|
||
<legend>Assistive technologies</legend>
|
||
<label for="ptx-readability-accessible-permalinks"><input type="checkbox" id="ptx-readability-accessible-permalinks"><span>🔗</span><span>Expose permalinks</span></label>
|
||
</fieldset>
|
||
<div class="ptx-readability-options-group"><button type="button" class="ptx-readability-reset-button button" id="ptx-readability-reset-button"><span class="icon material-symbols-outlined" aria-hidden="true"></span><span class="name">Reset All</span></button></div></dialog></span><span class="treebuttons"><a class="previous-button button" href="sec-Probability.html" title="Previous"><span class="icon material-symbols-outlined" aria-hidden="true"></span><span class="name">Prev</span></a><a class="up-button button" href="ch-Probability.html" title="Up"><span class="icon material-symbols-outlined" aria-hidden="true"></span><span class="name">Up</span></a><a class="next-button button" href="sec-Independent-Events.html" title="Next"><span class="name">Next</span><span class="icon material-symbols-outlined" aria-hidden="true"></span></a></span>
|
||
</div></nav><div id="latex-macros" class="hidden-content process-math" style="display:none"><span class="process-math">\(\newcommand{\N}{\mathbb N}
|
||
\newcommand{\Z}{\mathbb Z}
|
||
\newcommand{\Q}{\mathbb Q}
|
||
\newcommand{\R}{\mathbb R}
|
||
|
||
|
||
\DeclareMathOperator{\Bin}{Bin}
|
||
\DeclareMathOperator{\Geom}{Geom}
|
||
\DeclareMathOperator{\Poiss}{Poiss}
|
||
\DeclareMathOperator{\Exp}{Exp}
|
||
\DeclareMathOperator{\Norm}{N}
|
||
|
||
|
||
\DeclareMathOperator{\E}{E}
|
||
\DeclareMathOperator{\Var}{Var}
|
||
\DeclareMathOperator{\Cov}{Cov}
|
||
\renewcommand{\L}{\mathcal{L}}
|
||
|
||
\newcommand{\est}{\widehat}
|
||
\newcommand{\lt}{<}
|
||
\newcommand{\gt}{>}
|
||
\newcommand{\amp}{&}
|
||
\definecolor{fillinmathshade}{gray}{0.9}
|
||
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
|
||
\)</span></div>
|
||
<div class="ptx-page">
|
||
<div id="ptx-sidebar" role="complementary" class="ptx-sidebar"><nav id="ptx-toc" tabindex="-1" aria-label="Contents" class="ptx-toc depth2"><ul class="structural toc-item-list contains-active">
|
||
<li class="toc-item toc-frontmatter"><div class="toc-title-box"><a href="frontmatter.html" class="internal"><span class="title">Front Matter</span></a></div></li>
|
||
<li class="toc-item toc-chapter">
|
||
<div class="toc-title-box"><a href="ch-Introduction.html" class="internal"><span class="codenumber">0</span> <span class="title">Introduction</span></a></div>
|
||
<ul id="ptx-toc-group-ch-Introduction" class="structural toc-item-list"><li class="toc-item toc-section"><div class="toc-title-box"><a href="sec-Introduction.html" class="internal"><span class="codenumber">0.1</span> <span class="title">Introduction</span></a></div></li></ul>
|
||
</li>
|
||
<li class="toc-item toc-chapter contains-active">
|
||
<div class="toc-title-box"><a href="ch-Probability.html" class="internal"><span class="codenumber">1</span> <span class="title">Probability Theory</span></a></div>
|
||
<ul class="structural toc-item-list contains-active" id="ptx-toc-group-ch-Probability">
|
||
<li class="toc-item toc-introduction"><div class="toc-title-box"><a href="ch-Probability-2.html" class="internal"><span class="title">Introduction</span></a></div></li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Set-Theory.html" class="internal"><span class="codenumber">1.1</span> <span class="title">Set Theory</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Set-Theory" class="structural toc-item-list"><li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Set-Theory.html#exercises-Set-Theory" class="internal"><span class="codenumber">1.1</span> <span class="title">Exercises</span></a></div></li></ul>
|
||
</li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Probability.html" class="internal"><span class="codenumber">1.2</span> <span class="title">Definition of Probability</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Probability" class="structural toc-item-list"><li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Probability.html#exercises-Probability" class="internal"><span class="codenumber">1.2</span> <span class="title">Exercises</span></a></div></li></ul>
|
||
</li>
|
||
<li class="toc-item toc-section contains-active">
|
||
<div class="toc-title-box"><a href="sec-Conditional-Probability.html" class="internal"><span class="codenumber">1.3</span> <span class="title">Conditional Probability</span></a></div>
|
||
<ul class="structural toc-item-list active" id="ptx-toc-group-sec-Conditional-Probability">
|
||
<li class="toc-item toc-subsection"><div class="toc-title-box"><a href="sec-Conditional-Probability.html#subsec-conditional-probability" class="internal"><span class="codenumber">1.3.1</span> <span class="title">Conditional Probability</span></a></div></li>
|
||
<li class="toc-item toc-subsection"><div class="toc-title-box"><a href="sec-Conditional-Probability.html#subsec-diagnostic-testing" class="internal"><span class="codenumber">1.3.2</span> <span class="title">Diagnostic Testing</span></a></div></li>
|
||
<li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Conditional-Probability.html#exercises-Conditional-Probability" class="internal"><span class="codenumber">1.3.3</span> <span class="title">Exercises</span></a></div></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Independent-Events.html" class="internal"><span class="codenumber">1.4</span> <span class="title">Independent Events</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Independent-Events" class="structural toc-item-list"><li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Independent-Events.html#exercises-Independent-Events" class="internal"><span class="codenumber">1.4</span> <span class="title">Exercises</span></a></div></li></ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-item toc-chapter">
|
||
<div class="toc-title-box"><a href="ch-Random-Variables.html" class="internal"><span class="codenumber">2</span> <span class="title">Random Variables</span></a></div>
|
||
<ul id="ptx-toc-group-ch-Random-Variables" class="structural toc-item-list">
|
||
<li class="toc-item toc-introduction"><div class="toc-title-box"><a href="ch-Random-Variables-2.html" class="internal"><span class="title">Introduction</span></a></div></li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Discrete-RVs.html" class="internal"><span class="codenumber">2.1</span> <span class="title">Discrete Random Variables</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Discrete-RVs" class="structural toc-item-list">
|
||
<li class="toc-item toc-subsection"><div class="toc-title-box"><a href="sec-Discrete-RVs.html#subsec-Discrete-RVs" class="internal"><span class="codenumber">2.1.1</span> <span class="title">Discrete Random Variables</span></a></div></li>
|
||
<li class="toc-item toc-subsection"><div class="toc-title-box"><a href="sec-Discrete-RVs.html#subsec-binomial-distribution" class="internal"><span class="codenumber">2.1.2</span> <span class="title">The Binomial Distribution</span></a></div></li>
|
||
<li class="toc-item toc-subsection"><div class="toc-title-box"><a href="sec-Discrete-RVs.html#subsec-geometric-distribution" class="internal"><span class="codenumber">2.1.3</span> <span class="title">Geometric Distribution</span></a></div></li>
|
||
<li class="toc-item toc-subsection"><div class="toc-title-box"><a href="sec-Discrete-RVs.html#subsec-poisson-distribution" class="internal"><span class="codenumber">2.1.4</span> <span class="title">Poisson Distribution</span></a></div></li>
|
||
<li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Discrete-RVs.html#exercises-Discrete-RVs" class="internal"><span class="codenumber">2.1.5</span> <span class="title">Exercises</span></a></div></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Continuous-RVs.html" class="internal"><span class="codenumber">2.2</span> <span class="title">Continuous Random Variables</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Continuous-RVs" class="structural toc-item-list">
|
||
<li class="toc-item toc-subsection"><div class="toc-title-box"><a href="sec-Continuous-RVs.html#subsec-pdfs" class="internal"><span class="codenumber">2.2.1</span> <span class="title">Probability Density Functions</span></a></div></li>
|
||
<li class="toc-item toc-subsection"><div class="toc-title-box"><a href="sec-Continuous-RVs.html#subsec-cdf" class="internal"><span class="codenumber">2.2.2</span> <span class="title">Cumulative Distribution Functions</span></a></div></li>
|
||
<li class="toc-item toc-subsection"><div class="toc-title-box"><a href="sec-Continuous-RVs.html#subsec-exponential-distribution" class="internal"><span class="codenumber">2.2.3</span> <span class="title">The Exponential Distribution</span></a></div></li>
|
||
<li class="toc-item toc-subsection"><div class="toc-title-box"><a href="sec-Continuous-RVs.html#subsec-normal-distribution" class="internal"><span class="codenumber">2.2.4</span> <span class="title">Normal Distribution</span></a></div></li>
|
||
<li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Continuous-RVs.html#exercises-Continuous-RVs" class="internal"><span class="codenumber">2.2.5</span> <span class="title">Exercises</span></a></div></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Joint-Distributions.html" class="internal"><span class="codenumber">2.3</span> <span class="title">Joint Distributions</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Joint-Distributions" class="structural toc-item-list"><li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Joint-Distributions.html#exercises-Joint-Distributions" class="internal"><span class="codenumber">2.3</span> <span class="title">Exercises</span></a></div></li></ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-item toc-chapter">
|
||
<div class="toc-title-box"><a href="ch-Expected-Value.html" class="internal"><span class="codenumber">3</span> <span class="title">Expected Value and Variance</span></a></div>
|
||
<ul id="ptx-toc-group-ch-Expected-Value" class="structural toc-item-list">
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Expected-Value.html" class="internal"><span class="codenumber">3.1</span> <span class="title">Expected Value</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Expected-Value" class="structural toc-item-list">
|
||
<li class="toc-item toc-subsection"><div class="toc-title-box"><a href="sec-Expected-Value.html#subsec-discrete-EV" class="internal"><span class="codenumber">3.1.1</span> <span class="title">Discrete Expected Value</span></a></div></li>
|
||
<li class="toc-item toc-subsection"><div class="toc-title-box"><a href="sec-Expected-Value.html#subsec-continuous-EV" class="internal"><span class="codenumber">3.1.2</span> <span class="title">Continuous Expected Value</span></a></div></li>
|
||
<li class="toc-item toc-subsection"><div class="toc-title-box"><a href="sec-Expected-Value.html#subsec-linearity-EV" class="internal"><span class="codenumber">3.1.3</span> <span class="title">Linearity of Expected Value</span></a></div></li>
|
||
<li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Expected-Value.html#exercises-Expected-Value" class="internal"><span class="codenumber">3.1.4</span> <span class="title">Exercises</span></a></div></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Variance.html" class="internal"><span class="codenumber">3.2</span> <span class="title">Variance</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Variance" class="structural toc-item-list"><li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Variance.html#exercises-Variance" class="internal"><span class="codenumber">3.2</span> <span class="title">Exercises</span></a></div></li></ul>
|
||
</li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Covariance.html" class="internal"><span class="codenumber">3.3</span> <span class="title">Covariance</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Covariance" class="structural toc-item-list"><li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Covariance.html#exercises-Covariance" class="internal"><span class="codenumber">3.3</span> <span class="title">Exercises</span></a></div></li></ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-item toc-chapter">
|
||
<div class="toc-title-box"><a href="ch-Confidence-Intervals.html" class="internal"><span class="codenumber">4</span> <span class="title">Confidence Intervals</span></a></div>
|
||
<ul id="ptx-toc-group-ch-Confidence-Intervals" class="structural toc-item-list">
|
||
<li class="toc-item toc-introduction"><div class="toc-title-box"><a href="ch-Confidence-Intervals-2.html" class="internal"><span class="title">Introduction</span></a></div></li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Likelihood.html" class="internal"><span class="codenumber">4.1</span> <span class="title">Likelihood</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Likelihood" class="structural toc-item-list"><li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Likelihood.html#sec-Likelihood-20" class="internal"><span class="codenumber">4.1</span> <span class="title">Exercises</span></a></div></li></ul>
|
||
</li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-CLT.html" class="internal"><span class="codenumber">4.2</span> <span class="title">Central Limit Theorem</span></a></div>
|
||
<ul id="ptx-toc-group-sec-CLT" class="structural toc-item-list"><li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-CLT.html#exercises-CLT" class="internal"><span class="codenumber">4.2</span> <span class="title">Exercises</span></a></div></li></ul>
|
||
</li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Confidence-Intervals.html" class="internal"><span class="codenumber">4.3</span> <span class="title">Confidence Intervals</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Confidence-Intervals" class="structural toc-item-list"><li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Confidence-Intervals.html#exercises-Confidence-Intervals" class="internal"><span class="codenumber">4.3</span> <span class="title">Exercises</span></a></div></li></ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-item toc-chapter">
|
||
<div class="toc-title-box"><a href="ch-Hypothesis-Testing.html" class="internal"><span class="codenumber">5</span> <span class="title">Hypothesis Testing</span></a></div>
|
||
<ul id="ptx-toc-group-ch-Hypothesis-Testing" class="structural toc-item-list">
|
||
<li class="toc-item toc-introduction"><div class="toc-title-box"><a href="ch-Hypothesis-Testing-2.html" class="internal"><span class="title">Introduction</span></a></div></li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-One-Sample-Tests.html" class="internal"><span class="codenumber">5.1</span> <span class="title">One Sample Tests</span></a></div>
|
||
<ul id="ptx-toc-group-sec-One-Sample-Tests" class="structural toc-item-list"><li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-One-Sample-Tests.html#exercises-One-Sample-Tests" class="internal"><span class="codenumber">5.1</span> <span class="title">Exercises</span></a></div></li></ul>
|
||
</li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Two-Sample-Tests.html" class="internal"><span class="codenumber">5.2</span> <span class="title">Two Sample Tests</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Two-Sample-Tests" class="structural toc-item-list"><li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Two-Sample-Tests.html#exercises-Two-Sample-Tests" class="internal"><span class="codenumber">5.2</span> <span class="title">Exercises</span></a></div></li></ul>
|
||
</li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Power.html" class="internal"><span class="codenumber">5.3</span> <span class="title">Power of a Test</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Power" class="structural toc-item-list"><li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Power.html#exercises-Power" class="internal"><span class="codenumber">5.3</span> <span class="title">Exercises</span></a></div></li></ul>
|
||
</li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Chi-Squared.html" class="internal"><span class="codenumber">5.4</span> <span class="title"><span class="process-math">\(\chi^2\)</span> Test</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Chi-Squared" class="structural toc-item-list"><li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Chi-Squared.html#exercises-Chi-Squared" class="internal"><span class="codenumber">5.4</span> <span class="title">Exercises</span></a></div></li></ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-item toc-chapter">
|
||
<div class="toc-title-box"><a href="ch-Linear-Regression.html" class="internal"><span class="codenumber">6</span> <span class="title">Linear Regression</span></a></div>
|
||
<ul id="ptx-toc-group-ch-Linear-Regression" class="structural toc-item-list">
|
||
<li class="toc-item toc-introduction"><div class="toc-title-box"><a href="ch-Linear-Regression-2.html" class="internal"><span class="title">Introduction</span></a></div></li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Correlation.html" class="internal"><span class="codenumber">6.1</span> <span class="title">Correlation</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Correlation" class="structural toc-item-list"><li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Correlation.html#exercises-Correlation" class="internal"><span class="codenumber">6.1</span> <span class="title">Exercises</span></a></div></li></ul>
|
||
</li>
|
||
<li class="toc-item toc-section">
|
||
<div class="toc-title-box"><a href="sec-Linear-Regression.html" class="internal"><span class="codenumber">6.2</span> <span class="title">Linear Regression</span></a></div>
|
||
<ul id="ptx-toc-group-sec-Linear-Regression" class="structural toc-item-list"><li class="toc-item toc-exercises"><div class="toc-title-box"><a href="sec-Linear-Regression.html#exercises-Linear-Regression" class="internal"><span class="codenumber">6.2</span> <span class="title">Exercises</span></a></div></li></ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-item toc-backmatter">
|
||
<div class="toc-title-box"><a href="backmatter.html" class="internal"><span class="title">Backmatter</span></a></div>
|
||
<ul id="ptx-toc-group-backmatter" class="structural toc-item-list">
|
||
<li class="toc-item toc-appendix">
|
||
<div class="toc-title-box"><a href="backmatter-2.html" class="internal"><span class="codenumber">A</span> <span class="title"><span class="process-math">\(\Phi(z)\)</span> Table</span></a></div>
|
||
<ul id="ptx-toc-group-backmatter-2" class="structural toc-item-list"><li class="toc-item toc-section"><div class="toc-title-box"><a href="app-Phi-table.html" class="internal"><span class="codenumber">A.1</span> <span class="title"><span class="process-math">\(\Phi(z)\)</span> Table of Values</span></a></div></li></ul>
|
||
</li>
|
||
<li class="toc-item toc-appendix">
|
||
<div class="toc-title-box"><a href="backmatter-3.html" class="internal"><span class="codenumber">B</span> <span class="title"><span class="process-math">\(\chi^2\)</span> Critical Values Table</span></a></div>
|
||
<ul id="ptx-toc-group-backmatter-3" class="structural toc-item-list"><li class="toc-item toc-section"><div class="toc-title-box"><a href="app-Chi-squared-table.html" class="internal"><span class="codenumber">B.1</span> <span class="title"><span class="process-math">\(\chi^2\)</span> Critical Values</span></a></div></li></ul>
|
||
</li>
|
||
<li class="toc-item toc-colophon"><div class="toc-title-box"><a href="backmatter-4.html" class="internal"><span class="title">Colophon</span></a></div></li>
|
||
</ul>
|
||
</li>
|
||
</ul></nav></div>
|
||
<main class="ptx-main"><div id="ptx-content" class="ptx-content">
|
||
<section class="section" id="sec-Conditional-Probability">
|
||
<h1 class="heading hide-type">
|
||
<span class="type">Section</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="codenumber">1.3</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="title">Conditional Probability</span>
|
||
</h1>
|
||
<section class="subsection" id="subsec-conditional-probability">
|
||
<h2 class="heading hide-type">
|
||
<span class="type">Subsection</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="codenumber">1.3.1</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="title">Conditional Probability</span>
|
||
</h2>
|
||
<div class="para" id="subsec-conditional-probability-2">Sometimes events can interact with each other. We would like to have the language to talk about a scenario in which evidence that one event has occurred can alter our understanding of the probability of another event occurring. We would also like to develop the mathematical tools to quantify exactly how much that probability changes.<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#subsec-conditional-probability-2" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<article class="definition definition-like" id="def-conditional-probability"><h3 class="heading">
|
||
<span class="type">Definition</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="codenumber">1.3.1</span><span class="period heading-divison-mark heading-divison-mark__period">.</span>
|
||
</h3>
|
||
<div class="para logical" id="def-conditional-probability-1-1">
|
||
<div class="para">Let <span class="process-math">\(A\)</span> and <span class="process-math">\(B\)</span> be events. The <dfn class="terminology">conditional probability</dfn> of <span class="process-math">\(A\)</span> given <span class="process-math">\(B\)</span> is</div>
|
||
<div class="displaymath process-math" id="def-conditional-probability-1-1-6">
|
||
\begin{gather*}
|
||
\Pr(A \mid B) = \frac{\Pr(A\cap B)}{\Pr(B)}.
|
||
\end{gather*}
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#def-conditional-probability-1-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Definition 1.3.1"><a tabindex="-1" href="#def-conditional-probability" title="Copy heading and permalink for Definition 1.3.1" aria-label="Copy heading and permalink for Definition 1.3.1">🔗</a></div>
|
||
</article>
|
||
<article class="example example-like" id="example-rolls-conditional"><h3 class="heading">
|
||
<span class="type">Example</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="codenumber">1.3.2</span><span class="period heading-divison-mark heading-divison-mark__period">.</span>
|
||
</h3>
|
||
<div class="para logical" id="example-rolls-conditional-1-1">
|
||
<div class="para">An experiment consists of rolling a fair 6-sided die two times. Let <span class="process-math">\(A\)</span> be the event that the sum of the rolls is at least 10. To find <span class="process-math">\(\Pr(A)\text{,}\)</span> we note that <span class="process-math">\(A = \{(4, 6), (5, 5), (5, 6), (6, 4), (6, 5), (6, 6)\}\text{,}\)</span> which has 6 elements. Since <span class="process-math">\(|\Omega| = 36\text{,}\)</span> we have</div>
|
||
<div class="displaymath process-math" id="example-rolls-conditional-1-1-5">
|
||
\begin{gather*}
|
||
\Pr(A) = \frac{|A|}{|\Omega|} = \frac{6}{36} = \frac{1}{6}\text{.}
|
||
\end{gather*}
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#example-rolls-conditional-1-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="para logical" id="example-rolls-conditional-1-2">
|
||
<div class="para">Let <span class="process-math">\(B\)</span> be the event that the first roll is 6. If we pause after the first die roll seeing the value of 6, we might be more inclined to expect a sum of at least 10. The evidence that we’ve already seen changes our understanding of the situation. Since <span class="process-math">\(|B| = 6\text{,}\)</span> <span class="process-math">\(\Pr(B) = \frac{6}{36} = \frac{1}{6}\text{.}\)</span> Also, <span class="process-math">\(A\cap B = \{(6, 4), (6, 5), (6, 6)\}\text{,}\)</span> so <span class="process-math">\(\Pr(A\cap B) = \frac{3}{36} = \frac{1}{12}\text{.}\)</span> Finally:</div>
|
||
<div class="displaymath process-math" id="example-rolls-conditional-1-2-6">
|
||
\begin{gather*}
|
||
\Pr(A \mid B) = \frac{\Pr(A\cap B)}{\Pr(B)} = \frac{1/12}{1/6} = \frac{1}{2}
|
||
\end{gather*}
|
||
</div>
|
||
<div class="para">Before the experiment, we would have said there was only a <span class="process-math">\(\frac{1}{6}\)</span> chance that the sum of the rolls is at least 10. However, with the additional knowledge of seeing the first roll of 6, we find the probability of a sum of at least 10 to be <span class="process-math">\(\frac{1}{2}\text{,}\)</span> substantially more likely than before.</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#example-rolls-conditional-1-2" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Example 1.3.2"><a tabindex="-1" href="#example-rolls-conditional" title="Copy heading and permalink for Example 1.3.2" aria-label="Copy heading and permalink for Example 1.3.2">🔗</a></div>
|
||
</article><div class="autopermalink" aria-hidden="true" data-description="Subsection 1.3.1: Conditional Probability"><a tabindex="-1" href="#subsec-conditional-probability" title="Copy heading and permalink for Subsection 1.3.1: Conditional Probability" aria-label="Copy heading and permalink for Subsection 1.3.1: Conditional Probability">🔗</a></div>
|
||
</section>
|
||
<section class="subsection" id="subsec-diagnostic-testing">
|
||
<h2 class="heading hide-type">
|
||
<span class="type">Subsection</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="codenumber">1.3.2</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="title">Diagnostic Testing</span>
|
||
</h2>
|
||
<div class="para" id="subsec-diagnostic-testing-2">Diagnostic tests for diseases aren’t perfect. When a test comes back positive or negative, a patient will want to understand the (conditional) probability that they have or don’t have the disease based on the evidence (the diagnostic test result).<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#subsec-diagnostic-testing-2" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<article class="definition definition-like" id="def-sensitivity-specificity"><h3 class="heading">
|
||
<span class="type">Definition</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="codenumber">1.3.3</span><span class="period heading-divison-mark heading-divison-mark__period">.</span>
|
||
</h3>
|
||
<div class="para" id="def-sensitivity-specificity-1-1">The <dfn class="terminology">sensitivity</dfn> of a diagnostic test is the probability that a patient who has the disease will see a positive test result. The <dfn class="terminology">specificity</dfn> is the probability that a patient who does not have the disease will see a negative test result.<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#def-sensitivity-specificity-1-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Definition 1.3.3"><a tabindex="-1" href="#def-sensitivity-specificity" title="Copy heading and permalink for Definition 1.3.3" aria-label="Copy heading and permalink for Definition 1.3.3">🔗</a></div>
|
||
</article>
|
||
<div class="para" id="subsec-diagnostic-testing-4">Introducing event notation, let <span class="process-math">\(D\)</span> be the event that a patient has the disease, and let <span class="process-math">\(P\)</span> be the event that they receive a positive test result. Then the sensitivity of the diagnostic test is <span class="process-math">\(\Pr(P \mid D)\text{,}\)</span> and the specificity is <span class="process-math">\(\Pr(P^c \mid D^c)\text{.}\)</span> However, when the patient takes a diagnostic test, the conditional probabilities they would be most interested in would be <span class="process-math">\(\Pr(D \mid P)\)</span> and <span class="process-math">\(\Pr(D^c \mid P^c)\text{.}\)</span><div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#subsec-diagnostic-testing-4" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="para" id="subsec-diagnostic-testing-5">Bayes’ Theorem expresses the relationship between a conditional probability <span class="process-math">\(\Pr(A \mid B)\)</span> and the flipped conditional probability <span class="process-math">\(\Pr(B \mid A)\text{.}\)</span><div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#subsec-diagnostic-testing-5" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<article class="theorem theorem-like" id="thm-Bayes-v1"><h3 class="heading">
|
||
<span class="type">Theorem</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="codenumber">1.3.4</span><span class="period heading-divison-mark heading-divison-mark__period">.</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="title">Bayes’ Theorem (v1).</span>
|
||
</h3>
|
||
<div class="para logical" id="thm-Bayes-v1-2-1">
|
||
<div class="displaymath process-math" id="thm-Bayes-v1-2-1-1">
|
||
\begin{gather*}
|
||
\Pr(B \mid A) = \frac{\Pr(A \mid B)\Pr(B)}{\Pr(A)}
|
||
\end{gather*}
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#thm-Bayes-v1-2-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Theorem 1.3.4: Bayes’ Theorem (v1)"><a tabindex="-1" href="#thm-Bayes-v1" title="Copy heading and permalink for Theorem 1.3.4: Bayes’ Theorem (v1)" aria-label="Copy heading and permalink for Theorem 1.3.4: Bayes’ Theorem (v1)">🔗</a></div>
|
||
</article>
|
||
<div class="para logical" id="subsec-diagnostic-testing-7">
|
||
<div class="para">For example, if a patient sees a positive diagnostic test result, they might try to calculate:</div>
|
||
<div class="displaymath process-math" id="subsec-diagnostic-testing-7-1">
|
||
\begin{gather*}
|
||
\Pr(D \mid P) = \frac{\Pr(P \mid D)\Pr(D)}{\Pr(P)}
|
||
\end{gather*}
|
||
</div>
|
||
<div class="para">It will take some work to be able to use this formula. We likely don’t have direct access to <span class="process-math">\(\Pr(P)\)</span> or <span class="process-math">\(\Pr(D)\text{.}\)</span>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#subsec-diagnostic-testing-7" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="para logical" id="subsec-diagnostic-testing-8">
|
||
<div class="para">Let’s consider <span class="process-math">\(\Pr(P)\text{,}\)</span> the probability of receiving a positive test result. The sensitivity <span class="process-math">\(\Pr(P \mid D)\)</span> tells us this probability under the condition that the patient has the disease. For a patient who doesn’t have the disease, the specificity isn’t quite the number we’re looking for. However, consider the complementary probability:</div>
|
||
<div class="displaymath process-math" id="subsec-diagnostic-testing-8-3">
|
||
\begin{gather*}
|
||
\Pr(P \mid D^c) = 1 - \Pr(P^c \mid D^c)
|
||
\end{gather*}
|
||
</div>
|
||
<div class="para">The total <span class="process-math">\(\Pr(P)\)</span> can be divided into two categories: patients who have the disease and test positive, and patients who don’t have the disease and test positive. So:</div>
|
||
<div class="displaymath process-math" id="subsec-diagnostic-testing-8-5">
|
||
\begin{align*}
|
||
\Pr(P) \amp = \Pr(P\cap D) + \Pr(P\cap D^c) \\
|
||
\amp = \Pr(P\mid D)\Pr(D) + \Pr(P \mid D^c)\Pr(D^c) \\
|
||
\amp = \Pr(P\mid D)\Pr(D) + (1 - \Pr(P^c \mid D^c))\Pr(D^c) \\
|
||
\amp = (\text{sensitivity})\Pr(D) + (1 - \text{ specificity})\Pr(D^c)
|
||
\end{align*}
|
||
</div>
|
||
<div class="para">We can take this breakdown of <span class="process-math">\(\Pr(P)\)</span> and write a new version of Bayes’ Theorem:</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#subsec-diagnostic-testing-8" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<article class="theorem theorem-like" id="thm-Bayes-v2"><h3 class="heading">
|
||
<span class="type">Theorem</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="codenumber">1.3.5</span><span class="period heading-divison-mark heading-divison-mark__period">.</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="title">Bayes’ Theorem (v2).</span>
|
||
</h3>
|
||
<div class="para logical" id="thm-Bayes-v2-2-1">
|
||
<div class="displaymath process-math" id="thm-Bayes-v2-2-1-1">
|
||
\begin{gather*}
|
||
\Pr(B \mid A) = \frac{\Pr(A \mid B)\Pr(B)}{\Pr(A \mid B)\Pr(B) + (1 - \Pr(A^c \mid B^c))\Pr(B^c)}
|
||
\end{gather*}
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#thm-Bayes-v2-2-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Theorem 1.3.5: Bayes’ Theorem (v2)"><a tabindex="-1" href="#thm-Bayes-v2" title="Copy heading and permalink for Theorem 1.3.5: Bayes’ Theorem (v2)" aria-label="Copy heading and permalink for Theorem 1.3.5: Bayes’ Theorem (v2)">🔗</a></div>
|
||
</article>
|
||
<div class="para" id="subsec-diagnostic-testing-10">We’re still missing a crucial piece of information: <span class="process-math">\(\Pr(D)\text{,}\)</span> the probability (not conditioned on any evidence) that the patient has the disease. This is often referred to as the <dfn class="terminology">prior</dfn>, as in, our prior understanding of the probability of something before we gained some new information from evidence. The conditional probability calculated using Bayes’ Theorem is usually called the <dfn class="terminology">posterior</dfn> (i.e., after taking evidence into account).<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#subsec-diagnostic-testing-10" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="para" id="subsec-diagnostic-testing-11">There isn’t always one single number that’s reasonable to use as the prior probability. For example, in a diagnostic testing situation, the <dfn class="terminology">prevalence</dfn> of the disease—i.e., the proportion of the population who have the disease—might feel like a natural number to use as the prior. However, what prevalence should you use? During the COVID-19 pandemic, the prevalence of COVID in a particular country, state, and city might be different. There’s also the possibility of applying Bayes’ Theorem multiple times to take into account multiple pieces of evidence, using the posterior probability from one application of Bayes’ Theorem to play the role of the prior probability in the next. This idea would apply if, for example, a patient took a second diagnostic test to double-check. (Complicating the issue further, the developers of diagnostic tests often publish two or even more sets of sensitivity and specificity values, depending on whether a patient is already showing certain symptoms.)<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#subsec-diagnostic-testing-11" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<article class="example example-like" id="subsec-diagnostic-testing-12"><h3 class="heading">
|
||
<span class="type">Example</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="codenumber">1.3.6</span><span class="period heading-divison-mark heading-divison-mark__period">.</span>
|
||
</h3>
|
||
<div class="para" id="subsec-diagnostic-testing-12-1-1">A 50-year old woman with no symptoms is screened for breast cancer and tests positive. If the prevalence of breast cancer for women in her age group is 1% and the particular screening process used has a sensitivity of 90% and a specificity of 91%, what is the probability that the woman has breast cancer given her positive result?<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#subsec-diagnostic-testing-12-1-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="solutions">
|
||
<details id="subsec-diagnostic-testing-12-2" class="solution solution-like born-hidden-knowl"><summary class="knowl__link"><span class="type">Solution</span><span class="period heading-divison-mark heading-divison-mark__period">.</span></summary>
|
||
<div class="solution solution-like knowl__content">
|
||
<div class="para logical" id="subsec-diagnostic-testing-12-2-1">
|
||
<div class="para">Let <span class="process-math">\(P\)</span> be the event of testing positive and <span class="process-math">\(D\)</span> the event of having the disease. Then the prevalence <span class="process-math">\(\Pr(D)\)</span> is given as 1%, or 0.01. The sensitivity is <span class="process-math">\(\Pr(P\mid D) = 0.9\text{,}\)</span> and the specificity is <span class="process-math">\(\Pr(P^c\mid D^c) = 0.91\text{.}\)</span> So, according to Bayes’ Theorem:</div>
|
||
<div class="displaymath process-math" id="subsec-diagnostic-testing-12-2-1-6">
|
||
\begin{align*}
|
||
\Pr(D\mid P) \amp = \frac{\Pr(P\mid D)\Pr(D)}{\Pr(P\mid D)\Pr(D) + (1 - \Pr(P^c\mid D^c))\Pr(D^c)} \\
|
||
\amp = \frac{(0.9)(0.01)}{(0.9)(0.01) + (1 - 0.91)(1 - 0.01)} \\
|
||
\amp \approx 0.092
|
||
\end{align*}
|
||
</div>
|
||
<div class="para">This may seem like a surprising result. Despite sensitivity and specificty values around 90%, it turns out a positive test result only indicates a less than 10% chance of actually having the disease. Keep in mind that many ideas in probability and statistics can be highly counterintuitive. It’s important to be very precise with statements and calculations.</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#subsec-diagnostic-testing-12-2-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Solution 1.3.6.1"><a tabindex="-1" href="#subsec-diagnostic-testing-12-2" title="Copy heading and permalink for Solution 1.3.6.1" aria-label="Copy heading and permalink for Solution 1.3.6.1">🔗</a></div>
|
||
</div></details>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Example 1.3.6"><a tabindex="-1" href="#subsec-diagnostic-testing-12" title="Copy heading and permalink for Example 1.3.6" aria-label="Copy heading and permalink for Example 1.3.6">🔗</a></div>
|
||
</article><div class="autopermalink" aria-hidden="true" data-description="Subsection 1.3.2: Diagnostic Testing"><a tabindex="-1" href="#subsec-diagnostic-testing" title="Copy heading and permalink for Subsection 1.3.2: Diagnostic Testing" aria-label="Copy heading and permalink for Subsection 1.3.2: Diagnostic Testing">🔗</a></div>
|
||
</section>
|
||
<section class="exercises" id="exercises-Conditional-Probability">
|
||
<h2 class="heading hide-type">
|
||
<span class="type">Exercises</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="codenumber">1.3.3</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="title">Exercises</span>
|
||
</h2>
|
||
<div class="exercisegroup" id="exercises-Conditional-Probability-1">
|
||
<h3 class="heading"><span class="title">Exercise Group.</span></h3>
|
||
<div class="introduction" id="exercises-Conditional-Probability-1-1">
|
||
<div class="para" id="exercises-Conditional-Probability-1-1-1">In each of the following scenarios with given events <span class="process-math">\(A\)</span> and <span class="process-math">\(B\text{,}\)</span> alculate <span class="process-math">\(\Pr(A), \Pr(B)\text{,}\)</span> <span class="process-math">\(\Pr(A\cap B)\text{,}\)</span> <span class="process-math">\(\Pr(A \mid B)\text{,}\)</span> and <span class="process-math">\(\Pr(B \mid A)\text{.}\)</span><div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#exercises-Conditional-Probability-1-1-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
</div>
|
||
<div class="exercisegroup-exercises">
|
||
<article class="exercise exercise-like" id="exercises-Conditional-Probability-1-2"><h4 class="heading"><span class="codenumber">1<span class="period heading-divison-mark heading-divison-mark__period">.</span></span></h4>
|
||
<div class="para" id="exercises-Conditional-Probability-1-2-1-1">An experiment consists of rolling a fair die two times. Let <span class="process-math">\(A\)</span> be the event that the sum is even, and let <span class="process-math">\(B\)</span> be the event that the second roll is higher than the first.<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#exercises-Conditional-Probability-1-2-1-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="solutions">
|
||
<details id="exercises-Conditional-Probability-1-2-2" class="answer solution-like born-hidden-knowl"><summary class="knowl__link"><span class="type">Answer</span><span class="period heading-divison-mark heading-divison-mark__period">.</span></summary>
|
||
<div class="answer solution-like knowl__content">
|
||
<div class="para logical" id="exercises-Conditional-Probability-1-2-2-1">
|
||
<div class="displaymath process-math" id="exercises-Conditional-Probability-1-2-2-1-1">
|
||
\begin{align*}
|
||
A = \{ \amp (1, 1), (1, 3), (1, 5), (2, 2), (2, 4), (2, 6), \\
|
||
\amp (3, 1), (3, 3), (3, 5), (4, 2), (4, 4), (4, 6), \\
|
||
\amp (5, 1), (5, 3), (5, 5), (6, 2), (6, 4), (6, 6)\} \\
|
||
B = \{ \amp (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), \\
|
||
\amp (2, 3), (2, 4), (2, 5), (2, 6), \\
|
||
\amp (3, 4), (3, 5), (3, 6), \\
|
||
\amp (4, 5), (4, 6), \\
|
||
\amp (5, 6)\} \\
|
||
A \cap B = \{ \amp (1, 3), (1, 5), (2, 4), (2, 6), (3, 5), (4, 6)\}
|
||
\end{align*}
|
||
</div>
|
||
<div class="para">So <span class="process-math">\(\Pr(A) = \frac{18}{36} = \frac{1}{2}\text{,}\)</span> <span class="process-math">\(\Pr(B) = \frac{15}{36} = \frac{5}{12}\text{,}\)</span> and <span class="process-math">\(\Pr(A\cap B) = \frac{6}{36} = \frac{1}{6}\text{.}\)</span> Finally:</div>
|
||
<div class="displaymath process-math" id="exercises-Conditional-Probability-1-2-2-1-5">
|
||
\begin{align*}
|
||
\Pr(A \mid B) \amp = \frac{\Pr(A\cap B)}{\Pr(B)} = \frac{6/36}{15/36} = \frac{6}{15} = \frac{2}{5} \\
|
||
\Pr(B \mid A) \amp = \frac{\Pr(B\cap A)}{\Pr(A)} = \frac{6/36}{18/36} = \frac{6}{18} = \frac{1}{3}
|
||
\end{align*}
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#exercises-Conditional-Probability-1-2-2-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Answer 1.3.3.1.1"><a tabindex="-1" href="#exercises-Conditional-Probability-1-2-2" title="Copy heading and permalink for Answer 1.3.3.1.1" aria-label="Copy heading and permalink for Answer 1.3.3.1.1">🔗</a></div>
|
||
</div></details>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Exercise 1.3.3.1"><a tabindex="-1" href="#exercises-Conditional-Probability-1-2" title="Copy heading and permalink for Exercise 1.3.3.1" aria-label="Copy heading and permalink for Exercise 1.3.3.1">🔗</a></div>
|
||
</article>
|
||
<article class="exercise exercise-like" id="exercises-Conditional-Probability-1-3"><h4 class="heading"><span class="codenumber">2<span class="period heading-divison-mark heading-divison-mark__period">.</span></span></h4>
|
||
<div class="para" id="exercises-Conditional-Probability-1-3-1-1">An experiment consists of flipping a fair coin three times. Let <span class="process-math">\(A\)</span> be the event that the first and second flips match. Let <span class="process-math">\(B\)</span> be the event that there are at least two heads.<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#exercises-Conditional-Probability-1-3-1-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="solutions">
|
||
<details id="exercises-Conditional-Probability-1-3-2" class="answer solution-like born-hidden-knowl"><summary class="knowl__link"><span class="type">Answer</span><span class="period heading-divison-mark heading-divison-mark__period">.</span></summary>
|
||
<div class="answer solution-like knowl__content">
|
||
<div class="para logical" id="exercises-Conditional-Probability-1-3-2-1">
|
||
<div class="displaymath process-math" id="exercises-Conditional-Probability-1-3-2-1-1">
|
||
\begin{align*}
|
||
A \amp = \{ HHH, HHT, TTH, TTT \} \\
|
||
B \amp = \{ HHH, HHT, HTH, THH \} \\
|
||
A\cap B \amp = \{HHH, HHT\}
|
||
\end{align*}
|
||
</div>
|
||
<div class="para">So <span class="process-math">\(\Pr(A) = \frac{4}{8} = \frac{1}{2}\text{,}\)</span> <span class="process-math">\(\Pr(B) = \frac{4}{8} = \frac{1}{2}\text{,}\)</span> and <span class="process-math">\(\Pr(A\cap B) = \frac{2}{8} = \frac{1}{4}\text{.}\)</span> Finally:</div>
|
||
<div class="displaymath process-math" id="exercises-Conditional-Probability-1-3-2-1-5">
|
||
\begin{align*}
|
||
\Pr(A \mid B) \amp = \frac{\Pr(A\cap B)}{\Pr(B)} = \frac{2/8}{4/8} = \frac{2}{4} = \frac{1}{2} \\
|
||
\Pr(B \mid A) \amp = \frac{\Pr(B\cap A)}{\Pr(A)} = \frac{2/8}{4/8} = \frac{2}{4} = \frac{1}{2}
|
||
\end{align*}
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#exercises-Conditional-Probability-1-3-2-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Answer 1.3.3.2.1"><a tabindex="-1" href="#exercises-Conditional-Probability-1-3-2" title="Copy heading and permalink for Answer 1.3.3.2.1" aria-label="Copy heading and permalink for Answer 1.3.3.2.1">🔗</a></div>
|
||
</div></details>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Exercise 1.3.3.2"><a tabindex="-1" href="#exercises-Conditional-Probability-1-3" title="Copy heading and permalink for Exercise 1.3.3.2" aria-label="Copy heading and permalink for Exercise 1.3.3.2">🔗</a></div>
|
||
</article>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Exercise Group 1.3.3.1–2"><a tabindex="-1" href="#exercises-Conditional-Probability-1" title="Copy heading and permalink for Exercise Group 1.3.3.1–2" aria-label="Copy heading and permalink for Exercise Group 1.3.3.1–2">🔗</a></div>
|
||
</div>
|
||
<article class="exercise exercise-like" id="exercises-Conditional-Probability-2"><h3 class="heading"><span class="codenumber">3<span class="period heading-divison-mark heading-divison-mark__period">.</span></span></h3>
|
||
<div class="introduction" id="exercises-Conditional-Probability-2-1">
|
||
<div class="para" id="exercises-Conditional-Probability-2-1-1">A diagnostic test is developed to detect a disease present in 3.2% of the population. For a patient who has the disease, the test will accurately give a positive result 65% of the time. When the patient does not have the disease, the test will accurately give a negative result 99.9% of the time.<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#exercises-Conditional-Probability-2-1-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
</div>
|
||
<article class="task exercise-like" id="exercises-Conditional-Probability-2-2"><h4 class="heading"><span class="codenumber">(a)</span></h4>
|
||
<div class="para" id="exercises-Conditional-Probability-2-2-1-1">For a patient who receives a positive test, what is the probability they have the disease?<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#exercises-Conditional-Probability-2-2-1-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="solutions">
|
||
<details id="exercises-Conditional-Probability-2-2-2" class="answer solution-like born-hidden-knowl"><summary class="knowl__link"><span class="type">Answer</span><span class="period heading-divison-mark heading-divison-mark__period">.</span></summary>
|
||
<div class="answer solution-like knowl__content">
|
||
<div class="para logical" id="exercises-Conditional-Probability-2-2-2-1">
|
||
<div class="para">Let <span class="process-math">\(P\)</span> be the event of testing positive and <span class="process-math">\(D\)</span> the event of having the disease. Then the prevalence <span class="process-math">\(\Pr(D)\)</span> is given as 3.2%, or 0.032. The sensitivity is <span class="process-math">\(\Pr(P\mid D) = 0.65\text{,}\)</span> and the specificity is <span class="process-math">\(\Pr(P^c\mid D^c) = 0.999\text{.}\)</span> So, according to Bayes’ Theorem:</div>
|
||
<div class="displaymath process-math" id="exercises-Conditional-Probability-2-2-2-1-6">
|
||
\begin{align*}
|
||
\Pr(D\mid P) \amp = \frac{\Pr(P\mid D)\Pr(D)}{\Pr(P\mid D)\Pr(D) + (1 - \Pr(P^c\mid D^c))\Pr(D^c)} \\
|
||
\amp = \frac{(0.65)(0.032)}{(0.65)(0.032) + (1 - 0.999)(1 - 0.032)} \\
|
||
\amp \approx 0.96
|
||
\end{align*}
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#exercises-Conditional-Probability-2-2-2-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Answer 1.3.3.3.a.1"><a tabindex="-1" href="#exercises-Conditional-Probability-2-2-2" title="Copy heading and permalink for Answer 1.3.3.3.a.1" aria-label="Copy heading and permalink for Answer 1.3.3.3.a.1">🔗</a></div>
|
||
</div></details>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Task 1.3.3.3.a"><a tabindex="-1" href="#exercises-Conditional-Probability-2-2" title="Copy heading and permalink for Task 1.3.3.3.a" aria-label="Copy heading and permalink for Task 1.3.3.3.a">🔗</a></div>
|
||
</article>
|
||
<article class="task exercise-like" id="exercises-Conditional-Probability-2-3"><h4 class="heading"><span class="codenumber">(b)</span></h4>
|
||
<div class="para" id="exercises-Conditional-Probability-2-3-1-1">For a patient who receives a negative test, what is the probability they do not have the disease?<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#exercises-Conditional-Probability-2-3-1-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="solutions">
|
||
<details id="exercises-Conditional-Probability-2-3-2" class="answer solution-like born-hidden-knowl"><summary class="knowl__link"><span class="type">Answer</span><span class="period heading-divison-mark heading-divison-mark__period">.</span></summary>
|
||
<div class="answer solution-like knowl__content">
|
||
<div class="para logical" id="exercises-Conditional-Probability-2-3-2-1">
|
||
<div class="displaymath process-math" id="exercises-Conditional-Probability-2-3-2-1-1">
|
||
\begin{align*}
|
||
\Pr(D^c\mid P^c) \amp = \frac{\Pr(P^c\mid D^c)\Pr(D^c)}{\Pr(P^c\mid D^c)\Pr(D^c) + (1 - \Pr(P\mid D))\Pr(D)} \\
|
||
\amp = \frac{(0.999)(1 - 0.032)}{(0.999)(1 - 0.032) + (1 - 0.65)(0.032)} \\
|
||
\amp \approx 0.99
|
||
\end{align*}
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Paragraph"><a tabindex="-1" href="#exercises-Conditional-Probability-2-3-2-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Answer 1.3.3.3.b.1"><a tabindex="-1" href="#exercises-Conditional-Probability-2-3-2" title="Copy heading and permalink for Answer 1.3.3.3.b.1" aria-label="Copy heading and permalink for Answer 1.3.3.3.b.1">🔗</a></div>
|
||
</div></details>
|
||
</div>
|
||
<div class="autopermalink" aria-hidden="true" data-description="Task 1.3.3.3.b"><a tabindex="-1" href="#exercises-Conditional-Probability-2-3" title="Copy heading and permalink for Task 1.3.3.3.b" aria-label="Copy heading and permalink for Task 1.3.3.3.b">🔗</a></div>
|
||
</article><div class="autopermalink" aria-hidden="true" data-description="Exercise 1.3.3.3"><a tabindex="-1" href="#exercises-Conditional-Probability-2" title="Copy heading and permalink for Exercise 1.3.3.3" aria-label="Copy heading and permalink for Exercise 1.3.3.3">🔗</a></div>
|
||
</article><div class="autopermalink" aria-hidden="true" data-description="Exercises 1.3.3"><a tabindex="-1" href="#exercises-Conditional-Probability" title="Copy heading and permalink for Exercises 1.3.3" aria-label="Copy heading and permalink for Exercises 1.3.3">🔗</a></div>
|
||
</section><div class="autopermalink" aria-hidden="true" data-description="Section 1.3: Conditional Probability"><a tabindex="-1" href="#sec-Conditional-Probability" title="Copy heading and permalink for Section 1.3: Conditional Probability" aria-label="Copy heading and permalink for Section 1.3: Conditional Probability">🔗</a></div>
|
||
</section>
|
||
</div>
|
||
<div id="ptx-content-footer" class="ptx-content-footer">
|
||
<a class="previous-button button" href="sec-Probability.html" title="Previous"><span class="icon material-symbols-outlined" aria-hidden="true"></span><span class="name">Prev</span></a><a class="top-button button" href="#" title="Top"><span class="icon material-symbols-outlined" aria-hidden="true"></span><span class="name">Top</span></a><a class="next-button button" href="sec-Independent-Events.html" title="Next"><span class="name">Next</span><span class="icon material-symbols-outlined" aria-hidden="true"></span></a>
|
||
</div></main>
|
||
</div>
|
||
<div id="ptx-page-footer" class="ptx-page-footer">
|
||
<a class="pretext-link" href="https://pretextbook.org" title="PreTeXt"><div class="logo"><svg xmlns="http://www.w3.org/2000/svg" height="100%" viewBox="338 3000 8772 6866" role="img"><title>PreTeXt logo</title><g style="stroke-width:.025in; stroke:currentColor; fill:none"><polyline points="472,3590 472,9732 " style="stroke-width:174; stroke-linejoin:miter; stroke-linecap:round; "></polyline><path style="stroke-width:126;stroke-linecap:butt;" d="M 4724,9448 A 4660 4660 0 0 1 8598 9259"></path><path style="stroke-width:174;stroke-linecap:butt;" d="M 4488,9685 A 4228 4228 0 0 0 472 9732"></path><path style="stroke-width:126;stroke-linecap:butt;" d="M 4724,3590 A 4241 4241 0 0 1 8598 3496"></path><path style="stroke-width:126;stroke-linecap:round;" d="M 850,3496 A 4241 4241 0 0 1 4724 3590"></path><path style="stroke-width:126;stroke-linecap:round;" d="M 850,9259 A 4507 4507 0 0 1 4724 9448"></path><polyline points="5385,4299 4062,8125" style="stroke-width:300; stroke-linejoin:miter; stroke-linecap:round;"></polyline><polyline points="8598,3496 8598,9259" style="stroke-width:126; stroke-linejoin:miter; stroke-linecap:round;"></polyline><polyline points="850,3496 850,9259" style="stroke-width:126; stroke-linejoin:miter; stroke-linecap:round;"></polyline><polyline points="4960,9685 4488,9685" style="stroke-width:174; stroke-linejoin:miter; stroke-linecap:round;"></polyline><polyline points="3070,4582 1889,6141 3070,7700" style="stroke-width:300; stroke-linejoin:miter; stroke-linecap:round;"></polyline><polyline points="6418,4582 7600,6141 6418,7700" style="stroke-width:300; stroke-linejoin:miter; stroke-linecap:round;"></polyline><polyline points="8976,3590 8976,9732" style="stroke-width:174; stroke-linejoin:miter; stroke-linecap:round;"></polyline><path style="stroke-width:174;stroke-linecap:butt;" d="M 4960,9685 A 4228 4228 0 0 1 8976 9732"></path></g></svg></div></a><a class="runestone-link" href="https://runestone.academy" title="Runestone Academy"><img class="logo" src="https://runestone.academy/runestone/static/images/RAIcon_cropped.png" alt="Runstone Academy logo"></a><a class="mathjax-link" href="https://www.mathjax.org" title="MathJax"><img class="logo" src="https://www.mathjax.org/badge/badge-square-2.png" alt="MathJax logo"></a>
|
||
</div>
|
||
</body>
|
||
</html>
|