N-Step Sliding Recursion Formula of Variance and Its Implementation

被引:1
|
作者
Yu, Lang [1 ]
He, Gang [2 ]
Mutahir, Ahmad Khwaja [2 ]
机构
[1] Southwest Univ Sci & Technol, Sch Sci, Mianyang, Sichuan, Peoples R China
[2] Southwest Univ Sci & Technol, Sch Comp Sci & Technol, Mianyang, Sichuan, Peoples R China
来源
关键词
Algorithm Complexity; Multi-Step Recursion Algorithm; Sliding Window; Variance;
D O I
10.3745/JIPS.04.0182
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The degree of dispersion of a random variable can be described by the variance, which reflects the distance of the random variable from its mean. However, the time complexity of the traditional variance calculation algorithm is O(n), which results from full calculation of all samples. When the number of samples increases or on the occasion of high speed signal processing, algorithms with O(n) time complexity will cost huge amount of time and that may results in performance degradation of the whole system. A novel multi-step recursive algorithm for variance calculation of the time-varying data series with O(1) time complexity (constant time) is proposed in this paper. Numerical simulation and experiments of the algorithm is presented and the results demonstrate that the proposed multi-step recursive algorithm can effectively decrease computing time and hence significantly improve the variance calculation efficiency for time-varying data, which demonstrates the potential value for time-consumption data analysis or high speed signal processing.
引用
收藏
页码:832 / 844
页数:13
相关论文
共 50 条
  • [1] Primes in Fibonacci n-step and Lucas n-step Sequences
    Noe, Tony D.
    Post, Jonathan Vos
    [J]. JOURNAL OF INTEGER SEQUENCES, 2005, 8 (04)
  • [2] On exact n-step domination
    Hersh, P
    [J]. DISCRETE MATHEMATICS, 1999, 205 (1-3) : 235 - 239
  • [3] On Fibonacci n-step numbers
    Basu, Manjusri
    Das, Monojit
    [J]. ASIAN-EUROPEAN JOURNAL OF MATHEMATICS, 2015, 8 (04)
  • [4] On exact n-step domination
    Williams, LK
    [J]. ARS COMBINATORIA, 2001, 58 : 13 - 22
  • [5] N-STEP COMBINATIONS OF FORECASTS
    GUNTER, SI
    AKSU, C
    [J]. JOURNAL OF FORECASTING, 1989, 8 (03) : 253 - 267
  • [6] AN EXTENSION OF THE N-STEP GRADIENT METHOD
    CLARKE, FM
    [J]. BULLETIN OF THE AMERICAN MATHEMATICAL SOCIETY, 1953, 59 (06) : 524 - 525
  • [7] N-step PageRank for web search
    Zhang, Li
    Qin, Tao
    Liu, Tie-Yan
    Bao, Ying
    Li, Hang
    [J]. ADVANCES IN INFORMATION RETRIEVAL, 2007, 4425 : 653 - +
  • [8] Electrical characteristics of an asymmetric N-step network
    Chen, Cui-Ping
    Tan, Zhi-Zhong
    [J]. RESULTS IN PHYSICS, 2020, 19
  • [9] Resistance formulae of a multipurpose n-step network and its application in LC network
    Tan, Z. -Z.
    Asad, J. H.
    Owaidat, M. Q.
    [J]. INTERNATIONAL JOURNAL OF CIRCUIT THEORY AND APPLICATIONS, 2017, 45 (12) : 1942 - 1957
  • [10] CODING THEORY ON FIBONACCI n-STEP NUMBERS
    Basu, Manjusri
    Das, Monojit
    [J]. DISCRETE MATHEMATICS ALGORITHMS AND APPLICATIONS, 2014, 6 (02)