Next Article in Journal
Approximate Mei Symmetries and Invariants of the Hamiltonian
Next Article in Special Issue
Mixture of Species Sampling Models
Previous Article in Journal
Numerical Modeling of the Leak through Semipermeable Walls for 2D/3D Stokes Flow: Experimental Scalability of Dual Algorithms
Previous Article in Special Issue
On Johnson’s “Sufficientness” Postulates for Feature-Sampling Models
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Rescaled Pólya Urn and the Wright—Fisher Process with Mutation

by
Giacomo Aletti
1,† and
Irene Crimaldi
2,*,†
1
Environmental Science and Policy Department, Università degli Studi di Milano, 20133 Milan, Italy
2
IMT School for Advanced Studies Lucca, 55100 Lucca, Italy
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2021, 9(22), 2909; https://doi.org/10.3390/math9222909
Submission received: 8 October 2021 / Revised: 11 November 2021 / Accepted: 13 November 2021 / Published: 15 November 2021

Abstract

:
In recent papers the authors introduce, study and apply a variant of the Eggenberger—Pólya urn, called the “rescaled” Pólya urn, which, for a suitable choice of the model parameters, exhibits a reinforcement mechanism mainly based on the last observations, a random persistent fluctuation of the predictive mean and the almost sure convergence of the empirical mean to a deterministic limit. In this work, motivated by some empirical evidence, we show that the multidimensional Wright—Fisher diffusion with mutation can be obtained as a suitable limit of the predictive means associated to a family of rescaled Pólya urns.

1. Introduction

