Ordinal pattern probabilities for symmetric random walks
Hugh Denoncourt

TL;DR
This paper derives explicit formulas for the probabilities of ordinal patterns in symmetric random walks with various step distributions, revealing combinatorial structures and invariances in pattern occurrences.
Contribution
It introduces novel probability formulas for ordinal patterns in symmetric random walks with uniform, Laplace, and normal steps, connecting them to algebraic and combinatorial structures.
Findings
Ordinal pattern probabilities for uniform steps relate to affine Weyl group intervals.
Explicit formulas for Laplace-distributed steps involve level functions of permutations.
Certain permutation classes occur with equal probability regardless of the symmetric continuous step distribution.
Abstract
An ordinal pattern for a finite sequence of real numbers is a permutation that records the relative positions in the sequence. For random walks with steps drawn uniformly from , we show an ordinal pattern occurs with probability , where is a weak order interval in the affine Weyl group . For random walks with steps drawn from a symmetric Laplace distribution, the probability is , where measures how often occurs between consecutive values in . Permutations whose consecutive values are at most two positions apart in are shown to occur with the same probability for any choice of symmetric continuous step distribution. For random walks with steps from a mean zero normal distribution, ordinal pattern probabilities are determined by a matrix whoseβ¦
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMathematical Dynamics and Fractals Β· Advanced Combinatorial Mathematics Β· Bayesian Methods and Mixture Models
Ordinal pattern probabilities for symmetric random walks
Hugh Denoncourt Email: [email protected] - No affiliation
Abstract
An ordinal pattern for a finite sequence of real numbers is a permutation that records the relative positions in the sequence. For random walks with steps drawn uniformly from , we show an ordinal pattern occurs with probability , where is a weak order interval in the affine Weyl group . For random walks with steps drawn from a symmetric Laplace distribution, the probability is , where measures how often occurs between consecutive values in . Permutations whose consecutive values are at most two positions apart in are shown to occur with the same probability for any choice of symmetric continuous step distribution. For random walks with steps from a mean zero normal distribution, ordinal pattern probabilities are determined by a matrix whose -th entry measures how often and are between consecutive values.
Keywords: ordinal patterns; hyperplane arrangements; weak order; affine symmetric group.
1 Introduction
Let be an arbitrary finite sequence of real numbers. A permutation such that if is the -th largest position is called the ordinal pattern for .
For a given sequence of continuous random variables, it is natural to ask what the probability is that a given permutation occurs as an ordinal pattern in a length subsequence of outcomes. It is known [7] that for exchangeable random variables, such as those that are independent and identically distributed, this probability is for all . By contrast, the distribution on is never uniform for ordinal patterns in positions of a random walk when .
Exact probabilities have been calculated for ordinal pattern occurrence in a random walk for a few cases. For , Bandt and Shiha [7], DeFord and Moore [12], and Zare [30] gave values for the case of normally distributed steps of mean zero. For , DeFord and Moore [12] gave piece-wise polynomials for the case of uniform distributions on for .
In [15] and [21], Elizalde and Martinez showed that certain pairs of permutations have the same probability of occurring as an ordinal pattern in a random walk regardless of choice of continuous step distribution. Furthermore, Martinez [21] gave a detailed description of regions of steps that generate a given ordinal pattern in terms of a hyperplane arrangement equivalent to the braid arrangement. In this paper, we use hyperplane arrangements and the tools developed in [15] and [21] to find probabilities for ordinal pattern occurrence in certain random walks.
1.1 Main results
Let be independent and identically distributed continuous random variables called steps with probability density function . Let be the positions of the random walk. For , let denote the probability that occurs as an ordinal pattern in a length consecutive subsequence of positions generated by steps drawn from . All of the main results of the paper are statements about for various choices of density function .
Let denote the number of positions such that or such that . In Section 3, we use a direct calculation to show that when is a Laplace distribution, the value of is computed from the values of .
Theorem 3.3. Let and let be the density function for a Laplace distribution with mean zero. Then
[TABLE]
We say a permutation is almost consecutive if its consecutive values are at most two positions apart in its -line notation. Recall that a function is symmetric if for all . In Section 4, we show that does not depend upon the choice of symmetric density function if is almost consecutive.
Theorem 4.13. Let be an almost consecutive permutation. Let be a symmetric density function for a continuous probability distribution. Then
[TABLE]
In Section 5, we show that when is the density function for the uniform distribution on , we calculate by counting regions of the affine arrangement of type inside a rational polytope constructed from . The counted regions correspond to elements in a weak order interval of the affine Weyl group .
Theorem 5.33. Let be the uniform density function on . Let . Then
[TABLE]
where is a weak order interval of the affine Weyl group .
A corollary is that or appears in the -line notation for if and only if . By contrast, for the Laplace and normal distributions, the other values in the -line notation for typically influence the value of .
In Section 6, we show that when is the density function for a mean zero normal distribution, we can sometimes compare to . Let be the number of positions satisfying or .
Theorem 6.3. Let be the density function for the normal distribution with mean zero and any variance. Let . Suppose for all . Then .
1.2 The larger context for these results
Using ordinal patterns to analyze a time series is sometimes called ordinal analysis. Bandt and Pompe [6] introduced permutation entropy, which involves computing ordinal pattern frequencies in a time series. Subsequently, many papers suggested applying ordinal analysis to a variety of applied contexts. The survey [2] shows that ordinal pattern frequency often captures qualitative features of a time series. For example, iterated map dynamical systems with deterministic chaotic behavior tend to have forbidden ordinal patterns, whereas white noise does not.
We can interpret the results of this paper as providing a kind of fingerprint for certain random processes. DeFord and Moore [12] define KL divergence for the distribution of patterns of length in from those in by
[TABLE]
where and are random variables. Thus, comparisons to walks with steps from symmetric uniform and Laplace densities can be made via this version of KL divergence.
By Theorem 4.13, there exists a value for the probability that an almost consecutive permutation arises from a length sequence generated by steps from a symmetric density function. Thus, for fixed , we have a Bernoulli trial whose βsuccessβ probability is the same for any random walk whose steps have a symmetric density function. In [13], the following values are determined for :
[TABLE]
Although the symmetric density function hypothesis is limited in scope, the above values hold for the mean zero Gaussian distribution. Thus, after transforming a sequence generated by a random walk to have mean zero steps, it is reasonable to expect to see values close to those given above on a long enough time scale.
2 Ordinal pattern preliminaries
Throughout the paper, random walks have steps and positions. The steps are outcomes of independent and identically distributed continuous random variables . Every tuple of steps generates a tuple of walk positions, where , and for . We say a walk has ordinal pattern if whenever is the -th largest position of . We refer to as step coordinates for the random walk and the generated tuple as walk coordinates for the random walk. Ordinal pattern probabilities are calculated as integrals over regions of , but the ordinal patterns themselves are permutations in derived from walk coordinates in .
Following [15], we define a map by
[TABLE]
where
[TABLE]
and is the measure zero set of steps such that for some .
Definition 2.1**.**
Let . Let . We say generates if . We denote the region of tuples that generate by . Thus,
[TABLE]
We interpret as mapping a tuple of steps to the ordinal pattern of the generated walk positions. The region contains all such tuples for a fixed .
In [15, Section 2], Elizalde and Martinez define an edge diagram as a collection of oriented vertical line segments connecting and . The orientation is downward if and upward otherwise. A level is a vertical interval, denoted , whose -coordinates are in . In the edge diagram, the edge is a formal sum if and if . In Section 3, we introduce a tuple that records the number of edges that contain or its negation. (See figure 1 for an example of an edge diagram and .) An edge contains or its negation if or .
We primarily use the edge diagram as a visual description of . The edge diagram can be read off from the matrix given in the next definition, as can properties of the region .
Definition 2.2**.**
(Martinez [21, Section 2.1]) Let be defined by , where is a matrix whose entries are given by
[TABLE]
Thus, the -th coordinate of is given by
[TABLE]
Thus, the edges in the edge diagram may be expressed as . That is, the orientation of edges and which levels appear in edges of an edge diagram can be read from the rows of .
Example 2.3**.**
Let . Then
[TABLE]
The next three lemmas capture the basic properties of the representation .
Lemma 2.4**.**
(Martinez [21, Lemma 2.1.3]) The function given in Definition 2.2 is a homomorphism.
Lemma 2.5**.**
(Martinez [21, Lemma 2.1.4]) Let . Then
[TABLE]
Lemma 2.6**.**
(Martinez [21, Lemma 2.1.3]) Let . Then .
Since steps are given by independent and identically distributed continuous random variables, the probability that an ordinal pattern occurs depends only on and the associated probability density function . The associated joint density function for a walk of steps is always the function defined by . Suppose is a density function. Denote the probability that an ordinal pattern occurs in a random walk of steps by , where is the density function for the steps. Thus,
[TABLE]
Since is invertible and linear, the change-of-variables theorem applies. Since the determinant of is , the absolute value of the Jacobian is always .
Lemma 2.8**.**
Let . Let be a density function for a continuous distribution. Let be the joint density function for the independent steps produced by defined by . Then
[TABLE]
where is the -th coordinate of .
Proof.
The second equality follows from Lemma 2.5, Lemma 2.6, and the change-of-variables theorem. β
Example 2.9**.**
Suppose is the density function of a continuous distribution. Lemma 2.8 implies
[TABLE]
In principle, Lemma 2.8 allows for the calculation of for any suitable density function . However, evaluation of the integral is probably computationally infeasible in general. The main reason to use the second integral of Lemma 2.8 instead of the first is that the integration always occurs over .
Since all probability distributions in this paper are assumed to be continuous, the existence of a (not necessarily continuous) density function is guaranteed. Also, walk positions overlap with probability zero, which implies that ordinal pattern probabilities add to . This is also true of many discrete distributions, but we do not address the discrete distribution case in this paper.
Ordinal pattern probabilities are invariant under changes in scale. If , then for any . Thus, the region of integration in (2.7) does not change under the substitution of for , which proves the next lemma. This property is called scale invariance.
Lemma 2.10**.**
Let be a density function of a continuous probability distribution. Let and let be defined by . Then is also a density function and for all .
3 Pattern probabilities when steps are from Laplace densities
The Laplace distribution, also called the double exponential distribution, has density function given by
[TABLE]
where is the mean and is a scale parameter. In this section, we restrict our attention to the mean zero case. A mean zero Laplace distribution arises as the distribution for a random variable expressed as the difference of two identically distributed exponential random variables.
By Lemma 2.10, ordinal pattern probabilities are scale invariant. Thus, we lose no generality by restricting our attention to the choice . For the remainder of the section, the density function is defined by
[TABLE]
Definition 3.1**.**
Let . Denote the number of such that or by . We call the tuple the level count of .
Note that counts the number of times level is contained in an edge of the edge diagram of . (See figure 1.) Alternativly, it is the sum of the absolute values of the entries in column of .
Example 3.2**.**
Let . Then as shown in Figure 1.
Recall from Lemma 2.8 that .
Theorem 3.3**.**
Let and let be the density function for a mean zero Laplace distribution. Then
[TABLE]
Proof.
Every factor of the last integrand in Lemma 2.8 has the form , where each . Thus,
[TABLE]
The term appears in the above sum whenever or . Thus, by Definition 3.1, there are factors of contributing inside the exponential for the overall product. By Lemma 2.8,
[TABLE]
β
4 Universal pattern probabilities for symmetric step densities
Martinez [21, Section 5] introduced a hyperplane arrangement in such that for any , the set is a region of . Furthermore, in [21, Lemma 5.1.2] it was shown that the walls of are defined by the row vectors of . This allows us to show that for certain , we may express as a union of cells of the type Coxeter arrangement, which establishes the main result of this section. Namely, permutations whose consecutive values are at most two positions apart have the same ordinal pattern probabilities as the Laplace distribution. Thus, when is such a permutation, we have , regardless of choice of symmetric density function for the steps in the random walk.
4.1 Hyperplane arrangement preliminaries, notation, and terminology
The hyperplane arrangement notation and terminology we use in this section is similar to that found in [3, Section 1.4] or [10, Chapter 2]. In particular, a hyperplane arrangement is a set of finitely many hyperplanes. In this section, the arrangements under consideration are central, which means they pass through the origin. Thus, associated to each is a linear function such that . For each , let
[TABLE]
A cell with respect to is a nonempty set obtained by choosing for each a sign such that for all . The sequence is called the sign sequence for . The cell is represented by
[TABLE]
The intersection may be redundant. Cells such that for all are called regions. The regions of , denoted , are the nonempty convex open subsets that partition . Note that the collection of all cells partition . However, the cells that are not regions have measure zero and thus contribute nothing to the probability calculations of this section.
4.2 A hyperplane arrangement for steps of a random walk
Let be the hyperplane defined by
[TABLE]
Let
[TABLE]
be the hyperplane arrangement defined in [21, Section 5.1].
As noted in [21, Section 5.1], the arrangement is obtained from the standard braid arrangement via a linear substitution. The arrangements have the same face poset and the same number of regions. However, since the geometry is different and the calculation of is not always uniform across regions, we distinguish between the two arrangements in this paper. The next lemma motivates the choice of the arrangement .
Lemma 4.2**.**
(Martinez [21, Lemma 5.1.1]) The set of regions of is .
We say a cell is a face of the region if the cellβs sign sequence matches βs sign sequence except for one hyperplane whose sign is [math]. In this case, we say that is a wall of . For convenience, let when .
Lemma 4.3**.**
(Martinez [21, Lemma 5.1.2]) Let . The set of walls of is
[TABLE]
Suppose and be hyperplane arrangements such that . Then, the cells of may be written as a union of cells of . The next lemma follows from the fact that the collection of walls of a region forms a hyperplane arrangement in its own right. We use this in Section 4.3 to express as a union of cells from the type Coxeter arrangement.
Lemma 4.4**.**
Let be the collection of walls for a region of a hyperplane arrangement . If is any hyperplane arrangement such that , then
[TABLE]
for some collection of cells of .
4.3 The type Coxeter arrangement
We represent a signed permutation on as a pair , where is a permutation on and is a choice of sign for each position. A signed permutation acts on by mapping to . The type Coxeter arrangement is defined by the following hyperplanes:
[TABLE]
where and . It is known that the group of all signed permutations acts simply transitively on the regions of the type hyperplane arrangement, which implies that there are regions. See [11, Section 7] or [16, Section 1.15], for example. Furthermore, the group is generated by reflections so that every group element can be represented as a matrix with determinant .
For a symmetric density function , we have for all . Let be the joint density function defined by . Since is symmetric and products are invariant under permutations, we have for any signed permutation .
Lemma 4.8**.**
Let be a symmetric density function of a continuous probability distribution. Let be the joint density for the random walk of steps given by . Then, for any signed permutation , and any region of the type hyperplane arrangement, we have
[TABLE]
Proof.
Let and be arbitrary regions. Since acts simply transitively on regions, there exists such that . Since the absolute value of the Jacobian for is , the fact that and the change-of-variables theorem imply
[TABLE]
Since there are regions, the result follows. β
Recall Lemma 4.4: If the walls of a region lie in an arrangement distinct from the one that defined , then we can write as a union of cells from . Thus, if the walls of a region are type hyperplanes, the value can be calculated by counting type B regions contained in .
Lemma 4.9**.**
Suppose is a symmetric density function. Suppose the walls of are hyperplanes in the type Coxeter arrangement. Then
[TABLE]
Proof.
The hypothesis and Lemma 4.4 imply that
[TABLE]
where each is a region of the type Coxeter arrangement and each cell is a measure [math] cell of the arrangement. Thus,
[TABLE]
Since is symmetric, the joint density function is invariant under the action of . By Lemma 4.8, the hypotheses imply , where is the number of type regions contained in . Since depends only on , not on the choice of symmetric density function, we may choose to be the Laplace distribution. The result then follows from Theorem 3.3. β
4.4 Almost consecutive permutations
It remains to identify the permutations such that the walls of are hyperplanes of the type Coxeter arrangement. Recall from Lemma 4.3 that the set of walls for is the set of all such that . In Lemma 4.12, we show the walls of are type hyperplanes if is a permutation whose consecutive values occur no more than two positions apart in its -line notation. These permutations (or their inverses) are called key permutations in [23] and 3-determined permutations in [5]. In both papers it is shown that the counting sequence for these permutations, which is sequence A003274 of the OEIS, grows asymptotically like .
Definition 4.10**.**
We say is almost consecutive if for all .
Example 4.11**.**
Let . Then is almost consecutive since all instances of consecutive values are at most two positions apart in the -line notation. By contrast, the permutation is not almost consecutive, since the values and are three positions apart.
Lemma 4.12**.**
Let be an almost consecutive permutation. Then the walls of are hyperplanes of the type Coxeter arrangement.
Proof.
By Lemma 4.3, the walls of are , where . Definition 4.10 then implies that every wall of has the form or for some . Thus, a given wall of is defined by an equation of the form or , which is a hyperplane of the formΒ (4.7) orΒ (4.5). In either case, a wall of is a hyperplane in the type Coxeter arrangement. β
Theorem 4.13**.**
Let be an almost consecutive permutation. Let be a symmetric density function. Then
[TABLE]
Proof.
The result follows from Lemma 4.12 and Lemma 4.9. β
5 Uniform random walk patterns and Affine
Throughout this section, the only density function under consideration is the uniform density function on . It is defined by for and otherwise.
In Section 5.1, we show that is related to the volume of a rational polytope derived from . This rational polytope turns out to be an alcoved polytope, which is a union of the regions (called alcoves) of the affine arrangement of type . A lot is known about the affine arrangement of type and the affine Weyl group that acts upon its regions. Thus, the early sections of the chapter are devoted to translating everything into the language of type root systems. The main result, Theorem 5.33, states that can be computed by counting the number of elements of a weak order interval of .
5.1 The polytope of steps that generate
We now define a rational polytope that is used to reduce the problem of calculating to the problem of calculating the volume of .
Definition 5.1**.**
Let . Let and . We call the rational polytope satisfying
[TABLE]
for all the polytope of steps for .
Example 5.4**.**
Let . The system of inequalities defining is given by
[TABLE]
Recall that Lemma 2.8 expresses as . Also recall Definition 2.2, which expresses the -th coordinate of as
[TABLE]
Lemma 5.5**.**
Let be the uniform density function on . Let . Let be the polytope of steps for . Then
[TABLE]
Proof.
Let and . By Lemma 2.8, we have
[TABLE]
Let . Then for all . Thus if and only if
[TABLE]
The last integrand of (5.6) is if the system of inequalities defining in Definition 5.1 is satisfied, and [math] otherwise. Thus, the last integral of (5.6) calculates the volume of . β
Remark 5.7**.**
A consequence of the coordinate inequalities and those that have the form is that for any . In particular, it is a consequence of Lemma 5.31 that for all , which implies .
5.2 Type root system preliminaries
Let be the standard basis of . Let be the standard inner product on . Let
[TABLE]
The set
[TABLE]
is called the root system of type . The sets
[TABLE]
respectively, are called the set of positive roots and the set of negative roots, respectively.
Notation**.**
We often abbreviate by .
Let . Then
[TABLE]
is a basis for . The vectors contained in are called simple roots. There is a dual basis to consisting of vectors satisfying . The dual basis is called the basis of fundamental coweights.
The Weyl group of type is the group generated by reflections about the hyperplanes orthogonal to the simple roots. Explicitly, the reflection about the hyperplane orthogonal to is given by
[TABLE]
The map that sends the adjacent transposition to the reflection is called the geometric representation. It is a faithful representation of the symmetric group as a Coxeter group. See [9, Section 4.2], for example.
The representation given in Definition 2.2 is closely related to the geometric representation of as the Weyl group of type .
Lemma 5.9**.**
The matrix representation of in the basis of simple roots is , where is the identity matrix, and is the matrix whose only nonzero entries are given by , , and .
Proof.
This follows directly from (5.8) and appears in the proof of [9, Proposition 4.2.1]. β
Lemma 5.10**.**
Let . The matrix representation of in the basis of simple roots is . Consequently, the matrix is the matrix representation of in the basis of fundamental coweights.
Proof.
Recall from Lemma 2.4 that the function that maps to is a representation. Thus, it suffices to check the result for the adjacent transpositions.
Let be the adjacent transposition . We may exhaustively check that is the geometric representation given in Lemma 5.9.
Note that and except for . Thus all rows of match the identity matrix except rows , , and .
Since , and , the -st row of , if it exists, has a in columns and and [math]βs in all other positions. Similarly, if row exists, there is a in columns and and [math]βs in all other positions. Since and , the only nonzero entry of row is a in column .
In summary, we may wite as , where the only nonzero entries of are given by , , and . This is the transpose of the matrix for the geometric representation given in Lemma 5.9. β
5.3 The affine arrangement of type in step coordinates
The definition of the affine arrangement of type and its connected components involve inner products of the form . Note that , expressed in the basis of fundamental coweights as , satisfies
[TABLE]
The linear isomorphism mapping to translates results about the affine arrangement of type to results about . We refer to the image of this isomorphism as step coordinates in reference to the steps of the random walk. Whenever it makes sense, we expand the standard results and definitions about the affine arrangement of type into the basis in anticipation of what is needed to calculate the volume of .
Definition 5.11**.**
Let and . Let
[TABLE]
The collection of all hyperplanes of the form is called the affine arrangement of type . The connected components of are called alcoves. The group generated by the set of reflections about hyperplanes of the form is the affine Weyl group .
Let be an alcove of the affine walk arrangement. For any , and any pair , Definition 5.11 implies the existence of an integer such that is strictly between and .
Definition 5.12**.**
Let be an alcove of the affine walk arrangement. Let be the set of positive roots. The function such that
[TABLE]
is called the address of . The alcove
[TABLE]
is called the fundamental alcove.
Thus, the fundamental alcove is the unique alcove whose address is the constant zero function from to .
Example 5.13**.**
Every point in the unit hypercube that is not in the measure zero union of hyperplanes of the affine walk arrangement lies in some alcove. For example, the point in step coordinates is in the alcove whose address is shown in Figure 2.
The group has generating set , where are the same generators from that reflect about the hyperplanes . The generator reflects about the hyperplane . Thus, the action of is to swap the -th and -st coordinates of elements of . The action of is to swap the first and last coordinates, add one to the first coordinate and subtract one from the last coordinate. See [25, page 86] or [16, Section 4.3], for example.
The first part of the next lemma provides a correspondence between the the group and the alcoves of the affine arrangement of type . The last part provides the link to calculating the volume of . Recall that Lemma 5.10 identifies as the matrix representing in the geometric representation. Also recall from Lemma 2.6 that the determinant of is .
Lemma 5.14**.**
The following are true about the affine Weyl group .
- (i)
The affine Weyl group acts simply transitively on the alcoves of the affine arrangement of type . 2. (ii)
Every element of is a product of an element of and a translation. 3. (iii)
Elements of acting on step coordinates are volume-preserving on relative to the standard inner product on and Lebesgue measure.
Proof.
Part (i) is [16, Theorem 4.5]. Part (ii) is [16, Proposition 4.2].
Lemma 5.10 shows that elements of expressed as matrices relative to the basis of fundamental coweights have the form for some . Since translation preserves volume in any basis under any inner product, part (ii) and Lemma 2.6 prove part (iii). β
Remark 5.15**.**
When we convert to coordinates in via the basis of fundamental coweights, we are calculating volumes and integrals with a standard Lebesgue measure on equipped with the standard inner product. This is not the same inner product as the one on . To see this difference in inner product visually, compare [21, Figure 5.1] to a standard centrally-symmetric representation of the braid arrangement in the plane.
Part (i) of Lemma 5.14 ensures that in the next definition is an alcove.
Definition 5.16**.**
Let . The alcove of , denoted , is the alcove .
5.4 Computing the volume of by counting alcoves
Lemma 5.17**.**
Let and let be the polytope of steps for . Let be an alcove of the affine arrangement of type expressed in step coordinates. Then or .
Proof.
The address for determines a system of inequalities where each inequality has the form , for each . This includes the pairs in Definition 5.1. If for all , then every satisfies all the inequalities that define , which implies . Otherwise, the sum of coordinates is incompatible with for some , which implies . β
Lemma 5.18**.**
Let
[TABLE]
In step coordinates, the parallelepiped is the unit cube . There are alcoves of the affine arrangement of type contained in .
Proof.
See the proof of [16, Theorem 4.9] or [19, Section 3]. β
Corollary 5.19**.**
In step coordinates, each alcove of the affine arrangement of type has volume . Thus,
[TABLE]
where is the number of alcoves contained in .
Proof.
The set of points not in any alcove has measure zero. Thus part (iii) of Lemma 5.14 and Lemma 5.18 show that alcoves have volume in step coordinates. The result then follows from Lemma 5.17 and Lemma 5.5. β
Not every function from to is the address of an alcove. A characterization of such functions is given by Shiβs Theorem. See [25, Lemma 6.1.3] or [26, Theorem 5.2].
Theorem 5.20**.**
(Shiβs Theorem) A function is the address of an alcove if and only if
[TABLE]
for all satisfying .
Shiβs Theorem and Corollary 5.19 provide a straightforward, though inefficient, method for computing . This method, and an alternative one based on [29], is given in [13].
Proposition 5.21**.**
Let . Let be the uniform density function on . Let denote the number of functions satisfying the inequalities
[TABLE]
where , and also satisfying the equalities whenever there exists such that or . Then
[TABLE]
5.5 A characterization of the weak order in terms of alcove addresses
Recall that is generated by reflections . The length of , denoted , is the smallest number of generators in an expression of as a product of generators. Define a relation by the condition if is a generator and . The weak order on is defined as the transitive closure of the relation .
The main result of this section, Lemma 5.24, characterizes the weak order on in terms of alcove addresses. It might be folklore or known. There is an indirect way to prove the lemma by combining [27, Theorem 4.1] with [9, Theorem 5.3]. The approach given below uses a geometric characterization of the weak order on given in [16].
For a given hyperplane of the affine arrangement of type , two sides of the hyperplane are determined by the conditions and . We say a hyperplane separates from if and lie on two sides of . Based on the conditions for determining sides, we determine whether separates and from the the address of .
Lemma 5.22**.**
Let be a hyperplane in the affine arrangement of type , let denote the fundamental alcove, and let be an arbitrary alcove. If , then separates from if and only if . If , then separates from if and only if .
Proof.
Suppose . Since , we have on the side of where . Note that is on the side where if and only . Thus separates and if and only if .
The argument for is similar. β
Lemma 5.23**.**
Let be the set of hyperplanes separating from . Then in the weak order if and only if .
Proof.
This is [16, Theorem 4.5]. β
Let and be addresses. We write if whenever both are nonnegative or whenever both are nonpositive. We write if for all , which is the standard notation for function comparison.
Lemma 5.24**.**
Let . Then if and only if .
Proof.
The result follows from Lemma 5.22 and Lemma 5.23. β
The addresses of alcoves in are all greater than equal to [math]. Thus, we simplify the previous lemma to characterize weak order as a comparison of addresses as functions.
Corollary 5.25**.**
Let . Suppose and for all . Then if and only if .
5.6 Ideals in the root poset determine the alcoves in
If we set whenever required by Proposition 5.21, and greedily set to the maximum amount allowed by Shiβs theorem, then we obtain a maximal address satisfying the system of linear inequalities defining the polytope . By Corollary 5.25, if this turns out to be a unique maximum address satisfying the system, then the alcoves in correspond to a weak order interval of . We use a construction due to Sommers [28] to show that this is the case.
There is a standard order on , called the root poset, such that if and only if , which is equivalent to . Recall that an ideal is a down-closed subset of a poset.
Definition 5.26**.**
Let . For , we say is a consecutive root for if . Similarly, if , we say is a consecutive root for . Denote the collection of consecutive roots for by . Define the root ideal of , denoted , by
[TABLE]
The motivation for defining comes from the next lemma, which states that the address of any alcove in is [math] on the ideal .
Lemma 5.27**.**
Let be the address of an alcove in the polytope of steps for . For any and any such that , we have .
Proof.
Given that , we know . Thus, if and , we know . It follows that . β
In the next definition, it is more convenient to regard elements of as vectors, rather than using our abbreviation as pairs of integers.
Definition 5.28**.**
For a fixed root and a fixed ideal of , let be defined by
[TABLE]
In other words, the smallest number of joins needed to express as a join in the root poset using only elements of is . The value of is zero for any element of .
As in Section 5.5, we write if for all for addresses that are always nonnegative. The next lemma is a dual version of [4, Theorem 2].
Lemma 5.29**.**
(Sommers [28, Section 5]) For any ideal of that contains all the simple roots, there exists a unique maximum address such that for all . It is defined by
[TABLE]
Proof.
In the proof of [28, Lemma 5.1 part (2)], it is shown that for any address satisfying for all . In [28, Lemma 5.2 part (2)], it is shown that there exists an address such that for all . Since any address satisfying for all must also satisfy , it follows that is the unique maximum address such that is zero on . β
Example 5.30**.**
The alcove address of Figure 2 has for any where as well as and . The maximum alcove guaranteed by Lemma 5.29 is obtained by filling the entries with the maximum possible value that the conditions of Shiβs theorem allows. The address of this alcove is given in Figure 3. Its values are, as expected, larger than those of Figure 2.
To apply Lemma 5.29 to requires that contain all the simple roots.
Lemma 5.31**.**
Let . Let and . For any , there exists such that . Thus every is in .
Proof.
Suppose otherwise. Let be such that . Then both and , if defined, must be greater than . If there exists an index such that and , or vice versa, then is such that . Thus, to the left of and to the right of , the values must stay above . Since is a permutation, this implies . However, one of or is defined, and is the minimum of the two values, which implies for either or . β
Corollary 5.32**.**
Let be the uniform density function on . Let . Suppose . Then
[TABLE]
Proof.
Lemma 5.31 implies that and contain all the simple roots. The hypothesis implies that whenever . Lemma 5.29 implies that for all . The result then follows from Corollary 5.25. β
Theorem 5.33**.**
Let be the uniform density function on . Let and let be the root ideal of . Let the address of be given by for all . Then,
[TABLE]
where consists of all such that in the weak order on .
Proof.
Lemma 5.31 implies that we may apply Lemma 5.29 to . The result then follows from Lemma 5.29 and Corollary 5.25. β
Weak order intervals of satisfy condition of [19, Proposition 3.5], which implies is an alcoved polytope in the sense of [18] and [19]. Thus [18, Theorem 3.2] provides yet another computational approach to calculating the volume of , although we do not pursue that approach in this paper.
The next proposition is somewhat surprising, in the sense that two consecutive entries of can completely determine . This is not the case for the Laplace or normal density functions, and it is reasonable to suspect that a typical density function does not exhibit this property.
Proposition 5.34**.**
Let be the uniform density function on . Let . Then or occur in consecutive positions in the -line notation for if and only if
[TABLE]
Proof.
If and are consecutive in the -line notation, then is all of . Thus in Theorem 5.33, which implies there is only one element of in the interval .
Conversely, if there are no consecutive occurrences of and , then the ideal does not contain . Thus is the join of at least elements of , which implies . This implies contains more than one element. β
6 Pattern probability comparisons for the normal distribution
As Zare [30] suggested, when is a normal distribution, we calculate by finding the volume of a spherical simplex. General equations exist to compute such volumes. See [1] or [24], for example. However, they appear to be computationally intensive, as is Lemma 2.8 when it is applied to the normal distribution. Nonetheless, there are a few direct comparisons we can make involving alcoves and levels of the edge diagram.
Recall that the alcoves of Section 5 are simplices of volume , by Corollary 5.19. For a given origin-centered ball in , we obtain an underestimate for by counting all alcoves in that are fully contained in . Similarly, we obtain an overestimate for by counting all alcoves in that intersect or are fully contained in . The address of an alcove and the radius of the ball suffice to determine whether an alcove is fully contained in or intersects or is disjoint from .
Proposition 6.1**.**
Let be an origin-centered ball in . Let be the number of alcoves fully contained in and . Let be the number of alcoves fully contained in that have nonempty intersection with . Then
[TABLE]
Note that hypercubes with integer-valued vertices could be used instead of alcoves, but one would need to determine whether the hypercube is fully contained in or intersects or is disjoint from . For alcoves, this is directly determined from the alcoveβs address.
For , we defined on to measure how often a value lies between two consecutive values of . We extend the definition of to arbitrary pairs of .
Definition 6.2**.**
Let . Denote the number of positions such that or by . Note that is the same as defined in Definition 3.1.
The measure of the spherical simplex that determines for the normal distribution is completely determined by the values of , as will be seen in the proof of Theorem 6.3. Although such measures may be difficult to calculate, we can sometimes use and to compare and .
Recall that Lemma 2.8 expresses as , where is the joint density function defined by .
Theorem 6.3**.**
Let be the density function for a normal distribution with mean zero and any variance. Let and suppose for all . Then .
Proof.
By scale invariance (Lemma 2.10), we may assume is given by for some . Every factor in Lemma 2.8 has the form . We have
[TABLE]
where the sum in the second exponential is over all pairs between and (inclusive). By Definition 6.2, there are factors contributing one term of the form and factors contributing one term of the form to the overall product of exponentials. Thus, if for all , the integrand in Lemma 2.8 for is always at least as large as the integrand for . β
In [15, Lemma 2.3], Elnitsky and Martinez showed that if can be obtained from by a permutation of rows and columns, then for any choice of density function , symmetric or otherwise. By including their guaranteed equalities, we obtain more comparable pairs of permutations than what is guaranteed by Theorem 6.3.
Write if can be obtained from by a permutation of rows and columns. Write if for all . Define as the transitive closure of of the relation and the partial order . We then have a broader collection of comparable pairs of permutations for the normal distribution.
Corollary 6.4**.**
Let be a normal distribution with mean zero. Let . If , then .
7 Concluding remarks and problems
In [30], Zare asks which permutations occur most frequently in random walks with a normal or uniform distribution of mean zero for its steps. Our results provide an imprecise heuristic: permutations with large consecutive changes in its -line notation are less likely to occur than permutations with small consecutive changes. In other words, for permutations where is large, we expect to be small, and vice versa, for a large class of symmetric density functions of a continuous probability distribution.
As a general problem, we would like to know what general hypotheses are needed to prove whenever for all . However, this question is probably too open-ended. We have evidence for the following more precise conjecture.
Conjecture: Let be a density function that is log-concave on and symmetric on . Let and suppose for all . Then .
From the perspective of computation, Proposition 5.21 provides a direct approach to computing ordinal pattern probabilities when the steps are uniform. Theorem 5.33 reduces the problem to finding the size of a weak order interval in . A lot is known about these intervals, which is enough to make the computation easier in some cases. For example, in [20], Lapointe and Morse show that the weak order on the quotient is order-isomorphic to the -Young lattice. Furthermore, some intervals of the -Young lattice are intervals of the Young lattice. The size of intervals of the Young lattice is given by a classical determinant formula due to Kreweras, thus providing an alternative calculation to Proposition 5.21 for some permutations. (See [17, Section 2.3.7].)
However, the affine symmetric group contains many weak order intervals isomorphic to weak order intervals of the symmetric group. By [14, Theorem 1.4], computing the size of weak order intervals in is -complete. Unless there is something special about the weak order intervals in Theorem 5.33, computing is hard when is uniform.
Conjecture: Computing for the uniform density function on and arbitrary is -complete.
ACKNOWLEDGEMENTS
The author would like to thank Jim and Kate Daly and Emily Pavey for their support. The author also thanks Dana Ernst, Michael Falk, and Jim Swift of NAUβs Algebra, Combinatorics, Geometry, and Topology Seminar for their comments on a talk based on an earlier version of this paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] K. Aomoto, Analytic structure of SchlΓ€fli function , Nagoya Math. J., 68 (1977), 1β16.
- 2[2] J. AmigΓ³, Permutation complexity in dynamical systems: ordinal patterns, permutation entropy and all that , Springer Science & Business Media, 2010.
- 3[3] P. Abramenko and K. Brown, Buildings β Theory and Applications , Graduate Texts in Mathematics 248 , Springer, New York, 2008.
- 4[4] D. Armstrong, Hyperplane arrangements and diagonal harmonics , J. Comb. 4 (2013), no. 2, 157β190.
- 5[5] S. Avgustinovich and S. Kitaev, On uniquely k-determined permutations , Discrete Math. 308 (2008), no. 9, 1500β1507.
- 6[6] C. Bandt and B. Pompe, Permutation Entropy: A Natural Complexity Measure for Time Series , Phys. Rev. Lett. 88 , 174102 (2002).
- 7[7] C. Bandt and F. Shiha, Order patterns in time series , Journal of Time Series Analysis 28 (2007), no. 5, 646β665.
- 8[8] A. BjΓΆrner and F. Brenti, Affine permutations of type A , Electron. J. Combin. 3 (1996), no. 2, R 18, 35 pp.
