Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update MorePyMC.ipynb
Probably a type since the code uses `N_B = 750`
  • Loading branch information
hackaugusto committed Sep 15, 2013
commit 12283db26395657b386c50df967d38756e68fdfc
4 changes: 2 additions & 2 deletions Chapter2_MorePyMC/MorePyMC.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@
"\n",
"### *A* and *B* Together\n",
"\n",
"A similar anaylsis can be done for site B's response data to determine the analgous $p_B$. But what we are really interested in is the *difference* between $p_A$ and $p_B$. Let's infer $p_A$, $p_B$, *and* $\\text{delta} = p_A - p_B$, all at once. We can do this using PyMC's deterministic variables. (We'll assume for this exercise that $p_B = 0.04$, so $\\text{delta} = 0.01$, $N_B = 200$ (signifcantly less than $N_A$) and we will simulate site B's data like we did for site A's data )"
"A similar anaylsis can be done for site B's response data to determine the analgous $p_B$. But what we are really interested in is the *difference* between $p_A$ and $p_B$. Let's infer $p_A$, $p_B$, *and* $\\text{delta} = p_A - p_B$, all at once. We can do this using PyMC's deterministic variables. (We'll assume for this exercise that $p_B = 0.04$, so $\\text{delta} = 0.01$, $N_B = 750$ (signifcantly less than $N_A$) and we will simulate site B's data like we did for site A's data )"
]
},
{
Expand Down Expand Up @@ -2593,4 +2593,4 @@
"metadata": {}
}
]
}
}