cdsnb_stack_plot: The Conditional Stopped Negative Binomial Density Plot

Description Usage Arguments

View source: R/snb_dist.r

Description

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.

Usage

1
cdsnb_stack_plot(d, shape, s, t)

Arguments

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.


kaneplusplus/snb documentation built on May 20, 2019, 7:20 a.m.