Measures of dispersion and serial dependence in categorical time series
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Weiß, Christian H. Article Measures of dispersion and serial dependence in categorical time series Econometrics Provided in Cooperation with: MDPI – Multidisciplinary Digital Publishing Institute, Basel Suggested Citation: Weiß, Christian H. (2019) : Measures of dispersion and serial dependence in categorical time series, Econometrics, ISSN 2225-1146, MDPI, Basel, Vol. 7, Iss. 2, pp. 1-23, https://doi.org/10.3390/econometrics7020017 This Version is available at: https://hdl.handle.net/10419/247517 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/
econometrics Article Measures of Dispersion and Serial Dependence in Categorical Time Series Christian H. Weiß Department of Mathematics and Statistics, Helmut Schmidt University, 22043 Hamburg, Germany; [email protected] Received: 21 December 2018; Accepted: 17 April 2019; Published: 22 April 2019 Abstract: The analysis and modeling of categorical time series requires quantifying the extent of dispersion and serial dependence. The dispersion of categorical data is commonly measured by Gini index or entropy, but also the recently proposed extropy measure can be used for this purpose. Regarding signed serial dependence in categorical time series, we consider three types of κ -measures. By analyzing bias properties, it is shown that always one of the κ -measures is related to one of the above-mentioned dispersion measures. For doing statistical inference based on the sample versions of these dispersion and dependence measures, knowledge on their distribution is required. Therefore, we study the asymptotic distributions and bias corrections of the considered dispersion and dependence measures, and we investigate the finite-sample performance of the resulting asymptotic approximations with simulations. The application of the measures is illustrated with real-data examples from politics, economics and biology. Keywords: Cohen’s κ ; extropy; nominal variation; signed serial dependence; asymptotic distribution 1. Introduction In many applications, the available data are not of quantitative nature (e.g., real numbers or counts) but consist of observations from a given finite set of categories. In the present article, we are concerned with data about political goals in Germany, fear states in the stock market, and phrases in a bird’s song. For stochastic modeling, we use a categorical random variable X , i.e. a qualitative random variable taking one of a finite number of categories, e.g. m+ 1 categories with some m∈N . If these categories are unordered, X is said to be a nominal random variable, whereas an ordinal random variable requires a natural order of the categories (Agresti 2002). To simplify notations, we always assume the possible outcomes to be arranged in a certain order (either lexicographical or natural order), i.e. we denote the range (state space) as S={s0 , s1 , . . . , sm} . The stochastic properties of X can be determined based on the vector of marginal probabilities by p= (p0 , . . . , pm)>∈[ 0; 1 ]m+1 , where pi=P(X=si) (probability mass function, PMF). We abbreviate sk(p):=∑m j=0pk j for k∈N , where s1(p) = 1 has to hold. The subscripts “0, 1, . . . , m ” are used for S and p to emphasize that only m of the probabilities can be freely chosen because of the constraint p0=1−p1−. . . −pm. Well-established dispersion measures for quantitative data, such as variance or inter quartile range, cannot be applied to qualitative data. For a categorical random variable X , one commonly defines dispersion with respect to the uncertainty in predicting the outcome of X (Kvålseth 2011b;Rao 1982; Weiß and Göb 2008). This uncertainty is maximal for a uniform distribution puni = ( 1 m+1 , . . . , 1 m+1)> on S (a reasonable prediction is impossible if all states are equally probable, thus maximal dispersion), whereas it is minimal for a one-point distribution pone (i.e., all probability mass concentrates on one category, so a perfect prediction is possible). Obviously, categorical dispersion is just the opposite concept to the concentration of a categorical distribution. To measure the dispersion of the categorical Econometrics 2019,7, 17; doi:10.3390/econometrics7020017 www.mdpi.com/journal/econometrics
Econometrics 2019,7, 17 2 of 23 random variable X , the most common approach is to use either the (normalized) Gini index (also index of qualitative variation, IQV) (Kvålseth 1995;Rao 1982) defined as νG=m+1 m1−s2(p), (1) or the (normalized) entropy (Blyth 1959;Shannon 1948) given by νEn =−1 ln (m+1)∑m i=0piln piwith 0 ·ln 0 :=0. (2) Both measures are minimized by a one-point distribution pone and maximized by the uniform distribution puni on S . While nominal dispersion is always expressed with respect to these extreme cases, it has to be mentioned that there is an alternative scenario of maximal ordinal variation, namely the extreme two-point distribution; however, this is not further considered here. If considering a (stationary) categorical process (Xt)Z instead of a single random variable, then not only marginal properties are relevant but also information about the serial dependence structure (Weiß 2018) . The (signed) autocorrelation function (ACF), as it is commonly applied in case of real-valued processes, cannot be used for categorical data. However, one may use a type of Cohen’s κ instead (Cohen 1960). A κ -measure of signed serial dependence in categorical time series is given by (see Weiß 2011,2013;Weiß and Göb 2008); κ(h) = m ∑ i=0 pii(h)−p2 i 1−s2(p)∈h−s2(p) 1−s2(p); 1ifor lags h∈N. (3) Equation (3) is based on the lagged bivariate probabilities pij(h) = P(Xt=i , Xt−h=j) for i , j= 0, . . . , m . κ(h) = 0 for serial independence at lag h , and the strongest degree of positive (negative) dependence is indicated if all pii(h) = pi ( pii(h) = 0), i.e. if the event Xt−h=si is necessarily followed by Xt=si(Xt6=si). Motivated by a mobility index discussed by Shorrocks (1978), a simplified type of κ -measure, referred to as the modified κ, was defined by Weiß (2011,2013): κ∗(h) = 1 m m ∑ i=0 pii(h)−p2 i pi∈h−1 m; 1ifor lags h∈N. (4) Except the fact that the lower bound of the range differs from the one in Equation (3) (note that this lower bound is free of distributional parameters), we have the same properties as stated before for κ(h) . The computation of κ∗(h) is simplified compared to the one of κ(h) and, in particular, its sample version ˆ κ∗(h) has a more simple asymptotic normal distribution, see Section 5for details. Unfortunately, κ∗(h) is not defined if only one of the pi equals 0, whereas κ(h) is well defined for any marginal distribution not being a one-point distribution. This issue may happen quite frequently for the sample version ˆ κ∗(h) if the given time series is short (a possible circumvention is to replace all summands with pi= 0 by 0). For this reason, κ∗(h) , ˆ κ∗(h) appear to be of limited use for practice as a way of quantifying signed serial dependence. It should be noted that a similar “zero problem” happens with the entropy νEn in Equation (2) , and, actually, we work out a further relation between νEn and ˆ κ∗(h)below. In the recent work by Lad et al. (2015), extropy was introduced as a complementary dual to the entropy. Its normalized version is given by νEx =−1 mln (m+1 m)∑m i=0(1−pi)ln (1−pi). (5) Here, the zero problem obviously only happens if one of the pi equals 1 (i.e., in the case of a one-point distribution). Similar to the Gini index in Equation (1) and the entropy in Equation (2) , the extropy takes its minimal (maximal) value 0 (1) for p=pone ( p=puni ), thus also Equation (5)
Econometrics 2019,7, 17 3 of 23 constitutes a normalized measure of nominal variation. In Section 2, we analyze its properties in comparison to Gini index and entropy. In particular, we focus on the respective sample versions ˆ νEx , ˆ νG and ˆ νEn (see Section 3). To be able to do statistical inference based on ˆ νEx , ˆ νG and ˆ νEn , knowledge about their distribution is required. Up to now, only the asymptotic distribution of ˆ νG and (to some part) of ˆ νEn has been derived; in Section 3, comprehensive results for all considered dispersion measures are provided. These asymptotic distributions are then used as approximations to the true sample distributions of ˆ νEx,ˆ νGand ˆ νEn, which is further investigated with simulations and a real application (see Section 4). The second part of this paper is dedicated to the analysis of serial dependence. As a novel competitor to the measures in Equations (3) and (4), a new type of modified κis proposed, namely κ?(h) = m ∑ i=0 pii(h)−p2 i 1−pi∈hm ∑ i=0 −p2 i 1−pi ; 1ifor lags h∈N. (6) Again, this constitutes a measure of signed serial dependence, which shares the before-mentioned (in)dependence properties with κ(h) , κ∗(h) . However, in contrast to κ∗(h) , the newly proposed κ?(h) does not have a division-by-zero problem: except for the case of a one-point distribution, κ?(h) is well defined. Note that, in Section 3.2, it turns out that κ?(h) is related to νEx in some sense, e.g. κ(h) is related to νG and κ∗(h) to νEn . In Section 5, we analyze the sample version of κ?(h) in comparison to those of κ(h) , κ∗(h) , and we derive its asymptotic distribution under the null hypothesis of serial independence. This allows us to test for significant dependence in categorical time series. The performance of this ˆ κ? -test, in comparison to those based on ˆ κ , ˆ κ∗ , is analyzed in Section 6, where also two further real applications are presented. Finally, we conclude in Section 7. 2. Extropy, Entropy and Gini Index As extropy, entropy and Gini index all serve for the same task, it is interesting to know their relations and differences. An important practical issue is the “0 ln 0”-problem, as mentioned above, which never occurs for the Gini index, only occurs in the case of a (deterministic) one-point distribution for the extropy, and always occurs for the entropy if only one pi= 0. Lad et al. (2015) further compared the non-normalized versions of extropy and entropy, and they showed that the first is never smaller than the latter. Actually, using the inequality ln (1+x)>x/( 1 +x/ 2 ) for x> 0 from Love (1980), it follows that −∑m i=0(1−pi)ln (1−pi)≥ −∑m i=0piln pi≥1−s2(p), (7) (see Appendix B.1 for further details). Things change, however, if considering the normalized versions νEx , νEn and νG . For illustration, assume an underlying Lambda distribution Lm(λ) with λ∈( 0; 1 ) defined by the probability vector pm;λ= ( 1 −λ+λ m+1 , λ m+1 , . . . , λ m+1)> (Kvålseth 2011a). Note that λ→ 0 leads to a one-point distribution, whereas λ→ 1 leads to the uniform distribution; actually, Lm(λ) can be understood as a mixture of these boundary cases. For Lm(λ) , the Gini index satisfies νG=λ( 2 −λ) for all m∈N (see Kvålseth (2011a)). In addition, the extropy νEx has rather stable values for varying m (see Figure 1a), whereas the entropy values in Figure 1b change greatly. This complicates the interpretation of the actual level of normalized entropy. Finally, the example m= 10 plotted in Figure 1c shows that, in contrast to Equation (7) , there is no fixed order between the normalized entropy νEn and Gini index νG . In this and many further numerical experiments, however, it could be observed that the inequalities νEx ≥νEn and νEx ≥νG hold. These inequalities are formulated as a general conjecture here. From now on, we turn towards the sample versions ˆ νEx , ˆ νEn , ˆ νG of νEx , νEn , νG . These are obtained by replacing the probabilities pi , p by the respective estimates ˆ pi , ˆp , which are computed as relative frequencies from the given sample data x1 , . . . , xn . As detailed in Section 3, x1 , . . . , xn are assumed as time series data, but we also consider the case of independent and identically distributed (i.i.d.) data.
Econometrics 2019,7, 17 4 of 23 (a) νEx, m= 1 2 5 10 25 100 0.2 0.4 0.6 0.8 1.0 0.2 0.4 0.6 0.8 1.0 νG λ(b) νEn, m= 1 2 5 10 25 100 0.2 0.4 0.6 0.8 1.0 0.2 0.4 0.6 0.8 1.0 λ(c) m=10: νEx νEn νG 0.2 0.4 0.6 0.8 1.0 0.2 0.4 0.6 0.8 1.0 λ Figure 1. Normalized dispersion measures for Lambda distribution Lm(λ) against λ : νEx , νG in ( a ), νEn in (b), comparison for m=10 in (c). 3. Distribution of Sample Dispersion Measures To be able to derive the asymptotic distribution of statistics computed from X1 , . . . , Xn , Weiß (2013) assumed that the nominal process is φ -mixing with exponentially decreasing weights such that the CLT on p. 200 in Billingsley (1999) is applicable. This condition is not only satisfied in the i.i.d.-case, but also for, among others, the so-called NDARMA models as introduced by Jacobs and Lewis (1983) (see Appendix A.1 for details). Then, Weiß (2013) derived the asymptotic distribution of √nˆp−p , which is the normal distribution N(0,Σ)with Σ= (σij)i,j=0,...,mgiven by σij =pj(δi,j−pi) + ∑∞ h=1pij(h) + pji(h)−2pipj. (8) Using this result, the asymptotic properties of ˆ νG , ˆ νEn and ˆ νEx can be derived, as shown in Appendix B.2. The following subsections present and compare these properties in detail. 3.1. Asymptotic Normality As shown in Appendix B.2, provided that p6=pone , puni , all variation measures ˆ νG , ˆ νEn and ˆ νEx are asymptotically normally distributed. More precisely, √n(ˆ νG−νG) is asymptotically normally distributed with variance σ2 G=4(m+1 m)2∑m i,j=0pipjσij Equation (8) =4(m+1 m)2s3(p)−s2 2(p)1+2 ∞ ∑ h=1 m ∑ i,j=0pij(h)−pipjpipj s3(p)−s2 2(p) | {z } =:ϑ(h) ,(9) a result already known from Weiß (2013). Here, ϑ(h) might be understood as a measure of serial dependence, in analogy to the measures in Equations (3) , (4) and (6) . In particular, ϑ(h) = 0 in the i.i.d.-case, and ϑ(h) = κ(h)for NDARMA processes (Appendix A.1). Analogously, √n(ˆ νEn −νEn)is asymptotically normally distributed with variance σ2 En =∑m i,j=0 1+ln pi ln (m+1) 1+ln pj ln (m+1)σij Equation (8) =1 (ln (m+1))2∑m i=0pi(ln pi)2−∑m i=0piln pi2 ·1+2 ∞ ∑ h=1 ∑m i,j=0(1+ln pi)(1+ln pj)pij(h)−pipj ∑m i=0pi(ln pi)2−∑m i=0piln pi2 |{z } =:ϑ∗(h) . (10) In the i.i.d.-case, where the last factor becomes 1 (cf. Appendix A.1), this result was given by Blyth (1959), whereas the general expression in Equation (10) can be found in the work of Weiß (2013).
Econometrics 2019,7, 17 5 of 23 A novel result follows for the extropy, where √n(ˆ νEx −νEx) is asymptotically normally distributed with variance σ2 Ex =∑m i,j=0 1+ln (1−pi) mln (m+1 m) 1+ln (1−pj) mln (m+1 m)σij Equation (8) =1 (mln (m+1 m))2∑m i=0piln (1−pi)2−∑m i=0piln (1−pi)2 ·1+2 ∞ ∑ h=1 ∑m i,j=01+ln (1−pi)1+ln (1−pj)pij(h)−pipj ∑m i=0piln (1−pi)2−∑m i=0piln (1−pi)2 | {z } =:ϑ?(h) . (11) Again, the last factor becomes 1 in the i.i.d.-case as ϑ?(h) = 0, and ϑ?(h) = κ(h) for NDARMA processes (Appendix A.1). In Equations (9) – (11) , the notations ϑ(h) , ϑ∗(h) and ϑ?(h) have been introduced (see the respective expressions covered by the curly bracket) to highlight the similar structure of the asymptotic variances, and to locate the effect of serial dependence. Actually, one might use ϑ(h) , ϑ∗(h) and ϑ?(h) as measures of serial dependence in categorical time series, although their definition is probably too complex for practical use. In Section 3.2, when analyzing the bias of ˆ νG , ˆ νEn and ˆ νEx , analogous relations to the κ-measures defined in Section 1are established. 3.2. Asymptotic Bias In Appendix B.2, we express the variation measures ˆ νG , ˆ νEn and ˆ νEx as centered quadratic polynomials (at least approximately), and subsequently derive a bias formula. For the sample Gini index, it follows that E[ˆ νG]≈νG−1 nm+1 m∑m i=0σii Equation (8) =νG1−1 n1+2∑∞ h=1κ(h). (12) This formula was also derived by Weiß (2013), and it leads to the exact corrective factor ( 1 −1 n) in the i.i.d.-case. For ˆ νEn , ˆ νEx , such bias formulae do not exist yet. However, from our derivations in Appendix B.2, we newly obtain that E[ˆ νEn]≈νEn −1 2n∑m i=0 p−1 i ln (m+1)σii Equation (8) =νEn −1 2nm ln (m+1)1+2∑∞ h=1κ∗(h).(13) In the i.i.d.-case, the last factor reduces to 1, and κ∗(h) = κ(h) for NDARMA processes (Appendix A.1). Comparing Equations (12) and (13) , we see that the effect of serial dependence on the bias is always expressed in terms of a κ -measure, using the ordinary κ (Equation (3) ) for the Gini index, and the modified κ (Equation (4) ) for the entropy. Concerning the extropy, it turns out that the newly proposed κ-measure from Equation (6) takes this role: E[ˆ νEx]≈νEx −1 2n∑m i=0 (1−pi)−1 mln (m+1 m)σii Equation (8) =νEx −1 2n1 mln (m+1 m)1+2∑∞ h=1κ?(h).(14) In the i.i.d.-case, the last factor again reduces to 1, and also κ?(h) = κ(h) holds for NDARMA processes (Appendix A.1). Altogether, Equations (12) – (14) show a unique structure regarding the effect of serial dependence. Furthermore, the computed bias corrections imply the relations νG↔κ , νEn ↔κ∗and νEx ↔κ?. The sample versions of κ,κ∗,κ?are analyzed later in Section 5. 3.3. Asymptotic Properties for Uniform Distribution The asymptotic normality established in Section 3.1 certainly does not apply to the deterministic case p=pone , but we also have to exclude the boundary case of a uniform distribution puni . As shown
Econometrics 2019,7, 17 6 of 23 in Appendix B.2, the asymptotic distribution of ˆ νG , ˆ νEn and ˆ νEx in the uniform case is not a normal distribution but a quadratic-form one. All three statistics can be related to the Pearson’s χ2-statistic: n m (1−ˆ νG) = 2nln (m+1)·(1−ˆ νEn)≈ 2n m2ln (m+1 m)·(1−ˆ νEx)≈ n m ∑ j=0 (ˆ pj−1 m+1)2 1 m+1 . (15) The actual asymptotic distribution can now be derived by applying Theorem 3.1 in Tan (1977) to the asymptotic result in Equation (8) , which requires computing the eigenvalues of Σ . In special cases, however, one is not faced with a general quadratic-form distribution but with a χ2 m -distribution; this happens for NDARMA processes and certainly in the i.i.d.-case (see Weiß (2013)). Then, defining c= 1 + 2 ∑∞ h=1κ(h) , it holds that Equation (15) asymptotically follows c times a χ2 m -distribution (with c=1 in the i.i.d.-case). 4. Simulations and Applications Section 4.1 presents some simulation results regarding the quality of the asymptotic approximations for ˆ νG , ˆ νEn and ˆ νEx as derived in Section 3. Section 4.2 then applies these measures within a longitudinal study about the most important goals in politics in Germany. 4.1. Finite-Sample Performance of Dispersion Measures In applications, the normal and χ2 -distributions derived in Section 3were used as an approximation to the true distribution of ˆ νG , ˆ νEn and ˆ νEx . Therefore, the finite-sample performance of these approximations had to be analyzed, which was done by simulation (with 10,000 replications per scenario). In the tables provided by Appendix C, the simulated means (Table A1) and standard deviations (Table A2) for ˆ νG , ˆ νEn and ˆ νEx are reported and compared to the respective asymptotic approximations. Then, a common application scenario was considered, the computation of two-sided 95% confidence intervals (CIs) for ˆ νG , ˆ νEn and ˆ νEx . Since the true parameter values are not known in practice, one has to plug-in estimated parameters into the formulae for mean and variance given in Section 3. The simulated coverage rates reported in Table A3 refer to such plug-in CIs. For these simulations, we either used an i.i.d. data-generating process (DGP) or an NDARMA DGP (see Appendix A.1): a DMA(1) process with ϕ1= 0.25 or a DAR(1) process with φ1= 0.40. These were combined with the marginal distributions ( m= 3) summarized in Table 1: p1 and p2 were used before by Weiß (2011,2013), p3 by Kvålseth (2011b), and p4 to p6 are Lambda distributions Lm(λ) with λ∈ {0.25, 0.50, 0.75}(see Kvålseth 2011a). Table 1. Marginal distributions considered in Section 4.1 together with the corresponding dispersion values. PMF νGνEn νEx p1= (0.2, 0.2, 0.25, 0.35)>0.980 0.979 0.988 p2= (0.05, 0.1, 0.15, 0.7)>0.633 0.660 0.745 p3= (0.2, 0.15, 0.05, 0.6)>0.767 0.767 0.848 p4= (0.8125, 0.0625, 0.0625, 0.0625)>0.438 0.497 0.574 p5= (0.625, 0.125, 0.125, 0.125)>0.750 0.774 0.832 p6= (0.4375, 0.1875, 0.1875, 0.1875)>0.938 0.940 0.961 Finally, we used the results in Section 3.3 to test the null hypothesis (level 5%) of the uniform distribution L3( 1 ) ( νG=νEn =νEx = 1) based on ˆ νG , ˆ νEn and ˆ νEx . The considered alternatives were Lm(λ) with λ∈ { 0.98, 0.96, 0.94, 0.92, 0.90 } , and the DGPs were as presented above. The simulated rejection rates are summarized in Table A4. Note that the required factor c= 1 + 2 ∑∞ h=1κ(h) equald c= ( 1 +φ1)/( 1 −φ1) with φ1=κ( 1 ) in the DAR(1) case, and c= 1 + 2 κ( 1 ) = 1 + 2 ϕ1( 1 −ϕ1) in the DMA(1) case, and was thus easy to estimate from the given time series data.
Econometrics 2019,7, 17 7 of 23 Let us now investigate the simulation results. Comparing the simulated mean values in Table A1 with the true dispersion values in Table 1, we realized a considerable negative bias for small sample sizes, which became even larger with increasing serial dependence. Fortunately, this bias is explained very well by the asymptotic bias correction, in any of the considered scenarios. With some limitations, this conclusion also applies to the standard deviations reported in Table A2; however, for sample size n= 100 and increasing serial dependence, the discrepancy between asymptotic and simulated values increased. As a result, the coverage rates in Table A3 performed rather poorly for sample size 100; thus, reliable CIs generally required a sample of size at least 250. It should also be noted that Gini index and extropy performed very similarly and often slightly worse than the entropy. Finally, the rejection rates in Table A4 concerning the tests for uniformity showed similar sizes (columns “1.00”; slightly above 0.05 for n=100) but little different power values: best for extropy and worst for entropy. 4.2. Application: Goals in Politics The monitoring of public mood and political attitudes over time is important for decision makers as well as for social scientists. Since 1980, the German General Social Survey (“ALLBUS”) is carried out by the “GESIS—Leibniz Institute for the Social Sciences” in every second year (exception: there was an additional survey in 1991 after the German reunification). In the years before and including 1990, the survey was done only in Western Germany, but in all Germany for the years 1991 and later. In what follows, we consider the cumulative report for 1980–2016 in GESIS—Leibniz Institute for the Social Sciences (2018), and there the question “If you had to choose between these different goals, which one would seem to you personally to be the most important?”. The four possible (nominal) answers are •s0: “To maintain law and order in this country”; •s1: “To give citizens more influence on government decisions”; •s2: “To fight rising prices”; and •s3: “To protect the right of freedom of speech”. The sample sizes of this longitudinal study varied between 2795 and 3754, and are thus sufficiently large for the asymptotics derived in Section 3. If just looking at the mode as a summary measure (location), there is not much change in time: from 1980 to 2000 and again in 2016, the majority of respondents considered s0 (law and order) as the most important goal in politics, whereas s1 (influence) was judged most important between 2002 and 2014. Much more fluctuations are visible if looking at the dispersion measures in Figure 2a. Although the absolute values of the measures differ, the general shapes of the graphs are quite similar. Usually, the dispersion measures take rather large values ( ≥ 0.90 in most of the years), which shows that any of the possible goals is considered as being most important by a large part of the population. On the other hand, the different goals never have the same popularity. Even in 2008, where all measures give a value very close to 1, the corresponding uniformity tests lead to a clear rejection of the null of a uniform distribution (p-values approximately 0 throughout). Let us now analyze the development of the importance of the political goals in some more detail, by looking at the extropy for illustration. Figure 2b shows the approximate 95%-CIs in time (a bias correction does not have a visible effect because of the large sample sizes). There are phases where successive CIs overlap, and these are interrupted by breaks in the dispersion behavior. Such breaks happen, e.g., in 1984 (possibly related to a change of government in Germany in 1982/83), in 2002 (perhaps related to 9/11), or in 2008 and 2010 (Lehman bankruptcy and economic crisis). These changes in dispersion go along with reallocations of probability masses, as can be seen from Figure 2c. From the frequency curves of s0 and s1 , we can see the above-mentioned change in mode, where the switch back to s0 (law and order) might be caused by the refugee crisis. In addition, the curve for s2 (fight rising prices) helps for explanation, as it shows that s2 is important for the respondents in the beginning of the 1980s (where Germany suffered from very high inflation) and in 2008 (economic crisis), but not
Econometrics 2019,7, 17 8 of 23 otherwise. Thus, altogether, the dispersion measures together with their approximate CIs give a very good summary of the distributional changes over time. (a) ● ● ● ● ● ●● ● ● ● ● ● ● ● ● ● ● ●● ● 1980 1985 1990 1995 2000 2005 2010 2015 0.85 0.90 0.95 1.00 year Dispersion ●νGνEn νEx (b) 1980 1985 1990 1995 2000 2005 2010 2015 0.90 0.92 0.94 0.96 0.98 1.00 year Extropy (c) 1980 1985 1990 1995 2000 2005 2010 2015 0.0 0.1 0.2 0.3 0.4 0.5 year Rel. frequency s0s1s2s3 Figure 2. ALLBUS data from Section 4.2: ( a ) dispersion measures; ( b ) extropy with 95% CIs; and ( c ) relative frequencies; plotted against year of survey. 5. Measures of Signed Serial Dependence After having discussed the analysis of marginal properties of a categorical time series, we now turn to the analysis of serial dependencies. In Section 1, two known measures of signed serial dependence, Cohen’s κ(h) in Equation (3) and a modification of it, κ∗(h) in Equation (4) , are briefly surveyed, and, in Section 3.2, we realize a connection to νG and νEn , respectively. Motivated by a zero problem with κ∗(h) , a new type of modified κ is proposed in Equation (6) , the measure κ?(h) , and this turns out to be related to νEx. If replacing the (bivariate) probabilities in Equations (3) , (4) and (6) by the respective (bivariate) relative frequencies computed from x1 , . . . , xn , we end up with sample versions of these dependence measures. Knowledge of their asymptotic distribution is particularly relevant for the i.i.d.-case, because this allows us to test for significant serial dependence in the given time series. As shown by Weiß (2011,2013) , ˆ κ(h) then has an asymptotic normal distribution, and it holds approximately that Eˆ κ(h)≈ −1 n,Vˆ κ(h)≈1 n1−1+2s3(p)−3s2(p) (1−s2(p))2. (16) The sample version of κ∗(h) has a more simple asymptotic normal distribution with Weiß (2011,2013) Eˆ κ∗(h)≈ −1 n,Vˆ κ∗(h)≈1 m n, (17) but it suffers from the before-mentioned zero problem, especially for short time series. Thus, it remains to derive the asymptotics of the novel ˆ κ?(h) under the null of an i.i.d. sample X1 , . . . , Xn . The starting point is an extension of the limiting result in Equation (8) . Under appropriate mixing assumptions (see Section 3), Weiß (2013) derived the joint asymptotic distribution of all univariate and equal-bivariate relative frequencies, i.e. of all √nˆ pi−pi and √nˆ pjj(h)−pjj(h) , which is the 2 (m+ 1 ) -dimensional normal distribution N(0 , Σ(h)) . The covariance matrix Σ(h) consists of four blocks with entries σi,j=pj(δi,j−pi) + ∑∞ k=1pij(k) + pji(k)−2pipj, σ(h) i,m+1+j=2(δi,j−pi)pjj(h) + ∑∞ k=1pijj(k,h)−pipjj(h) +∑∞ k=h+1pjji(h,k−h)−pipjj(h) +∑h−1 k=1pjij(k,h−k)−pipjj(h)=σ(h) m+1+j,i, σ(h) m+1+i,m+1+j=δi,j−pjj(h)pii(h) + 2δi,jpijj(h,h)−pii(h)pjj(h) +∑h−1 k=1pjiji(k,h−k,k) + pijij(k,h−k,k)−2pii(h)pjj(h) +∑∞ k=h+1pjjii(h,k−h,h) + piijj(h,k−h,h)−2pii(h)pjj(h), (18)
Econometrics 2019,7, 17 15 of 23 n m ( 1 −ˆ νG) then coincides with the Pearson’s χ2 -statistic with respect to puni ; see Section 4 in Weiß (2013) for the asymptotics. For the entropy in Equation (2) , an exact polynomial representation such as in Equation (A3) does not exist, thus we have to use a Taylor approximation instead: ˆ νEn ≈νEn −∑m j=0 1+ln pj ln (m+1)(ˆ pj−pj)−1 2∑m j=0 p−1 j ln (m+1)(ˆ pj−pj)2. (A4) However, then, one can proceed as before. Thus, an approximate bias formula follows from nE[ˆ νEn]−νEn≈ −1 2∑m j=0 p−1 j ln (m+1)V√n(ˆ pj−pj)≈ −1 2∑m j=0 p−1 j ln (m+1)σjj. For p6=puni , we can use the linear approximation implied by Equation (A4) to conclude on the asymptotic normality of √n(ˆ νEn −νEn)with variance σ2 En = m ∑ i,j=01+ln pi ln (m+1) 1+ln pj ln (m+1)σij, also see the results in (Blyth 1959;Weiß 2013). Note that, in the i.i.d.-case, where σij =pj(δi,j−pi) , one computes ∑m i,j=0(1+ln pi)(1+ln pj)pj(δi,j−pi) =∑m i=0(1+ln pi)2pi−∑m i=0(1+ln pi)pi2 =1+2∑m i=0piln pi+∑m i=0pi(ln pi)2−1+∑m i=0piln pi2 =∑m i=0pi(ln pi)2−∑m i=0piln pi2. Finally, in the boundary case p=puni, again the linear term vanishes such that 2nln (m+1)·(1−ˆ νEn)≈n m ∑ j=0 (ˆ pj−1 m+1)2 1 m+1 equals the Pearson’s χ2-statistic. Finally, we do analogous derivations concerning the extropy in Equation (5) . Starting with the Taylor approximation ˆ νEx ≈νEx +∑m j=0 1+ln (1−pj) mln (m+1 m)(ˆ pj−pj)−1 2∑m j=0 (1−pj)−1 mln (m+1 m)(ˆ pj−pj)2, (A5) it follows that nE[ˆ νEx]−νEx≈ −1 2∑m j=0 (1−pj)−1 mln (m+1 m)σjj. For p6=puni , we can use the linear approximation implied by Equation (A5) to conclude on the asymptotic normality of √n(ˆ νEx −νEx)with variance σ2 Ex = m ∑ i,j=0 1+ln (1−pi) mln (m+1 m) 1+ln (1−pj) mln (m+1 m)σij. Note that, in the i.i.d.-case, where σij =pj(δi,j−pi), one computes ∑m i,j=01+ln (1−pi)1+ln (1−pj)pj(δi,j−pi) =∑m i=0piln (1−pi)2−∑m i=0piln (1−pi)2
Econometrics 2019,7, 17 16 of 23 as before. Finally, in the boundary case p=puni, again the linear term vanishes such that 2n m2ln (m+1 m)·(1−ˆ νEx)≈n m ∑ j=0 (ˆ pj−1 m+1)2 1 m+1 equals the Pearson’s χ2-statistic. Appendix B.3. Derivations for Measures of Signed Serial Dependence We partition x∈(0; 1)2(m+1)as x= (x0, . . . , xm,xm+1+0, . . . , xm+1+m)>, and we define f(x) = m ∑ j=0 xm+1+j−x2 j 1−xj . Then, ∂ ∂xjf(x) = xm+1+j−2xj+x2 j (1−xj)2,∂ ∂xm+1+jf(x) = 1 1−xj , and ∂2 ∂xj2f(x) = −2(1−xm+1+j) (1−xj)3,∂2 ∂xj∂xm+1+jf(x) = 1 (1−xj)2, all other second-order derivatives equal 0. Thus, a second-order Taylor approximation of ˆ κ?(h) = f. . . , ˆ pj, . . . , ˆ pjj(h), . . . is given by ˆ κ?(h)≈κ?(h) + m ∑ j=0 pjj(h)−2pj+p2 j (1−pj)2ˆ pj−pj+ m ∑ j=0 1 1−pjˆ pjj(h)−pjj(h) − m ∑ j=0 1−pjj(h) (1−pj)3ˆ pj−pj2+ m ∑ j=0 1 (1−pj)2ˆ pj−pjˆ pjj(h)−pjj(h). Hence, using Equation (18), it follows that nEˆ κ?(h)−κ?(h)≈ m ∑ j=0 1 (1−pj)2σ(h) j,m+1+j− m ∑ j=0 1−pjj(h) (1−pj)3σjj = m ∑ j=0 (1−pj)σ(h) j,m+1+j−1−pjj(h)σjj (1−pj)3. Furthermore, the Delta method implies that √nˆ κ?(h)−κ?(h)∼N(0, σ2)with σ2= m ∑ i,j=0 pii(h)−2pi+p2 i (1−pi)2 pjj(h)−2pj+p2 j (1−pj)2σi,j + m ∑ i,j=0 σ(h) m+1+i,m+1+j (1−pi)(1−pj)+2 m ∑ i,j=0 pii(h)−2pi+p2 i (1−pi)2 σ(h) i,m+1+j 1−pj . Note that, under the null of an i.i.d. DGP, we have the simplifications pjj(h)−2pj+p2 j (1−pj)2=−2pj 1−pj ,1−pjj(h) (1−pj)3=1+pj (1−pj)2.
Econometrics 2019,7, 17 17 of 23 Thus, the second-order Taylor approximation of ˆ κ?(h)then simplifies to ˆ κ?(h)≈κ?(h) + m ∑ j=0 −2pj 1−pjˆ pj−pj+ m ∑ j=0 1 1−pjˆ pjj(h)−p2 j − m ∑ j=0 1+pj (1−pj)2ˆ pj−pj2+ m ∑ j=0 1 (1−pj)2ˆ pj−pjˆ pjj(h)−p2 j. Furthermore, σi,j=pj(δi,j−pi),σi,m+1+j=2p2 j(δi,j−pi),σm+1+i,m+1+j=δi,jp2 i(1+2pi)−3p2 ip2 j, according to Equation (19). Thus, for an i.i.d. DGP, it follows that nEˆ κ?(h)−κ?(h)=n Eˆ κ?(h)≈ m ∑ j=0 σj,m+1+j−(1+pj)σjj (1−pj)2 = m ∑ j=0 2p2 j(1−pj)−(1+pj)pj(1−pj) (1−pj)2 = m ∑ j=0 −pj(1−pj) (1+pj−2pj) (1−pj)2=−1. Furthermore, σ2= m ∑ i,j=0 −2pi 1−pi −2pj 1−pj pj(δi,j−pi) + 2 m ∑ i,j=0 −2pi 1−pi 1 1−pj 2p2 j(δi,j−pi) + m ∑ i,j=0 1 1−pi 1 1−pjδi,jp2 i(1+2pi)−3p2 ip2 j =4 m ∑ i=0 p3 i (1−pi)2−8 m ∑ i=0 p3 i (1−pi)2+ m ∑ i=0 p2 i(1+2pi) (1−pi)2 −4 m ∑ i,j=0 p2 i 1−pi p2 j 1−pj +8 m ∑ i,j=0 p2 i 1−pi p2 j 1−pj−3 m ∑ i,j=0 p2 i 1−pi p2 j 1−pj = m ∑ i=0 p2 i(1−2pi) (1−pi)2+m ∑ i=0 p2 i 1−pi2 . This leads to Equation (21). In the special case of a uniform distribution, i.e. where all pi=1 m+1 , the asymptotic variances according to Equations (16), (17) and (21) coincide. Then, we have in Equation (16) that 1−1+2s3(p)−3s2(p) (1−s2(p))2=1−1+2 (m+1)2−3 m+1 (1−1 m+1)2=1−(m+1)2+2−3(m+1) m2=1−m2−m m2=1 m, which corresponds to Equation (17). However, the same expression also follows in Equation (21): s2(p)−∑m i=0p2 i 1−pi2+∑m i=0 p2 i 1−pi2=1 m+1−1 m2(m+1)+1 m2=1 m.
Econometrics 2019,7, 17 18 of 23 Appendix C. Tables Table A1. Asymptotic vs. simulated mean (M·-a vs. M·-s) of ˆ νG,ˆ νEn,ˆ νEx for DGPs i.i.d., DMA(1) with ϕ1=0.25, and DAR(1) with φ1=0.40. DGP i.i.d. DMA(1), 0.25 DAR(1), 0.40 i.i.d. DMA(1), 0.25 DAR(1), 0.40 i.i.d. DMA(1), 0.25 DAR(1), 0.40 PMF nMG-a MG-s MG-a MG-s MG-a MG-s MEn-a MEn-s MEn-a MEn-s MEn-a MEn-s MEx-a MEx-s MEx-a MEx-s MEx-a MEx-s p1100 0.970 0.970 0.967 0.967 0.957 0.957 0.969 0.968 0.965 0.964 0.954 0.954 0.982 0.982 0.980 0.980 0.975 0.975 250 0.976 0.976 0.975 0.975 0.971 0.971 0.975 0.975 0.973 0.973 0.969 0.969 0.986 0.986 0.985 0.985 0.983 0.983 500 0.978 0.978 0.977 0.977 0.975 0.975 0.977 0.977 0.976 0.976 0.974 0.974 0.987 0.987 0.987 0.987 0.985 0.985 1000 0.979 0.979 0.979 0.979 0.978 0.978 0.978 0.978 0.978 0.978 0.977 0.977 0.988 0.988 0.987 0.987 0.987 0.987 p2100 0.627 0.627 0.625 0.625 0.619 0.619 0.649 0.649 0.645 0.644 0.634 0.634 0.739 0.739 0.737 0.737 0.731 0.731 250 0.631 0.631 0.630 0.630 0.627 0.627 0.655 0.655 0.654 0.654 0.649 0.649 0.743 0.743 0.742 0.742 0.739 0.739 500 0.632 0.632 0.632 0.631 0.630 0.630 0.657 0.657 0.657 0.656 0.654 0.654 0.744 0.744 0.743 0.743 0.742 0.742 1000 0.633 0.633 0.632 0.633 0.632 0.632 0.658 0.658 0.658 0.658 0.657 0.657 0.744 0.744 0.744 0.744 0.744 0.743 p3100 0.759 0.759 0.756 0.756 0.749 0.749 0.756 0.755 0.752 0.751 0.741 0.741 0.842 0.842 0.840 0.840 0.835 0.835 250 0.764 0.764 0.762 0.762 0.760 0.760 0.762 0.762 0.761 0.761 0.757 0.757 0.846 0.846 0.845 0.845 0.843 0.843 500 0.765 0.765 0.765 0.765 0.763 0.763 0.764 0.764 0.764 0.764 0.762 0.762 0.847 0.847 0.846 0.847 0.845 0.845 1000 0.766 0.766 0.766 0.766 0.765 0.765 0.766 0.765 0.765 0.765 0.764 0.764 0.847 0.847 0.847 0.847 0.847 0.847 p4100 0.433 0.433 0.431 0.431 0.427 0.428 0.486 0.486 0.482 0.481 0.471 0.471 0.568 0.568 0.566 0.566 0.560 0.561 250 0.436 0.436 0.435 0.435 0.433 0.434 0.492 0.492 0.491 0.491 0.487 0.487 0.572 0.572 0.571 0.571 0.569 0.569 500 0.437 0.437 0.436 0.436 0.435 0.436 0.495 0.495 0.494 0.494 0.492 0.492 0.573 0.573 0.572 0.572 0.571 0.571 1000 0.437 0.437 0.437 0.437 0.436 0.436 0.496 0.496 0.495 0.495 0.494 0.494 0.573 0.573 0.573 0.573 0.573 0.573 p5100 0.743 0.743 0.740 0.740 0.733 0.733 0.764 0.764 0.760 0.759 0.749 0.749 0.827 0.827 0.824 0.824 0.819 0.819 250 0.747 0.747 0.746 0.746 0.743 0.743 0.770 0.770 0.768 0.769 0.764 0.765 0.830 0.830 0.829 0.829 0.827 0.827 500 0.749 0.749 0.748 0.748 0.747 0.747 0.772 0.772 0.771 0.772 0.769 0.769 0.831 0.831 0.831 0.831 0.830 0.830 1000 0.749 0.749 0.749 0.749 0.748 0.748 0.773 0.773 0.773 0.773 0.772 0.772 0.832 0.832 0.832 0.832 0.831 0.831 p6100 0.928 0.928 0.925 0.925 0.916 0.916 0.929 0.929 0.925 0.925 0.915 0.915 0.956 0.956 0.953 0.954 0.948 0.948 250 0.934 0.934 0.932 0.932 0.929 0.929 0.936 0.936 0.934 0.934 0.930 0.930 0.959 0.959 0.958 0.958 0.956 0.956 500 0.936 0.936 0.935 0.935 0.933 0.933 0.938 0.938 0.937 0.937 0.935 0.935 0.960 0.960 0.960 0.960 0.959 0.959 1000 0.937 0.937 0.936 0.936 0.935 0.935 0.939 0.939 0.939 0.939 0.938 0.938 0.961 0.961 0.961 0.961 0.960 0.960
Econometrics 2019,7, 17 19 of 23 Table A2. Asymptotic vs. simulated standard deviation (S·-a vs. S·-s) of ˆ νG,ˆ νEn,ˆ νEx for DGPs i.i.d., DMA(1) with ϕ1=0.25, and DAR(1) with φ1=0.40. DGP i.i.d. DMA(1), 0.25 DAR(1), 0.40 i.i.d. DMA(1), 0.25 DAR(1), 0.40 i.i.d. DMA(1), 0.25 DAR(1), 0.40 PMF nSG-a SG-s SG-a SG-s SG-a SG-s SEn-a SEn-s SEn-a SEn-s SEn-a SEn-s SEx-a SEx-s SEx-a SEx-s SEx-a SEx-s p1100 0.017 0.019 0.020 0.023 0.027 0.032 0.017 0.020 0.020 0.024 0.027 0.033 0.011 0.012 0.012 0.014 0.016 0.020 250 0.011 0.011 0.013 0.014 0.017 0.018 0.011 0.012 0.013 0.014 0.017 0.019 0.007 0.007 0.008 0.008 0.010 0.011 500 0.008 0.008 0.009 0.009 0.012 0.012 0.008 0.008 0.009 0.009 0.012 0.013 0.005 0.005 0.006 0.006 0.007 0.008 1000 0.006 0.006 0.006 0.007 0.008 0.009 0.006 0.006 0.006 0.007 0.008 0.009 0.003 0.003 0.004 0.004 0.005 0.005 p2100 0.071 0.071 0.084 0.083 0.109 0.106 0.063 0.064 0.074 0.075 0.097 0.096 0.057 0.058 0.067 0.068 0.088 0.088 250 0.045 0.045 0.053 0.053 0.069 0.068 0.040 0.040 0.047 0.047 0.061 0.061 0.036 0.036 0.043 0.043 0.055 0.055 500 0.032 0.032 0.037 0.037 0.049 0.049 0.028 0.029 0.033 0.033 0.043 0.043 0.026 0.026 0.030 0.030 0.039 0.039 1000 0.023 0.023 0.027 0.027 0.035 0.035 0.020 0.020 0.024 0.024 0.031 0.031 0.018 0.018 0.021 0.021 0.028 0.028 p3100 0.058 0.058 0.068 0.068 0.088 0.086 0.053 0.054 0.062 0.063 0.081 0.081 0.042 0.043 0.049 0.050 0.064 0.065 250 0.037 0.037 0.043 0.043 0.056 0.055 0.033 0.034 0.039 0.039 0.051 0.051 0.027 0.027 0.031 0.031 0.041 0.041 500 0.026 0.026 0.030 0.030 0.039 0.039 0.024 0.024 0.028 0.028 0.036 0.036 0.019 0.019 0.022 0.022 0.029 0.029 1000 0.018 0.018 0.021 0.021 0.028 0.028 0.017 0.017 0.020 0.020 0.025 0.025 0.013 0.013 0.016 0.016 0.020 0.020 p4100 0.078 0.077 0.092 0.090 0.119 0.115 0.072 0.073 0.085 0.085 0.110 0.109 0.073 0.073 0.085 0.086 0.111 0.110 250 0.049 0.049 0.058 0.058 0.075 0.075 0.046 0.046 0.054 0.054 0.070 0.070 0.046 0.046 0.054 0.054 0.070 0.071 500 0.035 0.035 0.041 0.041 0.053 0.053 0.032 0.032 0.038 0.038 0.049 0.049 0.033 0.033 0.038 0.038 0.050 0.050 1000 0.025 0.025 0.029 0.029 0.038 0.038 0.023 0.023 0.027 0.027 0.035 0.035 0.023 0.023 0.027 0.027 0.035 0.035 p5100 0.065 0.064 0.076 0.075 0.099 0.096 0.056 0.057 0.066 0.067 0.086 0.086 0.048 0.048 0.056 0.056 0.073 0.073 250 0.041 0.041 0.048 0.048 0.062 0.062 0.036 0.036 0.042 0.042 0.054 0.054 0.030 0.030 0.035 0.035 0.046 0.046 500 0.029 0.029 0.034 0.034 0.044 0.044 0.025 0.025 0.029 0.029 0.038 0.038 0.021 0.021 0.025 0.025 0.032 0.033 1000 0.020 0.020 0.024 0.024 0.031 0.031 0.018 0.018 0.021 0.021 0.027 0.027 0.015 0.015 0.018 0.018 0.023 0.023 p6100 0.033 0.034 0.039 0.040 0.051 0.052 0.030 0.032 0.036 0.037 0.046 0.050 0.021 0.022 0.025 0.026 0.032 0.034 250 0.021 0.021 0.025 0.025 0.032 0.032 0.019 0.019 0.022 0.023 0.029 0.030 0.013 0.013 0.016 0.016 0.020 0.021 500 0.015 0.015 0.017 0.017 0.023 0.023 0.014 0.014 0.016 0.016 0.021 0.021 0.009 0.010 0.011 0.011 0.014 0.015 1000 0.010 0.011 0.012 0.012 0.016 0.016 0.010 0.010 0.011 0.011 0.015 0.015 0.007 0.007 0.008 0.008 0.010 0.010
Econometrics 2019,7, 17 20 of 23 Table A3. Simulated coverage rate for 95% CIs of ˆ νG,ˆ νEn,ˆ νEx for DGPs i.i.d., DMA(1) with ϕ1=0.25, and DAR(1) with φ1=0.40. Coverage ˆνG, DGP: Coverage ˆνEn, DGP: Coverage ˆνEx, DGP: PMF ni.i.d. DMA(1), 0.25 DAR(1), 0.40 i.i.d. DMA(1), 0.25 DAR(1), 0.40 i.i.d. DMA(1), 0.25 DAR(1), 0.40 p1100 0.895 0.893 0.899 0.904 0.901 0.905 0.892 0.890 0.897 250 0.914 0.909 0.898 0.920 0.915 0.905 0.912 0.907 0.896 500 0.931 0.922 0.912 0.935 0.927 0.918 0.930 0.921 0.910 1000 0.938 0.935 0.926 0.940 0.937 0.930 0.938 0.934 0.925 p2100 0.936 0.926 0.908 0.937 0.929 0.915 0.931 0.928 0.911 250 0.944 0.941 0.933 0.945 0.942 0.937 0.944 0.941 0.935 500 0.947 0.946 0.941 0.947 0.946 0.943 0.947 0.946 0.941 1000 0.949 0.947 0.944 0.949 0.948 0.946 0.949 0.947 0.945 p3100 0.931 0.920 0.904 0.936 0.926 0.918 0.930 0.919 0.901 250 0.941 0.938 0.930 0.943 0.943 0.937 0.940 0.937 0.929 500 0.945 0.945 0.940 0.946 0.946 0.943 0.944 0.944 0.939 1000 0.948 0.947 0.945 0.948 0.948 0.947 0.948 0.947 0.945 p4100 0.941 0.925 0.904 0.938 0.925 0.905 0.938 0.931 0.913 250 0.947 0.939 0.929 0.943 0.940 0.931 0.948 0.942 0.934 500 0.949 0.946 0.941 0.948 0.946 0.942 0.950 0.947 0.943 1000 0.952 0.945 0.946 0.949 0.946 0.947 0.949 0.946 0.947 p5100 0.933 0.922 0.904 0.938 0.928 0.915 0.939 0.923 0.906 250 0.945 0.939 0.931 0.947 0.942 0.935 0.944 0.940 0.931 500 0.946 0.945 0.941 0.947 0.946 0.943 0.947 0.945 0.941 1000 0.948 0.947 0.945 0.949 0.948 0.946 0.949 0.947 0.945 p6100 0.909 0.894 0.884 0.920 0.908 0.901 0.906 0.890 0.877 250 0.933 0.923 0.908 0.936 0.929 0.919 0.931 0.921 0.905 500 0.938 0.935 0.927 0.940 0.938 0.933 0.937 0.934 0.925 1000 0.943 0.941 0.939 0.945 0.943 0.942 0.943 0.941 0.938
Econometrics 2019,7, 17 21 of 23 Table A4. Rejection rate if testing null hypothesis of uniform distribution ( m= 3) on 5%-level based on ˆ νG , ˆ νEn , ˆ νEx . DGPs i.i.d., DMA(1) with ϕ1= 0.25, and DAR(1) with φ1=0.40, with marginal distribution Lm(λ). λ1.00 0.98 0.96 0.94 0.92 0.90 1.00 0.98 0.96 0.94 0.92 0.90 1.00 0.98 0.96 0.94 0.92 0.90 DGP nRejection rate ˆνGRejection rate ˆνEn Rejection rate ˆνEx i.i.d. 100 0.049 0.056 0.081 0.122 0.183 0.271 0.050 0.057 0.082 0.120 0.178 0.262 0.050 0.058 0.084 0.127 0.190 0.281 250 0.052 0.068 0.132 0.250 0.421 0.605 0.051 0.068 0.129 0.243 0.407 0.590 0.051 0.068 0.132 0.252 0.423 0.608 500 0.050 0.088 0.223 0.465 0.723 0.899 0.050 0.087 0.219 0.455 0.712 0.893 0.050 0.088 0.225 0.468 0.727 0.901 1000 0.051 0.132 0.420 0.782 0.961 0.997 0.051 0.132 0.414 0.775 0.959 0.997 0.051 0.133 0.423 0.785 0.962 0.997 DMA(1), 0.25 100 0.054 0.060 0.076 0.109 0.150 0.213 0.057 0.063 0.079 0.109 0.150 0.210 0.055 0.062 0.078 0.112 0.155 0.219 250 0.052 0.065 0.108 0.194 0.317 0.467 0.052 0.067 0.108 0.190 0.309 0.455 0.052 0.066 0.110 0.197 0.322 0.474 500 0.051 0.077 0.172 0.350 0.575 0.778 0.052 0.077 0.169 0.343 0.564 0.769 0.051 0.078 0.174 0.354 0.579 0.782 1000 0.049 0.106 0.315 0.634 0.879 0.978 0.050 0.106 0.310 0.625 0.873 0.976 0.050 0.107 0.317 0.638 0.881 0.978 DAR(1), 0.4 100 0.056 0.059 0.067 0.088 0.112 0.146 0.059 0.062 0.071 0.091 0.115 0.147 0.059 0.062 0.071 0.092 0.118 0.153 250 0.053 0.060 0.085 0.132 0.199 0.294 0.054 0.062 0.085 0.131 0.195 0.286 0.054 0.062 0.087 0.135 0.205 0.301 500 0.050 0.066 0.120 0.218 0.366 0.535 0.051 0.067 0.119 0.213 0.356 0.522 0.051 0.067 0.121 0.221 0.371 0.542 1000 0.050 0.083 0.199 0.404 0.647 0.846 0.050 0.083 0.195 0.396 0.636 0.838 0.050 0.084 0.200 0.408 0.651 0.850
Econometrics 2019,7, 17 22 of 23 Table A5. Asymptotic vs. simulated standard deviation (S · -a vs. S · -s) of ˆ κ(h) , ˆ κ∗(h) , ˆ κ?(h) for i.i.d. DGPs with m=3. Sˆκ-a Sˆκ-s, h=Sˆκ∗-a Sˆκ∗-s, h=Sˆκ?-a Sˆκ?-s, h= PMF n1 2 3 1 2 3 1 2 3 p5100 0.064 0.064 0.065 0.066 0.058 0.056 0.057 0.057 0.074 0.075 0.077 0.078 250 0.040 0.041 0.041 0.041 0.037 0.036 0.036 0.036 0.047 0.047 0.048 0.048 500 0.029 0.029 0.029 0.029 0.026 0.026 0.026 0.026 0.033 0.033 0.033 0.034 1000 0.020 0.020 0.020 0.020 0.018 0.018 0.018 0.018 0.023 0.023 0.024 0.024 p6100 0.060 0.060 0.061 0.061 0.058 0.057 0.057 0.058 0.063 0.064 0.064 0.065 250 0.038 0.038 0.038 0.038 0.037 0.036 0.036 0.037 0.040 0.040 0.040 0.040 500 0.027 0.027 0.027 0.027 0.026 0.026 0.026 0.026 0.028 0.028 0.028 0.028 1000 0.019 0.019 0.019 0.019 0.018 0.018 0.018 0.018 0.020 0.020 0.020 0.020 p7100 0.058 0.058 0.059 0.059 0.058 0.057 0.058 0.058 0.058 0.058 0.059 0.059 250 0.037 0.036 0.037 0.037 0.037 0.036 0.037 0.036 0.037 0.037 0.037 0.037 500 0.026 0.026 0.026 0.026 0.026 0.026 0.026 0.026 0.026 0.026 0.026 0.026 1000 0.018 0.018 0.018 0.018 0.018 0.018 0.018 0.018 0.018 0.018 0.018 0.018 Table A6. Rejection rate (RR) if testing null hypothesis of i.i.d. data on 5%-level based on ˆ κ( 1 ) , ˆ κ∗( 1 ) , ˆ κ?(1). DGPs i.i.d., DMA(1) with ϕ1=0.15, DAR(1) with φ1=0.15, and NegMarkov with α=0.75. DGP i.i.d., RR for DMA(1), 0.15, RR for DAR(1), 0.15, RR for NMark, 0.75, RR for PMF nˆκ(1)ˆκ∗(1)ˆκ?(1)ˆκ(1)ˆκ∗(1)ˆκ?(1)ˆκ(1)ˆκ∗(1)ˆκ?(1)ˆκ(1)ˆκ∗(1)ˆκ?(1) p5100 0.047 0.042 0.051 0.484 0.537 0.400 0.594 0.634 0.507 0.478 0.235 0.521 250 0.049 0.048 0.049 0.851 0.896 0.756 0.925 0.947 0.861 0.886 0.654 0.908 500 0.049 0.049 0.050 0.988 0.994 0.961 0.997 0.999 0.989 0.995 0.936 0.997 1000 0.049 0.048 0.049 1.000 1.000 0.999 1.000 1.000 1.000 1.000 0.999 1.000 p6100 0.048 0.047 0.049 0.540 0.559 0.509 0.662 0.673 0.631 0.338 0.268 0.353 250 0.050 0.049 0.049 0.903 0.916 0.878 0.960 0.966 0.947 0.725 0.636 0.735 500 0.050 0.049 0.051 0.996 0.997 0.992 0.999 1.000 0.999 0.958 0.920 0.961 1000 0.049 0.050 0.050 1.000 1.000 1.000 1.000 1.000 1.000 1.000 0.998 1.000 p7100 0.048 0.047 0.048 0.577 0.569 0.573 0.699 0.688 0.697 0.275 0.269 0.276 250 0.047 0.048 0.048 0.925 0.924 0.924 0.973 0.972 0.973 0.640 0.636 0.641 500 0.049 0.049 0.049 0.998 0.998 0.998 1.000 1.000 1.000 0.918 0.916 0.918 1000 0.050 0.050 0.050 1.000 1.000 1.000 1.000 1.000 1.000 0.998 0.998 0.998 References Agresti, Alan. 2002. Categorical Data Analysis, 2nd ed. Hoboken: John Wiley & Sons, Inc. Billingsley, Patrick. 1999. Convergence of Probability Measures, 2nd ed. New York: John Wiley & Sons, Inc. Blyth, Colin R. 1959. Note on estimating information. Annals of Mathematical Statistics 30: 71–79. [CrossRef] Cohen, Jacob. 1960. A coefficient of agreement for nominal scales. Educational and Psychological Measurement 20: 37–46. [CrossRef] Craig, Wallace. 1943. The Song of the Wood Pewee, Myiochanes virens Linnaeus: A Study of Bird Music. New York State Museum Bulletin No. 334. Albany: University of the State of New York. GESIS—Leibniz Institute for the Social Sciences. 2018. ALLBUS 1980–2016 (German General Social Survey). ZA4586 Data File (Version 1.0.0). Cologne: GESIS Data Archive. (In German) Hancock, Gwendolyn D’Anne. 2012. VIX and VIX futures pricing algorithms: Cultivating understanding. Modern Economy 3: 284–94. Jacobs, Patricia A., and Peter A. W. Lewis. 1983. Stationary discrete autoregressive-moving average time series generated by mixtures. Journal of Time Series Analysis 4: 19–36. [CrossRef] Kvålseth, Tarald O. 1995. Coefficients of variation for nominal and ordinal categorical data. Perceptual and Motor Skills 80: 843–47. [CrossRef] Kvålseth, Tarald O. 2011a. The lambda distribution and its applications to categorical summary measures. Advances and Applications in Statistics 24: 83–106.
Econometrics 2019,7, 17 23 of 23 Kvålseth, Tarald O. 2011b. Variation for categorical variables. In International Encyclopedia of Statistical Science. Edited by Miodrag Lovric. Berlin: Springer, pp. 1642–45. Lad, Frank, Giuseppe Sanfilippo, and Gianna Agro. 2015. Extropy: Complementary dual of entropy. Statistical Science 30: 40–58. [CrossRef] Love, Eric Russell. 1980. Some logarithm inequalities. Mathematical Gazette 64: 55–57. [CrossRef] Rao, C. Radhakrishna. 1982. Diversity and dissimilarity coefficients: A unified approach. Theoretical Population Biology 21: 24–43. [CrossRef] Shannon, Claude Elwood. 1948. A mathematical theory of communication. Bell System Technical Journal 27: 379–423, 623–56. [CrossRef] Shorrocks, Anthony F. 1978. The measurement of mobility. Econometrica 46: 1013–24. [CrossRef] Tan, Wai-Yuan. 1977. On the distribution of quadratic forms in normal random variables. Canadian Journal of Statististics 5: 241–50. [CrossRef] Weiß, Christian H. 2011. Empirical measures of signed serial dependence in categorical time series. Journal of Statistical Computation and Simulation 81: 411–29. [CrossRef] Weiß, Christian H. 2013. Serial dependence of NDARMA processes. Computational Statistics and Data Analysis 68: 213–38. [CrossRef] Weiß, Christian H. 2018. An Introduction to Discrete-Valued Time Series. Chichester: John Wiley & Sons, Inc. Weiß, Christian H., and Rainer Göb. 2008. Measuring serial dependence in categorical time series. AStA Advances in Statistical Analysis 92: 71–89. [CrossRef] c 2019 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).