|
@@ -81,7 +81,7 @@
|
|
"## A Test for a Rare Disease\n",
|
|
"## A Test for a Rare Disease\n",
|
|
"Suppose there is a large population and a disease that strikes a tiny proportion of the population. The tree diagram below summarizes information about such a disease and about a medical test for it.\n",
|
|
"Suppose there is a large population and a disease that strikes a tiny proportion of the population. The tree diagram below summarizes information about such a disease and about a medical test for it.\n",
|
|
"\n",
|
|
"\n",
|
|
- "![Tree Rare Disease](tree_disease_rare.png)"
|
|
|
|
|
|
+ "![Tree Rare Disease](../../images/tree_disease_rare.png)"
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -248,7 +248,7 @@
|
|
"source": [
|
|
"source": [
|
|
"The reason is that a huge fraction of the population doesn't have the disease in the first place. The tiny fraction of those that falsely test Positive are still greater in number than the people who correctly test Positive. This is easier to visualize in the tree diagram:\n",
|
|
"The reason is that a huge fraction of the population doesn't have the disease in the first place. The tiny fraction of those that falsely test Positive are still greater in number than the people who correctly test Positive. This is easier to visualize in the tree diagram:\n",
|
|
"\n",
|
|
"\n",
|
|
- "![Tree Rare Disease](tree_disease_rare.png)\n",
|
|
|
|
|
|
+ "![Tree Rare Disease](../../images/tree_disease_rare.png)\n",
|
|
"\n",
|
|
"\n",
|
|
"- The proportion of true Positives is a large fraction (0.99) of a tiny fraction (0.004) of the population.\n",
|
|
"- The proportion of true Positives is a large fraction (0.99) of a tiny fraction (0.004) of the population.\n",
|
|
"- The proportion of false Positives is a tiny fraction (0.005) of a large fraction (0.996) of the population.\n",
|
|
"- The proportion of false Positives is a tiny fraction (0.005) of a large fraction (0.996) of the population.\n",
|
|
@@ -467,7 +467,7 @@
|
|
{
|
|
{
|
|
"data": {
|
|
"data": {
|
|
"text/plain": [
|
|
"text/plain": [
|
|
- "0.9171075837742504"
|
|
|
|
|
|
+ "0.9290909090909091"
|
|
]
|
|
]
|
|
},
|
|
},
|
|
"execution_count": 10,
|
|
"execution_count": 10,
|
|
@@ -506,7 +506,7 @@
|
|
"name": "python",
|
|
"name": "python",
|
|
"nbconvert_exporter": "python",
|
|
"nbconvert_exporter": "python",
|
|
"pygments_lexer": "ipython3",
|
|
"pygments_lexer": "ipython3",
|
|
- "version": "3.8.5"
|
|
|
|
|
|
+ "version": "3.6.12"
|
|
}
|
|
}
|
|
},
|
|
},
|
|
"nbformat": 4,
|
|
"nbformat": 4,
|