IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0233920.html
   My bibliography  Save this article

Smooth operator: Modifying the Anhøj rules to improve runs analysis in statistical process control

Author

Listed:
  • Jacob Anhøj
  • Tore Wentzel-Larsen

Abstract

Introduction: The run chart is one form of statistical process control chart that is particularly useful for detecting persistent shifts in data over time. The Anhøj rules test for shifts by looking for unusually long runs (L) of data points on the same side of the process centre (mean or median) and unusually few crossings (C) of the centre depending on the number of available data points (N). Critical values for C and L have mainly been studied in isolation. But what is really of interest is the joint distribution of C and L, which has so far only been studied using simulated data series. We recently released an R package, crossrun that calculates exact values for the joint probabilities of C and L that allowed us to study the diagnostic properties of the Anhøj rules in detail and to suggest minor adjustments to improve their diagnostic value. Methods: Based on the crossrun R package we calculated exact values for the joint distribution of C and L for N = 10–100. Furthermore, we developed two functions, bestbox() and cutbox() that automatically seek to adjust the critical values for C and L to balance between sensitivity and specificity requirements. Results: Based on exact values for the joint distribution of C and L for N = 10–100 we present measures of the diagnostic value of the Anhøj rules. The best box and cut box procedures improved the diagnostic value of the Anhøj rules by keeping the specificity and sensitivity close to pre-specified target values. Conclusions: Based on exact values for the joint distribution of longest run and number of crossings in random data series this study demonstrates that it is possible to obtain better diagnostic properties of run charts by making minor adjustment to the critical values for C and L.

Suggested Citation

  • Jacob Anhøj & Tore Wentzel-Larsen, 2020. "Smooth operator: Modifying the Anhøj rules to improve runs analysis in statistical process control," PLOS ONE, Public Library of Science, vol. 15(6), pages 1-13, June.
  • Handle: RePEc:plo:pone00:0233920
    DOI: 10.1371/journal.pone.0233920
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0233920
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0233920&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0233920?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Jacob Anhøj & Anne Vingaard Olesen, 2014. "Run Charts Revisited: A Simulation Study of Run Chart Rules for Detection of Non-Random Variation in Health Care Processes," PLOS ONE, Public Library of Science, vol. 9(11), pages 1-13, November.
    2. Tore Wentzel-Larsen & Jacob Anhøj, 2019. "Joint distribution for number of crossings and longest run in independent Bernoulli observations. The R package crossrun," PLOS ONE, Public Library of Science, vol. 14(10), pages 1-11, October.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Puisa, Romanas & Montewka, Jakub & Krata, Przemyslaw, 2023. "A framework estimating the minimum sample size and margin of error for maritime quantitative risk analysis," Reliability Engineering and System Safety, Elsevier, vol. 235(C).
    2. Tore Wentzel-Larsen & Jacob Anhøj, 2019. "Joint distribution for number of crossings and longest run in independent Bernoulli observations. The R package crossrun," PLOS ONE, Public Library of Science, vol. 14(10), pages 1-11, October.
    3. Jacob Anhøj, 2015. "Diagnostic Value of Run Chart Analysis: Using Likelihood Ratios to Compare Run Chart Rules on Simulated Data Series," PLOS ONE, Public Library of Science, vol. 10(3), pages 1-9, March.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0233920. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.