|
Two Lempel – Ziv goodness-of-fit tests for nonequiprobable random binary sequences
V. I. Kruglov Steklov Mathematical Institute of Russian Academy of Sciences, Moscow
Abstract:
Let the hypothesis Hp mean that elements of the sequence X1,…,Xn are independent and identically distributed: P{Xi=1}=p, P{Xi=0}=1−p, where p∈(0,1). Earlier two goodness-of-fit tests for the hypothesis H0.5 were proposed based on the possibility of exact computation of Lempel – Ziv statistics distributions. In this paper these tests are generalized for any p∈(0,1). For each test a sequence of length n=mrT is divided into blocks of length T, for these blocks Lempel – Ziv statistics W1(T),…,Wmr(T) are computed. The first test for r=2 is based on the statistic ˜W(2mT)=(W1+…+Wm)−(Wm+1+…+W2m), its distribution is symmetric about zero. The statistic of the second test is ˜χ2(mrT)=max1⩽k⩽mχ2(k)(T), where χ2(1)(T),…,χ2(m)(T) are values of chi-square statistics computed for (W1,1(T),…,W1,r(T)),…,(Wm,1(T),Wm,2(T),…,Wm,r(T)) correspondingly. For statistics of both tests limit distributions are found, for the statistic of the first test the rate of convergence to the limit normal distribution is given.
Key words:
Lempel – Ziv test, RNG testing, statistical test, computation of distributions.
Received 02.IX.2022
Citation:
V. I. Kruglov, “Two Lempel – Ziv goodness-of-fit tests for nonequiprobable random binary sequences”, Mat. Vopr. Kriptogr., 14:2 (2023), 97–110
Linking options:
https://www.mathnet.ru/eng/mvk440https://doi.org/10.4213/mvk440 https://www.mathnet.ru/eng/mvk/v14/i2/p97
|
Statistics & downloads: |
Abstract page: | 139 | Full-text PDF : | 41 | References: | 30 | First page: | 3 |
|