Cargando…
A linear-time algorithm that avoids inverses and computes Jackknife (leave-one-out) products like convolutions or other operators in commutative semigroups
BACKGROUND: Data about herpesvirus microRNA motifs on human circular RNAs suggested the following statistical question. Consider independent random counts, not necessarily identically distributed. Conditioned on the sum, decide whether one of the counts is unusually large. Exact computation of the p...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
BioMed Central
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7502207/ https://www.ncbi.nlm.nih.gov/pubmed/32968428 http://dx.doi.org/10.1186/s13015-020-00178-x |
_version_ | 1783584178160271360 |
---|---|
author | Spouge, John L. Ziegelbauer, Joseph M. Gonzalez, Mileidy |
author_facet | Spouge, John L. Ziegelbauer, Joseph M. Gonzalez, Mileidy |
author_sort | Spouge, John L. |
collection | PubMed |
description | BACKGROUND: Data about herpesvirus microRNA motifs on human circular RNAs suggested the following statistical question. Consider independent random counts, not necessarily identically distributed. Conditioned on the sum, decide whether one of the counts is unusually large. Exact computation of the p-value leads to a specific algorithmic problem. Given [Formula: see text] elements [Formula: see text] in a set [Formula: see text] with the closure and associative properties and a commutative product without inverses, compute the jackknife (leave-one-out) products [Formula: see text] ([Formula: see text] ). RESULTS: This article gives a linear-time Jackknife Product algorithm. Its upward phase constructs a standard segment tree for computing segment products like [Formula: see text] ; its novel downward phase mirrors the upward phase while exploiting the symmetry of [Formula: see text] and its complement [Formula: see text] . The algorithm requires storage for [Formula: see text] elements of [Formula: see text] and only about [Formula: see text] products. In contrast, the standard segment tree algorithms require about [Formula: see text] products for construction and [Formula: see text] products for calculating each [Formula: see text] , i.e., about [Formula: see text] products in total; and a naïve quadratic algorithm using [Formula: see text] element-by-element products to compute each [Formula: see text] requires [Formula: see text] products. CONCLUSIONS: In the herpesvirus application, the Jackknife Product algorithm required 15 min; standard segment tree algorithms would have taken an estimated 3 h; and the quadratic algorithm, an estimated 1 month. The Jackknife Product algorithm has many possible uses in bioinformatics and statistics. |
format | Online Article Text |
id | pubmed-7502207 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
publisher | BioMed Central |
record_format | MEDLINE/PubMed |
spelling | pubmed-75022072020-09-22 A linear-time algorithm that avoids inverses and computes Jackknife (leave-one-out) products like convolutions or other operators in commutative semigroups Spouge, John L. Ziegelbauer, Joseph M. Gonzalez, Mileidy Algorithms Mol Biol Research BACKGROUND: Data about herpesvirus microRNA motifs on human circular RNAs suggested the following statistical question. Consider independent random counts, not necessarily identically distributed. Conditioned on the sum, decide whether one of the counts is unusually large. Exact computation of the p-value leads to a specific algorithmic problem. Given [Formula: see text] elements [Formula: see text] in a set [Formula: see text] with the closure and associative properties and a commutative product without inverses, compute the jackknife (leave-one-out) products [Formula: see text] ([Formula: see text] ). RESULTS: This article gives a linear-time Jackknife Product algorithm. Its upward phase constructs a standard segment tree for computing segment products like [Formula: see text] ; its novel downward phase mirrors the upward phase while exploiting the symmetry of [Formula: see text] and its complement [Formula: see text] . The algorithm requires storage for [Formula: see text] elements of [Formula: see text] and only about [Formula: see text] products. In contrast, the standard segment tree algorithms require about [Formula: see text] products for construction and [Formula: see text] products for calculating each [Formula: see text] , i.e., about [Formula: see text] products in total; and a naïve quadratic algorithm using [Formula: see text] element-by-element products to compute each [Formula: see text] requires [Formula: see text] products. CONCLUSIONS: In the herpesvirus application, the Jackknife Product algorithm required 15 min; standard segment tree algorithms would have taken an estimated 3 h; and the quadratic algorithm, an estimated 1 month. The Jackknife Product algorithm has many possible uses in bioinformatics and statistics. BioMed Central 2020-09-19 /pmc/articles/PMC7502207/ /pubmed/32968428 http://dx.doi.org/10.1186/s13015-020-00178-x Text en © The Author(s) 2020 Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data. |
spellingShingle | Research Spouge, John L. Ziegelbauer, Joseph M. Gonzalez, Mileidy A linear-time algorithm that avoids inverses and computes Jackknife (leave-one-out) products like convolutions or other operators in commutative semigroups |
title | A linear-time algorithm that avoids inverses and computes Jackknife (leave-one-out) products like convolutions or other operators in commutative semigroups |
title_full | A linear-time algorithm that avoids inverses and computes Jackknife (leave-one-out) products like convolutions or other operators in commutative semigroups |
title_fullStr | A linear-time algorithm that avoids inverses and computes Jackknife (leave-one-out) products like convolutions or other operators in commutative semigroups |
title_full_unstemmed | A linear-time algorithm that avoids inverses and computes Jackknife (leave-one-out) products like convolutions or other operators in commutative semigroups |
title_short | A linear-time algorithm that avoids inverses and computes Jackknife (leave-one-out) products like convolutions or other operators in commutative semigroups |
title_sort | linear-time algorithm that avoids inverses and computes jackknife (leave-one-out) products like convolutions or other operators in commutative semigroups |
topic | Research |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7502207/ https://www.ncbi.nlm.nih.gov/pubmed/32968428 http://dx.doi.org/10.1186/s13015-020-00178-x |
work_keys_str_mv | AT spougejohnl alineartimealgorithmthatavoidsinversesandcomputesjackknifeleaveoneoutproductslikeconvolutionsorotheroperatorsincommutativesemigroups AT ziegelbauerjosephm alineartimealgorithmthatavoidsinversesandcomputesjackknifeleaveoneoutproductslikeconvolutionsorotheroperatorsincommutativesemigroups AT gonzalezmileidy alineartimealgorithmthatavoidsinversesandcomputesjackknifeleaveoneoutproductslikeconvolutionsorotheroperatorsincommutativesemigroups AT spougejohnl lineartimealgorithmthatavoidsinversesandcomputesjackknifeleaveoneoutproductslikeconvolutionsorotheroperatorsincommutativesemigroups AT ziegelbauerjosephm lineartimealgorithmthatavoidsinversesandcomputesjackknifeleaveoneoutproductslikeconvolutionsorotheroperatorsincommutativesemigroups AT gonzalezmileidy lineartimealgorithmthatavoidsinversesandcomputesjackknifeleaveoneoutproductslikeconvolutionsorotheroperatorsincommutativesemigroups |