bayes.factor.K | R Documentation |
Computes Bayes factor in support of a streaky model over a consistent model for a single alternative for the streaky model.
bayes.factor.K(y, log.K)
y |
vector of binary outcomes (0's and 1's) |
log.K |
value of log(K) under streaky model |
log Bayes factor in support of streaky model
Jim Albert
Albert, J. (2013), Looking at Spacings to Access Streakiness, Journal of Quantitative Analysis of Sports, Vol 9, Issue 2, 151-163.
y <- c(0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0)
bayes.factor.function(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.