crossrun

crossrun computes the joint distribution of the number of crossings and the longest run in sequences of independent Bernoulli observations to support statistical process control analyses.


Key Features:

  • Joint Distribution Calculation: Computes the joint distribution of the number of crossings and the longest run for sequences of independent Bernoulli observations.
  • Bernoulli-sequence Analysis: Operates explicitly on sequences of independent Bernoulli trials as the input data model.
  • Metric Definitions: Distinguishes crossings (points where a sequence crosses a specified threshold) and runs (consecutive occurrences, with focus on the longest run) in its calculations.

Scientific Applications:

  • Statistical Process Control: Supports investigation and refinement of SPC rules to distinguish signal from noise based on the joint distribution of crossings and runs.
  • Manufacturing and Quality Assurance: Enables detection of genuine signals amid noise in manufacturing and quality-assurance processes that rely on SPC monitoring.

Methodology:

Analyzes sequences of independent Bernoulli trials to determine the joint distribution of the number of crossings (threshold crossings) and the longest run (consecutive occurrences of a particular outcome).

Topics

Details

License:
GPL-3.0
Tool Type:
library
Programming Languages:
R
Added:
1/9/2020
Last Updated:
12/17/2020

Operations

Publications

Wentzel-Larsen T, Anhøj J. Joint distribution for number of crossings and longest run in independent Bernoulli observations. The R package crossrun. PLOS ONE. 2019;14(10):e0223233. doi:10.1371/journal.pone.0223233. PMID:31574115. PMCID:PMC6772032.

Links