1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
C
2007 Biometrika Trust Printed in Great Britain
Species sampling models: consistency for the number of species
B Y P.G. BISSIRI, A. ONGARO
Dipartimento di Economia, Metodi Quantitative e Strategie d’Impresa Universit`a degli Studi di Milano–Bicocca
Edificio U7, via Bicocca degli Arcimboldi 8, 20126 Milano, Italy pier.bissiri@unimib.it andrea.ongaro@unimib.it
AND S.G. WALKER
School of Mathematics, Statistics & Actuarial Sciences, University of Kent Canterbury, Kent, CT2 7NZ, United Kingdom
s.g.walker@kent.ac.uk
S UMMARY
This paper considers species sampling models using constructions which arise from Bayesian
nonparametric prior distributions. A discrete random measure, used to generate a species sam-
pling model, can either have a countable infinite number of atoms, which has been the emphasis
in the recent literature, or a finite number of atoms K, while allowing K to be assigned a prior
probability distribution on the positive integers. It is the latter class of model we consider here,
due to the existence and interpretation of K as the number of species. We demonstrate the con-
sistency of the posterior distribution of K as the sample size increases.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
Some key words: Bayesian consistency; Exchangeable random partition; Gibbs–type partition; Species sampling model.
1. I NTRODUCTION
This paper is concerned with species sampling models. The idea we present here is motivated by recent work appearing in Lijoi et al. (2007, 2008) and Favaro et al. (2009). The problem is to estimate the number of species in a population, early work on which can be found in many papers. See, for instance, Efron & Thisted (1976), Hill (1979), Boender & Rinnooy Kan (1987), Chao & Lee (1992), Chao & Bunge (2002), Chao et al. (2009), Zhang & Stern (2005), Wang &
Lindsay (2005), Wang (2010) and Barger & Bunge (2010).
Lijoi et al. (2007) are predominantly concerned with estimating the number of new species in a further sample of size m having previously observed a sample of size n. For this, Bayesian nonparametric models are employed and, specifically, discrete random probability measures are used, such as the Dirichlet process and the two parameter Poisson–Dirichlet process. More gen- erally, two classes used are the class of normalized random measures, which are driven by non–
decreasing L´evy processes, and Gibbs-type priors (Lijoi et al., 2008, Favaro et al., 2009). These
models assume that the number of species is infinite, claiming that if the number of species in
the population is large, then it is reasonable to assume that it is infinite (Favaro et al., 2009,
Lijoi et al., 2007). Probably this was done because the mathematics is more attractive for such
models. The model we use here assumes that the number of species K in the population is fi-
nite. Therefore, having assigned a prior for K, we can consider estimating it. Moreover, we can
prove consistency of the posterior. In other words, the sequence of posterior distributions for K
accumulates at the true value as the sample size increases.
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
2. T HE MODEL
Let K be the random number of species in the population, and let V 1 , . . . , V K be the absolute frequencies of the K species in the population, where {V j } is a sequence of positive, inde- pendent and identically distributed random variables and {V j } is independent of K. Given that there are K species, let P 1,K , . . . , P K,K be the relative frequencies of the species in the popula- tion, namely, P j,K = V j / P K
l=1 V l (j = 1, . . . , K). Clearly, the joint conditional distribution of P 1,K , . . . , P K,K given K is exchangeable and P K
j=1 P j,K = 1.
Now assume that observations X i (i ≥ 1) take values in a measurable space (X, X ), and that the observations X 1 , X 2 , . . . are sampled from the random probability measure
K
X
j=1
P j,K δ Z
j, (1)
where {P j,K : j = 1, . . . , K} and {Z j } are two independent sequences, the Z j are independent and identically distributed random variables with values in (X, X ) and the distribution α of Z 1 is diffuse, that is α{x} = 0 for every x in X. Let the prior π for K be such that π(k) = P(K = k) is positive for every k ≥ 1, where P is the probability measure that underlines all the random variables above.
The above model belongs to the class of species sampling models introduced by Pitman (1996), which has been widely studied in the statistical literature. A species sampling process is a random probability measure of the form P ∞
j=1 P j δ Z
j+ (1 − P ∞
j=1 P j )α, where {P j } and {Z j } are two independent sequences of random variables such that P j ≥ 0 for every j ≥ 1 and P ∞
j=1 P j ≤ 1, almost surely, the Z j are independent and identically distributed random vari-
ables with values in (X, X ) and α is the distribution of Z 1 , and it is diffuse. So, the model under
consideration is a species sampling model with finitely many positive weights, as considered by
Ongaro & Cattaneo (2004) and Ongaro (2004, 2005). Whereas we will focus on the posterior
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
distribution of K, Ongaro considered the posterior of the underlying random measure given by (1).
For our model (1), the posterior for K is
π n (k) = P(K = k | X 1 , . . . , X n )
=
π(k)k(k − 1) · · · (k − K n + 1)E
Q K
nj=1 P j,k n
jP ∞
l=K
nπ(l)l(l − 1) · · · (l − K n + 1)E
Q K
nj=1 P j,l n
jI {k≥K
n} ,
(2)
where n j =
{i = 1, . . . , n : X i = X j ∗ }
, for j = 1, . . . , K n , |A| denotes the cardinality of a set A, K n is the number of different species among X 1 , . . . , X n , and X 1 ∗ , . . . , X K ∗
nare the distinct values of X 1 , . . . , X n .
We can also provide predictive distributions for other quantities, most important of which would be the species of the next observation or the number of new species in a further sample.
But to emphasize what sets our model apart from the previous ones, we focus on results for the number of species.
We briefly highlight the difference between our model and more classic models, such as the mixed Poisson model. While both rely on multinomial structures, they are different; in our model, and in fact for all species sampling models, it is the frequencies of species P j,K which are modeled conditional on K, but, with the classic models, it is the number of species with the same number of observations which is modeled conditional on K. If f j,K denotes the number of species with j observations, then K n = P K
j=0 f j,K and n = P K
j=0 jf j,K . In this way, the sample
size n is random, and this is the practical difference between the classical models and the species
sampling models.
193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
3. C ONSISTENCY
Let P 0 denote the true population from which the observations X 1 , X 2 , . . . are sampled with replacement. The observations are discrete, independent and identically distributed random vari- ables under the probability measure P 0 . As before, P denotes the probability measure making (X i ) i≥1 an exchangeable sequence directed by (1). Let E denote the expectation with respect to P, the probability measure that yields the posterior and predictive distributions, while P 0 gener- ates the data.
Let k 0 be the true unknown number of species in the population, that is, the number of possible outcomes of each X i under P 0 . We want to find conditions on the law of V 1 to ensure that the posterior π n of K is consistent, that is, lim n→∞ π n (k 0 ) = 1, P 0 –almost surely. Before proceed- ing, denote T l,t = {(x 1 , . . . , x l ) ∈ R l : x j > 0, 1 ≤ j ≤ l, P l
j=1 x j < t}, for every t > 0 and l ≥ 1. Moreover, let T l = T l,1 , namely, the l–dimensional open simplex.
T HEOREM 1. Assume that:
a) π has a finite k 0 -th moment and π(k 0 ) > 0;
b) the distribution of V 1 is absolutely continuous with respect to Lebesgue measure and it has a density f V
1that is positive on (0, M ) or on (M, ∞), for some M > 0;
c) for every l ≥ 2, the density of (P 1,l , . . . , P l−1,l ), that is
g l (x 1 , . . . , x l−1 ) = Z
[0,∞)
y l−1 f V
1(y(1 − P l−1
j=1 x j )) Q l−1
j=1 f V
1(yx j ) dy, (3)
is continuous on T l−1 ;
d) each k–dimensional marginal of g l , that is
g (k) l (x 1 , . . . , x k ) = Z
T
l−1−k,1−P
k j=1xjg l (x 1 , . . . , x l−1 ) dx k+1 · · · dx l−1 , (4)
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287
is continuous on T k , for k = 1, . . . , l − 1 and l ≥ 3.
Then the posterior π n is consistent.
C OROLLARY 1. If the assumptions of Theorem 1 hold, and π admits the (k 0 + 1)–th moment, then the Bayes estimator is consistent: lim n→∞ E(K | X 1 , . . . , X n ) = k 0 , P 0 -almost surely.
The proof of the Theorem is deferred to the Appendix. The proof of the Corollary is similar and is omitted.
4. G IBBS MODELS
4·1. Gibbs–type priors: definition and main properties
A relevant case for our model is given by the Gibbs–type priors with finitely many species, studied by Gnedin & Pitman (2006) and Pitman (2006). We shall now introduce them, and we shall show how they can be used for the estimation of the number of species in a population.
For each integer n ≥ 1, denote by Π n the random partition of {1, . . . , n} generated by (X 1 , . . . , X n ) in the sense that any i 6= j belong to the same partition set if and only if X i = X j . Recall that the probability distribution of a species sampling sequence is characterized by the marginal distribution α of a single observation and the exchangeable partition probability func- tions for each n ≥ 1, that is, the probability distribution of the random partition Π n ,
p(n 1 , . . . , n k ) = P(Π n ∈ {A 1 , . . . , A k }) = P
(i
1,...,i
k)∈E
kE
Q k j=1 P i n
jj
,
where {A 1 , . . . , A k } is a partition of {1, . . . , n}, n j is the cardinality of A j , for j = 1, . . . , k, n = P k
j=1 n j and E k is the set of all ordered k-tuples of distinct positive integers. A Gibbs–
type prior is obtained if for each n ≥ 1 the exchangeable partition probability function is
289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335
p(n 1 , . . . , n k ) = V n,k Q k
j=1 (1 − σ) n
j−1 , for every n ≥ 1, and some σ < 1, where (a) n = a(a + 1) · · · (a + n − 1) for any n ≥ 1 and (a) 0 = 1.
In the case of Gibbs–type priors, the representation (1) with finite K holds true if and only if σ < 0. This is the setup we examine in this paper. Gnedin & Pitman (2006) prove that each Gibbs–type prior with −∞ < σ < 0 is such that the conditional distribution of (P 1 , . . . , P K−1 ) given K is symmetric Dirichlet with K parameters equal to a = |σ|. Conditionally on K, the directing random probability measure is distributed as a two–parameter Poisson–Dirichlet pro- cess, introduced by Pitman (1995) and widely studied (Pr¨unster & Lijoi, 2009). For a < ∞, this is equivalent to letting {V j } be a sequence of independent and identically distributed random variables with a common Gamma distribution, having shape parameter a and scale parameter 1.
The limiting case a = +∞ is obtained by taking P j,k = 1/k, for every integer k ≥ 1, namely, V j = 1 for every j ≥ 1. This model is called coupon collecting by Pitman (2006). The exchange- able partition probability function depends on (n 1 , . . . , n K
n) only through n and K n . Therefore, any inference based on this model with a = ∞ does not take into account the frequencies of the species observed in the sample.
For finite a, the posterior for K is
π n (k) = π(k)k(k − 1) · · · (k − K n + 1)Γ(ka)/Γ(n + ka) P
l≥K
nπ(l)l(l − 1) · · · (l − K n + 1)Γ(la)/Γ(n + la) I {k≥K
n} .
For this model, two different samples of the same size n and with the same number of distinct values K n yield the same posterior for K, the same predictive distribution, and clearly also the same Bayes estimator.
4·2. Consistency and rate of convergence of the posterior
By Theorem 1, the posterior π n for this model is consistent. However, in this case, consistency
can be proved directly without resorting to the assumptions of Theorem 1. In particular, no
337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383
assumption about the existence of the moments of π is required. Moreover, it is possible to obtain the convergence rate of π n (k 0 ). In fact, we can state the following result:
P ROPOSITION 1. Let the distribution of (P 1,k , . . . , P k−1,k ) be symmetric Dirichlet with k pa- rameters equal to a, for some a > 0 and every integer k ≥ 1. Then π n is consistent and
π n (k 0 ) ∼ 1 − c(k 0 ) Γ(k 0 a + a) Γ(k 0 a)
1
n a , (5)
as n diverges P 0 –almost surely for a < ∞, where c(k 0 ) = (1 + k 0 )π(k 0 + 1)/π(k 0 ), and
π n (k 0 ) ∼ 1 − c(k 0 )
k 0
1 + k 0
n
, (6)
as n diverges, P 0 –almost surely, for a = ∞.
The proof of Proposition 1 is deferred to the Appendix.
A similar result for mixture models, where the number of mixtures replaces the number of species, is obtained by Rousseau & Mengersen (2011). In species sampling models we are inter- ested in the weights corresponding to distinct locations and not where the locations are. Typically, in mixture models, when the number of mixtures replaces the number of species, locations are important.
A CKNOWLEDGEMENT
The authors would like to thank three anonymous reviewers who provided comments and suggestions on an earlier version of the paper. This work was partially supported by the European Social Fund and Regione Lombardia within the grant Dote Ricercatori.
A PPENDIX
We now state a lemma, whose proof can be obtained by Jacobi’s transformation formula.
385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431
L EMMA 1. If (W 1 , . . . , W l ) is (0, ∞) l –valued random vector with density h with respect to the l–
dimensional Lebesgue measure, then a density for (W 1 / P l
j=1 W j , . . . , W l−1 / P l
j=1 W j , P l
j=1 W j ) is:
¯ h(t 1 , . . . , t l−1 , s) = s l−1 h(st 1 , . . . , st l−1 , s(1 − P l−1
j=1 t j )I T
l−1×(0,∞) (t 1 , . . . , t l−1 , s).
The following lemma will be useful for the proof of Theorem 1:
L EMMA 2. Assume that π(k 0 ) > 0. The posterior π n is consistent if and only if
n→∞ lim X
l>k
0π(l)
π(k 0 ) C(l, k 0 ) E
Q k
0j=1 P j,l np
jE
Q k
0j=1 P j,k np
j0
= 0. (A1)
for every l ≥ 1, where p j is the P 0 -probability that X 1 is equal to X j ∗ , j = 1, . . . , k 0 , and C(m, k) is the binomial coefficient of choosing k from m, that is m!/{k!(m − k)!}.
Proof. Let a l,n = π(l)l(l − 1) · · · (l − k 0 + 1)E Q k
0j=1 P j,l np
j. Since K n = k 0 for big n almost surely,
π n (k 0 ) ∼ a k
0,n / P
l≥k
0a l,n = 1 − P
l>k
0a l,n /a k
0,n {1 + P
l>k
0a l,n /a k
0,n } −1 , (A2)
as n → ∞, P 0 –almost surely. Hence, as n diverges, π n (k 0 ) goes to one if and only if P
l>k
0a l,n /a k
0,n
goes to zero and the proof is complete.
Proof of Theorem 1. For every l > k 0 , let S l,k
0= P k
0j=1 V j / P l
j=1 V j , for every l > k 0 , and Z n = S l,k n
0
Y n , where Y n = E(n (k
0−1)/2 exp{−n P k
0j=1 p j ln(p j /P j,k
0)} | S l,k
0), for every n ≥ 1. Moreover, it is convenient to rewrite the ratio in (A1):
E
Q k
0j=1 P j,l np
jE
Q k
0j=1 P j,k np
j0
= E
h
exp{−n P k
0j=1 p j ln(p j /P j,l )} i E
h
exp{−n P k
0j=1 p j ln(p j /P j,k
0)} i = E(Z n )
E(Y n ) . (A3)
We shall deal with the numerator and the denominator separately. Let us deal with the denomina- tor first. By Lemma 1 in the Appendix, g k
0is a density for the distribution of (P 1,k
0, . . . , P k
0−1,k
0).
By hypothesis c), taking l = k 0 , such density is continuous on T k
0−1 . Moreover, by hypothesis b), the
support of (P 1,k
0, . . . , P k
0−1,k
0) is the (k 0 − 1)-dimensional closed simplex. In fact, the transformation
433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479
(v 1 , . . . , v k
0) −→ (v 1 / P k
0j=1 v j , . . . , v k
0−1 / P k
0j=1 v j ) maps (0, M ] k
0onto the (k 0 − 1)–dimensional simplex and the same is true for [M, ∞) k
0, for every M > 0. Hence, the density g k
0is positive on T k
0−1 . In particular, this density is positive and continuous in (p 1 , . . . , p k
0−1 ). Therefore, it is possible to apply the multi–dimensional Laplace method (Hsu, 1948) to obtain:
n→∞ lim E(Y n ) = c 2 g k
0(p 1 , . . . , p k
0−1 ), (A4)
where c 2 = (2π) (k
0−1)/2 |h φ (p 1 , . . . , p k
0−1 )| −1/2 , and h φ is the determinant of the Hessian matrix of the function φ(x 1 , . . . , x k
0−1 ) = P k
0−1
j=1 p j ln(p j /x j ) + p k
0ln n
p k
0/(1 − P k
0−1 j=1 x j ) o
. By (A3) and (A4), there is a constant c 1 such that
E
Q k
0j=1 P j,l np
jE
Q k
0j=1 P j,k np
j0
≤ c 1 n (k
0−1)/2 E h
exp{−n P k
0j=1 p j ln(p j /P j,l )} i
= c 1 E (Z n ) , (A5)
for every n ≥ 1.
A density for (P 1,k
0, . . . , P k
0−1,k
0, S l,k
0) is
g l,k
0(x 1 , . . . , x k
0−1 , s) = s k
0−1 g (k l
0) {sx 1 , . . . , sx k
0−1 , s(1 − P k
0−1
j=1 x j )}. (A6)
In fact, S l,k
0= P k
0j=1 P j,l , P j,k
0= P j,l / P k
0j=1 P j,l for 1 ≤ j ≤ k 0 , and one can apply Lemma 1 in the Appendix taking W j = P j,l (1 ≤ j ≤ k 0 ) to obtain (A6). Hence, a conditional density of (P 1,k
0, . . . , P k
0−1,k
0) given S l,k
0is
g l,k
0(x 1 , . . . , x k
0−1 , s)/¯ g l,k
0(s)I {¯ g
l,k0>0} (s), (A7)
where ¯ g l,k
0is a density for S l,k
0. By hypotesis d), (A6) is continuous as a function of (x 1 , . . . , x k
0−1 ) on T k
0−1 and so is (A7). Moreover, by hypothesis a), (A7) is also positive on T k
0−1 . Hence, by the multi–dimensional Laplace method,
n→∞ lim Y n = c 2 g l,k
0(x 1 , . . . , x k
0−1 , S l,k
0)/¯ g l,k
0(S l,k
0)I {¯ g
l,k0(S
l,k0)>0} , (A8)
481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527
almost surely. Moreover,
E( lim n→∞ Y n ) = c 2 g k
0(p 1 , . . . , p k
0−1 ). (A9)
To prove (A9), it is sufficient to verify that:
E{g l,k
0(p 1 , . . . , p k
0−1 , S l,k
0)/¯ g l,k
0(S l,k
0)I {¯ g
l,k0(S
l,k0)>0} } = Z
[0,1]∩{¯ g
l,k0>0}
g l,k
0(p 1 , . . . , p k
0−1 , y)dy
= g k
0(p 1 , . . . , p k
0−1 ).
This can be done combining (A6), (4) and (3) and then computing the integral by substitution.
Combination of (A4) and (A9) yields that E(lim n→∞ Y n ) = lim n→∞ E(Y n ). Since 0 ≤ Z n ≤ Y n ,for every n ≥ 1, and lim n→∞ Z n = 0, P–almost surely, this fact allow us to apply the Pratt’s lemma (Gut, 2005, page 221–222) to obtain that lim n→∞ E(Z n ) = 0. Therefore, by (A5),
n→∞ lim E
Q k
0j=1 P j,l np
jE
Q k
0j=1 P j,k np
j0
= 0. (A10)
Since S l,k
0≤ 1, the ratio E
Q k
0j=1 P j,l np
j/E
Q k
0j=1 P j,k np
j0
, which is equal to E
S l,k n
0Q k
0j=1 P j,k np
j0
/E
Q k
0j=1 P j,k np
j0
is bounded by one from above, for every l > k 0 . Hence,
C(l, k 0 )E Q k
0j=1 P j,l np
j/ n
π(k 0 )E Q k
0j=1 P j,k np
j0