The well-known standard Eggenberger—Pólya urn [1,2] works as follows. An urn initially contains N 0 , i balls of color i, for i = 1 , , k , and at each time-step, a ball is drawn from the urn and then it is returned into the urn together with α > 0 additional balls of the same color (here and in the following, the expression “number of balls” is not to be understood literally, but all the quantities are real numbers, not necessarily integers). Hence, denoting by N n , i the number of balls of color i inside the urn at time-step n, we have
N n , i = N n 1 , i + α ξ n , i for   n 1 ,
where ξ n , i = 1 if the drawn ball at time-step n is of color i, and ξ n , i = 0 otherwise. The parameter α tunes the reinforcement mechanism: the greater the α , the greater the dependence of N n , i on h = 1 n ξ h , i .
In [3,4,5], the rescaled Pólya (RP) urn has been introduced, studied, generalized and applied. This model differs from the original one by the introduction of a parameter β such that
N n , i = b i + B n , i with B n + 1 , i = β B n , i + α ξ n + 1 , i n 0 .
Therefore, at time-step 0, the urn contains b i + B 0 , i > 0 balls of color i and the parameters α > 0 and β 0 regulate the reinforcement mechanism. More precisely, the term β B n , i connects N n + 1 , i to the “configuration” at time-step n by means of the “scaling” parameter β , and the term α ξ n + 1 , i connects N n + 1 , i to the outcome of the drawing at time-step n + 1 by means of the parameter α . The case β = 1 corresponds to the standard Eggenberger—Pólya urn with an initial number N 0 , i = b i + B 0 , i of balls of color i. When β < 1 , the RP urn model shows the following three characteristics:
(i)
A reinforcement mechanism mainly based on the last observations;
(ii)
A random persistent fluctuation of the predictive mean ψ n , i = E [ ξ n + 1 , i = 1 | , ξ h , j , 0 h n , 1 j k ] ;
(iii)
The almost sure convergence of the empirical mean n = 1 N ξ n , i / N to the deterministic limit p i = b i / i = 1 n b i , and a chi-squared goodness of fit result for the long-term probability distribution { p 1 , , p k } .
Regarding point (iii), we specifically have that the chi-squared statistics
χ 2 = N i = 1 k ( O i / N p i ) 2 p i ,
where N is the sample size and O i = n = 1 N ξ n , i the number of sampled observations equal to i, is asymptotically distributed as χ 2 ( k 1 ) λ , with λ > 1 . Therefore, the presence of correlation among observations attenuates the effect of N, which multiplies the chi-squared distance between the observed frequencies and the expected probabilities. This is a key feature for statistical applications in the framework of a “big sample”, where a small value of the chi-squared distance might be significant, and hence a correction related to the correlation between observations is required. In [3,5], a possible application in the context of clustered data was described, with independence between clusters and correlation due to a reinforcement mechanism inside each cluster.
In [4], the RP urn was applied as a good model for the evolution of the sentiment associated with Twitter posts. Precisely, we analyzed three data sets: (i) the “COVID-19 epidemic” data set covers the period from 21 February to 20 April to 2020 and includes tweets in Italian about the COVID-19 epidemic; (ii) the “Migration debate” data set refers to the period from 23 January to 22 February 2019 and the collected posts are related to the Italian debate on migration; (iii) the “10 days of traffic” data set collects the entire traffic of posts in Italian in the period from 1 September to 10 September 2019. For every post, the relative sentiment, that is, the positive or negative connotation of the text, was computed using the polyglot python module developed in [6], which provides a numerical value v [ 1 , 1 ] for the sentiment of a post (for a survey on sentiment analysis, also known as opinion mining, we refer to [7] and references therein). We fixed a threshold T so that a tweet with v > T was classified as a tweet with a positive sentiment and one with v < T was classified as a tweet with a negative sentiment. Tweets with a value v [ T , T ] were discarded. We took the following different values for T: T = 0 , T = 0.35 and T = 0.5 . We applied the RP urn model, ordering the tweets according to their creation time and taking each tweet with a positive/negative classification as an extraction in the urn model. More specifically, we applied the RP model with k = 2 : the time series of the tweets represents the time series of the extractions from the urn, that is, the random variables ξ n , 1 . The event { ξ n , 1 = 1 } means that tweet n exhibits a positive sentiment, while { ξ n , 1 = 0 } means that tweet n exhibits a negative sentiment. For all the considered data sets, the estimated values of β were strictly smaller than 1, but very near to 1 (details about the parameters estimation can be found in [4]). Note that the RP urn dynamics with such a value for β cannot be approximated by the standard Pólya urn ( β = 1 ), because one would lose the fluctuations of the predictive means and the possibility of touching the barriers { 0 , 1 } . In this work, we show that the law of such an RP urn process can be approximated by a Wright—Fisher diffusion with mutation. More precisely, we prove that the multidimensional Wright—Fisher diffusion with mutation can be obtained as a suitable limit of the predictive means associated with a family of RP urns with β [0, 1), β 1 . As an example, in Figure 1, for the data set “COVID-19 epidemic”, we show the plot of the process ( ψ n , 1 ) n , reconstructed from the data (details about the reconstruction process can be found in [4]) and rescaled in time as t = n ( 1 β ) 2 , the plot of a simulated (by the Euler–Maruyama method) trajectory of the Wright—Fisher process, the plot of the approximation of this trajectory by means of the RP urn and the approximation of the data process by means of the standard Pólya urn.
The Wright—Fisher (WF) class of diffusion processes models the evolution of the relative frequency of a genetic variant, or allele, in a large randomly mating population with a finite number k of genetic variants. When k = 2 , the WF diffusion obeys the one-dimensional stochastic differential equation
d X t = F ( X t ) d t + X t ( 1 X t ) d W t , X 0 = x 0 , t [ 0 , T ] .
The drift coefficient, F : [ 0 , 1 ] R , can include a variety of evolutionary forces such as mutation and selection. For example, F ( x ) = p 1 ( p 1 + p 2 ) x = p 1 ( 1 x ) p 2 x describes a process with recurrent mutation between the two alleles, governed by the mutation rates p 1 > 0 and p 2 > 0 . The drift vanishes when x = p 1 / ( p 1 + p 2 ) which is an attracting point for the dynamics. Equation (1) can be generalized to the case k > 2 . The WF diffusion processes are widely employed in Bayesian statistics, as models for time-evolving priors [8,9,10,11] and as a discrete-time finite-population construction method of the two-parameter Poisson–Dirichlet diffusion [12]. They have been applied in genetics [13,14,15,16,17,18], in biophysics [19,20], in filtering theory [21,22] and in finance [23,24].
The benefit coming from the proven limit result is twofold. First, the known properties of the WF process can give a description of the RP urn when the parameter β is strictly smaller than one, but very near to one. Second, the given result might furnish the theoretical base for a new simulation method of the WF process. Indeed, the simulation from Equation (1) is highly nontrivial because there is no known closed form expression for the transition function of the diffusion, even in the simple case with null drift [25].
The rest of the paper is organized as follows. In Section 2, we set up our notation and we formally define the RP urn model. Section 3 provides the main result of this work, that is, the convergence result of a suitable family of predictive means associated with RP urns with β 1 . In Section 4, employing the boundary classification of the WF diffusion with mutation and connecting it to the parameters of the RP urn model, we introduce an RP urn with a value of β very near to 1 the notion of recessive subsets of colors and the notion of dominant color. These two concepts are related to the possibility of reaching the barriers 0 and 1 by the predictive means of the urn process. Finally, Section 5 summarizes the work and concludes it.

2. The Rescaled Pólya Urn

