Description
Joint Distribution of Number of Crossings and Longest Run.
Description
Joint distribution of number of crossings and the longest run in a series of independent Bernoulli trials. The computations uses an iterative procedure where computations are based on results from shorter series. The procedure conditions on the start value and partitions by further conditioning on the position of the first crossing (or none).
README.md
Joint distribution of number of crossings and longest run.
The inner workings of crossrun are described in this article in PLOS ONE, https://journals.plos.org/plosone/article/comments?id=10.1371/journal.pone.0223233 . A non-technical description of the article is available at Science Trends, https://sciencetrends.com/improving-tools-for-quality-improvement-crossings-runs-and-crossrun/ .