A plot of the stacked snb density function. The plot shows the distribution of the stopping time when the binomial process has not reached one of its endpoints. The success probabilty is fitted using the fit_flips function with specefied prior.
1 | cdsnb_stack_plot(d, shape, s, t)
|
d |
a sequence of 1's and 0's corresponding to the binomial process. |
s |
the top barrier for the snb process. |
t |
the right barrier for the snb process. |
prior |
the shape parameters of the prior on the success probability. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.