crossrun: Joint Distribution of Number of Crossings and Longest Run

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).

Package details

AuthorTore Wentzel-Larsen [aut, cre], Jacob Anhøj [aut]
MaintainerTore Wentzel-Larsen <>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the crossrun package in your browser

Any scripts or data that you put into this service are public.

crossrun documentation built on April 13, 2022, 9:05 a.m.