{"id":22144658,"url":"https://github.com/bat/runstatistics.jl","last_synced_at":"2026-02-27T17:35:56.637Z","repository":{"id":44569834,"uuid":"427309661","full_name":"bat/RunStatistics.jl","owner":"bat","description":"Run statistics in Julia","archived":false,"fork":false,"pushed_at":"2022-02-18T10:08:37.000Z","size":506,"stargazers_count":0,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-29T17:23:33.991Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-12T09:57:07.000Z","updated_at":"2022-02-15T09:54:18.000Z","dependencies_parsed_at":"2022-08-28T05:50:44.133Z","dependency_job_id":null,"html_url":"https://github.com/bat/RunStatistics.jl","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bat%2FRunStatistics.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bat%2FRunStatistics.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bat%2FRunStatistics.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bat%2FRunStatistics.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bat","download_url":"https://codeload.github.com/bat/RunStatistics.jl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245267566,"owners_count":20587459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-01T22:30:23.333Z","updated_at":"2026-02-27T17:35:56.602Z","avatar_url":"https://github.com/bat.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RunStatistics.jl\n[![Documentation for stable version](https://img.shields.io/badge/docs-stable-blue.svg)](https://bat.github.io/RunStatistics.jl/stable)\n[![Documentation for development version](https://img.shields.io/badge/docs-dev-blue.svg)](https://bat.github.io/RunStatistics.jl/dev)\n[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE.md)\n[![Build Status](https://github.com/bat/RunStatistics.jl/workflows/CI/badge.svg?branch=main)](https://github.com/bat/RunStatistics.jl/actions?query=workflow%3ACI)\n[![Codecov](https://codecov.io/gh/bat/RunStatistics.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/bat/RunStatistics.jl)\n\nThis package implements the evaluation of the cumulative distribution function `P(T \u003c T_obs | N)` of the weighted-runs statistic  originally defined in \n\nFrederik Beaujean and Allen Caldwell. *A Test Statistic for Weighted Runs*. Journal of Statistical Planning and Inference 141, no. 11 (November 2011): 3437–46. [doi:10.1016/j.jspi.2011.04.022](http://dx.doi.org/10.1016/j.jspi.2011.04.022) [arXiv:1005.3233](http://arxiv.org/abs/1005.3233)\n\nThe authors further derived an approximation to be able to compute the cumulative also for large numbers of observations in\n\nFrederik Beaujean and Allen Caldwell. *Is the bump significant? An axion-search example* [arXiv:1710.06642](http://arxiv.org/abs/1710.06642)\n\nwhere they renamed the weighted-runs statistic to the SQUARES statistic.\n\nThis code is based on the [original implementation](https://github.com/fredRos/runs) by Frederik Beaujean in c++ and mathematica.\n\n\n## Installation\n\nTo install `RunStatistics.jl`, start Julia and run \n\n```Julia\njulia\u003e using Pkg\njulia\u003e pkg\"add RunStatistics\"\n```\nand \n```Julia\njulia\u003e using RunStatistics\n```\nto use the functions the package provides.\n\nFor an explanation on the theory behind the package and how to use it for your data, see the [Documentation for stable version](https://bat.github.io/RunStatistics.jl/stable).\n## Documentation\n\n* [Documentation for stable version](https://bat.github.io/RunStatistics.jl/stable)\n* [Documentation for development version](https://bat.github.io/RunStatistics.jl/dev)\n\n\n## Citing RunStatistics.jl\n\nWhen using RunStatistics.jl for research, teaching or similar, please cite the original authors' work:\n\n```\n@article{beaujean2011test,\n  title={A test statistic for weighted runs},\n  author={Beaujean, Frederik and Caldwell, Allen},\n  journal={Journal of Statistical Planning and Inference},\n  volume={141},\n  number={11},\n  pages={3437--3446},\n  year={2011},\n  publisher={Elsevier}\n}\n\n@article{Beaujean:2017eyq,\n  author         = \"Beaujean, Frederik and Caldwell, Allen and Reimann, Olaf\",\n  title          = \"{Is the bump significant? An axion-search example}\",\n  year           = \"2017\",\n  eprint         = \"1710.06642\",\n  archivePrefix  = \"arXiv\",\n  primaryClass   = \"hep-ex\",\n  SLACcitation   = \"%%CITATION = ARXIV:1710.06642;%%\"\n}","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbat%2Frunstatistics.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbat%2Frunstatistics.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbat%2Frunstatistics.jl/lists"}