this is for holding javascript data
Alberto Pepe edited figures/fonnesbeck/caption.md
over 10 years ago
Commit id: ea37b09c0b7edf03c745a5a64dc18191a5ece395
deletions | additions
diff --git a/figures/fonnesbeck/caption.md b/figures/fonnesbeck/caption.md
index cab6ea3..6ac2463 100644
--- a/figures/fonnesbeck/caption.md
+++ b/figures/fonnesbeck/caption.md
...
**Figure 2**. A visualization of posterior samples based on a time series of recorded coal mining disasters in the UK from 1851 to 1962. Data, model, and description available at [this IPython Notebook](http://nbviewer.ipython.org/github/plotly/IPython-plotly/blob/master/PyMC%20+%20Plotly.ipynb) by [Christopher Fonnesbeck](http://biostat.mc.vanderbilt.edu/wiki/Main/ChrisFonnesbeck).
The statistical model employed is (mostly to show the ability to embed LaTeX equations!):
\[
\begin{aligned} (D_t | s, e, l) \sim\text{Poisson}\left(r_t\right), &\text{where } r_t=\left\{\begin{array}{lll} e &\text{if}& t< s\\ l &\text{if}& t\ge s \end{array}\right.,&t\in[t_l,t_h]\\ s\sim \text{Discrete Uniform}(t_l, t_h)\\ e\sim \text{Exponential}(r_e)\\ l\sim \text{Exponential}(r_l) \end{aligned}
\]
This graphic was included in Authorea via the following snippet of code:
>
<iframe id="igraph" src="https://plot.ly/~_pymc_demo/2/830/475" width="830" height="500" seamless="seamless" scrolling="no"></iframe> scrolling="no">