Related Experiment Video
Updated: Jan 6, 2026

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
Joint distribution for number of crossings and longest run in independent Bernoulli observations. The R package
Tore Wentzel-Larsen1,2, Jacob Anhøj3
1Centre for Child and Adolescent Mental Health, Eastern and Southern Norway, Oslo, Norway.
Abstract:
The R package crossrun computes the joint distribution of the number of crossings and the longest run in a sequence of independent Bernoulli observations. The main intended application is statistical process control where the joint distribution may be used for systematic investigation, and possibly refinement, of existing rules for distinguishing between signal and noise. While the crossrun vignette is written to assist in practical use, this article gives a hands-on explanation of why the procedures works. The article also includes a discussion of limitations of the present version of crossrun together with an outline of ongoing work to meet these limitations. There is more to come, and it is necessary to grasp the basic ideas behind the procedure implemented both to understand these planned extensions, and how presently implemented rules in statistical process control, based on the number of crossings and the longest run, may be refined.
Related Concept Videos
Wald-Wolfowitz Runs Test I
The test works...
Binomial Probability Distribution
The outcomes of a binomial experiment fit a binomial probability distribution. A statistical experiment can be classified as a binomial experiment if the following conditions are met:
There are a fixed number of trials. Think of trials as repetitions of an experiment. The letter n denotes the number of trials.
There are only two possible outcomes,...
Distributions to Estimate Population Parameter
Poisson Probability Distribution
The...
Friedman Two-way Analysis of Variance by Ranks
Wald-Wolfowitz Runs Test II
For binary data, runs are identified using symbols such as + and −, or equivalently, 1s and 0s. In...

