Description Usage Arguments Value Author(s) Examples
This package provides a binomial variant of bayesian changepoint analysis.
Fit a beta-binomial bayesian changepoint model
1 2 | binomialbcp(x, n, prior = list(a = 1, b = 1),
control = binomialbcp.control())
|
x |
the count of successes |
n |
the size of each trial |
prior |
a list of shape parameters for the beta prior |
control |
a binomialBCP.control object |
a list containing the posterior samples of changepoints and expected values of proportions
Neal Fultz njf@zestfinance.com,
1 2 | data(kansas)
binomialbcp(kansas$Democrat, kansas$TotalVote)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.