IDEAS home Printed from https://ideas.repec.org/a/taf/lstaxx/v54y2025i24p8052-8063.html
   My bibliography  Save this article

A Non Parametric Approach to Detect Patterns in Binary Sequences

Author

Listed:
  • Anushka De

Abstract

In many circumstances, given an ordered sequence of one or more types of elements or symbols, the objective is to determine the existence of any randomness in the occurrence of one specific element, say type 1. This method can help detect non random patterns, such as wins or losses in a series of games. Existing methods of tests based on the total number of runs or tests based on the length of the longest run (Mosteller 1941) can be used for testing the null hypothesis of randomness in the entire sequence and not a specific type of element. Moreover, the Runs Test often yields results that contradict the patterns visualized in graphs showing, for instance, win proportions over time. This article develops a test approach to address this problem by computing the gaps between two consecutive type 1 elements, by identifying patterns in occurrence and directional trends (increasing, decreasing, or constant) and by applying the exact binomial test, Kendall’s Tau, and the Siegel-Tukey test for scale problems. Further modifications suggested by Vegelius (1982) have been applied in the Siegel-Tukey test to adjust for tied ranks and achieve more accurate results. This approach is distribution-free and suitable for small sample sizes. Comparisons with conventional runs tests also demonstrate the superiority of the proposed method under the null hypothesis of randomness in the occurrence of type 1 elements.

Suggested Citation

  • Anushka De, 2025. "A Non Parametric Approach to Detect Patterns in Binary Sequences," Communications in Statistics - Theory and Methods, Taylor & Francis Journals, vol. 54(24), pages 8052-8063, December.
  • Handle: RePEc:taf:lstaxx:v:54:y:2025:i:24:p:8052-8063
    DOI: 10.1080/03610926.2025.2488897
    as

    Download full text from publisher

    File URL: http://hdl.handle.net/10.1080/03610926.2025.2488897
    Download Restriction: Access to full text is restricted to subscribers.

    File URL: https://libkey.io/10.1080/03610926.2025.2488897?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
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    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:taf:lstaxx:v:54:y:2025:i:24:p:8052-8063. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Chris Longhurst (email available below). General contact details of provider: http://www.tandfonline.com/lsta .

    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.