For a vector x = ( x 1 , , x k ) R k , we set | x | = i = 1 k | x i | and x 2 = x x = i = 1 k | x i | 2 . Moreover we denote by 1 and 0 the vectors with all the components equal to 1 and equal to 0, respectively.
Let α > 0 and β 0 . At time-step 0, the urn contains b i + B 0 , i > 0 distinct balls of color i, with i = 1 , , k . We set b = ( b 1 , , b k ) and B 0 = ( B 0 , 1 , , B 0 , k ) . We suppose b = | b | > 0 and we set p = b b . At each time-step ( n + 1 ) 1 , a ball is drawn at random from the urn and we define the random vector ξ n + 1 = ( ξ n + 1 , 1 , , ξ n + 1 , k ) as
ξ n + 1 , i = 1 when the drawn ball at time-step n + 1 is of color i 0 otherwise .
The number of balls inside the urn is updated as follows:
N n + 1 = b + B n + 1 with B n + 1 = β B n + α ξ n + 1 ,
which gives
B n = β n B 0 + α β n h = 1 n β h ξ h .
Similarly, from the equality
| B n + 1 | = β | B n | + α ,
we get, using h = 0 n 1 x h = ( 1 x n ) / ( 1 x ) ,
| B n | = β n | B 0 | + α h = 1 n β n h = β n | B 0 | α 1 β + α 1 β .
Setting r n * =   | N n |   = b   +   | B n | , that is the total number of balls inside the urn at time-step n, we get the relations
r n + 1 * = r n * + ( β 1 ) | B n | + α
and
r n * = b + α 1 β + β n | B 0 | α 1 β .
Denoting by F 0 the trivial σ -field and setting F n = σ ( ξ 1 , , ξ n ) for n 1 , the conditional probabilities ψ n = ( ψ n , 1 , , ψ n , k ) of the extraction process, also called predictive means, are
ψ n = E [ ξ n + 1 | F n ] = N n | N n | = b + B n r n * n 0
and, from (3) and (4), we have
ψ n = b + β n B 0 + α h = 1 n β n h ξ h b + α 1 β + β n | B 0 | α 1 β .
The dependence of ψ n on ξ h is regulated by the factor f ( h , n ) = α β n h , with 1 h n , n 0 . In the case of the standard Eggenberger—Pólya urn (i.e., the case β = 1 ), each observation ξ h has the same “weight” f ( h , n ) = α . Instead, when β < 1 the factor f ( h , n ) increases with h, and the main contribution is given by the most recent drawings. The case β = 0 is an extreme case, for which ψ n depends only on the last drawing ξ n .
By means of (7), together with (2) and (5), we get
ψ n + 1 ψ n = ( 1 β ) r n + 1 * b ψ n p + α r n + 1 * ξ n + 1 ψ n .
Setting Δ M n + 1 = ξ n + 1 ψ n and letting ϵ n = b ( 1 β ) / r n + 1 * and δ n = α / r n + 1 * , from (9) we obtain
ψ n + 1 ψ n = ϵ n ( ψ n p ) + δ n Δ M n + 1 .

3. Main Result

