betageom | R Documentation |
Computes log posterior of logit mean and log precision for beta geometric model
betageom(theta, s)
theta |
vector of logit mean and log precision |
s |
list of streak data with components y and I |
value of log posterior
Jim Albert
y <- c(0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0) sp <- find.spacings(y) betageom(c(0, 0), sp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.