scieee AI-readable full text Open interactive document viewer

Shannon entropy estimation for linear processes

Fortune, Timothy,Sang, Hailin

Abstract

EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.

Full text

Fortune, Timothy; Sang, Hailin Article Shannon entropy estimation for linear processes Journal of Risk and Financial Management Provided in Cooperation with: MDPI – Multidisciplinary Digital Publishing Institute, Basel Suggested Citation: Fortune, Timothy; Sang, Hailin (2020) : Shannon entropy estimation for linear processes, Journal of Risk and Financial Management, ISSN 1911-8074, MDPI, Basel, Vol. 13, Iss. 9, pp. 1-13, https://doi.org/10.3390/jrfm13090205 This Version is available at: https://hdl.handle.net/10419/239289 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by/4.0/ Journal of Risk and Financial Management Article Shannon Entropy Estimation for Linear Processes Timothy Fortune 1and Hailin Sang 2,* 1Department of Statistics, University of Connecticut, Storrs, CT 06269, USA; timothy[email protected] 2Department of Mathematics, University of Mississippi, University, MS 38677, USA *Correspondence: [email protected] Received: 17 August 2020; Accepted: 7 September 2020; Published: 9 September 2020   Abstract: In this paper, we estimate the Shannon entropy S(f) = −E[log(f(x))] of a one-sided linear process with probability density function f(x) . We employ the integral estimator Sn(f) , which utilizes the standard kernel density estimator fn(x) of f(x) . We show that Sn(f) converges to S(f) almost surely and in Ł2under reasonable conditions. Keywords: linear process; kernel entropy estimation; Shannon entropy 1. Introduction Let f(x) be the common probability density function of a sequence {Xn}∞ n=1 of identically distributed observations. The associated Shannon entropy S(f) = E[−log f(X)] = −Zf(x)log f(x)dx (1) of such an observation was first introduced by Shannon (1948). In his 1948 paper, Shannon utilized this tool in his mathematical investigation of the theory of communication. Today, entropy is widely applied in the fields of information theory, statistical classification, pattern recognition and so on, since it is a measure of the amount of uncertainty present in a probability distribution. In the literature, several estimators for the Shannon entropy have been introduced. See Beirlant et al. (1997) for an overview. Many of these estimators have been studied in cases where the data are independent. In 1976, Ahmad and Lin (1976) obtained results using the resubstitution estimator Hn=−1 n∑n i=1ln fn(Xi) for independent data {Xi}n i=1 . In particular, he showed consistency in the first and second mean under certain regularity conditions. Here, fn(x) is the kernel density estimator. Dmitriev and Tarasenko (1973) reported results in 1973 for estimating functionals of the type RHf(x) , f0(x) , . . . , fk(x)dx , where the common density f(x) of the independent Xi is assumed to have at least k derivatives. Plugging in kernel density estimators (see their paper and references therein) for the arguments of H and integrating only over the symmetric interval [−kn , kn] , which is determined by a sequence {kn}∞ n=1 of a certain order, they provided a result for the estimation of Shannon entropy using the estimator that Beirlant et al. (1997) refer to as the integral estimator. Their results give conditions for almost sure convergence. Interestingly enough, Dmitriev and Tarasenko (1973) also provided (because their work is a more general investigation of functionals) a result for the estimation of the quadratic Rényi entropy Q(f) = Rf2(x)dx . Conditions are provided specifically for the almost sure convergence of their estimator to the true value Q(f) . The estimation of Rényi entropy for the dependent case is challenging. A dependent case is treated by Sang et al. (2018). They studied the estimation of the quadratic Entropy for the one-sided linear process. Utilizing the Fourier transform along with the projection method, they demonstrate that the kernel entropy estimator satisfies a central limit theorem for short memory linear processes. J. Risk Financial Manag. 2020,13, 205; doi:10.3390/jrfm13090205 www.mdpi.com/journal/jrfm J. Risk Financial Manag. 2020,13, 205 2 of 13 To study the Shannon entropy for dependent data is also a challenging problem, and to the best of our knowledge, general results for the Shannon entropy estimation of regular time series data are still unknown. In this paper, we study the Shannon entropy S(f)for the one-sided linear process Xn= ∞ ∑ i=0 aiεn−i, (2) where the innovations εi are independent and identically distributed real valued random variables on some probability space (Ω , F , P) with mean zero and finite variance σ2 ε and where the collection {ai:i≥ 0 } of real coefficients satisfies ∞ ∑ i=0 a2 i<∞ . Additionally, we will require that the common density fε(x) of the innovations be bounded. The estimator we utilize employs the kernel method, which was first introduced by Rosenblatt (1956); Parzen (1962). The kernel estimator will be denoted by fn(x) = 1 nhn n ∑ i=1 Kx−Xi hn, (3) where the sequence {hn}∞ n=1 provides the bandwidths, and K:R→R is the kernel function which satisfies RRK(x)dx =1. Typically, the kernel function is a probability density function. This method has proven to be successful in estimating probability density functions and their derivatives, regression functions, etc., in both the independent and dependent setting. For the independent setting, see the books (Devroye and Györfi (1985); Silverman (1986); Nadaraya (1989); Wand and Jones (1995); Schimek (2000); Scott (2015)) and the references therein. For the dependent setting, we refer the reader to (Tran (1992); Honda (2000); Wu and Mielniczuk (2002); Wu et al. (2010)). Bandwidth selection is an important issue in kernel density estimation, and there is a lot of research in this direction. See, e.g., Duin (1976); Rudemo (1982); Slaoui (2014 2018). A few remarks about notation and terms used in the paper follow. Let {an}∞ n=1 and {bn}∞ n=1 be real-valued sequences. By an=o(bn) we understand that an/bn→ 0 and an=O(bn) means that lim sup |an/bn|<C for some positive number C . Essentially, this is the standard Landau little oh and big oh notation. When we write, anbn , we mean an=o(bn) , and as one might guess, bnan means anbn . We also employ the notation anbn to indicate that 0 <lim infn→∞an bn≤lim supn→∞an bn< ∞ . A function l:[ 0, ∞)→R is referred to as slowly varying (at ∞ ) if it is positive and measurable on [A , ∞) for some A∈R+ such that lim x→∞l(λx)/l(x) = 1 holds for each λ∈R+ . The set of all functions g:R→R which are Hölder continuous of some order r will be denoted as Cr(R) . That is, for each g∈ Cr(R) there exists Cg∈R+ , such that for all x , x0∈R , we have |g(x)−g(x0)| ≤ Cg|x−x0|r , and when r= 1, we recognize this as the well-known Lipschitz condition. The notation Ł p(E) with 0 <p<∞ represents the set of all real-valued functions f defined on some measure space (E , A , µ) having the property that RE|f(x)|pdµ<∞ . In the case that E=R and unless otherwise specified, the measure µ is tacitly understood to be Lebesgue measure and A is assumed to contain the Borel sets. Ł ∞(E) refers to the set of real-valued functions defined on E which are bounded almost everywhere. Whenever the domain space of the function is understood, we may simply write Łp. The following are bandwidth, kernel, and density conditions that we shall refer to throughout this paper: B.1 hn(n−1log n)1 5; K.1 K∈ Cι(R)for some ι∈(0, 1]is bounded with bounded support; K.2 RuK(u)du =0; D.1 fε,f0 ε,f00 ε∈Ł∞(R); D.2 fε,f0 ε,f00 ε∈Ł2(R); D.3 f00 ∈Ł∞(R). Notice that the bandwidth, kernel, and density conditions are prefixed using B , K , and D, respectively. J. Risk Financial Manag. 2020,13, 205 3 of 13 In this first section, we have provided an introduction to the problem, a survey of past research in this area, and the notation to be used throughout. The main results are reported in Section Two. In Section Three, we present the proofs of the main results. Finally, the Appendix Aintroduces the reader to foundational results, which will be required in the proof of our main results. 2. Main Results If {εi:i∈Z} is a sequence of independent and identically distributed random variables over a common probability space (Ω , F , P) in Ł q(Ω) for some q> 0, Eεi= 0 when q≥ 1, and {ai}∞ i=0 is a sequence of real coefficients such that ∞ ∑ i=0 |ai|2∧q<∞ , then the linear process Xn given in (2) exists and is well-defined. For the case q≥ 2 where the innovations have finite variance, we say that the process has short memory (short-range dependence) if ∞ ∑ i=0 |ai|<∞ and ∞ ∑ i=0 ai6= 0 and long memory (long-range dependence) otherwise. Throughout, we assume that each εi∈Łqwith q≥2. Let f(x) be the probability density function of the linear process Xn= ∞ ∑ i=0 aiεn−i , n∈N defined in (2). In this paper, we estimate the Shannon Entropy −Rf(x)log f(x)dx of the linear process. To do this, we employ the integral estimator Sn(f) = −ZAn fn(x)log fn(x)dx, (4) where fn(x) is the standard kernel density estimator defined in (3). The (random) sets An are given by An={x∈R: 0 <γn≤fn(x)}, (5) where {γn}∞ n=1is an appropriately defined sequence in R+that converges to zero. Our estimator utilizes the kernel method of density estimation, and we will accordingly require adherence of the kernel to certain conditions. In addition, we impose some conditions on the bandwidths and on some of the densities of the problem. These conditions were listed in the previous section. Based on these conditions, let us consider the properties of the estimator (4). We proceed in a manner similar to the analysis done by Bouzebda and Elhattab (2011) for the independent case. Theorem 1. Let {Xn:n∈N} be the linear process given in (2), and assume that it has short memory. Furthermore, assume that S(f) is finite. If the bandwidth, kernel, and density conditions listed earlier are satisfied, then lim sup n→∞nγ5 n log n2 5 Sn(f)−ZAn−log f(x)f(x)dx  is bounded almost surely whenever the condition γnhnis imposed on the sequence {γn}∞ n=1. Corollary 1. If the conditions of Theorem 1hold, then we have lim n→∞|Sn(f)−S(f)|=0 almost surely. J. Risk Financial Manag. 2020,13, 205 4 of 13 Theorem 2. Let {Xn:n∈N} be the linear process given in (2), and assume that it has short memory. Furthermore, assume that S(f) is finite. If the bandwidth, kernel, and density conditions listed earlier are satisfied, then lim sup n→∞nγ5 n log n2 5    Sn(f)−ZAn−log f(x)f(x)dx    2 (6) is bounded whenever the condition γnhnis imposed on the sequence {γn}∞ n=1. Corollary 2. If the conditions of Theorem 2hold, then the mean squared error (MSE) satisfies lim n→∞MSE(Sn(f)) = 0. Remark 1. In this paper, we work on the entropy estimation for short memory linear processes by applying the integral method. It is interesting to know whether the similar results hold for long memory linear processes. It is also interesting to know whether the resubstitution method works for dependent data such as linear processes. However, the research in these directions are beyond the scope of this paper. We leave research in these directions for future work. Remark 2. In a wide range of disciplines, including finance, geology, and engineering, many time series may be modeled using a linear process. In such instances, our result provides a method for estimating the associated Shannon Entropy. One example is the discriminatory data on the arrival phases of earthquakes and explosions, which were captured at a seismic recording station. Another example is the data about returns on the New York Stock Exchange. See these and many other time series data in the book by Shumway and Stoffer (2011) and other books on time series. 3. Proofs Lemma 1. If the conditions of Theorem 1(or Theorem 2) hold, then sup x∈Rfn(x)−f(x)=Olog n n2 5(7) almost surely. Proof. This lemma follows from Theorem 2 of Wu et al. (2010) (see their discussion immediately after the statement of Theorem 2 and in the penultimate paragraph of section 4.1). See also the discussion in the Appendix Aon fundamental results. Lemma 2. If the conditions of Theorem 1(or Theorem 2) hold, then γ5 nlog n n. (8) Proof. Because hn(n−1log n)1 5, there exists C∈R+such that h5 n n−1log n>C J. Risk Financial Manag. 2020,13, 205 5 of 13 for sufficiently large n. Therefore, lim n→∞ γ5 n n−1log n=lim n→∞ γ5 n h5 n ·h5 n n−1log n ≥Clim n→∞γn hn5 →∞ as n→∞, from which (8) follows. Note. Our use of Lemma 2in the proofs of Theorems 1and 2will be tacit. Lemma 3. If ν is a finite signed measure that is absolutely continuous with respect to a measure µ , then corresponding to every positive number ε there is a positive number δ such that |ν|(E)<ε whenever E is a measurable set for which µ(E)<δ. Proof. This is a basic result from measure theory. See, for example, Theorem B of Halmos (1974) in section 30. Proof of Theorem 1.We begin with the decomposition Sn(f)−ZAn−log f(x)f(x)dx =−ZAn fn(x)log fn(x)dx +ZAn f(x)log f(x)dx =−ZAn fn(x)log fn(x)dx +ZAn f(x)log fn(x)dx −ZAn f(x)log fn(x)dx +ZAn f(x)log f(x)dx =In,1 +In,2, (9) where In,1 :=−ZAnfn(x)−f(x)log fn(x)dx, and In,2 :=−ZAn f(x)log fn(x)−log f(x)dx. First, we consider In,1. Using the inequality |log z| ≤ z+1 z for z∈R+, we notice that for all x∈An, we have log fn(x)≤fn(x) + 1 fn(x) =1+1 (fn(x))2fn(x) ≤1+1 γ2 nfn(x). J. Risk Financial Manag. 2020,13, 205 6 of 13 It follows that In,1≤sup x∈Rfn(x)−f(x)ZAnlog fn(x)dx ≤1+1 γ2 nsup x∈Rfn(x)−f(x), (10) since fn(x)integrates to unity over the real line. Next, we consider In,2 . Since the set over which we are integrating may be changed to An∩ {x:f(x)> 0 } without affecting the value of In,2 , we may assume that f is positive on An . Using the inequality log z≤ |z−1|+|z−1−1| for z∈R+, we notice that for all x∈An, we have log fn(x)−log f(x)= ln fn(x) f(x) ≤ fn(x) f(x)−1 + f(x) fn(x)−1 = fn(x)−f(x) f(x) + f(x)−fn(x) fn(x) =1+fn(x) f(x) fn(x)−f(x) fn(x) ≤C γnfn(x)−f(x), (11) if we can justify the existence of C∈R+. To that end, define εn=sup x∈Anfn(x)−f(x), and note that for all x∈An, we have  1−f(x) fn(x) ≤εn fn(x)≤εn γn. Taking the supremem over Anyields sup x∈An 1−f(x) fn(x) ≤εn γn =γ−1 nεn ≤Cγ−1 n n log n2 5 , by Lemma 1. Note that γ−1 n=o n log n2 5, J. Risk Financial Manag. 2020,13, 205 7 of 13 since lim n→∞ γ−1 n n log n2 5 =lim n→∞log n n2 5 γn =lim n→∞log n n γ5 n log n n 11 5 =0. This guarantees the existence we sought to establish. We continue with In,2≤C γnsup x∈Rfn(x)−f(x)ZAn f(x)dx ≤C γnsup x∈Rfn(x)−f(x), (12) since fn(x)integrates to unity over the real line. In view of (9), (10) and (12), we have shown that  Sn(f)−ZAn−log f(x)f(x)dx (13) ≤1 γ2 n +C γn +1sup x∈Rfn(x)−f(x). (14) Therefore, lim sup n→∞nγ5 n log n2 5 Sn(f)−ZAn−log f(x)f(x)dx  ≤lim sup n→∞n log n2 5 γ2 n1 γ2 n +C γn +1sup x∈Rfn(x)−f(x) =lim sup n→∞γ2 n+Cγn+1n log n2 5 sup x∈Rfn(x)−f(x), where the last expression is constant almost surely by Lemma 1and since γn→0. Proof of Corollary 1.By the triangle inequality |Sn(f)−S(f)| ≤ Jn,1 +Jn,2, where Jn,1 = Sn(f)−ZAn−log f(x)f(x)dx  and Jn,2 =ZAn−log f(x)f(x)dx −S(f) . J. Risk Financial Manag. 2020,13, 205 8 of 13 Since Jn,1 → 0 almost surely by Theorem 1, we only need to contend with Jn,2 . That is, we need to show that ZAc n f(x)log f(x)dx →0 (15) almost surely as n→∞. For any Borel measurable set E, consider P(E) = ZEf(x)dx, and define the signed measure ν(E) = −ZElog f(x)dP. Since |S(f)|<∞ , both ν+ and ν− are finite measures, and thus, ν is a finite signed measure that is absolutely continuous with respect to P. Because of Lemma 3, it suffices for us to demonstrate that P(Ac n)→0 almost surely. For any x∈Ac n , we have fn(x)<γn . By Lemma 1, there exists C∈R+ such that f(x)≤fn(x) + |fn(x)−f(x)|<γn+Clog n n2 5 almost surely, and hence, we have shown that Ac n⊆Bnalmost surely, where Bn:=x:f(x)<γn+Clog n n2 5. It is easy to see that 0≤P(Ac n)≤P(Bn)→0 almost surely, since γn+Clog n n2 5→0 as n→∞. Proof of Theorem 2.We start with     Sn(f)−ZAn−log f(x)f(x)dx    2 ≤    Sn(f) + ZAn fn(x)log f(x)dx   2 +   ZAn fn(x)log f(x)dx −ZAn f(x)log f(x)dx   2 =:Kn,1 +Kn,2.