Consider the RP urn with parameters α > 0 , β [ 0 , 1 ) , b > 0 and B 0 such that | B 0 | = r ( β ) = α / ( 1 β ) . Consequently, the total number of balls in the urn along the time-steps is constantly equal to r * ( β ) = b + r ( β ) and if we denote by ψ ( β ) = ( ψ n ( β ) ) n the predictive means corresponding to the fixed value β , we have the dynamics
ψ n ( β ) ψ n 1 ( β ) = ϵ ( β ) ( ψ n 1 ( β ) p ) + δ ( β ) Δ M n ( β ) ,
where
ϵ ( β ) = b ( 1 β ) 2 α + b ( 1 β ) , δ ( β ) = α ( 1 β ) α + b ( 1 β )
and Δ M n ( β ) = ξ n ( β ) ψ n 1 ( β ) . Note that we have ϵ ( β ) c δ ( β ) 2 for β 1 , with c = b / α > 0 . Finally, we define X ( β ) = ( X t ( β ) ) t 0 , where
X t ( β ) = ψ t / ( 1 β ) 2 ( β ) X t ( β ) = ψ n 1 ( β ) , t [ ( n 1 ) ( 1 β ) 2 , n ( 1 β ) 2 ) .
The following result holds true:
Theorem 1.
Suppose that X 0 ( β ) weakly converges towards some process X 0 when β 1 . Then, for β 1 , the family of stochastic processes { X ( β ) , β [ 0 , 1 ) } weakly converges towards the k-alleles Wright—Fisher diffusion X = ( X t ) t 0 , with type-independent mutation kernel given by p and with dynamics
d X t = b X t p α d t + Σ ( X t ) d W t ,
with Σ ( X t ) Σ ( X t ) = ( diag ( X t ) X t X t ) and 1 Σ ( X t ) = 0 , that is,
Σ ( X t ) i j = 0 i f X t , i X t , j = 0 o r i < j X t , i l = i + 1 k X t , l l = i k X t , l i f i = j a n d X t , i X t , j 0 X t , i X t , j l = j k X t , l l = j + 1 k X t , l i f i > j a n d X t , i X t , j 0 .
Proof. 
Fix a sequence ( β n ) , with β n [ 0 , 1 ) and β n 1 . The sequence of processes { X ( β n ) , n N } is bounded, hence we have to prove the tightness of the sequence in the space D k [ 0 , ) of right-continuous functions with the usual Skorohod topology, and the characterization of the law of the unique limit process.
For any f C b 2 , define
γ n ( β , f ) ( x ) = A ^ ( β ) f ( ( n 1 ) ( 1 β ) 2 ) ( x ) = E [ f ( X n ( 1 β ) 2 ( β ) ) f ( X ( n 1 ) ( 1 β ) 2 ( β ) ) ( 1 β ) 2 | X ( n 1 ) ( 1 β ) 2 ( β ) = x ] = E [ f ( ψ n ( β ) ) f ( ψ n 1 ( β ) ) ( 1 β ) 2 | ψ n 1 ( β ) = x ] = by ψ n ( β ) ψ n 1 ( β ) = ϵ ( β ) ψ n 1 ( β ) p + δ ( β ) Δ M n ( β ) 1 ( 1 β ) 2 ( E [ f ( x ) + i f x i ( x ) ( ϵ ( β ) ( x i p i ) + δ ( β ) Δ M n , i ( β ) ) + 1 2 δ ( β ) 2 i j 2 f x i x j ( x ) Δ M n , i ( β ) Δ M n , j ( β ) + O ( ( 1 β ) 3 ) | F n 1 ] f ( x ) ) = b α + b ( 1 β ) i f x i ( x ) ( x i p i ) + 1 2 α 2 ( α + b ( 1 β ) ) 2 i j 2 f x i x j ( x ) ( x i 𝟙 i = j x i x j ) + O ( 1 β ) .
We note that, for any f C b 2 , the partial derivatives in (16) are uniformly bounded, as x belongs to the compact simplex S = { x i 0 , i x i = 1 } . The family { γ n ( β , f ) ( x ) , n N , β < 1 , x S } is then uniformly integrable. Thus, as a consequence of [26] (Theorem 4) (or [27] (ch. 7.4.3, Theorem 4.3, p. 236)), we have that the sequence of processes { X ( β n ) , n N } is tight in the space of right-continuous functions with the usual Skorohod topology. Since, for any n and t, X t ( β n ) S , then 1 Σ ( X t ) = 0 . Moreover, the generator of the limit process is determined by the limit
A f ( t ) ( x ) = lim n γ t / ( 1 β ) 2 ( β n , f ) ( x ) = b α i f x i ( x ) ( x i p i ) + 1 2 i j 2 f x i x j ( x ) ( x i 𝟙 i = j x i x j ) .
Hence, the weak limit of the sequence of the bounded processes X ( β n ) is the diffusion process
d X t = b X t p α d t + Σ ( X t ) d W t , Σ ( X t ) Σ ( X t ) = ( diag ( X t ) X t X t ) .
The expression (15) follows from [28] (Corollary 3). □
Remark 1 (Limiting ergodic distribution).
Since the simplex has dimension k 1 with respect to the Lebesgue measure, it is convenient to change the notations. Let T k 1 be the k 1 -dimensional simplex defined by
T k 1 : = { y R k 1 : y 1 0 , , y k 1 0 , 1 y 1 y 2 y k 1 0 } ,
where, with the old definition, we have x i = y i , i < k and x k : = 1 y 1 y 2 y k 1 . Obviously, there is a one-to-one natural correspondence between T k 1 and the simplex { x R k : x 1 0 , , x k 0 , i x i = 1 } defined by
y = ( y 1 , , y k 1 ) ( y 1 , , y k 1 , 1 y 1 y 2 y k 1 ) = ( x 1 , , x k 1 , x k ) = x .
The Markov diffusion process X t in (14) may be redefined as Y t = ( X t , 1 , , X t , k 1 ) on y T k 1 with the corresponding generator
L f ( y ) = b α i = 1 k 1 f y i ( y ) ( y i p i ) + 1 2 i , j = 1 k 1 2 f y i y j ( y ) ( y i 𝟙 i = j y i y j ) .
The Kolmogorov forward equation for the density p ( y , t ) of the limiting process Y t is
t p ( y , t ) = 1 2 ( b α i = 1 k 1 y i ( p ( y , t ) ( y i p i ) )     + i = 1 k 1 2 y i 2 ( y i ( 1 y i ) p ( y , t ) ) 2 1 i < j k 1 2 y i y j ( y i y j p ( y , t ) ) ) .
Therefore, it is not hard to show that the limit invariant ergodic distribution is
p ( y ) = 1 B ( 2 b α p ) ( 1 y 1 y k 1 ) 2 b ( 1 p 1 p k 1 ) α 1 i = 1 k 1 y i 2 b p i α 1 ,
because it satisfies (18) (see also [29]). The above distribution is the Dirichlet distribution Dir 2 b α p as a function of x = ( y , 1 y 1 y k 1 ) .
Remark 2 (Transition density of the limit process).
The transition density p ( y 0 , y ; t ) is defined by
P ( Y t S | Y 0 = y 0 ) = S T k 1 p ( y 0 , y ; t ) d y
and it can be represented in terms of series of orthogonal polynomials [30] as shown in [31]. Moreover, we refer to [9,32,33] for the explicit form of the reproducing kernel orthogonal polynomials.

4. Recessive and Dominant Colors in an RP Urn with β near to 1

Let J = { J 1 , , J k J } be a partition of { 1 , , k } , in that J l Ø , J i 1 J i 2 = Ø , and l = 1 k J = { 1 , , k } . Here k j denotes the cardinality of J . Define the k J -dimensional objects ( ψ n ( β , J ) ) n , ( ξ n ( β , J ) ) n and p ( J ) as
ψ n , i ( β , J ) = l J i ψ n , l ( β ) ξ n , i ( β , J ) = l J l ξ n , l ( ε ) p i ( J ) = l J i p l for i = 1 , , k J ,
and X t ( β , J ) = ψ t / ( 1 β ) 2 ( β , J ) . With these definitions, from (11), we immediately get that ( ψ n ( β , J ) ) n is a k J -dimensional RP urn following the dynamics
ψ n ( β , J ) ψ n 1 ( β , J ) = ϵ ( β ) ( ψ n 1 ( β , J ) p ( J ) ) + δ ( β ) ( ξ n ( β , J ) ψ n 1 ( β , J ) )
and that Theorem 1 holds for X t ( β , J ) . Consequently, the convergence to the Wright—Fisher diffusion still holds if we group together some components of the process. For instance, when we consider two groups of components, we have the following result:
Corollary 1.
Let J = { J , J c } with J Ø , J c Ø . Under the hypothesis of Theorem 1, each component of the sequence of processes X t ( β , J ) converges, for β 1 , to the one-dimensional diffusion process with values in [ 0 , 1 ] that satisfies the SDE
d X t , i ( J ) = b X t , i ( J ) p i α d t + ( 1 ) i + 1 X t , i ( J ) ( 1 X t , i ( J ) ) d W t .
In addition, X t , 1 ( J ) = l J X t , l and X t , 2 ( J ) = l J c X t , l .
Now, if we further specialize the grouping choice to J = ( { i } , { 1 , , i 1 , i + 1 , , k } ) , we get:
Corollary 2.
Under the conditions of Theorem 1 the i-th component of the sequence of processes X ( β ) converges, for β 1 , to the one-dimensional diffusion ( X t , i ) t 0 with values in [ 0 , 1 ] satisfying the SDE
d X t , i = b X t , i p i α d t + X t , i ( 1 X t , i ) d W t .
For instance, the above two results are useful in order to translate the well-known classification of the boundaries of the WF process with mutation [34] (p. 239, Example 8) (see also [35]) to the RP urn model when the parameter β is strictly smaller than 1, but very near to 1. Indeed, Corollary 1 implies that Z t = l J X t , l satisfies the SDE
d Z t = b Z t l J p l α d t + Z t ( 1 Z t ) d W t = b α ( 1 l J p l ) Z t + b α l J p l ( 1 Z t ) d t + Z t ( 1 Z t ) d W t .
Setting a 0 = b α l J p l and a 1 = b α a 0 and noting that i J { X t , i = 0 } = { Z t = 0 } , we obtain:
(1)
a 0 < 1 / 2 , i.e., l J p l < α 2 b , if and only if P ( t : i J { X t , i = 0 } ) = 1 ;
(2)
a 0 1 / 2 , i.e., l J p l α 2 b , if and only if P ( t : i J { X t , i = 0 } ) = 0 .
With the same spirit, Corollary 2 states that Z t = 1 X t , i satisfies the SDE
d Z t = b Z t l i p l α d t + ( 1 Z t ) Z t d W t = b α p i Z t + b α ( 1 p i ) ( 1 Z t ) d t + Z t ( 1 Z t ) d W t .
Setting a 0 = b α ( 1 p i ) and a 1 = b α a 0 , we get:
(3)
a 0 < 1 / 2 , i.e., p i > 1 α 2 b , if and only if P ( t : { X t , i = 1 } ) = 1 ;
(4)
a 0 1 / 2 , i.e., p i 1 α 2 b , if and only if P ( t : { X t , i = 1 } ) = 0 .
Therefore, for an RP urn with β < 1 , but very near to 1, we can give the following definition:
Definition 1.
We call recessive a non-empty subset J { 1 , , k } of colors such that l J p l < α 2 b . We call dominant a color i { 1 , , k } such that { 1 , , k } \ { i } is recessive.
Obviously, every subset of a recessive set is recessive. Moreover, when α b > 2 ( 1 min i p i ) , every set J { 1 , , k } is recessive. The terms “recessive” and “dominant” are justified by the fact that, recalling properties (1)–(4) of the WF process, if a set of colors is recessive, then we can observe that at some times the corresponding predictive means of the urn process are very near to zero. On the contrary, when a color is dominant, we can observe that at some times the corresponding predictive mean of the urn process is very near to one. In Figure 2, we plot the process ( ψ n , 1 ) related to the simulation of an RP urn with k = 2 , α / b = 1 and p = 0.75 , where it is possible to observe the excursions near the barrier 1.

5. Conclusions

We have proven that the multidimensional WF diffusion with mutation can be obtained as the limit of the predictive means associated with a family of RP urns with β < 1 , β 1 . As a consequence, the known properties of the WF process can give a description of the RP urn when the parameter β is strictly smaller than 1, but very near to 1. For instance, starting from the known classification of the boundaries for the WF process and connecting it to the model parameters of the RP urn, we have obtained for an RP urn with a value of β very near to one, the notion of recessive subsets of colors and the notion of a dominant color. These two concepts are related to the possibility of reaching the barriers 0 and 1 by the predictive means of the urn process. Other classical problems, together with the corresponding known results for the WF process, can be found in [31]. These results can be used in order to give an approximated answer to the considered problems in the case of an RP urn with a value of β near 1.

Author Contributions

Both authors contributed equally to this work. All authors have read and agreed to the published version of the manuscript.

Funding

Irene Crimaldi is partially supported by the Italian “Programma di Attività Integrata” (PAI), project “TOol for Fighting FakEs” (TOFFE) funded by the IMT School for Advanced Studies Lucca. This research received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme under grant agreement No 817257.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Acknowledgments

Both authors sincerely thank the organizers of the present special issue for their invitation to contribute and Fabio Saracco for having collected and shared with them the analyzed Twitter data sets. Giacomo Aletti is a member of the Italian group “Gruppo Nazionale per il Calcolo Scientifico” of the Italian Institute “Istituto Nazionale di Alta Matematica”. Irene Crimaldi is a member of the Italian group “Gruppo Nazionale per l’Analisi Matematica, la Probabilità e le loro Applicazioni” of the Italian Institute “Istituto Nazionale di Alta Matematica”.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Eggenberger, F.; Pólya, G. Über die Statistik verketteter Vorgänge. ZAMM-J. Appl. Math. Mech./Z. Angew. Math. Mech. 1923, 3, 279–289. [Google Scholar] [CrossRef]
  2. Mahmoud, H.M. Pólya Urn Models; Texts in Statistical Science Series; CRC Press: Boca Raton, FL, USA, 2009. [Google Scholar]
  3. Aletti, G.; Crimaldi, I. The Rescaled Pólya Urn: Local reinforcement and chi-squared goodness of fit test. Adv. Appl. Probab. Available online: https://iris.imtlucca.it/handle/20.500.11771/19197#.YZNznboRVPZ (accessed on 1 November 2021).
  4. Aletti, G.; Crimaldi, I.; Saracco, F. A model for the Twitter sentiment curve. PLoS ONE 2021, 16, e0249634. [Google Scholar] [CrossRef]
  5. Aletti, G.; Crimaldi, I. Generalized Rescaled Pólya urn and its statistical applications. arXiv 2021, arXiv:2010.06373. [Google Scholar]
  6. Chen, Y.; Skiena, S. Building sentiment lexicons for all major languages. In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Short Papers), Baltimore, MD, USA, 22–27 June 2014; pp. 383–389. [Google Scholar]
  7. Chakraborty, K.; Bhattacharyya, S.; Bag, R. A Survey of Sentiment Analysis from Social Media Data. IEEE Trans. Comput. Soc. Syst. 2020, 7, 450–464. [Google Scholar] [CrossRef]
  8. Favaro, S.; Ruggiero, M.; Walker, S.G. On a Gibbs sampler based random process in Bayesian nonparametrics. Electron. J. Stat. 2009, 3, 1556–1566. [Google Scholar] [CrossRef]
  9. Griffiths, R.C.; Spanò, D. Diffusion processes and coalescent trees. In Probability and Mathematical Genetics, Papers in Honour of Sir John Kingman; Bingham, N.H., Goldie, C.M., Eds.; LMS Lecture Note Series; Cambridge University Press: Cambridge, UK, 2010; Volume 378, pp. 358–375. [Google Scholar]
  10. Mena, R.; Ruggiero, M. Dynamic density estimation with diffusive Dirichlet mixtures. Bernoulli 2016, 22, 901–926. [Google Scholar] [CrossRef]
  11. Walker, S.G.; Hatjispyros, S.J.; Nicoleris, T. A Fleming-Viot process and Bayesian nonparametrics. Ann. Appl. Probab. 2007, 17, 67–80. [Google Scholar] [CrossRef]
  12. Costantini, C.; De Blasi, P.; Ethier, S.; Ruggiero, M.; Spanò, D. Wright-Fisher construction of the two-parameter Poisson-Dirichlet diffusion. Ann. Appl. Probab. 2017, 27, 1923–1950. [Google Scholar] [CrossRef]
  13. Bollback, J.P.; York, T.L.; Nielsen, R. Estimation of 2Nes from temporal allele frequency data. Genetics 2008, 179, 497–502. [Google Scholar] [CrossRef]
  14. Gutenkunst, R.N.; Hernandez, R.D.; Williamson, S.H.; Bustamante, C.D. Inferring the Joint Demographic History of Multiple Populations from Multidimensional SNP Frequency Data. PLoS Genet. 2009, 5, e1000695. [Google Scholar] [CrossRef] [PubMed]
  15. Malaspinas, A.S.; Malaspinas, O.; Evans, S.N.; Slatkin, M. Estimating allele age and selection coefficient from time-serial data. Genetics 2012, 192, 599–607. [Google Scholar] [CrossRef]
  16. Schraiber, J.; Griffiths, R.C.; Evans, S.N. Analysis and rejection sampling of Wright-Fisher diffusion bridges. Theor. Popul. Biol. 2013, 89, 64–74. [Google Scholar] [CrossRef] [PubMed]
  17. Williamson, S.H.; Hernandez, R.; Fledel-Alon, A.; Zhu, L.; Bustamante, C.D. Simultaneous inference of selection and population growth from patterns of variation in the human genome. Proc. Natl. Acad. Sci. USA 2005, 102, 7882–7887. [Google Scholar] [CrossRef]
  18. Zhao, L.; Lascoux, M.; Overall, A.D.J.; Waxman, D. The characteristic trajectory of a fixing allele: A consequence of fictitious selection that arises from conditioning. Genetics 2013, 195, 993–1006. [Google Scholar] [CrossRef]
  19. Dangerfield, C.; Kay, D.; Burrage, K. Stochastic models and simulation of ion channel dynamics. Procedia Comput. Sci. 2010, 1, 1587–1596. [Google Scholar] [CrossRef]
  20. Dangerfield, C.E.; Kay, D.; MacNamara, S.; Burrage, K. A boundary preserving numerical algorithm for the Wright—Fisher model with mutation. BIT Numer. Math. 2012, 5, 283–304. [Google Scholar] [CrossRef]
  21. Chaleyat-Maurel, M.; Genon-Catalot, V. Filtering the Wright–Fisher diffusion. ESAIM Probab. Stat. 2009, 13, 197–217. [Google Scholar] [CrossRef]
  22. Papaspiliopoulos, O.; Ruggiero, M. Optimal filtering and the dual process. Bernoulli 2014, 20, 1999–2019. [Google Scholar] [CrossRef]
  23. Delbaen, F.; Shirakawa, H. An interest rate model with upper and lower bounds. Asia-Pac. Financ. Mark. 2002, 9, 191–209. [Google Scholar] [CrossRef]
  24. Gourieroux, C.; Jasiak, J. Multivariate Jacobi process with application to smooth transitions. J. Econom. 2006, 131, 475–505. [Google Scholar] [CrossRef]
  25. Jenkins, P.A.; Spanò, D. Exact simulation of the Wright-Fisher diffusion. Ann. Appl. Probab. 2017, 27, 1478–1509. [Google Scholar] [CrossRef]
  26. Kushner, H.J. Approximation and Weak Convergence Methods for Random Processes, with Applications to Stochastic Systems Theory; MIT Press Series in Signal Processing, Optimization, and Control; MIT Press: Cambridge, MA, USA, 1984; Volume 6. [Google Scholar]
  27. Kushner, H.J.; Yin, G.G. Stochastic Approximation and Recursive Algorithms and Applications, 2nd ed.; Applications of Mathematics; Springer: New York, NY, USA, 2003; Volume 35. [Google Scholar]
  28. Tanabe, K.; Sagae, M. An Exact Cholesky Decomposition and the Generalized Inverse of the Variance-Covariance Matrix of the Multinomial Distribution, with Applications. J. R. Stat. Soc. Ser. B (Methodol.) 1992, 54, 211–219. [Google Scholar] [CrossRef]
  29. Wright, S. Evolution and the Genetics of Populations, Volume 2: Theory of Gene Frequencies; Evolution and the Genetics of Populations; University of Chicago Press: Chicago, IL, USA, 1984. [Google Scholar]
  30. Dunkl, C.F.; Xu, Y. Orthogonal Polynomials of Several Variables, 2nd ed.; Encyclopedia of Mathematics and Its Applications; Cambridge University Press: Cambridge, UK, 2014; Volume 155. [Google Scholar] [CrossRef]
  31. Aletti, G.; Crimaldi, I. The rescaled Pólya urn and the Wright—Fisher process with mutation. arXiv 2021, arXiv:2110.01853. [Google Scholar]
  32. Griffiths, R.C.; Spanò, D. Orthogonal polynomial kernels and canonical correlations for Dirichlet measures. Bernoulli 2013, 19, 548–598. [Google Scholar] [CrossRef]
  33. Griffiths, R.C.; Spanò, D. Multivariate Jacobi and Laguerre polynomials, infinite-dimensional extensions, and their probabilistic connections with multivariate Hahn and Meixner polynomials. Bernoulli 2011, 17, 1095–1125. [Google Scholar] [CrossRef]
  34. Karlin, S.; Taylor, H.M. A Second Course in Stochastic Processes; Subsidiary of Harcourt Brace Jovanovich; Academic Press, Inc.: New York, NY, USA; London, UK, 1981. [Google Scholar]
  35. Huillet, T. On Wright–Fisher diffusion and its relatives. J. Stat. Mech. Theory Exp. 2007, 2007, P11006. [Google Scholar] [CrossRef]
Figure 1. “COVID-19 epidemic” Twitter data set: the black line is the process ( ψ n , 1 ) n , reconstructed from the data and rescaled in time as t = n ( 1 β ) 2 ; the red line is a simulated trajectory of the Wright—Fisher process; the orange line is the approximation of this trajectory by means of the RP urn and the blue line is the approximation of the data process by means of the standard Pólya urn. The numbers 0, 0.35 and 0.5 refer to the values chosen for the threshold T. The corresponding estimated values for 1 β are: 0.000776 ( 8 × 10 4 ), 0.00115 ( 11 × 10 4 ) and 0.00130 ( 13 × 10 4 ).
Figure 1. “COVID-19 epidemic” Twitter data set: the black line is the process ( ψ n , 1 ) n , reconstructed from the data and rescaled in time as t = n ( 1 β ) 2 ; the red line is a simulated trajectory of the Wright—Fisher process; the orange line is the approximation of this trajectory by means of the RP urn and the blue line is the approximation of the data process by means of the standard Pólya urn. The numbers 0, 0.35 and 0.5 refer to the values chosen for the threshold T. The corresponding estimated values for 1 β are: 0.000776 ( 8 × 10 4 ), 0.00115 ( 11 × 10 4 ) and 0.00130 ( 13 × 10 4 ).
Mathematics 09 02909 g001
Figure 2. Simulation: plot of the process ( ψ n , 1 ) related to the simulation of an RP urn with k = 2 , α / b = 1 and p = 0.75 .
Figure 2. Simulation: plot of the process ( ψ n , 1 ) related to the simulation of an RP urn with k = 2 , α / b = 1 and p = 0.75 .
Mathematics 09 02909 g002
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Aletti, G.; Crimaldi, I. The Rescaled Pólya Urn and the Wright—Fisher Process with Mutation. Mathematics 2021, 9, 2909. https://doi.org/10.3390/math9222909

AMA Style

Aletti G, Crimaldi I. The Rescaled Pólya Urn and the Wright—Fisher Process with Mutation. Mathematics. 2021; 9(22):2909. https://doi.org/10.3390/math9222909

Chicago/Turabian Style

Aletti, Giacomo, and Irene Crimaldi. 2021. "The Rescaled Pólya Urn and the Wright—Fisher Process with Mutation" Mathematics 9, no. 22: 2909. https://doi.org/10.3390/math9222909

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop