Skip to Content
MathematicsMathematics
  • Feature Paper
  • Article
  • Open Access

29 September 2026

39 Pages

Exact Nuisance-Free Testing at the Ewens Boundary of the Pitman–Yor Partition, with a Matching Efficiency Bound

and
1
School of Mathematics and Physics, University of Science and Technology Beijing, Beijing 100083, China
2
School of Economics, Beijing Institute of Technology, Beijing 100081, China
*
Author to whom correspondence should be addressed.

Abstract

The Ewens sampling formula sits at the boundary α = 0 of the two-parameter Pitman–Yor partition, and deciding whether data lie on it is an inferential question in which the strength θ is unknown. We give tests of α = 0 that need no knowledge of θ . Conditioning on the block count, which is sufficient for the strength, gives a randomized score test with exact level at every sample size, and its score agrees, to the order of the local experiment, with the efficient one. The local experiment is anisotropic: the discount and the strength are learned at the rates ( log n ) − 3 / 2 and ( log n ) − 1 / 2 , and after each coordinate is rescaled by its own rate, the experiment is a Gaussian shift on a half-plane cone for α ≥ 0 and on the whole plane once the Dirichlet–multinomial branch α < 0 is admitted. Profiling out the strength divides the discount information by four. The asymptotic score test attains the one-sided and two-sided local power bounds; whether the exact test attains them is open. At each fixed alternative with 0 < α < 1 and θ > 0 , the type II errors of both tests decay like n − ( θ + α ) , which is the fastest rate available to any test whose level is controlled over all strengths. Simulations and an analysis of Williams’ Rothamsted moth abundances illustrate the tests.

1. Introduction

A random partition of the integers { 1 , … , n } is the natural datum whenever observations are grouped by a shared but unobserved type: species in a sample, words drawn from a vocabulary, customers seated by a preferential rule. The two-parameter model of Pitman [1] underlies a wide range of such partitions used in practice through a discount parameter α ∈ [ 0 , 1 ) and a strength parameter θ > − α . The discount controls how the number of distinct types grows with the sample: for α ∈ ( 0 , 1 ) , the block count K n grows polynomially, like n α , while at α = 0 —the Ewens sampling formula—it grows only logarithmically, like θ log n . The value α = 0 is therefore a boundary that separates two qualitatively different regimes of diversity, and deciding on which side a dataset lies is a concrete inferential question.
The clearest reading is in population genetics, where the Ewens sampling formula is the stationary allele-partition law under a standard neutral model. Within the Pitman–Yor family, a positive discount then represents a departure from that partition law toward heavier-tailed allele-frequency partitions with the strength an unknown nuisance [1,2]. It is not by itself a diagnosis of the biological mechanism producing the departure. The same boundary carries analogous readings elsewhere. In ecology, it separates logarithmic from power-law species diversity; in Bayesian nonparametrics, it is the Dirichlet-process face of the Pitman–Yor prior, which is chosen without knowing the strength [1]. In each, the sign of the discount is what one wants to learn.
In Bayesian nonparametric analyses, the discount can be learned by fitting a Pitman–Yor mixture model with Gibbs sampling [3], and the choice between α = 0 and α > 0 can be made from the posterior of α or by comparing the two fitted models through an information criterion such as the widely applicable information criterion (WAIC) [4]. These routes need a prior for the strength and, when a Markov chain Monte Carlo is used, an assessment of its convergence; they address posterior or predictive questions rather than the finite-sample level of a test. The tests developed here apply when the partition itself is observed, as in species and allele samples, rather than latent as in a mixture model; they are computed from it alone, involve no prior, and in the exact version have exact level at every sample size.
The nearest likelihood-inference theory is set strictly inside the open interval 0 < α < 1 . Koriyama et al. [5] establish that for a fixed interior discount, the maximum-likelihood estimator is n α / 2 -consistent with a Mittag-Leffler mixed-normal limit, and Koriyama [6] carries interior inference to exchangeable Gibbs partitions. Ascolani et al. [7] characterize the joint maximum-likelihood asymptotics of ( α , θ ) across several interior growth regimes, and they find that the strength can govern the discount estimate. Franssen and van der Vaart [8] treat the discount by empirical and full Bayes methods, and Carlton [9] and Cereda et al. [10] estimate the pair ( α , θ ) in applications. These share the interior: the rate n α / 2 collapses to 1 as α ↓ 0 , so none describes the boundary or can be continued to it. Asymptotics of the two-parameter model at the boundary do exist; they are, however, for a different object and a different limit. Feng et al. [11] obtain laws of large numbers, fluctuations, and large deviations for the Pitman–Yor random measure as the discount parameter itself tends to zero or one. Their object is the measure itself; a likelihood experiment with a growing sample is a different question. Coarser block-count laws are available—Contardi et al. [12] give a law of large numbers and a central limit theorem for K n —but they concern the growth of K n rather than likelihood inference about the discount and hold it fixed. Testing the Ewens hypothesis with the strength unknown is itself an old problem, and it has an exact solution. The block count is sufficient for the strength, so conditioning on it yields tests whose level does not depend on the strength at any sample size [13,14,15].
What that construction does not say is how much the unknown strength costs, at which rate the boundary can be detected, or which statistic is efficient there. We supply the local experiment at α = 0 with the strength left unknown: the laws of the partition for discounts within order ( log n ) − 3 / 2 of zero and strengths within order ( log n ) − 1 / 2 of the true value θ 0 , whose limit fixes the largest power a test can have and the cost of not knowing the strength. To our knowledge, the boundary local asymptotics of the discount under a jointly unknown strength have not been described. With it comes an efficiency account. The score of the nuisance-free conditional likelihood—the likelihood the classical conditioning on K n leaves in the discount alone—is asymptotically equivalent to the efficient profile score of the boundary experiment.
The exchangeable partition probability function is explicit, and one might expect that to settle the matter: write the likelihood, differentiate, normalize, read off the limit. It does not, and the obstruction is not the algebra. The two coordinates carry different powers of log n , so there is no single normalization under which both scores have a nondegenerate limit. The usual route—one rate, one Fisher information, one Gaussian limit—has no first step at α = 0 . The boundary also puts the parameter on the edge of its range, so the limit experiment is indexed by a cone rather than by a vector space. What has to be proved is not a formula but which experiment the localized likelihood ratios converge to.
The reason the boundary is delicate is that its two parameters are learned on different scales and are correlated. The discount enters the sequential likelihood through the block-creation weights ∑ k < K n log ( θ + k α ) , so at the kth new block, its score picks up a factor k. Summed over the K n ≈ θ log n blocks, the score has a variance of order ( log n ) 3 , hence fluctuations of order ( log n ) 3 / 2 , whereas the strength score fluctuates on the order ( log n ) 1 / 2 . Rescaling each coordinate by its own rate produces a nondegenerate Gaussian limit with information matrix J 0 = ( θ 0 / 3 1 / 2 1 / 2 1 / θ 0 ) . The off-diagonal entry is what couples the two: the discount and the strength share the same block-creation events, so their scores are correlated, and eliminating the unknown strength costs information. Profiling reduces the discount information from θ 0 / 3 to the Schur complement θ 0 / 3 − ( 1 / 2 ) 2 / ( 1 / θ 0 ) = θ 0 / 12 , which is exactly one quarter. This fourfold penalty, and the fact that a strength estimate must be inserted with care because it perturbs the discount score at leading order, are the two facts a practitioner has to respect at the boundary.
We make three contributions. First, we give the inference: tests of α = 0 that need no knowledge of θ , in two forms with different guarantees. The exact form conditions on the sufficient block count, which removes the strength at every sample size. Ordering that conditional law by its own score gives a randomized test that has an exact level and is, at every sample size, locally most powerful within the conditionally similar class (Lemma 1, Corollary 2). The asymptotic form is a score statistic, built from the restricted strength estimate and standardized by a data-based estimate of the profile information, whose limit is θ 0 / 12 . Its null calibration does not require knowing θ (Theorem 3), and its squared positive part is an equivalent chi-bar form with the boundary mixture as null law. The associated discount estimate converges to the cone-projection functional of the limit experiment, whose geometry produces the boundary atom (Corollary 1, Proposition 3). Both forms have two-sided versions that also cover the negative-discount branch of the family, α < 0 with θ / | α | a positive integer, on which the partition is Dirichlet–multinomial (Proposition 4, Corollary 3).
Second, we bound what any competitor with controlled size can achieve and price the nuisance. The asymptotic test attains a one-sided local power bound over tests whose size is controlled at every local strength θ 0 + g ( log n ) − 1 / 2 (Theorem 4), and its two-sided version attains the corresponding bound over asymptotically unbiased tests (Corollary 3). The score of the conditional likelihood agrees with the efficient profile score to the order of the local experiment (Theorem 5); whether the exact test attains the power bounds is left open. These statements rest on the local experiment at α = 0 , which the interior theory does not reach. We establish it as an anisotropic tangent-cone form of local asymptotic normality (LAN). The two coordinates carry different powers of log n , so no single normalization serves. After rescaling by D n = diag { ( log n ) 3 / 2 , ( log n ) 1 / 2 } , the localized log-likelihood ratio converges, uniformly on compacta of the cone C = [ 0 , ∞ ) × R , to a Gaussian shift with information J 0 (Theorems 1 and 2); once the negative-discount branch is admitted, the cone becomes the plane (Theorem 6). Profiling the strength out of J 0 costs a factor of four, from θ 0 / 3 to θ 0 / 12 . At a fixed alternative, the error probabilities have a floor: every test whose level is controlled over all strengths has type II error at least a constant multiple of n − ( θ + α ) , and for 0 < α < 1 and θ > 0 , both proposed tests attain this rate (Theorem 7). Third, we separate two scales: the detection scale ( log n ) − 3 / 2 of the local experiment from the coarser scale 1 / log n at which the first-order growth of K n changes, which is quantified through the exact block-count moments (Theorem 8). At the detection scale, the count is displaced within its own fluctuations in a direction the strength imitates (Corollary 4). Alongside the three, a Monte Carlo study reports the finite-sample size and power and the gap between the asymptotic and exact calibrations (Appendix B), and an analysis of Williams’ Rothamsted moth abundances [16] applies the tests to data (Section 7).
A single idea runs through the first two contributions: profiling and exact conditioning both eliminate the unknown strength. The conditional score is a finite-sample nuisance-free counterpart of the efficient profile score, and it agrees with it at the order of the local experiment (Theorem 5). The conditioning is exact at every sample size, while the score equivalence is asymptotic. Table 1 sets the three routes side by side, separating their finite-sample and asymptotic guarantees; there, T n denotes the asymptotic score statistic and U c , n the score of the conditional likelihood.
Table 1. The three routes and what each leaves open. Profiling yields the asymptotic efficient information θ 0 / 12 ; exact conditioning removes the nuisance at every sample size; its score has the same local asymptotic information by Theorem 5. The third route concerns a coarser scale.
One scope remark governs the results. Information accumulates only logarithmically: the strength carries an effective sample size of order log n and the discount, at the faster rate ( log n ) − 3 / 2 , one of order ( log n ) 3 . Every limit is therefore approached slowly, and the finite-sample study (Appendix B) is read in that light rather than as evidence of small-sample readiness. The more local qualifications—pointwise calibration, fixed-box concavity, and the rare-event convention, which qualifies the asymptotic statistic only—are stated where they arise. The family also admits α < 0 with θ = − m α for a positive integer m; Section 2, Section 3 and Section 4 work on the continuous branch α ≥ 0 , and Section 5 shows how the negative branch turns the one-sided problem into a two-sided one.
Section 2 fixes the model and the local coordinates; Section 3 develops the boundary experiment; Section 4 gives the feasible inference. Section 5 treats the negative-discount branch, two-sided tests and the error probabilities, and Section 6 the macroscopic scale. Section 7 applies the tests to species abundances, and Section 8 discusses extensions; Appendix A collects the proofs and Appendix B the numerical study.

2. Model and Local Parameterization

Write Π n for an exchangeable random partition of [ n ] = { 1 , … , n } into K n blocks with sizes n 1 , … , n K n . Under the Pitman–Yor law PY ( α , θ ) , in which α ∈ [ 0 , 1 ) is the discount and θ > 0 the strength, a partition having K n = k blocks of the given sizes has the following probability:
p n ( α , θ ) = ∏ i = 1 k − 1 ( θ + i α ) ( θ + 1 ) n − 1 ∏ j = 1 k ( 1 − α ) n j − 1 , ( x ) m = Γ ( x + m ) Γ ( x ) ,
which is the exchangeable partition probability function of Pitman and Yor [17]; see also Pitman [1]. Formula (1) defines a dominated statistical experiment E n = X n , 2 X n , { P α , θ ( n ) : ( α , θ ) ∈ Θ } on the finite set X n of partitions of [ n ] , with parameter space Θ = [ 0 , 1 ) × ( 0 , ∞ ) and mass function (1); the log-likelihood is
ℓ n ( α , θ ) = ∑ i = 1 K n − 1 log ( θ + i α ) + ∑ j = 1 K n log Γ ( n j − α ) − log Γ ( 1 − α ) − log Γ ( θ + n ) + log Γ ( θ + 1 ) .
At α = 0 , this is the Ewens formula with ℓ n ( 0 , θ ) = ( K n − 1 ) log θ + ∑ j log Γ ( n j ) − log Γ ( θ + n ) + log Γ ( θ + 1 ) , under which K n / log n → θ almost surely [18]. In the species-sampling reading of Pitman [1], the blocks are the distinct types seen among n exchangeable draws and the sizes n j are their multiplicities. By exchangeability, the likelihood (1) depends on the sample only through the multiset of block sizes { n 1 , … , n K n } , so this multiset is the sufficient statistic. The strength governs mainly the number of blocks, through the block-creation weights and the normalizer, whereas the discount enters both those weights and the within-block factors ( 1 − α ) n j − 1 that shape the block-size distribution.
We study the boundary point α = 0 with an unknown true strength θ 0 > 0 , all asymptotics being as n → ∞ . A test of whether a partition comes from the Ewens family is a test of the null hypothesis H 0 : α = 0 . On the continuous branch α ∈ [ 0 , 1 ) , the alternative is H 1 : α > 0 , which is one-sided, and the relevant local parameter set is a cone. The family also contains a lattice branch with α < 0 , on which the problem becomes two-sided (Section 5). Write L n = log n and introduce the local coordinates
α = h L n − 3 / 2 , θ = θ 0 + g L n − 1 / 2 , u = ( h , g ) ∈ C : = [ 0 , ∞ ) × R ,
with the scaling matrix D n = diag { L n 3 / 2 , L n 1 / 2 } , so that the reparameterization is ( α , θ − θ 0 ) ⊤ = D n − 1 u . The half-line in h encodes the one-sided boundary; the strength coordinate g is unrestricted. Because α ∈ [ 0 , 1 ) and θ > 0 , the finite-sample feasible local set is
C n = { ( h , g ) : 0 ≤ h < L n 3 / 2 , g > − θ 0 L n 1 / 2 } ,
which grows to fill C as n → ∞ . Section 3 derives the rates in (3) from the model. Table 2 fixes the recurring symbols.
Table 2. Notation.

The Classical Conditioning Device, and What It Leaves Open

The sufficiency of the block count for the strength under the Ewens law is classical, and with it, the exact conditional tests of Watterson [15] and Slatkin [13]; the correction to the latter, listed with it in [13], replaces the earlier prescription, which had used the probability of the ordered configuration in place of the unordered one. Nothing in this subsection is new, and we record it only in the form the boundary analysis uses. What that construction does not say—and what the rest of the paper supplies—is how much the unknown strength costs, at which rate the boundary can be detected, and which statistic is efficient there.
The likelihood (1) factors in a way that confines the strength to a single factor, and it does so at every sample size. Collecting the factors that depend on the block sizes gives
p n ( α , θ ) = V n , K n ( α , θ ) ∏ j = 1 K n ( 1 − α ) n j − 1 , V n , k ( α , θ ) = ∏ i = 1 k − 1 ( θ + i α ) ( θ + 1 ) n − 1 .
This displays PY ( α , θ ) as a Gibbs partition in the sense of Gnedin and Pitman [19]: the strength enters only through V n , K n , and V n , k depends on the partition through the block count alone. Write
C n , k ( α ) = ∑ π : K ( π ) = k ∏ j ( 1 − α ) | π j | − 1
for the sum of the size-dependent factor over the partitions of [ n ] with k blocks.
Lemma 1 (Conditional likelihood free of the strength, classical).
For every n, every k, every α ∈ [ 0 , 1 ) , every θ > 0 and every partition π of [ n ] with K ( π ) = k ,
P α , θ Π n = π ∣ K n = k = ∏ j ( 1 − α ) | π j | − 1 C n , k ( α ) ,
which does not depend on θ; equivalently, K n is sufficient for θ at each fixed discount. The normalizer obeys the generalized Stirling recurrence
C n + 1 , k ( α ) = ( n − α k ) C n , k ( α ) + C n , k − 1 ( α ) , C 1 , 1 ( α ) = 1 .
At the boundary α = 0 , the normalizer reduces to the unsigned Stirling number of the first kind, C n , k ( 0 ) = c ( n , k ) , and the conditional law becomes ∏ j ( n j − 1 ) ! / c ( n , k ) .
The strength is therefore a nuisance that can be removed exactly rather than asymptotically: conditioning on K n leaves a likelihood in the discount alone, which is valid at every n. That the boundary experiment nevertheless requires the local analysis of the following sections is an efficiency statement; identification is not at issue. Section An Exact Conditional Test and Its Efficiency makes the two accounts agree—the conditional score of (7) and the efficient score of the local experiment differ by o P ( L n 3 / 2 ) .
At α = 0 , Equation (7) reduces to the Ewens conditional law of the partition given K n ; the corrected test of Slatkin [13] works with its image on unordered configurations. The classical tests order this same conditional law by other statistics—homozygosity for Watterson [15], configuration probability for Slatkin [13]—and we do not claim those orderings coincide with the boundary score U c , n . What we establish, in Section An Exact Conditional Test and Its Efficiency, is that U c , n is the score of (7) and agrees with the efficient profile score of the boundary experiment. The ordering statistic, its rate, and the price of the unknown strength are the questions the classical device leaves open.

3. The Boundary Experiment

The experiment is built from the sequential (Chinese-restaurant) description of PY ( α , θ ) . Reveal the integers one at a time; given the first i − 1 (with K i − 1 blocks so far), integer i opens a new block with probability ( θ + K i − 1 α ) / ( θ + i − 1 ) and otherwise joins an existing block of current size m with probability ( m − α ) / ( θ + i − 1 ) . Let ( F i ) i ≤ n be the filtration this generates. Differentiating the sequential log-likelihood—the product form of ℓ n in (2)—at ( 0 , θ 0 ) gives the scores in closed form and, at the same time, exhibits them as martingales.
Proposition 1 (Scores).
At ( α , θ ) = ( 0 , θ 0 ) the scores are
S α , n = K n ( K n − 1 ) 2 θ 0 − ∑ j = 1 K n H n j − 1 , S θ , n = K n θ 0 − ψ ( θ 0 + n ) − ψ ( θ 0 ) ,
and each is a sum of F i -martingale differences: S α , n = ∑ i = 1 n ξ i and S θ , n = ∑ i = 1 n ζ i with E [ ξ i ∣ F i − 1 ] = E [ ζ i ∣ F i − 1 ] = 0 .
Because the increments are martingale differences, their conditional variances determine the limit, and those variances make the two scales and the coupling concrete. At the ith step, a new block opens with conditional probability θ 0 / ( θ 0 + i − 1 ) , so the strength increment ζ i has conditional variance of order 1 / ( θ 0 i ) . Summing over i gives a conditional variance of order ∑ i ( θ 0 i ) − 1 ≍ L n / θ 0 , hence the scale L n 1 / 2 and the leading coefficient 1 / θ 0 . The discount increment carries an extra factor equal to the current number of blocks K i − 1 ≍ θ 0 log i (the Ewens law of Section 2), since a new block contributes to the discount score in proportion to how many blocks already exist. Its conditional variance is of order K i − 1 2 / ( θ 0 i ) ≍ θ 0 ( log i ) 2 / i , and ∑ i ≤ n ( log i ) 2 / i = 1 3 L n 3 ( 1 + o ( 1 ) ) gives the scale L n 3 / 2 and the leading coefficient θ 0 / 3 . The two scores move together because they respond to the same block-creation events: their conditional covariance is of order ( log i ) / i , summing to 1 2 L n 2 ( 1 + o ( 1 ) ) , which after the anisotropic rescaling is the off-diagonal entry 1 / 2 . The next theorem records these three limits.
Theorem 1 (Central sequence).
As n → ∞ , under P 0 , θ 0 ( n ) ,
D n − 1 S α , n S θ , n = L n − 3 / 2 S α , n L n − 1 / 2 S θ , n ⇝ N ( 0 , J 0 ) , J 0 = θ 0 / 3 1 / 2 1 / 2 1 / θ 0 , det J 0 = 1 12 .
The exact constants θ 0 / 3 , 1 / θ 0 and 1 / 2 are the leading coefficients of the conditional-variance and covariance sums above. The conditional Lindeberg condition—the maximal rescaled increment is O P ( ( log n ) / ( log n ) 3 / 2 ) = o P ( 1 ) —delivers the joint normal limit, whose information is nondegenerate ( det J 0 = 1 / 12 > 0 ). A quadratic expansion of (2) in the local coordinates, controlled uniformly on compacta, then upgrades the central sequence to local asymptotic normality on the cone. Appendix A contains the details.
Theorem 2 (Anisotropic cone LAN).
Let Δ n = D n − 1 ( S α , n , S θ , n ) ⊤ . For every compact K ⊂ C ,
sup u ∈ K ℓ n ( 0 , θ 0 ) + D n − 1 u − ℓ n ( 0 , θ 0 ) − u ⊤ Δ n − 1 2 u ⊤ J 0 u → P 0 ,
with Δ n ⇝ N ( 0 , J 0 ) . Consequently, for each fixed u ∈ C , the laws P ( 0 , θ 0 ) + D n − 1 u ( n ) and P 0 , θ 0 ( n ) are mutually contiguous; the local experiments converge to the Gaussian shift N ( J 0 u , J 0 ) : u ∈ C .
Theorem 2 is the boundary analogue of local asymptotic normality with two nonstandard features. The first is the anisotropic scaling. The two scores have variances of orders L n 3 and L n (the computation before Theorem 1), so no single normalization gives both a nondegenerate limit, and after separate rescaling, the coordinates remain correlated because both scores respond to the same block-creation events. The quadratic expansion survives the anisotropy for a structural reason: the third derivatives of ℓ n grow like K n 4 , K n 3 , K n 2 and K n as the number of discount derivatives decreases from three to zero (Lemma A2), and since K n ≍ L n , the scaling D n divides them by L n 9 / 2 , L n 7 / 2 , L n 5 / 2 and L n 3 / 2 , leaving a remainder of order L n − 1 / 2 in every direction.
The second feature is the cone. On the continuous branch, the discount is nonnegative, so the local parameter ranges over the half-plane C rather than a linear space, and the limit experiment is a Gaussian shift restricted to it. The cone governs the inference of Section 4: it is the reason the limiting likelihood ratio and the squared positive part of the score statistic have the chi-bar-square null law and the discount estimate has an atom at zero (Proposition 3, Corollary 1), and it is also the reason a single one-sided test attains the power bound at every alternative (Theorem 4). It is a property of the continuous branch α ≥ 0 rather than of the Ewens point. The family also contains a lattice branch, α < 0 with θ / | α | a positive integer, and admitting it replaces the cone by the whole plane (Theorem 6); Section 4 assumes α ≥ 0 , and Section 5 treats the two-sided problem.
Remark 1 (Information geometry of the penalty).
The reduction in the discount information from the marginal θ 0 / 3 (known strength) to the profile θ 0 / 12 (unknown strength)—a factor of four—has a coordinate-free reading. In the limit experiment, the discount and strength scores have variances θ 0 / 3 and 1 / θ 0 and covariance 1 / 2 , so their correlation is ρ 0 = 1 2 / ( θ 0 / 3 ) ( 1 / θ 0 ) = 3 / 2 ; eliminating the unknown strength replaces θ 0 / 3 by the Schur complement ( 1 − ρ 0 2 ) θ 0 / 3 = 1 4 · θ 0 / 3 = θ 0 / 12 , which is the profile information q 0 . The attainable local power against α = h L n − 3 / 2 depends on the discount only through h q 0 (Theorem 3), so that quartering halves the slope of the power curve in h relative to the known-strength value θ 0 / 3 .

4. Inference at the Boundary

Theorem 2 describes a limit experiment; to use it, we need statistics that a data analyst can compute from the observed partition alone with the strength unknown. The natural device is to replace θ 0 by its restricted estimate under the null.
For 1 < K n < n , define the restricted strength estimate θ ˜ n as the unique root in ( 0 , ∞ ) of
∂ θ ℓ n ( 0 , θ ) = K n − 1 θ − { ψ ( θ + n ) − ψ ( θ + 1 ) } = 0 , equivalently K n − 1 = ∑ m = 1 n − 1 θ θ + m .
The right-hand side of (10) increases strictly in θ from 0 to n − 1 , so the root exists and is unique. On the boundary events { K n = 1 } and { K n = n } , set θ ˜ n to a fixed constant and do not reject.
One point needs care before the restricted estimate can be inserted into the discount score. The mixed second derivative of the log-likelihood is ∂ α ∂ θ ℓ n ( 0 , θ 0 ) = − K n ( K n − 1 ) / ( 2 θ 0 2 ) , of order L n 2 (since K n ≍ L n ); as θ ˜ n − θ 0 = O P ( L n − 1 / 2 ) (Lemma A3), replacing θ 0 by θ ˜ n shifts S α , n by an amount of order L n 2 · L n − 1 / 2 = L n 3 / 2 , which is the same order as S α , n itself. A strength estimate is therefore not negligible for the discount score, and standardizing the plugged-in score by the discount information θ 0 / 3 would be incorrect. Using the restricted estimate—which by construction sets the strength score to zero—orthogonalizes the discount score against the strength direction; the correct standardization is the profile information q 0 = θ 0 / 12 .
Proposition 2 (Feasibility by orthogonalization).
Under P 0 , θ 0 ( n ) ,
L n − 3 / 2 ∂ α ℓ n ( 0 , θ ˜ n ) = L n − 3 / 2 S α , n − J 0 , α θ J 0 , θ θ L n − 1 / 2 S θ , n + o P ( 1 ) ⇝ N ( 0 , q 0 ) , q 0 = J 0 , α α − J 0 , α θ 2 J 0 , θ θ = θ 0 12 ,
which is the efficient (profile) score; the naive standardization by the discount information θ 0 / 3 is invalid because the plug-in shift is of the same order as the score.
The standardization just justified is not yet computable, since q 0 = θ 0 / 12 involves the unknown strength, so it has to be estimated. Write I n ( α , θ ) = − ∇ 2 ℓ n ( α , θ ) for the raw observed information and J ^ n = D n − 1 I n ( 0 , θ ˜ n ) D n − 1 for its scaled form; the observed profile information is the Schur complement q ^ n = ( J ^ n ) α α − ( J ^ n ) α θ 2 / ( J ^ n ) θ θ , and q ^ n → P q 0 (no further factor of L n − 3 is applied, J ^ n being already scaled). The feasible one-sided test of H 0 : α = 0 rejects for large values of
T n = L n − 3 / 2 ∂ α ℓ n ( 0 , θ ˜ n ) q ^ n , reject H 0 at level ρ when T n > z 1 − ρ .
Here, Φ is the standard normal distribution function and z 1 − ρ = Φ − 1 ( 1 − ρ ) . Two degeneracies remain to be disposed of: the restricted strength estimate of (10) has no root in ( 0 , ∞ ) when the partition has one block or n of them, and the estimated profile information can fail to be positive. Write B n = { K n ∈ { 1 , n } } ∪ { q ^ n ≤ 0 } for the exceptional event on which the restricted fit or the observed profile information degenerates. On B n , the tests based on T n do not reject, and T n = h ^ n = α ^ n = 0 , where h ^ n and α ^ n are the discount estimates of Corollary 1; off B n , each is given by its displayed formula. Under P 0 , θ 0 ( n ) , one has K n → ∞ and K n / n → 0 (since K n / L n → P θ 0 ), which rule out K n ∈ { 1 , n } , while q ^ n → P q 0 > 0 ; hence, P 0 , θ 0 ( n ) ( B n ) → 0 . By the mutual contiguity of Theorem 2, the same holds under every fixed local law, so the convention leaves every limit law unchanged.
Theorem 3 (Calibration and power of the feasible test).
For every fixed ( h , g ) with h ≥ 0 , under the local law P ( 0 , θ 0 ) + D n − 1 ( h , g ) ( n ) , T n ⇝ N h q 0 , 1 ; the limit does not depend on g. Hence, for each fixed strength, the test in (11) has asymptotic level ρ under H 0 and local power 1 − Φ z 1 − ρ − h q 0 against α = h L n − 3 / 2 . The limit is free of the local strength g; a statement uniform over | g | ≤ G would require an additional compact-uniform lemma and is not claimed here.
The test is computed from the observed partition in four steps. Count the blocks K n and record their sizes, then solve (10) for θ ˜ n by bisection, its right-hand side being strictly increasing. Form the profile score ∂ α ℓ n ( 0 , θ ˜ n ) = K n ( K n − 1 ) / ( 2 θ ˜ n ) − ∑ j H n j − 1 together with the observed profile information q ^ n ; and reject α = 0 when the standardized T n of (11) exceeds z 1 − ρ . On a single partition of n = 10 4 integers drawn from the null with θ 0 = 1 (fixed seed 7; the accompanying script reproduces the computation), these steps give K n = 7 , θ ˜ n = 0.66 and T n = − 1.08 , so the boundary hypothesis is retained. Drawing from the same stream at α = 2 ( log n ) − 3 / 2 gives K n = 11 , θ ˜ n = 1.15 and T n = − 1.53 , again not rejected, and at α = 4 ( log n ) − 3 / 2 gives K n = 23 , θ ˜ n = 2.74 and T n = 2.54 , and the hypothesis is rejected at the 5 % level. The effective sample size at the boundary is only log n , so the calibration converges slowly; in the simulations of Appendix B, the test is conservative, and its power builds slowly.
For a discount estimate and a one-sided boundary statistic, no constrained maximization is needed; their null and local limits are read from the Gaussian limit of Theorem 2. Write Z = ( Z α , Z θ ) ∼ N ( 0 , J 0 ) for the limit of the central statistic Δ n and Z eff = Z α − θ 0 2 Z θ for its efficient component, of variance q 0 ; the coefficient θ 0 2 = J 0 , α θ / J 0 , θ θ is the same orthogonalizer as in Proposition 2. These are the limits the finite-sample statistic inherits: T n converges to Z eff / q 0 . Because the alternative is one-sided, the natural one-sided statistic is the positive part of T n , and its square ( T n ) + 2 —a positive-part score statistic—is data computable with the boundary chi-bar-square as its null law.
Corollary 1 (Feasible chi-bar score test and local discount estimate).
Under P 0 , θ 0 ( n ) , the positive-part score statistic satisfies ( T n ) + 2 ⇝ 1 2 δ 0 + 1 2 χ 1 2 . Take ρ ∈ ( 0 , 1 2 ) , small enough that the upper-ρ quantile lies in the χ 1 2 part, above the atom of mass 1 2 at zero. The test rejecting H 0 : α = 0 when ( T n ) + 2 exceeds that quantile has asymptotic level ρ. On B n c , the local discount estimate is
h ^ n = T n / q ^ n + = L n − 3 / 2 ∂ α ℓ n ( 0 , θ ˜ n ) / q ^ n + ,
extended by h ^ n = 0 on B n as above. It is a function of the observed partition alone and estimates the local coordinate h = L n 3 / 2 α : under P ( 0 , θ 0 ) + D n − 1 ( h , g ) ( n ) , it satisfies h ^ n ⇝ ( Z eff / q 0 ) + with Z eff ∼ N ( q 0 h , q 0 ) , and under H 0 , its limit places mass one half at zero. The original-scale discount estimate is α ^ n = L n − 3 / 2 h ^ n , and it is likewise zero on B n .
The chi-bar test statistic ( T n ) + 2 , the local estimate h ^ n , and the original-scale estimate α ^ n are read off from ( K n , { n j } , θ ˜ n ) by the four steps above and use no knowledge of θ 0 . Two limits of scope should be kept in view. The rejection region of the chi-bar form is that of (11)—for ρ < 1 2 , the upper- ρ quantile of 1 2 δ 0 + 1 2 χ 1 2 is z 1 − ρ 2 , so ( T n ) + 2 > z 1 − ρ 2 and T n > z 1 − ρ coincide. The chi-bar statistic is recorded because it is the quantity converging to the limiting likelihood ratio of Proposition 3. The second is that α ^ n is a one-step estimate built for the boundary neighborhood. It is designed for discounts of order L n − 3 / 2 , and no claim is made for it at a fixed interior α > 0 , where the relevant rate is the n α / 2 of Koriyama et al. [5]. Those limits aside, the limit law of h ^ n is that of the constrained maximum-likelihood point of the limit experiment, described next, whose projection geometry accounts for the boundary atom and the chi-bar mixture.
Proposition 3 (Cone projection in the limit experiment).
In the Gaussian-shift limit { N ( J 0 u , J 0 ) : u ∈ C } of Theorem 2, with Z and Z eff as above and Z eff ∼ N ( 0 , q 0 ) under H 0 , the maximum-likelihood point over the cone is the J 0 -projection of the unconstrained maximizer J 0 − 1 Z onto C (projection in the inner product ⟨ a , b ⟩ = a ⊤ J 0 b ),
u ^ = ( h ^ , g ^ ) , h ^ = ( Z eff / q 0 ) + , g ^ = θ 0 Z θ − θ 0 2 h ^ ,
and the likelihood ratio for H 0 : h = 0 is Λ ∞ = ( Z eff ) + 2 / q 0 ; under H 0 , P ( h ^ = 0 ) = 1 2 and Λ ∞ ∼ 1 2 δ 0 + 1 2 χ 1 2 .
The mixture weights are those of Chernoff [20] and Self and Liang [21] for a parameter on a one-sided boundary with a free nuisance; Andrews [22] gives the general form. With a probability of one half, the unconstrained efficient estimate is negative, the constrained one is zero and the ratio vanishes; otherwise, it is a one-degree chi-square in the efficient score. The feasible statistic of Corollary 1 realizes this geometry in the following limit: ( T n ) + 2 ⇝ Λ ∞ = ( Z eff ) + 2 / q 0 = ( T ∞ ) + 2 with T ∞ = Z eff / q 0 the limit of T n . This is an identity in the limit experiment; at finite n, it is not an exact likelihood-ratio identity: ( T n ) + 2 is a positive-part score statistic; no finite-sample constrained maximization is used or claimed. The procedure needs only the restricted fit θ ˜ n .
The projection describes the limit experiment. That it is also the local picture of the finite-sample likelihood rests on a concavity that holds on fixed local boxes.
Lemma 2 (Fixed-box joint concavity).
For every partition of [ n ] with n ≥ 2 and every θ > 0 , the map α ↦ ℓ n ( α , θ ) is strictly concave on [ 0 , 1 ) . For every fixed M < ∞ , with H M = [ 0 , M ] × [ − M , M ] , there is an event A n , M , of probability tending to one under P 0 , θ 0 ( n ) , on which u ↦ ℓ n ( ( 0 , θ 0 ) + D n − 1 u ) is strictly concave on H M ∩ C n .
The concavity is a fixed-box statement only. Since θ 2 ∂ θ θ 2 ℓ n → n − K n > 0 as θ → ∞ whenever K n < n , the full likelihood is convex in the strength tail, and no unrestricted global maximizer over the growing cone is claimed to localize. The feasible procedures of Corollary 1, being functions of the restricted score, do not depend on this global question.
A last question is how much local power the boundary permits: the largest power a level- ρ test can have against the local alternatives α = h L n − 3 / 2 and whether the feasible test attains it. The competitor class matters here, because a test whose size is controlled only on a bounded range | g | ≤ G of local strengths θ 0 + g L n − 1 / 2 can do better than one held to every local strength.
Theorem 4 (Local power bound).
Fix ρ ∈ ( 0 , 1 ) and let
T ρ = ( ϕ n ) : lim sup n E 0 , θ 0 + g L n − 1 / 2 ( n ) ϕ n ≤ ρ for every g ∈ R
be the tests whose asymptotic size is controlled at every local strength. For every ( ϕ n ) ∈ T ρ and every fixed h > 0 , g ∈ R ,
lim sup n E ( 0 , θ 0 ) + D n − 1 ( h , g ) ( n ) ϕ n ≤ 1 − Φ z 1 − ρ − h q 0 .
The feasible test (11) belongs to T ρ and has limiting power equal to the right-hand side at every ( h , g ) (Theorem 3), so it attains the bound. For a test whose size is controlled only for | g | ≤ G , the bound is guaranteed only at alternatives with g + θ 0 h / 2 ∈ [ − G , G ] .
The competitor class must control size at every local strength, because the least-favorable null, the null point that the alternative most resembles, moves with the alternative and can lie outside any bounded range. For an alternative ( h , g ) , that null sits at g * = g + θ 0 h / 2 . Under the alternative, the standardized strength score has mean h / 2 + g / θ 0 , and g * is exactly the strength value that reproduces it from h = 0 , so along the strength direction the two are indistinguishable, and only the efficient direction separates them at information distance ( h , − θ 0 h / 2 ) ⊤ J 0 ( h , − θ 0 h / 2 ) = q 0 h 2 . A test constrained only on | g | ≤ G can, at g = G , use the strength score to exceed the efficient-score power, because its least-favorable null g * > G falls outside the constraint. Within T ρ , this cannot occur, since size is controlled at g * , and the two-point Neyman–Pearson bound at ( 0 , g * ) against ( h , g ) gives the envelope. The class T ρ contains the tests whose size is controlled uniformly on every compact set of local strengths, so the bound holds a fortiori for them. The proof is in Appendix A.
The bound quantifies the fourfold penalty of Section 1. The efficient discount information is q 0 = θ 0 / 12 rather than the known-strength value θ 0 / 3 , so the local power at h is the power that an oracle who is told θ has at h / 2 .

An Exact Conditional Test and Its Efficiency

The calibration of (11) is asymptotic, and at the logarithmic rate of the boundary, it is approached slowly: over the sample sizes one can simulate, the nominal five percent test rejects far less often than five percent (Appendix B). Lemma 1 gives a second route to the same hypothesis in which the level is not asymptotic at all. Since the conditional law of Π n given K n carries no strength, a test calibrated inside that conditional law has an exact level for every θ and every n.
Differentiating the conditional likelihood (7) at the boundary gives the conditional score
U c , n = ∂ α log P α , θ 0 Π n ∣ K n | α = 0 = S α , n − E 0 S α , n ∣ K n ,
the discount score with its conditional mean given the block count removed; the second equality is the score identity for the marginal of a statistic. Because the first term of S α , n in (9) is a function of K n , it cancels, and U c , n depends on the partition only through the block sizes. Differentiating the recurrence (8) makes it explicit.
Lemma 3 (Exact conditional mean).
Let D n , k = ∂ α C n , k ( α ) | α = 0 , which is the first-order effect of the discount on the normalizer whose value at the boundary is C n , k ( 0 ) = c ( n , k ) by Lemma 1. Then, D n , k = − 1 2 k ( k + 1 ) c ( n , k + 1 ) , and consequently
E 0 ∑ j H n j − 1 | K n = k = k ( k + 1 ) 2 c ( n , k + 1 ) c ( n , k ) , U c , n = K n ( K n + 1 ) 2 c ( n , K n + 1 ) c ( n , K n ) − ∑ j H n j − 1 .
The conditional score is thus computable from the observed partition by the same recurrence that produces c ( n , K n ) and c ( n , K n + 1 ) in O ( n K n ) operations and with no reference to θ . Its relation to the local experiment is the following; the proof, in Appendix A.2, expresses the conditional mean through adjacent Ewens block-count probabilities and expands them.
Theorem 5 (Conditional and profile scores agree).
Under P 0 , θ 0 ( n ) ,
L n − 3 / 2 U c , n − ∂ α ℓ n ( 0 , θ ˜ n ) → P 0 ,
so L n − 3 / 2 U c , n ⇝ N ( 0 , q 0 ) with q 0 = θ 0 / 12 , and by the contiguity of Theorem 2, the same difference is o P ( 1 ) under each fixed local law, whence L n − 3 / 2 U c , n ⇝ N ( q 0 h , q 0 ) .
Exact conditioning and asymptotic orthogonalization therefore describe the same statistic to the order that matters. The Schur complement of Proposition 2 is the local shadow of an exact conditional likelihood, and the conditional score carries the same efficient information θ 0 / 12 . Two consequences can be stated for finite samples, and one cannot.
Corollary 2 (Exact level and finite-sample local optimality).
Fix ρ ∈ ( 0 , 1 ) and let ϕ n reject when U c , n exceeds the upper-ρ quantile of its conditional null law given K n with randomization on the boundary of that quantile so that E 0 , θ [ ϕ n ∣ K n = k ] = ρ for every attainable k. Then,
E 0 , θ ϕ n = ρ for every θ > 0 and every n ,
and among tests whose conditional level given K n is ρ, ordering by U c , n maximizes the derivative ∂ α E α , θ [ ϕ n ∣ K n = k ] | α = 0 + of the conditional power at the boundary.
The quantiles are those of a distribution free of θ , so for each ( n , k ) , they may be computed once from (7), exactly by enumeration for small n and otherwise by exact sampling from the conditional law (Appendix B). The exactness asserted in Corollary 2 is exactness in the quantiles of the true conditional law. A calibration by B independent draws from that law remains valid if the test rejects when the Monte Carlo p-value ( 1 + # { draws at least as large as the observed statistic } ) / ( B + 1 ) is at most ρ ; this rule has a level of at most ρ for every B [23]. A table of sampled quantiles reused across data sets is only approximately calibrated, and its empirical level should be reported.
The efficiency statements of this section differ in scope between the two routes. For the asymptotic test, they hold pointwise in the local strength: T n has limiting power 1 − Φ ( z 1 − ρ − h q 0 ) at every local alternative and attains the bound of Theorem 4. For the exact test, three statements are proved: its level is exactly ρ at every n; it maximizes the derivative of the conditional power at α = 0 + within the conditionally similar class (Corollary 2); and its statistic agrees with the efficient score to the order of the local experiment (Theorem 5). A fourth statement, that its power at a fixed local alternative h > 0 converges to the bound of Theorem 4, is not proved. It would follow if the random conditional critical value c n , ρ ( K n ) , the upper ρ -quantile of the conditional null law of U c , n given K n , satisfied c n , ρ ( K n ) / ( L n 3 / 2 q 0 ) → P z 1 − ρ under the null, which in turn would follow from a conditional central limit theorem for U c , n given K n ; the unconditional equivalence of Theorem 5 does not transfer to conditional laws. Section 8 records this as an open problem. Table 3 compares the exact test with the classical exact tests, which condition on the same sufficient statistic but order the resulting conditional law by other statistics.
Table 3. The conditional route. The classical exact tests and the test of this paper condition on the same sufficient statistic K n but order the resulting θ -free conditional law by different statistics; only the last row ties the ordering to the efficient score of the boundary experiment. We do not claim the three orderings coincide.

5. The Negative-Discount Branch and Error Probabilities

The analysis so far concerns the continuous branch α ∈ [ 0 , 1 ) . The two-parameter family has a second branch, α = − κ < 0 with θ = m κ for a positive integer m [1]. On it, the partition is the Dirichlet–multinomial partition with m types (Proposition 4), and for each n, as κ → 0 with m κ → θ , its law converges to the Ewens law with strength θ . The two branches depart from the Ewens rule in opposite directions. In the sequential description of Section 3, an integer joins an existing block of size s with probability proportional to s − α ; relative to the Ewens rule, a positive discount shifts the joining probabilities toward large blocks and a negative discount toward small ones. Negative discounts are therefore alternatives to the Ewens hypothesis in their own right, and the one-sided formulation of Section 2 is a statement about the continuous branch only. This section treats the resulting two-sided problem and then the behavior of the error probabilities as n → ∞ ; the proofs are in Appendix A.3.

5.1. The Lattice Branch

Proposition 4 (The branch α < 0 ).
Let κ > 0 and m ∈ N .
(a)
At ( α , θ ) = ( − κ , m κ ) , Formula (1) is the law of the partition of [ n ] obtained by drawing n independent types from a random distribution on m types with symmetric Dirichlet ( κ , … , κ ) weights and grouping integers of equal type: a partition with k blocks of sizes n 1 , … , n k has probability
m ! ( m − k ) ! ∏ j = 1 k ( κ ) n j ( m κ ) n ( k ≤ m ) , 0 ( k > m ) .
(b)
The factorization (5) holds at ( − κ , m κ ) , and for 1 ≤ k ≤ min ( m , n ) , the conditional law of Π n given K n = k is (7) at α = − κ ; it does not depend on m.
(c)
For every 1 ≤ k ≤ n and every α < 1 , the right side of (7) is a probability law on the partitions of [ n ] with k blocks, differentiable in α, and its score at α = 0 is U c , n of (12).
Part (b) says that conditioning on the block count removes the number of types m just as it removes the strength on the continuous branch. Part (c) says that the conditional experiment is a single smooth one-parameter family on both sides of α = 0 . The exact conditional test therefore has a two-sided counterpart with the same exact calibration (Corollary 3).

5.2. The Local Experiment on the Plane

In the local coordinates (3), a point of the lattice branch has h < 0 , and it is admissible only if θ 0 + g L n − 1 / 2 = m | h | L n − 3 / 2 for a positive integer m, that is, only if g belongs to { m | h | / L n − θ 0 L n 1 / 2 : m ∈ N } . For fixed h < 0 , consecutive admissible values of g are | h | / L n apart. The spacing tends to zero, so every point of the open half-plane { h < 0 } is a limit of admissible local parameters. Call a sequence u n = ( h n , g n )  admissible if ( 0 , θ 0 ) + D n − 1 u n lies on either branch, and write P n , u n = P ( 0 , θ 0 ) + D n − 1 u n ( n ) . For u = ( h , g ) ∈ R 2 , let u n ( u ) = u when h ≥ 0 , and when h < 0 let u n ( u ) = ( h , g n ) , where g n is the admissible value at this h nearest to g; for all large n, u n ( u ) is admissible and | g n − g | ≤ | h | / ( 2 L n ) .
Theorem 6 (Local experiment on the plane).
Let ( u n ) be admissible with u n → u ∈ R 2 . Under  P 0 , θ 0 ( n ) ,
log d P n , u n d P 0 , θ 0 ( n ) = u ⊤ Δ n − 1 2 u ⊤ J 0 u + o P ( 1 ) .
Consequently, P n , u n and P 0 , θ 0 ( n ) are mutually contiguous, Δ n ⇝ N ( J 0 u , J 0 ) under P n , u n , and the experiments ( P n , u n ( u ) : u ∈ R 2 ) converge to the Gaussian shift { N ( J 0 u , J 0 ) : u ∈ R 2 } .
On the continuous branch, Theorem 6 reduces to Theorem 2. Its content is that the lattice branch, although discrete, fills the open half-plane { h < 0 } in the limit, so that the tangent set of the full family at ( 0 , θ 0 ) is the plane rather than the cone C . The one-sided procedures of Section 4 were built for the cone. On the plane, the one-sided tests remain calibrated but become biased, and two-sided tests take their place. On the lattice side, the limit is reached slowly, because the block count, of order θ 0 log n , must stay below the number of types, of order θ 0 ( log n ) 3 / 2 / | h | .
Corollary 3 (Two-sided tests).
Fix ρ ∈ ( 0 , 1 ) and write π ± ( h ) = 2 − Φ ( z 1 − ρ / 2 − h q 0 ) − Φ ( z 1 − ρ / 2 + h q 0 ) .
(a)
Under every admissible sequence u n → ( h , g ) , T n ⇝ N ( h q 0 , 1 ) and L n − 3 / 2 U c , n ⇝ N ( q 0 h , q 0 ) . The one-sided test (11) has limiting power 1 − Φ ( z 1 − ρ − h q 0 ) , which is smaller than ρ when h < 0 . The test rejecting when | T n | > z 1 − ρ / 2 has limiting power π ± ( h ) , which exceeds ρ for every h ≠ 0 .
(b)
Let ϕ n ± reject when U c , n lies below the lower or above the upper ρ / 2 -quantile of its conditional null law given K n , randomizing at both quantiles so that each tail has conditional probability ρ / 2 . Then, E 0 , θ ϕ n ± = ρ for every θ > 0 and every n.
(c)
Let ( ϕ n ) satisfy lim sup n E 0 , θ 0 + g L n − 1 / 2 ( n ) ϕ n ≤ ρ for every g ∈ R and lim inf n E n , u n ( u ) ϕ n ≥ ρ for every u = ( h , g ) with h ≠ 0 . Then, lim sup n E n , u n ( u ) ϕ n ≤ π ± ( h ) for every u with h ≠ 0 . The two-sided test of part (a) satisfies both conditions and attains π ± ( h ) at every such u.
Part (c) is the two-sided analogue of Theorem 4, with asymptotic unbiasedness among the conditions because the one-sided tests exceed π ± on one side; the bound π ± is the power of the two-sided test in the Gaussian limit, in which the efficient component Z eff is independent of the strength coordinate. As on the continuous branch, whether the exact test ϕ n ± attains the bound is the conditional-quantile question of Section An Exact Conditional Test and Its Efficiency.
Pitman’s limit κ → 0 , m κ → θ can now be quantified. Fix θ 0 and let m n → ∞ . The Dirichlet–multinomial partition with m n types and parameter κ n = θ 0 / m n is the admissible local parameter ( − θ 0 L n 3 / 2 / m n , 0 ) .
Remark 2 (The Dirichlet–multinomial approach to the Ewens law).
If m n / L n 3 / 2 → ∞ , the total variation distance between the Dirichlet–multinomial partition with m n types and parameter θ 0 / m n and the Ewens partition with strength θ 0 tends to zero, so no test can separate them. If m n / L n 3 / 2 → c ∈ ( 0 , ∞ ) , the two laws are mutually contiguous and the asymptotic two-sided test of Corollary 3(a) has limiting power π ± ( − θ 0 / c ) ∈ ( ρ , 1 ) . The scale m ≍ ( log n ) 3 / 2 therefore separates numbers of types that no test can detect from those against which the two-sided test has nontrivial power.

5.3. Error Probabilities

The type I error of the exact conditional tests equals ρ at every n and every strength (Corollaries 2 and 3(b)); that of the asymptotic tests tends to ρ at every fixed strength (Theorem 3). At the local alternatives α = h L n − 3 / 2 , the type II error of the asymptotic tests does not vanish: it converges to Φ ( z 1 − ρ − h q 0 ) for the one-sided test and to 1 − π ± ( h ) for the two-sided test. It remains to describe how fast the type II error vanishes at a fixed alternative. On the continuous branch, the rate is a power of n, and the exponent is set by the probability of the one-block partition.
Theorem 7 (Error probabilities at a fixed alternative).
Fix ρ ∈ ( 0 , 1 ) .
(a)
For every n ≥ 2 , every test ϕ with sup θ > 0 E 0 , θ ϕ ≤ ρ , and every ( α , θ ) on either branch,
E α , θ ( 1 − ϕ ) ≥ ( 1 − ρ ) P α , θ ( K n = 1 ) = ( 1 − ρ ) ( 1 − α ) n − 1 ( θ + 1 ) n − 1 .
For fixed α ∈ ( 0 , 1 ) and θ > 0 , the right side is ( 1 − ρ ) Γ ( θ + 1 ) Γ ( 1 − α ) − 1 n − ( θ + α ) { 1 + o ( 1 ) } . On the lattice branch, it is of order n − ( m − 1 ) κ when m ≥ 2 , and it equals 1 − ρ when m = 1 . The tests based on T n do not reject on { K n = 1 } , so their type II errors are at least P α , θ ( K n = 1 ) .
(b)
Let α ∈ ( 0 , 1 ) and θ > 0 . Under P α , θ , T n / ( 3 K n ) 1 / 2 → 1 in probability, and K n / n α converges almost surely to a strictly positive limit ([1], Theorem 3.8). There are constants 0 < c ≤ C < ∞ , depending on ( α , θ , ρ ) , such that for every n ≥ 2 , the type II errors of the one-sided tests (11) and of Corollary 2 lie in [ c n − ( θ + α ) , C n − ( θ + α ) ] ; the same holds for the two-sided tests of Corollary 3.
(c)
Let ( α , θ ) = ( − κ , m κ ) with κ > 0 and m ∈ N . Almost surely, K n = m for all large n. If m = 1 , every test in (a) has power at most ρ at every n. If m ≥ 2 , the two-sided exact test ϕ n ± has power tending to one. Almost surely, T n / log n → − 6 / π when m = 2 and T n → − { 3 m ( m − 1 ) / ( m − 2 ) } 1 / 2 when m ≥ 3 ; the two-sided asymptotic test therefore has power tending to one whenever z 1 − ρ / 2 2 < 18 , and the one-sided test has power tending to zero whenever z 1 − ρ > − 18 .
Part (a) holds at every n and for every test whose level is controlled uniformly over the unknown strength. As θ ↓ 0 , the Ewens law concentrates on the one-block partition, so such a test rejects that partition with probability at most ρ , while under a fixed alternative, the one-block partition has a probability of order n − ( θ + α ) . Part (b) shows that all four proposed tests attain this rate. The two scales can be read off the statistic. Since T n 2 = 3 K n { 1 + o P ( 1 ) } and K n grows like n α , the p-value of a typical sample satisfies − log { 1 − Φ ( T n ) } = 3 2 K n { 1 + o P ( 1 ) } , of order n α , while the probability of failing to reject decays only like n − ( θ + α ) . On the lattice branch with a fixed number of types, the block count stops growing; the statistic then converges when m ≥ 3 and diverges only logarithmically when m = 2 . The exact two-sided test remains consistent for m ≥ 2 , and the asymptotic one does whenever z 1 − ρ / 2 2 < 18 ; for m = 1 , the partition is the one-block partition with probability one, and no test with a uniformly controlled level can detect it. Table A3 in Appendix B shows the approach to the polynomial regime at practical sample sizes.

6. Beyond the Local Neighborhood

The local experiment lives at the scale α ∼ L n − 3 / 2 . It is natural to ask how far the boundary neighborhood extends before the coarse features of the partition—first of all, the first-order growth of the block count—begin to move. The answer is that this happens only at the much coarser scale α ∼ 1 / L n , which is read off from the exact block-count moments.
The exact block-count moments of PY ( α , θ ) , α ∈ ( 0 , 1 ) follow from the sequential block-count recursion (derived in Appendix A.2), and they are recorded here for completeness. Writing R n ( t ) = Γ ( θ + n + t ) Γ ( θ ) / { Γ ( θ + t ) Γ ( θ + n ) } ,
E [ K n ] = θ α R n ( α ) − 1 , Var [ K n ] = θ ( θ + α ) α 2 R n ( 2 α ) − θ α R n ( α ) − θ α 2 R n ( α ) 2 .
Feeding the local scales into the mean in (14), and bounding the variance through a cancellation in the same formula so that Var [ K n ] = O ( L n ) (Appendix A, Lemma A4), gives the convergence in probability below. At the exact boundary α ≡ 0 , where (14) is singular, the same limit θ 0 comes instead from the Ewens law of large numbers.
Theorem 8 (Macroscopic crossover).
Fix θ at θ 0 . Along α n = c / L n with c > 0 fixed,
K n L n → P θ 0 e c − 1 c ,
whereas for any sequence with α n L n → 0 —in particular, the detection scale α n = h L n − 3 / 2 and the Ewens value α n ≡ 0 —
K n L n → P θ 0 .
By the second limit, the first-order growth coefficient is constant, equal to the Ewens value θ 0 , throughout the local neighborhood α n L n → 0 . It begins to move only at α n ≍ 1 / L n , where it rises to θ 0 ( e c − 1 ) / c , which is a curve that meets θ 0 continuously as c ↓ 0 .
The first-order coefficient is not the whole of the block count, and the two scales must be kept apart. At the detection scale, the block count does move by an amount of the order of its own standard deviation.
Corollary 4 (Block count at the detection scale).
Under the local law P ( 0 , θ 0 ) + D n − 1 ( h , g ) ( n ) ,
K n − θ 0 L n L n ⇝ N g + θ 0 h 2 , θ 0 .
Since K n = θ 0 S θ , n + E [ K n ] exactly and E [ K n ] = θ 0 L n + O ( 1 ) , the left side is θ 0 Δ n , θ + o P ( 1 ) , and the shift follows from Theorem 2 and Le Cam’s third lemma. A discount of size h L n − 3 / 2 therefore displaces the block count by θ 0 h / 2 on the L n scale of its own fluctuations—an O ( 1 ) number of standard deviations. What that displacement cannot do is identify the discount. It is exactly the displacement a strength g * = g + θ 0 h / 2 would produce on its own, which is why g * is the least-favorable null of Theorem 4 and why the block count alone leaves the two parameters confounded. The separation of scales in Theorem 8 is a statement about the leading coefficient of K n / L n ; it does not say the block count is insensitive to the discount.
Theorem 8 is subordinate to the local theory. It does not chart the intervening scales as a phase diagram. It certifies that the scale at which the block count changes to first order is strictly coarser than the scale at which the local experiment already distinguishes the boundary from its neighbors. In the species-sampling reading, this locates where a small discount begins to raise the number of types. Throughout the local window α = o ( 1 / log n ) , the expected number of types is still the neutral value θ 0 log n to first order. Only at α ≍ c / log n does the coefficient rise to θ 0 ( e c − 1 ) / c , which is above the neutral value by the factor ( e c − 1 ) / c > 1 . The first-order growth of the number of types thus responds to the discount later, on a coarser scale, than the likelihood does. By Corollary 4, though, the count is already displaced within its own fluctuations at the detection scale in a direction the strength can imitate.

7. An Application to Species Abundances

Williams [16] reports the Macro-Lepidoptera caught in a light trap at Rothamsted Experimental Station during 1935: n = 6813 individuals of K n = 195 species, of which 35 are represented by a single individual and 22 by two. Grouping individuals by species gives a partition of [ n ] whose block sizes are the species abundances. Fisher, Corbet and Williams [24] introduced the logarithmic series for samples of this kind, and Watterson [14] relates it to the Ewens partition, the strength playing the role of Fisher’s diversity index. A positive discount gives the abundance distribution a power-law tail, so the test of α = 0 compares the logarithmic series with heavier-tailed Pitman–Yor alternatives, the diversity index being unknown.
Table 4 reports the statistics. The restricted strength estimate is θ ˜ n = 37.3 . The standardization of T n computed from the observed profile information is ( L n 3 q ^ n ) 1 / 2 = 19.0 , whereas its limiting form ( L n 3 θ ˜ n / 12 ) 1 / 2 would be 46.2 ; at log n = 8.83 , the sample is far from the asymptotic regime, and the exact conditional test is the one to rely on. Its conditional null law given K n = 195 was obtained from 200,000 independent draws from the Ewens conditional law, sampled exactly (Appendix B), and its p-values are the Monte Carlo p-values of Section An Exact Conditional Test and Its Efficiency. The observed conditional score is U c , n = 39.7 , which is 2.10 conditional standard deviations above its conditional mean of zero; the one-sided Monte Carlo p-value is 0.019 , and the two-sided one, twice the smaller tail, is 0.039 . The asymptotic statistic is T n = 1.965 with one-sided normal p-value 0.025 . The conditional standard deviation of U c , n , 18.9 , is close to the standardization 19.0 , which is why the two tests give similar p-values here. Both one-sided tests reject the Ewens law at level 0.05 . The local estimate is α ^ n = 0.10 , and the unrestricted maximum-likelihood estimate is ( α ^ , θ ^ ) = ( 0.093 , 26.9 ) .
Table 4. Tests of the Ewens hypothesis α = 0 on Williams’ Rothamsted moth abundances (1935) with and without the most abundant species. The p-values are one-sided and two-sided for the two score statistics on the full data, one-sided on the reduced data, and upper-tail for homozygosity; a two-sided Monte Carlo p-value is twice the smaller tail. Monte Carlo p-values are ( 1 + # { draws at least as extreme } ) / ( B + 1 ) with B = 200 , 000 exact draws from the conditional law given K n . s.d., standard deviation.
The rejection rests on a single species. The most abundant species accounts for 1799 of the 6813 individuals or 26.4 % . Without it ( n = 5014 , K n = 194 ), the conditional score is 0.50 conditional standard deviations above its mean, with one-sided Monte Carlo p-value 0.31 , and T n = 0.37 . Nor do the rare species show the excess that a positive discount produces: 35 species are singletons against 37.1 expected under the Ewens law at θ ˜ n and 44.8 under the fitted Pitman–Yor law.
The Ewens–Watterson homozygosity statistic ∑ j ( n j / n ) 2 [15], calibrated on the same conditional draws, is far more extreme: 0.089 against a conditional mean of 0.026 , which is exceeded by 6 of the 200,000 draws. The most abundant species contributes 0.070 of the 0.089 , and the fitted Pitman–Yor law, whose expected homozygosity is 0.033 , does not account for it, either. The data therefore depart from the Ewens law mainly through one dominant species rather than through the heavy tail of a positive discount. The tests also assume an exchangeable partition, and a light-trap catch pooled over a season need not be one: species differ in their attraction to light, and a species caught in large numbers on a few nights would inflate one abundance in just this way, so the analysis concerns the law of the observed partition rather than the ecological mechanism that produced it.

8. Discussion

Three features of the boundary shape the results: the discount and the strength are learned on different logarithmic scales, their scores are correlated, and on the continuous branch, the discount is one-sided. We expect this structure not to be special to the Ewens point. Consider any Gibbs-type partition family in which a one-sided parameter enters the block-creation weights with a factor that grows with the number of blocks. Its score should sit one logarithmic order above that of a parameter acting through the block count alone, giving an anisotropic rate pair. Because the two respond to the same creation events, their scores should be correlated, and profiling out the second parameter again costs information. How much of the anisotropic-cone picture, and of the fourfold penalty in particular, carries to such families is the question the mechanism raises. A second is inference from the block count alone: with the strength unknown, K n confounds the local discount with the local strength (Corollary 4), and whether the accumulation curve ( K m ) m ≤ n separates them is open. A third concerns several partitions that share a discount, as in multi-sample and hierarchical Pitman–Yor models, where the boundary experiment would combine group-level experiments with group-specific strengths. A fourth is inference for the number of types m on the negative branch: Remark 2 locates the scale m ≍ ( log n ) 3 / 2 at which it becomes detectable, and the lattice structure makes m an integer-valued parameter whose estimation theory is not covered here.
Beyond those extensions, four problems are left open within the boundary analysis itself. The first is whether the cone projection is attained by an unrestricted maximum-likelihood point over the growing local set C n of (4). This needs a consistency-and-rate argument, in the constrained M-estimation framework of Geyer [25], for a criterion that is concave only on fixed boxes (Lemma 2) and convex in the strength tail. The feasible procedures of Section 4 do not require it, being functions of the restricted score; its resolution would, however, complete the estimation theory. The second is a boundary phase diagram of the intermediate scales L n − 3 / 2 ≪ α n ≪ L n − 1 , where Theorem 8 fixes only the first-order growth of K n , and the fluctuations of K n and of the likelihood ratio are not described. The third is the rate of the normal approximation. The effective sample size is log n , the calibration of the asymptotic test approaches its limit slowly (Appendix B), and no Berry–Esseen-type bound is available for T n ; one would quantify the calibration error at realistic sample sizes. The fourth concerns the exact conditional test of Section An Exact Conditional Test and Its Efficiency. Its level is exact for every strength and every n, Theorem 5 identifies its score with the efficient one, and Theorem 7(b) gives the rate of its type II error at each fixed alternative with 0 < α < 1 and θ > 0 . Whether its random conditional critical value satisfies c n , ρ ( K n ) / ( L n 3 / 2 q 0 ) → P z 1 − ρ —so that its local power against a fixed h > 0 reaches the bound of Theorem 4—is open; a conditional central limit theorem for U c , n given K n would settle it, and the unconditional equivalence does not deliver one. Its resolution would complete the efficiency theory of the exact test.

9. Conclusions

We have developed the local asymptotics of the Pitman–Yor discount at its Ewens boundary and turned them into inference on the observed partition. The boundary carries an anisotropic Gaussian-shift experiment in which the discount and the strength are learned at the rates ( log n ) − 3 / 2 and ( log n ) − 1 / 2 with correlated scores; on the continuous branch, the local parameter set is a half-plane cone, and with the Dirichlet–multinomial branch of negative discounts, it is the whole plane. Profiling out the unknown strength costs a factor of four in information, from θ 0 / 3 to θ 0 / 12 . This yields calibrated one- and two-sided tests of α = 0 —the Ewens model against the broader Pitman–Yor family—that need no knowledge of the strength and attain the local power bounds of Theorem 4 and Corollary 3 over their stated classes, together with a chi-bar form and a discount estimate. The same hypothesis also admits an exact treatment. The block count is sufficient for the strength, so conditioning on it removes the nuisance at every sample size, and the resulting randomized conditional tests have an exact level for every strength while their score agrees with the efficient one to the order of the local experiment. At a fixed alternative with 0 < α < 1 and θ > 0 , the type II errors of both tests decay like n − ( θ + α ) , and no test whose level is controlled over all strengths can do better, because such a test must accept the one-block partition with probability at least 1 − ρ , and that partition has a probability of this order. The first-order growth of the block count, in contrast, moves only on a coarser scale, though the count itself is displaced within its own fluctuations already at the detection scale in a direction the strength imitates. The caveat that governs practice is that the effective sample size at the boundary is log n , so in the simulations, the asymptotically calibrated procedures are conservative at realistic n, which makes the exact conditional route the practical one. On Williams’ Rothamsted moth abundances, it rejects the Ewens law with p-value 0.019 , but the rejection rests on the single most abundant species, which the Pitman–Yor fit does not explain, either. Extending the cone projection to an unrestricted global maximizer, and establishing the conditional limit that would let the exact test be compared with the power bounds, are the natural next steps.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/math14193544/s1, File S1: archive of the code and data that reproduce all numerical results in this article (the same archive as in the Data Availability Statement).

Author Contributions

H.Y.: Conceptualization, Methodology, Software, Formal analysis, Writing—original draft, Writing—review and editing. L.S.: Data curation, Visualization, Writing—review and editing. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China (Grant/Award Numbers: 72571028).

Data Availability Statement

The data analyzed in Section 7 are published in Williams [16] and distributed as the dataset moths of the R package gambin (version 2.5.0) [26]. The code that reproduces all numerical results, together with a copy of these data, is openly available in Zenodo at https://doi.org/10.5281/zenodo.22887837.

Acknowledgments

During the preparation of this work the authors used Claude Opus 4.8 and Claude Opus 5 (Anthropic) for textual polishing and grammar checking. After using this tool the authors reviewed and edited the content as necessary and take full responsibility for the content of the publication.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Proofs

Throughout, expectations and probabilities without a subscript are under the Ewens law P 0 , θ 0 ( n ) ; ( F i ) is the sequential filtration of Section 3; L n = log n ; and J 0 , D n and q 0 = θ 0 / 12 are the information matrix, the anisotropic scaling and the profile information displayed in Section 3. Write B i = 1 { integer i opens a new block } so that under the Ewens law, P ( B i = 1 ∣ F i − 1 ) = θ 0 / ( θ 0 + i − 1 ) and K n = ∑ i = 1 n B i . Under the Ewens law, K n / log n → θ 0 almost surely [18].

Appendix A.1. Auxiliary Lemmas

The four lemmas below isolate the load-bearing asymptotic steps; the main proofs invoke them by name.
Lemma A1 (Weighted Ewens sums).
Let a i ≥ 0 be deterministic with A n = ∑ i = 1 n a i → ∞ , and let ( X i ) be random variables with X i → X almost surely. Then A n − 1 ∑ i = 1 n a i X i → X almost surely. Combining this with the Ewens strong law K i − 1 / log i → θ 0 almost surely gives, under P 0 , θ 0 ( n ) ,
L n − 3 ∑ i = 1 n K i − 1 2 θ 0 ( θ 0 + i − 1 ) → P θ 0 3 , L n − 2 ∑ i = 1 n K i − 1 θ 0 ( θ 0 + i − 1 ) → P 1 2 , L n − 1 ∑ i = 1 n 1 θ 0 ( θ 0 + i − 1 ) → 1 θ 0 ,
together with ∑ i = 1 n K i − 1 / i = O P ( L n 2 ) from the same strong law; the deterministic bound ∑ i = 1 n 1 / i = O ( L n ) is separate.
Proof. 
Given ε > 0 , choose N with | X i − X | < ε for i > N ; then,
A n − 1 ∑ i a i X i − X ≤ A n − 1 ∑ i ≤ N a i | X i − X | + ε ,
and the first term vanishes as A n → ∞ , giving the Toeplitz limit. For the first display, take the sums from i = 2 , since X 1 is not defined, and put a i = ( log i ) 2 / ( θ 0 ( θ 0 + i − 1 ) ) , so that A n = θ 0 − 1 L n 3 / 3 ( 1 + o ( 1 ) ) , and X i = K i − 1 2 / ( log i ) 2 → θ 0 2 almost surely by the Ewens strong law K i − 1 / log i → θ 0 recalled above; the Toeplitz limit gives ∑ i K i − 1 2 / ( θ 0 ( θ 0 + i − 1 ) ) = θ 0 2 A n ( 1 + o ( 1 ) ) , so L n − 3 times it tends to θ 0 / 3 . The second uses a i = ( log i ) / ( θ 0 ( θ 0 + i − 1 ) ) , A n = θ 0 − 1 L n 2 / 2 ( 1 + o ( 1 ) ) , X i = K i − 1 / log i → θ 0 ; the third is deterministic. The remainder orders follow from ∑ i ( log i ) / i = L n 2 / 2 + O ( L n ) and, by the monotonicity of K i , ∑ i K i − 1 / i ≤ K n ∑ i i − 1 = O P ( L n 2 ) .    □
Lemma A2 (Anisotropic third-order remainder).
For every compact K ⊂ C , uniformly for ( α , θ ) = ( 0 , θ 0 ) + s D n − 1 u with u ∈ K , s ∈ [ 0 , 1 ] ,
∂ α 3 ℓ n = O P ( L n 4 ) , ∂ α 2 ∂ θ ℓ n = O P ( L n 3 ) , ∂ α ∂ θ 2 ℓ n = O P ( L n 2 ) , ∂ θ 3 ℓ n = O P ( L n ) ,
so the third-order Taylor remainder r n in the expansion of ℓ n about ( 0 , θ 0 ) satisfies sup u ∈ K | r n ( u ) | = O P ( L n − 1 / 2 ) .
Proof. 
On K , one has α ≤ M L n − 3 / 2 , so i α ≤ K n M L n − 3 / 2 → 0 (as K n = O P ( L n ) ) and θ → θ 0 ; hence, ( θ + i α ) − p = θ 0 − p ( 1 + o P ( 1 ) ) uniformly. Differentiating ℓ n in (2): ∂ α 3 ℓ n = 2 ∑ i < K n i 3 / ( θ + i α ) 3 + ∑ j { ψ ′ ′ ( 1 − α ) − ψ ′ ′ ( n j − α ) } = O P ( K n 4 ) + O P ( K n ) = O P ( L n 4 ) ; ∂ α 2 ∂ θ ℓ n = 2 ∑ i < K n i 2 / ( θ + i α ) 3 = O P ( K n 3 ) ; ∂ α ∂ θ 2 ℓ n = 2 ∑ i < K n i / ( θ + i α ) 3 = O P ( K n 2 ) ; and ∂ θ 3 ℓ n = 2 ∑ i < K n ( θ + i α ) − 3 − { ψ ′ ′ ( θ + n ) − ψ ′ ′ ( θ + 1 ) } = O P ( K n ) + O ( 1 ) . The Taylor term of order ( a , b ) with a + b = 3 carries the scaling ( L n − 3 / 2 ) a ( L n − 1 / 2 ) b = L n − ( 3 a + b ) / 2 , which is equal to L n − 9 / 2 , L n − 7 / 2 , L n − 5 / 2 , L n − 3 / 2 for ( 3 , 0 ) , ( 2 , 1 ) , ( 1 , 2 ) , ( 0 , 3 ) . Multiplied by the derivative orders above, each contributes O P ( L n − 1 / 2 ) , and summing the finitely many terms with coefficients bounded on K gives the remainder bound.    □
Lemma A3 (Restricted root rate and profile-information consistency).
Let F n ( θ ) = ∑ m = 1 n − 1 θ / ( θ + m ) . On { 1 < K n < n } , the root θ ˜ n of F n ( θ ˜ n ) = K n − 1 satisfies θ ˜ n → P θ 0 and
L n 1 / 2 ( θ ˜ n − θ 0 ) = θ 0 L n − 1 / 2 S θ , n + o P ( 1 ) .
Moreover, the scaled observed information J ^ n = D n − 1 { − ∇ 2 ℓ n ( 0 , θ ˜ n ) } D n − 1 → P J 0 , so q ^ n → P q 0 .
Proof. 
F n is strictly increasing with F n ′ ( θ ) = ∑ m = 1 n − 1 m / ( θ + m ) 2 = L n + O ( 1 ) and F n ″ ( θ ) = − 2 ∑ m = 1 n − 1 m / ( θ + m ) 3 = O ( 1 ) uniformly on a neighborhood of θ 0 . The identity K n − 1 − F n ( θ 0 ) = θ 0 S θ , n holds exactly, since F n ( θ 0 ) = θ 0 { ψ ( θ 0 + n ) − ψ ( θ 0 + 1 ) } and ψ ( θ 0 + 1 ) − ψ ( θ 0 ) = 1 / θ 0 ; and S θ , n = O P ( L n 1 / 2 ) by Theorem 1. Because K n / L n → P θ 0 while F n ( θ 0 ± ε ) / L n → θ 0 ± ε , monotonicity forces θ ˜ n ∈ ( θ 0 − ε , θ 0 + ε ) with probability tending to one, so θ ˜ n → P θ 0 . Expanding F n ( θ ˜ n ) − F n ( θ 0 ) = F n ′ ( θ 0 ) ( θ ˜ n − θ 0 ) + 1 2 F n ″ ( ξ ) ( θ ˜ n − θ 0 ) 2 = θ 0 S θ , n and using F n ′ ( θ 0 ) = L n ( 1 + o ( 1 ) ) gives first | θ ˜ n − θ 0 | = O P ( L n − 1 / 2 ) , whence the quadratic term is O ( 1 ) · O P ( L n − 1 ) = O P ( L n − 1 ) and L n 1 / 2 ( θ ˜ n − θ 0 ) = θ 0 L n − 1 / 2 S θ , n { L n / F n ′ ( θ 0 ) } + o P ( 1 ) = θ 0 L n − 1 / 2 S θ , n + o P ( 1 ) . Finally, each entry of J ^ n ( 0 , θ ) is smooth in θ with θ -derivative O P ( 1 ) —for instance, ∂ θ { L n − 3 ∑ i < K n i 2 / θ 2 } = − 2 L n − 3 ∑ i < K n i 2 / θ 3 = O P ( 1 ) as L n − 3 K n 3 = O P ( 1 ) , and the α θ and θ θ entries the same way. So, by the mean value theorem and θ ˜ n − θ 0 = O P ( L n − 1 / 2 ) , J ^ n ( 0 , θ ˜ n ) = J ^ n ( 0 , θ 0 ) + O P ( L n − 1 / 2 ) → P J 0 , the base point converging by the computation in the proof of Theorem 2. Hence, q ^ n → P q 0 by continuity of the Schur complement.    □
Lemma A4 (Uniform gamma-ratio bounds).
Write f n ( t ) = log R n ( t ) , where R n ( t ) = Γ ( θ 0 + n + t ) Γ ( θ 0 ) / { Γ ( θ 0 + t ) Γ ( θ 0 + n ) } is the ratio in (14) at θ = θ 0 . For sequences α n → 0 with α n L n = O ( 1 ) , uniformly in t ∈ [ 0 , 2 α n ] , f n ′ ( t ) = L n + O ( 1 ) and | f n ′ ′ ( t ) | ≤ ψ ′ ( θ 0 ) + o ( 1 ) . Hence, | f n ( 2 α n ) − 2 f n ( α n ) + f n ( 0 ) | ≤ { ψ ′ ( θ 0 ) + o ( 1 ) } α n 2 , so R n ( 2 α n ) − R n ( α n ) 2 = O ( α n 2 ) uniformly in n. That cancellation controls one of the two groupings of the variance in (14) and the first-derivative bound controls the other, giving Var [ K n ] = O ( L n ) under PY ( α n , θ 0 ) , and hence Var [ K n / L n ] = O ( L n − 1 ) → 0 there.
Proof. 
f n ( t ) = log Γ ( θ 0 + n + t ) − log Γ ( θ 0 + t ) − log Γ ( θ 0 + n ) + log Γ ( θ 0 ) , so f n ( 0 ) = 0 , f n ′ ( t ) = ψ ( θ 0 + n + t ) − ψ ( θ 0 + t ) and f n ″ ( t ) = ψ ′ ( θ 0 + n + t ) − ψ ′ ( θ 0 + t ) . As ψ ( θ 0 + n + t ) = L n + O ( 1 ) and ψ ( θ 0 + t ) = O ( 1 ) on [ 0 , 2 α n ] , f n ′ = L n + O ( 1 ) ; as ψ ′ ( θ 0 + n + t ) = O ( 1 / n ) and ψ ′ ( θ 0 + t ) = ψ ′ ( θ 0 ) + O ( α n ) , | f n ″ | ≤ ψ ′ ( θ 0 ) + o ( 1 ) . The second-difference bound follows from f n ( 2 a ) − 2 f n ( a ) + f n ( 0 ) = ∫ 0 a ∫ s a + s f n ″ ( v ) d v d s . Writing R n ( 2 a ) − R n ( a ) 2 = e 2 f n ( a ) { e f n ( 2 a ) − 2 f n ( a ) − 1 } with f n ( a ) = a f n ′ ( ξ ) = α n L n ( 1 + o ( 1 ) ) = O ( 1 ) and f n ( 2 a ) − 2 f n ( a ) = O ( α n 2 ) gives O ( α n 2 ) . Grouping the variance in (14) as Var [ K n ] = ( θ 0 / α n ) 2 { R n ( 2 α n ) − R n ( α n ) 2 } + ( θ 0 / α n ) { R n ( 2 α n ) − R n ( α n ) } , the first term is O ( 1 ) . For the second, f n ( 2 α n ) − f n ( α n ) = α n f n ′ ( ξ ) = O ( α n L n ) and R n ( α n ) = e f n ( α n ) = O ( 1 ) give R n ( 2 α n ) − R n ( α n ) = R n ( α n ) { e f n ( 2 α n ) − f n ( α n ) − 1 } = O ( α n L n ) , so ( θ 0 / α n ) { R n ( 2 α n ) − R n ( α n ) } = O ( L n ) . Hence, Var [ K n ] = O ( L n ) .    □
Proof of Proposition 1.
Differentiating the sequential log-likelihood ℓ n ( α , θ ) = ∑ i = 1 n log π i ( α , θ ) , where π i is the conditional probability of step i, at ( 0 , θ 0 ) gives, for the new-block steps, ∂ α log π i = K i − 1 / θ 0 , and for a join into a block of size m, ∂ α log π i = − 1 / m . Summing the first over the new-block steps, at which K i − 1 takes the values 0 , 1 , … , K n − 1 , gives θ 0 − 1 ∑ k = 0 K n − 1 k = K n ( K n − 1 ) / ( 2 θ 0 ) . Summing the second over all joins into a block that ends at size n j , whose successive pre-join sizes are 1 , … , n j − 1 , gives − ∑ j ∑ s = 1 n j − 1 s − 1 = − ∑ j H n j − 1 . The two contributions together are S α , n in (9). Likewise ∂ θ log π i = B i / θ 0 − 1 / ( θ 0 + i − 1 ) , and summing gives S θ , n = K n / θ 0 − ∑ i = 1 n ( θ 0 + i − 1 ) − 1 = K n / θ 0 − { ψ ( θ 0 + n ) − ψ ( θ 0 ) } . The same two step contributions, written as single increments, are ξ i = B i K i − 1 / θ 0 − ( 1 − B i ) / m i (with m i the size joined at step i) and ζ i = B i / θ 0 − ( θ 0 + i − 1 ) − 1 , so that S α , n = ∑ i ξ i and S θ , n = ∑ i ζ i . A direct conditional expectation gives E [ ξ i ∣ F i − 1 ] = K i − 1 / ( θ 0 + i − 1 ) − K i − 1 / ( θ 0 + i − 1 ) = 0 and E [ ζ i ∣ F i − 1 ] = 0 , using that a join lands in a block of size m with probability m / ( θ 0 + i − 1 ) .    □
Proof of Theorem 1.
By Proposition 1, the scaled scores are martingale sums, so the martingale central limit theorem (Hall and Heyde [27], Cor. 3.1) applies once the sums of conditional variances converge and a conditional Lindeberg condition holds.
E [ ξ i 2 ∣ F i − 1 ] = θ 0 θ 0 + i − 1 K i − 1 θ 0 2 + 1 θ 0 + i − 1 ∑ b 1 n b = K i − 1 2 θ 0 ( θ 0 + i − 1 ) + O K i − 1 i .
By Lemma A1, L n − 3 ∑ i K i − 1 2 / ( θ 0 ( θ 0 + i − 1 ) ) → P θ 0 / 3 , the O ( K i − 1 / i ) remainders in E [ ξ i 2 ∣ F i − 1 ] summing to O P ( L n 2 ) = o P ( L n 3 ) , so L n − 3 ∑ i E [ ξ i 2 ∣ F i − 1 ] → P θ 0 / 3 . For the strength score, E [ ζ i 2 ∣ F i − 1 ] = θ 0 − 2 Var ( B i ∣ F i − 1 ) = ( θ 0 ( θ 0 + i − 1 ) ) − 1 ( 1 + o ( 1 ) ) , so L n − 1 ∑ i E [ ζ i 2 ∣ F i − 1 ] → P 1 / θ 0 . For the cross-term, E [ ξ i ζ i ∣ F i − 1 ] = K i − 1 / ( θ 0 ( θ 0 + i − 1 ) ) + O ( i − 1 ) , and again by Lemma A1, the ( 1 , 2 ) entry of D n − 1 ( ∑ i E [ · ∣ F i − 1 ] ) D n − 1 , namely L n − 2 ∑ i E [ ξ i ζ i ∣ F i − 1 ] , converges to 1 / 2 . These three limits give, for every fixed λ ∈ R 2 , the conditional-variance limit λ ⊤ J 0 λ for the scalar array λ ⊤ D n − 1 ( ξ i , ζ i ) ⊤ . Its maximal increment is bounded by | λ | { L n − 3 / 2 max i | ξ i | + L n − 1 / 2 max i | ζ i | } = O P ( L n − 1 / 2 ) → 0 , since max i | ξ i | = O P ( L n ) by K n / L n → P θ 0 , and | ζ i | ≤ θ 0 − 1 + 1 , so conditional Lindeberg holds. The scalar martingale central limit theorem then gives λ ⊤ D n − 1 ( S α , n , S θ , n ) ⊤ ⇝ N ( 0 , λ ⊤ J 0 λ ) for every λ , and the Cramér–Wold device gives D n − 1 ( S α , n , S θ , n ) ⊤ ⇝ N ( 0 , J 0 ) . The limit is nondegenerate: det J 0 = θ 0 / 3 · 1 / θ 0 − 1 / 4 = 1 / 12 > 0 .    □
Proof of Theorem 2.
A second-order Taylor expansion of ℓ n at ( 0 , θ 0 ) in the direction D n − 1 u gives
ℓ n ( ( 0 , θ 0 ) + D n − 1 u ) − ℓ n ( 0 , θ 0 ) = u ⊤ Δ n − 1 2 u ⊤ J 0 ^ n u + r n ( u ) ,
where Δ n = D n − 1 ( S α , n , S θ , n ) ⊤ and J 0 ^ n = D n − 1 { − ∇ 2 ℓ n ( 0 , θ 0 ) } D n − 1 is the scaled observed information. A computation parallel to Theorem 1, using − ∂ α 2 ℓ n ( 0 , θ 0 ) = ∑ i = 1 K n − 1 i 2 / θ 0 2 + ∑ j { ψ ′ ( 1 ) − ψ ′ ( n j ) } , − ∂ θ 2 ℓ n ( 0 , θ 0 ) = ( K n − 1 ) / θ 0 2 − { ψ ′ ( θ 0 + 1 ) − ψ ′ ( θ 0 + n ) } and − ∂ α ∂ θ ℓ n ( 0 , θ 0 ) = K n ( K n − 1 ) / ( 2 θ 0 2 ) , gives J 0 ^ n → P J 0 (the three convergences being those of Lemma A1). By Lemma A2, the third-order remainder satisfies sup u ∈ K | r n ( u ) | = O P ( L n − 1 / 2 ) → P 0 . Combining that expansion with Theorem 1 gives the stated quadratic form. Contiguity is Le Cam’s first lemma applied to the Gaussian-shift limit; the convergence of experiments to { N ( J 0 u , J 0 ) } follows from the convergence of the localized likelihood ratios [28,29].    □
Proof of Proposition 2.
By Lemma A3, the restricted root is consistent, θ ˜ n → P θ 0 , with the linear expansion L n 1 / 2 ( θ ˜ n − θ 0 ) = θ 0 L n − 1 / 2 S θ , n + o P ( 1 ) = J 0 , θ θ − 1 L n − 1 / 2 S θ , n + o P ( 1 ) (using J 0 , θ θ = 1 / θ 0 ). Next, with U α , n ( θ ) = ∂ α ℓ n ( 0 , θ ) = K n ( K n − 1 ) / ( 2 θ ) − ∑ j H n j − 1 ,   
U α , n ( θ ˜ n ) = U α , n ( θ 0 ) − K n ( K n − 1 ) 2 θ 0 2 ( θ ˜ n − θ 0 ) + R n , | R n | ≤ C K n 2 ( θ ˜ n − θ 0 ) 2 = O P ( L n ) ,
so L n − 3 / 2 R n = o P ( 1 ) . Since K n ( K n − 1 ) / ( 2 θ 0 2 L n 2 ) → P 1 2 = J 0 , α θ and U α , n ( θ 0 ) = S α , n , dividing by L n 3 / 2 and inserting the strength expansion gives
L n − 3 / 2 ∂ α ℓ n ( 0 , θ ˜ n ) = L n − 3 / 2 S α , n − J 0 , α θ J 0 , θ θ L n − 1 / 2 S θ , n + o P ( 1 ) ,
the efficient score, with limiting variance the Schur complement J 0 , α α − J 0 , α θ 2 / J 0 , θ θ = θ 0 / 3 − ( 1 / 2 ) 2 / ( 1 / θ 0 ) = θ 0 / 12 = q 0 . Written in terms of L n 1 / 2 ( θ ˜ n − θ 0 ) , whose expansion already carries the factor J 0 , θ θ − 1 , the plug-in shift is J 0 , α θ L n 1 / 2 ( θ ˜ n − θ 0 ) , which is O P ( 1 ) on the score scale—not o P ( 1 ) —which is why standardizing by θ 0 / 3 is invalid.    □
Proof of Theorem 3.
Under the local law, contiguity (Theorem 2) and Le Cam’s third lemma give the joint convergence of L n − 3 / 2 S α , n and L n − 1 / 2 S θ , n to normal limits with variances θ 0 / 3 and 1 / θ 0 and local means
( J 0 u ) α = θ 0 3 h + 1 2 g , ( J 0 u ) θ = 1 2 h + g θ 0 .
By Proposition 2, the numerator of T n converges to the efficient score, whose mean is ( J 0 u ) α − ( J 0 , α θ / J 0 , θ θ ) ( J 0 u ) θ = q 0 h and whose variance is q 0 , the g-terms cancelling. Since q ^ n → P q 0 , T n ⇝ N ( h q 0 , 1 ) ; the level and power follow.    □
Proof of Lemma 2.
Write E ( α ) = K n ψ ′ ( 1 − α ) − ∑ j ψ ′ ( n j − α ) ≥ 0 (each ψ ′ ( n j − α ) ≤ ψ ′ ( 1 − α ) as ψ ′ decreases and n j − α ≥ 1 − α ) so that − ∂ α 2 ℓ n ( α , θ ) = ∑ i = 1 K n − 1 i 2 / ( θ + i α ) 2 + E ( α ) . For n ≥ 2 , this is strictly positive—by the first term if K n ≥ 2 , else by E ( α ) > 0 —which is the deterministic strict α -concavity. For the joint Hessian on H M : with α = h L n − 3 / 2 , θ = θ 0 + g L n − 1 / 2 and ( h , g ) ∈ H M , one has i α ≤ K n M L n − 3 / 2 → 0 on the event { K n ≍ L n } , so the weights w i = ( θ + i α ) − 2 satisfy c M ≤ w i ≤ C M for constants 0 < c M ≤ C M < ∞ free of n, with probability tending to one. Put m = K n − 1 , A = ∑ i 2 w i , B = ∑ w i , C = ∑ i w i , D = ψ ′ ( θ + 1 ) − ψ ′ ( θ + n ) . Then, B − D ≥ c M m − ψ ′ ( θ 0 / 2 ) > 0 for large n, and by the Lagrange identity, used as a lower bound,
A B − C 2 = ∑ 1 ≤ i < j ≤ m w i w j ( j − i ) 2 ≥ c M 2 ∑ i < j ( j − i ) 2 = c M 2 m 2 ( m 2 − 1 ) 12 ,
while A D = O ( m 3 ) ( A = O ( C M m 3 ) , D = O ( 1 ) ). Since − H α α = A + E ( α ) ≥ A , − H θ θ = B − D > 0 and − H α θ = C ,
det ( − H ) = ( A + E ) ( B − D ) − C 2 ≥ A B − C 2 − A D ≥ c M 2 m 2 ( m 2 − 1 ) 12 − O ( m 3 ) > 0
for large m. A positive determinant together with − H θ θ > 0 makes − H positive definite, so on an event A n , M with P ( A n , M ) → 1 , the observed information is positive definite throughout H M , so the affinely reparameterized criterion is strictly concave there. (Global joint concavity is false: θ 2 ∂ θ θ 2 ℓ n → n − K n > 0 as θ → ∞ when K n < n .)    □
Proof of Proposition 3.
Maximize Q ( u ) = u ⊤ Z − 1 2 u ⊤ J 0 u over u = ( h , g ) ∈ C . For fixed h, the objective is concave in g, and ∂ g Q = Z θ − ( 1 2 h + g / θ 0 ) = 0 gives g ^ = θ 0 Z θ − θ 0 2 h ; substituting leaves the profiled objective Z eff h − 1 2 q 0 h 2 , up to an additive term free of h that cancels in the likelihood ratio below, over h ≥ 0 , with Z eff = Z α − θ 0 2 Z θ and profile information q 0 = θ 0 / 12 . This is maximized at h ^ = ( Z eff / q 0 ) + , giving u ^ = ( h ^ , θ 0 Z θ − θ 0 2 h ^ ) , which is the J 0 -projection of J 0 − 1 Z onto C . The likelihood ratio statistic for H 0 : h = 0 equals 2 { max h ≥ 0 ( Z eff h − 1 2 q 0 h 2 ) − 0 } = ( Z eff ) + 2 / q 0 . Under H 0 , Z eff ∼ N ( 0 , q 0 ) , so P ( h ^ = 0 ) = P ( Z eff ≤ 0 ) = 1 2 and ( Z eff / q 0 ) + 2 ∼ 1 2 δ 0 + 1 2 χ 1 2 [20,21,30].    □
Proof of Corollary 1.
By Theorem 3, T n ⇝ N ( h q 0 , 1 ) under the local law. The map x ↦ ( x ) + 2 is continuous, so ( T n ) + 2 ⇝ N ( h q 0 , 1 ) + 2 ; under H 0 ( h = 0 ), this is ( N ( 0 , 1 ) + ) 2 ∼ 1 2 δ 0 + 1 2 χ 1 2 , giving the level statement. For the estimate, T n / q ^ n = L n − 3 / 2 ∂ α ℓ n ( 0 , θ ˜ n ) / q ^ n ; by Proposition 2 and Le Cam’s third lemma, the numerator converges to Z eff ∼ N ( q 0 h , q 0 ) , and q ^ n → P q 0 by Lemma A3, so T n / q ^ n ⇝ Z eff / q 0 and the continuous map x ↦ ( x ) + gives h ^ n ⇝ ( Z eff / q 0 ) + . Under H 0 , Z eff ∼ N ( 0 , q 0 ) is negative with probability 1 2 , so the limit places mass 1 2 at zero. The exceptional event B n has P 0 , θ 0 ( n ) ( B n ) → 0 , since K n → ∞ and K n / n → 0 (from K n / L n → P θ 0 ) rule out K n ∈ { 1 , n } while q ^ n → P q 0 > 0 as just shown. By the mutual contiguity of Theorem 2, the same holds under the local law, so setting the three statistics to zero on B n changes them only by o P ( 1 ) and does not affect these continuous-mapping limits.    □
Proof of Theorem 4.
Fix an alternative ( h , g ) with h > 0 , and set g * = g + ( J 0 , α θ / J 0 , θ θ ) h = g + θ 0 h / 2 , u 1 = ( h , g ) , u 0 = ( 0 , g * ) . Then, u 1 − u 0 = ( h , − θ 0 h / 2 ) and ( u 1 − u 0 ) ⊤ J 0 ( u 1 − u 0 ) = θ 0 3 h 2 − θ 0 2 h 2 + θ 0 4 h 2 = θ 0 12 h 2 = q 0 h 2 . By the two-point form of Theorem 2, under P ( 0 , θ 0 ) + D n − 1 u 0 ( n ) , the log-likelihood ratio log ( d P n , u 1 / d P n , u 0 ) ⇝ N ( − 1 2 q 0 h 2 , q 0 h 2 ) . For ( ϕ n ) ∈ T ρ , the size condition at g * gives lim sup n E n , u 0 ( n ) ϕ n ≤ ρ ; the asymptotic Neyman–Pearson lemma for a simple-versus-simple pair with this Gaussian-shift ratio then yields lim sup n E n , u 1 ( n ) ϕ n ≤ 1 − Φ ( z 1 − ρ − h q 0 ) . By Theorem 3 with h = 0 , the feasible test has limiting size ρ at every local strength, so it belongs to T ρ , and its limiting power at ( h , g ) equals the right-hand side. If size is controlled only on | g | ≤ G , the argument applies exactly when g * ∈ [ − G , G ] .    □

Appendix A.2. Conditioning on the Block Count

The three proofs below concern the exact route: the conditional likelihood, its score, and the test built from that score.
Proof of Lemma 1.
In (5), the strength enters only through V n , k ( α , θ ) , which depends on the partition through k = K ( π ) alone. Summing (5) over the partitions with K ( π ) = k gives P α , θ ( K n = k ) = V n , k ( α , θ ) C n , k ( α ) with C n , k as in (6), and dividing (5) by this yields (7), in which V n , k has cancelled; the right side involves α only. For (8), split the partitions of [ n + 1 ] with k blocks according to the block containing n + 1 . If that block is the singleton { n + 1 } , deleting it gives a partition of [ n ] with k − 1 blocks and the same weight, since ( 1 − α ) 0 = 1 ; these contribute C n , k − 1 ( α ) . Otherwise, deleting n + 1 from its block gives a partition of [ n ] with k blocks in which that block has some size m ≥ 1 ; restoring n + 1 to it multiplies the weight by ( 1 − α ) m / ( 1 − α ) m − 1 = m − α . Summing that factor over the blocks of a fixed partition of [ n ] , whose sizes are n 1 , … , n k , gives ∑ j ( n j − α ) = n − α k , so these contribute ( n − α k ) C n , k ( α ) . Adding the two cases gives (8). At α = 0 , the recurrence is C n + 1 , k ( 0 ) = n C n , k ( 0 ) + C n , k − 1 ( 0 ) with C 1 , 1 ( 0 ) = 1 , which is the recurrence and initial value of the unsigned Stirling numbers of the first kind, so C n , k ( 0 ) = c ( n , k ) . The size factors reduce at the same time to ∏ j ( 1 ) n j − 1 = ∏ j ( n j − 1 ) ! , so the weight at α = 0 is the Ewens one. Since the conditional law (7) is free of θ , the block count is sufficient for θ at every fixed discount, and in particular under the null α = 0 [2,14].    □
Proof of Lemma 3.
Differentiating (8) at α = 0 gives D n + 1 , k = n D n , k − k c ( n , k ) + D n , k − 1 with D 1 , 1 = 0 . We show D n , k = − 1 2 k ( k + 1 ) c ( n , k + 1 ) by induction on n. It holds at n = 1 , both sides vanishing. Assuming it at n,
D n + 1 , k = − 1 2 k ( k + 1 ) n c ( n , k + 1 ) − k c ( n , k ) − 1 2 ( k − 1 ) k c ( n , k ) = − 1 2 k ( k + 1 ) n c ( n , k + 1 ) + c ( n , k ) ,
using 2 k + ( k − 1 ) k = k ( k + 1 ) , and the Stirling recurrence c ( n + 1 , k + 1 ) = n c ( n , k + 1 ) + c ( n , k ) identifies the brace as c ( n + 1 , k + 1 ) . Separately, differentiating (6) term by term at α = 0 and using ∂ α log ( 1 − α ) m − 1 | α = 0 = ψ ( 1 ) − ψ ( m ) = − H m − 1 gives
D n , k = − ∑ π : K ( π ) = k ∏ j ( n j − 1 ) ! ∑ j H n j − 1 = − c ( n , k ) E 0 ∑ j H n j − 1 | K n = k ,
the last step by the conditional law ∏ j ( n j − 1 ) ! / c ( n , k ) of Lemma 1. Equating the two expressions gives (13). Finally, in (12), the term K n ( K n − 1 ) / ( 2 θ 0 ) of S α , n is a function of K n and therefore cancels against its own conditional mean, leaving U c , n = E 0 [ ∑ j H n j − 1 ∣ K n ] − ∑ j H n j − 1 , which is the displayed closed form.    □
Lemma A5 (Adjacent block-count probabilities).
Let p n , θ ( k ) = P 0 , θ ( K n = k ) = θ k c ( n , k ) / ( θ ) ( n ) , where ( θ ) ( n ) = Γ ( θ + n ) / Γ ( θ ) . For each fixed M < ∞ and each fixed θ > 0 ,
sup | k − θ L n | ≤ M L n p n , θ ( k + 1 ) p n , θ ( k ) − 1 − k − θ L n θ L n = O M L n − 1 .
Proof. 
We use the Edgeworth expansion of (Kabluchko et al. [31], Theorem 1) for the Ewens block-count probabilities, taken with r = 2 terms on a compact set of strengths containing the fixed θ .
sup k p n , θ ( k ) − ϕ ( x n , k ) θ L n 1 + P 1 ( x n , k ) L n + P 2 ( x n , k ) L n = o L n − 3 / 2 .
Fix the central band | k − θ L n | ≤ M L n , on which | x n , k | ≤ M / θ and hence ϕ ( x n , k ) ≥ ϕ ( M / θ ) > 0 . Dividing the absolute o ( L n − 3 / 2 ) error by the leading factor ϕ ( x n , k ) / θ L n , which is of order L n − 1 / 2 there, turns it into a relative error o ( L n − 1 ) ; since P 2 is bounded on the band, P 2 ( x n , k ) / L n = O M ( L n − 1 ) , and therefore
p n , θ ( k ) = ϕ ( x n , k ) θ L n 1 + P 1 ( x n , k ) L n + O M L n − 1 uniformly on the band .
Since x n , k + 1 = x n , k + ( θ L n ) − 1 / 2 , the ratio of the Gaussian factors is
exp − x n , k ( θ L n ) − 1 / 2 − 1 2 ( θ L n ) − 1 = exp − k − θ L n θ L n − 1 2 θ L n = 1 − k − θ L n θ L n + O M L n − 1 ,
the last step because | k − θ L n | ≤ M L n makes the exponent O M ( L n − 1 / 2 ) , so that e − u = 1 − u + O ( u 2 ) applies with u 2 = O M ( L n − 1 ) . For the bracket, P 1 is a fixed polynomial with derivative bounded on | x | ≤ M / θ , so by the mean value theorem
P 1 ( x n , k + 1 ) − P 1 ( x n , k ) = P 1 ′ ( ξ ) ( θ L n ) − 1 / 2 = O M L n − 1 / 2 ;
dividing by L n gives [ P 1 ( x n , k + 1 ) − P 1 ( x n , k ) ] / L n = O M ( L n − 1 ) , so the two brackets differ by a factor 1 + O M ( L n − 1 ) . Multiplying the Gaussian and bracket ratios gives the claim.    □
Proof of Theorem 5.
Write r n ( k ) = E 0 [ S α , n ∣ K n = k ] . By (9) and (13),
r n ( k ) = k ( k − 1 ) 2 θ 0 − k ( k + 1 ) 2 c ( n , k + 1 ) c ( n , k ) = k 2 θ 0 ( k − 1 ) − ( k + 1 ) p n , θ 0 ( k + 1 ) p n , θ 0 ( k ) ,
the second equality because p n , θ ( k + 1 ) / p n , θ ( k ) = θ c ( n , k + 1 ) / c ( n , k ) . Fix M < ∞ and work on E n , M = { | K n − θ 0 L n | ≤ M L n } . Inserting Lemma A5,
r n ( k ) = k 2 θ 0 − 2 + ( k + 1 ) ( k − θ 0 L n ) θ 0 L n + O M k L n − 1 ,
where the error term already carries the factor k + 1 . On E n , M , one has k = θ 0 L n + O M ( L n ) , hence k / ( 2 θ 0 ) = L n / 2 + O M ( L n ) , ( k + 1 ) / ( θ 0 L n ) = 1 + O M ( L n − 1 / 2 ) and k − θ 0 L n = O M ( L n ) ; multiplying out, every term other than the first is O M ( L n ) , and
r n ( k ) = L n 2 ( k − θ 0 L n ) + O M ( L n ) uniformly on E n , M .
The exact mean is μ n = E 0 , θ 0 K n = θ 0 { ψ ( θ 0 + n ) − ψ ( θ 0 ) } = θ 0 L n + O ( 1 ) , and S θ , n = ( K n − μ n ) / θ 0 by (9), so L n 2 ( K n − θ 0 L n ) = L n 2 ( K n − μ n ) + O ( L n ) = θ 0 2 L n S θ , n + O ( L n ) . Therefore, on E n , M ,
E 0 [ S α , n ∣ K n ] = θ 0 2 L n S θ , n + O M ( L n ) .
Because K n − θ 0 L n = O P ( L n ) (Corollary 4 under the null), given ε > 0 , one may fix M with lim sup n P ( E n , M c ) < ε ; hence, E 0 [ S α , n ∣ K n ] − θ 0 2 L n S θ , n = O P ( L n ) and, after division by L n 3 / 2 , is o P ( 1 ) . Combining with U c , n = S α , n − E 0 [ S α , n ∣ K n ] from (12) and with Proposition 2 in the form ∂ α ℓ n ( 0 , θ ˜ n ) = S α , n − θ 0 2 L n S θ , n + o P ( L n 3 / 2 ) ,
L n − 3 / 2 U c , n − ∂ α ℓ n ( 0 , θ ˜ n ) = L n − 3 / 2 θ 0 2 L n S θ , n − E 0 [ S α , n ∣ K n ] + o P ( 1 ) → P 0 .
Combining this displacement with the limit of L n − 3 / 2 ∂ α ℓ n ( 0 , θ ˜ n ) in Proposition 2 gives the limit law of L n − 3 / 2 U c , n ; its transfer to each fixed local law follows from the mutual contiguity of Theorem 2 together with Le Cam’s third lemma.    □
Proof of Corollary 2.
By Lemma 1, the conditional law of Π n given K n = k under α = 0 does not depend on θ , so the conditional quantiles of U c , n and the randomization constant that achieves conditional level exactly are functions of ( n , k ) alone. Hence, E 0 , θ [ ϕ n ∣ K n = k ] = ρ for every θ and every attainable k, and averaging over the law of K n gives E 0 , θ ϕ n = ρ for every θ and every n. For the second claim, fix k and work inside the conditional experiment, whose sample space is finite and whose densities (7) are free of θ . Differentiating E α [ ϕ n ∣ K n = k ] = ∑ π ϕ n ( π ) P α ( π ∣ K n = k ) term by term at α = 0 and using ∂ α log P α ( π ∣ K n = k ) | 0 = U c , n ( π ) gives
∂ α E α , θ [ ϕ n ∣ K n = k ] | α = 0 + = E 0 ϕ n U c , n ∣ K n = k .
Maximizing this over test functions ϕ n taking values in [ 0 , 1 ] , subject to E 0 [ ϕ n ∣ K n = k ] = ρ , is the Neyman–Pearson problem whose solution puts ϕ n = 1 on the largest values of U c , n and randomizes on the boundary, which is the stated rule.    □
Proof of Corollary 4.
From (9), K n = θ 0 S θ , n + μ n exactly, with μ n = θ 0 { ψ ( θ 0 + n ) − ψ ( θ 0 ) } = θ 0 L n + O ( 1 ) . Hence,
K n − θ 0 L n L n = θ 0 L n − 1 / 2 S θ , n + μ n − θ 0 L n L n = θ 0 Δ n , θ + O L n − 1 / 2 .
Here, Δ n , θ = L n − 1 / 2 S θ , n is the strength coordinate of the scaled score vector Δ n of Section 3. Under P 0 , θ 0 ( n ) , Theorem 1 gives Δ n , θ ⇝ N ( 0 , J 0 , θ θ ) = N ( 0 , 1 / θ 0 ) , so the left side converges to N ( 0 , θ 0 ) . Under the local law, Theorem 2 and Le Cam’s third lemma give Δ n ⇝ N ( J 0 u , J 0 ) with u = ( h , g ) , whose second coordinate has mean J 0 , θ α h + J 0 , θ θ g = h 2 + g θ 0 and variance 1 / θ 0 ; multiplying by θ 0 gives the stated N ( g + θ 0 h / 2 , θ 0 ) .    □
Proof of (14) and Theorem 8.
For (14), write Y n = K n + θ / α and let B n + 1 = 1 { integer n + 1 opens a new block } ∈ { 0 , 1 } , so Y n + 1 = Y n + B n + 1 . By the sequential predictive rule of Section 3, P ( B n + 1 = 1 ∣ F n ) = ( θ + K n α ) / ( θ + n ) = α Y n / ( θ + n ) , so
E [ Y n + 1 ∣ F n ] = Y n + α Y n θ + n = Y n θ + n + α θ + n .
Thus, Y n is not itself a martingale; but R n + 1 ( α ) / R n ( α ) = ( θ + n + α ) / ( θ + n ) , so the normalized Y n / R n ( α ) is one, and telescoping from Y 0 = θ / α (with R 0 ( α ) = 1 ) gives E [ Y n ] = ( θ / α ) R n ( α ) ; hence, E [ K n ] = ( θ / α ) ( R n ( α ) − 1 ) . For the second moment, the rising factorial normalizes in the same way:
E [ Y n + 1 ( Y n + 1 + 1 ) ∣ F n ] = Y n ( Y n + 1 ) θ + n + 2 α θ + n ,
so Y n ( Y n + 1 ) / R n ( 2 α ) is a martingale and E [ Y n ( Y n + 1 ) ] = θ ( θ + α ) α 2 R n ( 2 α ) ; since Var [ K n ] = Var [ Y n ] = E [ Y n ( Y n + 1 ) ] − E [ Y n ] − E [ Y n ] 2 , expanding gives the variance in (14). (These are the generalized-Pólya recursions for PY ( α , θ ) ; cf. (Pitman [1], Ch. 3).) For the crossover, use R n ( t ) = exp { log Γ ( θ + n + t ) + log Γ ( θ ) − log Γ ( θ + t ) − log Γ ( θ + n ) } ; as n → ∞ , log R n ( t ) = t L n + O ( t ) uniformly for t in a bounded set (using ψ ( θ + n ) = L n + O ( 1 / n ) ), so R n ( α n ) = exp { α n L n ( 1 + o ( 1 ) ) } . For fixed c > 0 (so α n L n = c ), R n ( α n ) → e c and E [ K n ] / L n = ( θ 0 / α n ) ( R n ( α n ) − 1 ) / L n = θ 0 ( e c − 1 ) / c + o ( 1 ) ; for α n L n → 0 , R n ( α n ) − 1 = α n L n ( 1 + o ( 1 ) ) gives E [ K n ] / L n = θ 0 ( 1 + o ( 1 ) ) , and α n ≡ 0 is the Ewens law of large numbers K n / L n → θ 0 almost surely [1]. In the two cases with α n > 0 , Lemma A4 supplies the near-cancellation R n ( 2 α n ) − R n ( α n ) 2 = O ( α n 2 ) uniformly in n and hence Var [ K n ] = O ( L n ) , so Var [ K n / L n ] = O ( L n − 1 ) → 0 and K n / L n converges in probability to the stated limit by Chebyshev. The α n ≡ 0 case is the almost-sure law just cited. Both crossover limits are confirmed numerically to high precision in Appendix B.    □

Appendix A.3. Proofs for Section 5

Proof of Proposition 4.
(a) Let P = ( P 1 , … , P m ) have the symmetric Dirichlet ( κ , … , κ ) law and, given P, let the types of the integers 1 , … , n be independent with law P. A partition π with blocks π 1 , … , π k arises exactly when the integers of each block share a type and different blocks receive different types. This is impossible if k > m . If k ≤ m , there are m ! / ( m − k ) ! injective assignments of types t 1 , … , t k to the blocks, and for each of them, the Dirichlet moment formula gives
E ∏ j = 1 k P t j n j = Γ ( m κ ) Γ ( m κ + n ) ∏ j = 1 k Γ ( κ + n j ) Γ ( κ ) = ∏ j ( κ ) n j ( m κ ) n .
Summing over the assignments gives the displayed law. At ( α , θ ) = ( − κ , m κ ) , the numerator of (1) is ∏ i = 1 k − 1 ( m − i ) κ , which vanishes when k > m and equals κ k − 1 ( m − 1 ) ! / ( m − k ) ! otherwise; with ( 1 + κ ) n j − 1 = ( κ ) n j / κ and ( m κ + 1 ) n − 1 = ( m κ ) n / ( m κ ) , Formula (1) reduces to the same expression.
(b) Formula (5) is an algebraic identity in ( α , θ ) . For 1 ≤ k ≤ min ( m , n ) , V n , k ( − κ , m κ ) > 0 and C n , k ( − κ ) > 0 , so summing (5) over the partitions with k blocks, P ( K n = k ) = V n , k ( − κ , m κ ) C n , k ( − κ ) > 0 , and dividing (5) by it gives (7) at α = − κ , in which m does not appear.
(c) Each factor ( 1 − α ) s − 1 = ∏ r = 1 s − 1 ( r − α ) is a polynomial in α , positive for α < 1 , so for 1 ≤ k ≤ n , the right side of (7) is a strictly positive probability law on the finite set of partitions with k blocks, and its logarithm is differentiable in α on ( − ∞ , 1 ) . On [ 0 , 1 ) , this law is the conditional law of Π n given K n = k (Lemma 1), so its derivative at α = 0 equals the right derivative there, which is U c , n by (12).    □
Proof of Theorem 6.
Let M ≥ 1 + sup n max ( | h n | , | g n | ) and, for n with M L n − 1 / 2 ≤ θ 0 / 4 , let A n = { K n ≤ θ 0 L n 3 / 2 / ( 4 M ) } ; since K n / L n → θ 0 in probability under the Ewens law, P 0 , θ 0 ( n ) ( A n ) → 1 . Let S n be the set of points ( 0 , θ 0 ) + s D n − 1 w with s ∈ [ 0 , 1 ] and max ( | w 1 | , | w 2 | ) ≤ M . On A n , for ( α , θ ) ∈ S n and 1 ≤ i ≤ K n − 1 ,
θ + i α ≥ θ 0 − M L n − 1 / 2 − K n M L n − 3 / 2 ≥ θ 0 / 2 ,
and, for all large n, n j − α ≥ 1 − M L n − 3 / 2 > 0 . Hence, every term of (2) is defined and infinitely differentiable on S n whatever the sign of α .
The likelihood ratio. If h n ≥ 0 , the point ( 0 , θ 0 ) + D n − 1 u n lies on the continuous branch and log ( d P n , u n / d P 0 , θ 0 ( n ) ) = ℓ n ( ( 0 , θ 0 ) + D n − 1 u n ) − ℓ n ( 0 , θ 0 ) . If h n < 0 , the point is ( − κ n , m n κ n ) with κ n = | h n | L n − 3 / 2 and m n = ( θ 0 + g n L n − 1 / 2 ) / κ n ≥ 3 4 θ 0 L n 3 / 2 / M . On A n , the block count satisfies K n < m n , so by Proposition 4(a), the probability of the observed partition is given by (1) with all factors positive, and the same identity holds. Thus, on A n , the log-likelihood ratio equals ℓ n ( ( 0 , θ 0 ) + D n − 1 u n ) − ℓ n ( 0 , θ 0 ) in both cases.
The expansion. On A n , Taylor’s theorem gives
ℓ n ( ( 0 , θ 0 ) + D n − 1 u n ) − ℓ n ( 0 , θ 0 ) = u n ⊤ Δ n − 1 2 u n ⊤ J ¯ n u n + r n ,
where J ¯ n = D n − 1 { − ∇ 2 ℓ n ( 0 , θ 0 ) } D n − 1 → J 0 in probability (proof of Theorem 2) and | r n | is at most a constant, depending on M, times max a + b = 3 L n − ( 3 a + b ) / 2 sup S n | ∂ α a ∂ θ b ℓ n | . For α ≥ 0 , the bounds of Lemma A2 apply. For α < 0 , the four third derivatives are given by the formulas in its proof, and on A n , uniformly over S n , they obey the same orders: the sums over i < K n are controlled by θ + i α ≥ θ 0 / 2 and K n = O P ( L n ) , and the digamma terms have arguments of at least 1, where | ψ ″ | ≤ | ψ ″ ( 1 ) | . Hence, r n = O P ( L n − 1 / 2 ) , and since u n → u and Δ n = O P ( 1 ) , the right side equals u ⊤ Δ n − 1 2 u ⊤ J 0 u + o P ( 1 ) .
Consequences. Under the Ewens law Δ n ⇝ N ( 0 , J 0 ) (Theorem 1), so the log-likelihood ratio converges in law to N ( − 1 2 u ⊤ J 0 u , u ⊤ J 0 u ) , and, the mean being minus half the variance, mutual contiguity follows from Le Cam’s first lemma ([29], Example 6.5). The pair formed by Δ n and the log-likelihood ratio converges jointly to a Gaussian vector in which the covariance of the two components is J 0 u , and Le Cam’s third lemma ([29], Example 6.7) gives Δ n ⇝ N ( J 0 u , J 0 ) under P n , u n . For finitely many u ( 1 ) , … , u ( r ) , the log-likelihood ratios at u n ( u ( 1 ) ) , … , u n ( u ( r ) ) are affine functions of Δ n up to o P ( 1 ) , so they converge jointly to those of the Gaussian shift under P 0 , θ 0 ( n ) . Under another base point P n , u n ( u ( 0 ) ) , the likelihood ratios are, almost surely, quotients of these, and by mutual contiguity and Le Cam’s third lemma, they converge to the corresponding quotients in the Gaussian shift; this is the convergence of the experiments ([29], Section 9.1).    □
Proof of Corollary 3.
(a) Under the Ewens law, Proposition 2, Lemma A3 and P 0 , θ 0 ( n ) ( B n ) → 0 give T n = ( 1 , − θ 0 2 ) Δ n / q 0 + o P ( 1 ) , and Theorem 5 gives L n − 3 / 2 U c , n = ( 1 , − θ 0 2 ) Δ n + o P ( 1 ) . By Theorem 6, both remainders are o P ( 1 ) under P n , u n , where Δ n ⇝ N ( J 0 u , J 0 ) . Since ( 1 , − θ 0 2 ) J 0 = ( q 0 , 0 ) , the linear form ( 1 , − θ 0 2 ) Δ n converges to N ( q 0 h , q 0 ) , which gives both limits. The power statements follow because z 1 − ρ and ± z 1 − ρ / 2 are continuity points of the limit laws. The function π ± is even, equals ρ at h = 0 , and has derivative q 0 { φ ( z 1 − ρ / 2 − h q 0 ) − φ ( z 1 − ρ / 2 + h q 0 ) } > 0 for h > 0 , where φ is the standard normal density; hence, π ± ( h ) > ρ for h ≠ 0 , and 1 − Φ ( z 1 − ρ − h q 0 ) < ρ for h < 0 .
(b) As in the proof of Corollary 2, the conditional null law of U c , n given K n = k does not depend on θ , so the two quantiles and the randomization constants are functions of ( n , k ) alone, and E 0 , θ [ ϕ n ± ∣ K n = k ] = ρ for every θ and every attainable k. Averaging over K n gives the claim.
(c) Fix u * = ( h * , g * ) with h * ≠ 0 , and choose a subsequence along which E n , u n ( u * ) ϕ n converges to its limit superior. Let Q be a countable dense subset of R 2 containing u * and every ( 0 , q ) with q rational. A diagonal argument gives a further subsequence along which π n ( u ) = E n , u n ( u ) ϕ n converges for every u ∈ Q , to π ( u ) say. By Theorem 6, the experiments ( P n , u n ( u ) : u ∈ Q ) converge to the dominated experiment ( N ( J 0 u , J 0 ) : u ∈ Q ) , so the asymptotic representation theorem ([29], Theorem 15.1) gives a measurable ϕ : R 2 → [ 0 , 1 ] with π ( u ) = E u ϕ ( X ) for u ∈ Q , where X ∼ N ( J 0 u , J 0 ) under E u . By dominated convergence, u ↦ E u ϕ ( X ) is continuous on R 2 . The two conditions on ( ϕ n ) give E ( 0 , q ) ϕ ( X ) ≤ ρ for rational q and E u ϕ ( X ) ≥ ρ for u ∈ Q with h ≠ 0 ; by continuity and density, E ( 0 , g ) ϕ ( X ) ≤ ρ for every g and E u ϕ ( X ) ≥ ρ for every u with h ≠ 0 . So, ϕ is an unbiased level- ρ test of h = 0 in the Gaussian shift.
Put Z eff = X 1 − θ 0 2 X 2 and Z θ = X 2 . Under u = ( h , g ) , these are jointly Gaussian with Cov ( Z eff , Z θ ) = 1 2 − θ 0 2 · 1 θ 0 = 0 , so they are independent, with laws N ( q 0 h , q 0 ) and N ( γ , 1 / θ 0 ) , where γ = h / 2 + g / θ 0 ; and ( h , g ) ↦ ( h , γ ) is a bijection of R 2 . Write ϕ ( X ) = ϕ ˜ ( Z eff , Z θ ) and, for fixed γ , ϕ ¯ γ ( z ) = E ϕ ˜ ( z , Z θ ) with Z θ ∼ N ( γ , 1 / θ 0 ) . Then, E u ϕ ( X ) = E ϕ ¯ γ ( Z eff ) , and for fixed γ , the function h ↦ E ϕ ¯ γ ( Z eff ) is the power function of an unbiased level- ρ test of h = 0 in the family { N ( q 0 h , q 0 ) : h ∈ R } . In this one-parameter exponential family, the uniformly most powerful unbiased level- ρ test rejects when | Z eff | > z 1 − ρ / 2 q 0 ([32], Section 4.2), whose power is π ± ( h ) . Hence, E u * ϕ ( X ) ≤ π ± ( h * ) , and the limit superior, which equals π ( u * ) , is at most π ± ( h * ) . For the two-sided test of part (a), the size at every ( 0 , g ) tends to ρ , and the power at every u with h ≠ 0 tends to π ± ( h ) > ρ , by part (a).    □
Proof of Remark 2.
With θ = θ 0 , the Dirichlet–multinomial law with m n types and parameter κ n = θ 0 / m n is P n , u n with the admissible u n = ( − θ 0 L n 3 / 2 / m n , 0 ) . If m n / L n 3 / 2 → ∞ , then u n → 0 and Theorem 6 gives W n = d P n , u n / d P 0 , θ 0 ( n ) → 1 in probability under the Ewens law. The total variation distance is E 0 , θ 0 ( 1 − W n ) + , because P n , u n is absolutely continuous with respect to the Ewens law and E 0 , θ 0 W n = 1 ; since 0 ≤ ( 1 − W n ) + ≤ 1 , it tends to zero by bounded convergence. If m n / L n 3 / 2 → c ∈ ( 0 , ∞ ) , then u n → ( − θ 0 / c , 0 ) , so Theorem 6 gives mutual contiguity and Corollary 3(a) gives the limiting power π ± ( − θ 0 / c ) , which lies in ( ρ , 1 ) .    □

Appendix A.4. Auxiliary Lemmas for Theorem 7

Throughout, η n = ∑ j = 1 K n H n j − 1 , and on { 1 < K n < n } , we write λ n = ψ ( θ ˜ n + n ) − ψ ( θ ˜ n + 1 ) = ∑ m = 1 n − 1 ( θ ˜ n + m ) − 1 . The root Equation (10) is θ ˜ n λ n = K n − 1 .
Lemma A6 (Exact form of the asymptotic statistic).
On { 1 < K n < n } ,
∂ α ℓ n ( 0 , θ ˜ n ) = 1 2 K n λ n − η n , L n 3 q ^ n = K n ( K n − 2 ) 12 ( K n − 1 ) λ n 2 + E − τ n ,
where E = ∑ j { ψ ′ ( 1 ) − ψ ′ ( n j ) } ∈ [ 0 , K n π 2 / 6 ] and τ n = K n 2 λ n 2 { λ n − F n ′ ( θ ˜ n ) } / { 4 ( K n − 1 ) F n ′ ( θ ˜ n ) } with F n as in Lemma A3, satisfies 0 ≤ τ n ≤ K n 2 λ n 2 / { 4 ( K n − 1 ) ( λ n − 1 ) } when λ n > 1 . Hence, off B n , T n = ( 1 2 K n λ n − η n ) ( L n 3 q ^ n ) − 1 / 2 . If K n ≥ 4 and λ n > 7 , then 0 < L n 3 q ^ n ≤ K n λ n 2 .
Proof. 
From (2), ∂ α ℓ n ( 0 , θ ) = K n ( K n − 1 ) / ( 2 θ ) − η n , and K n − 1 = θ ˜ n λ n gives the first identity. The second derivatives at ( 0 , θ ˜ n ) are (proof of Theorem 2)   
a = ( K n − 1 ) K n ( 2 K n − 1 ) 6 θ ˜ n 2 + E = K n ( 2 K n − 1 ) 6 ( K n − 1 ) λ n 2 + E , b = K n ( K n − 1 ) 2 θ ˜ n 2 = K n λ n 2 2 ( K n − 1 ) ,
for − ∂ α 2 ℓ n and − ∂ α ∂ θ ℓ n , and c = ( K n − 1 ) / θ ˜ n 2 − { ψ ′ ( θ ˜ n + 1 ) − ψ ′ ( θ ˜ n + n ) } for − ∂ θ 2 ℓ n . With F n as in Lemma A3, F n ′ ( θ ) = ∑ m = 1 n − 1 { ( θ + m ) − 1 − θ ( θ + m ) − 2 } , so c = F n ′ ( θ ˜ n ) / θ ˜ n and λ n − F n ′ ( θ ˜ n ) = θ ˜ n ∑ m ≥ 1 n − 1 ( θ ˜ n + m ) − 2 ∈ [ 0 , 1 ] ; the upper bound holds because ∑ m ≥ 1 ( θ + m ) − 2 ≤ ∫ 0 ∞ ( θ + x ) − 2 d x = 1 / θ .
b 2 c = K n 2 λ n 3 4 ( K n − 1 ) F n ′ ( θ ˜ n ) = K n 2 λ n 2 4 ( K n − 1 ) + τ n , τ n = K n 2 λ n 2 { λ n − F n ′ ( θ ˜ n ) } 4 ( K n − 1 ) F n ′ ( θ ˜ n ) ,
and a − K n 2 λ n 2 / { 4 ( K n − 1 ) } = K n ( K n − 2 ) λ n 2 / { 12 ( K n − 1 ) } + E . The bounds on τ n follow from λ n − F n ′ ( θ ˜ n ) ∈ [ 0 , 1 ] , and 0 ≤ E ≤ K n ψ ′ ( 1 ) = K n π 2 / 6 , because ψ ′ is positive and decreasing. The form of T n follows from T n = L n − 3 / 2 ∂ α ℓ n ( 0 , θ ˜ n ) / q ^ n 1 / 2 . Finally, if K n ≥ 4 and λ n > 7 , then λ n − 1 > 6 ≥ 3 K n / ( K n − 2 ) , so L n 3 q ^ n ≥ K n λ n 2 ( K n − 1 ) − 1 { ( K n − 2 ) / 12 − K n / ( 4 ( λ n − 1 ) ) } > 0 ; and L n 3 q ^ n ≤ a ≤ K n λ n 2 / 2 + K n π 2 / 6 ≤ K n λ n 2 .    □
Lemma A7 (The restricted root).
If 2 ≤ K n ≤ ( n − 1 ) / 2 , then θ ˜ n < 2 K n and log { n / ( 3 K n ) } ≤ λ n ≤ 1 + log n .
Proof. 
If θ ≥ 2 K n , each of the at least min ( 2 K n , n − 1 ) = 2 K n indices m ≤ θ in { 1 , … , n − 1 } contributes θ / ( θ + m ) ≥ 1 2 to F n ( θ ) , so F n ( θ ) ≥ K n > K n − 1 ; as F n is increasing and F n ( θ ˜ n ) = K n − 1 , θ ˜ n < 2 K n . Then, λ n ≥ ∫ 1 n ( θ ˜ n + x ) − 1 d x = log { ( θ ˜ n + n ) / ( θ ˜ n + 1 ) } ≥ log { ( 2 K n + n ) / ( 2 K n + 1 ) } ≥ log { n / ( 3 K n ) } ; the middle step holds because ( θ + n ) / ( θ + 1 ) decreases in θ .    □
Lemma A8 (Block counts under a positive discount).
Let α ∈ ( 0 , 1 ) , θ > 0 and Y n = K n + θ / α .
(i)
For every p ∈ N , E α , θ { Y n ( Y n + 1 ) … ( Y n + p − 1 ) } = ( θ / α ) p ( θ + p α ) n / ( θ ) n ; hence, E α , θ K n p ≤ C p n p α for all n.
(ii)
For every fixed k ≥ 1 , there is C k with P α , θ ( K n = k ) ≤ C k n − ( θ + α ) for all n ≥ k .
Proof. 
(i) Write [ y ] p = y ( y + 1 ) ⋯ ( y + p − 1 ) . By the sequential description, Y n + 1 = Y n + B n + 1 with P ( B n + 1 = 1 ∣ F n ) = α Y n / ( θ + n ) , and [ y + 1 ] p = [ y ] p ( y + p ) / y . Hence, E { [ Y n + 1 ] p ∣ F n } = [ Y n ] p { 1 + α p / ( θ + n ) } , and iterating from Y 0 = θ / α gives E [ Y n ] p = [ θ / α ] p ∏ i = 0 n − 1 ( θ + i + p α ) / ( θ + i ) , which is the claim; the case p ≤ 2 is (14). Since K n p ≤ [ Y n ] p and ( θ + p α ) n / ( θ ) n = Γ ( θ + p α + n ) Γ ( θ ) / { Γ ( θ + p α ) Γ ( θ + n ) } is of order n p α , the bound follows.
(ii) For s ≥ 1 , ( 1 − α ) s − 1 / ( s − 1 ) ! = ∏ i = 1 s − 1 ( 1 − α / i ) ≤ exp ( − α H s − 1 ) ≤ s − α , since H s − 1 ≥ log s ; so ( 1 − α ) s − 1 / s ! ≤ s − 1 − α . Counting set partitions by the ordered sizes of their blocks,
C n , k ( α ) = 1 k ! ∑ n 1 + … + n k = n n j ≥ 1 n ! ∏ j n j ! ∏ j ( 1 − α ) n j − 1 ≤ n ! k ! a * k ( n ) ,
where a ( s ) = s − 1 − α and a * k is its k-fold convolution on { 1 , 2 , … } . We show a * k ( n ) ≤ c k n − 1 − α by induction with c 1 = 1 . Write a * k ( n ) = ∑ s a ( s ) a * ( k − 1 ) ( n − s ) and split at s = n / 2 . For s ≤ n / 2 , a * ( k − 1 ) ( n − s ) ≤ c k − 1 ( n / 2 ) − 1 − α and ∑ s ≤ n / 2 a ( s ) ≤ ζ ( 1 + α ) . For s > n / 2 , a ( s ) ≤ ( n / 2 ) − 1 − α and ∑ r a * ( k − 1 ) ( r ) = ζ ( 1 + α ) k − 1 . So c k = 2 1 + α { ζ ( 1 + α ) c k − 1 + ζ ( 1 + α ) k − 1 } works. Therefore,
P α , θ ( K n = k ) = V n , k ( α , θ ) C n , k ( α ) ≤ ∏ i = 1 k − 1 ( θ + i α ) k ! c k n ! n − 1 − α ( θ + 1 ) n − 1 ,
and n ! / ( θ + 1 ) n − 1 = n Γ ( n ) Γ ( θ + 1 ) / Γ ( θ + n ) is of order n 1 − θ .    □
Under the Feller coupling of the Ewens law [33], the indicators B i of the events that integer i opens a block are independent under P 0 , θ , with P ( B i = 1 ) = θ / ( θ + i − 1 ) , because the new-block probability in the sequential description does not depend on the configuration; and an integer that does not open a block joins the block of an integer chosen uniformly from { 1 , … , i − 1 } , independently of everything else. By Lemma 1, the conditional law of Π n given K n = k is the same for every θ ; under it, the set S = { i : B i = 1 } has the law of independent Bernoulli variables conditioned on their sum being k, while the uniform choices remain independent of S.
Lemma A9 (Conditional moments under the null).
For 1 ≤ k ≤ n / 2 − 1 ,
E 0 ( η n ∣ K n = k ) ≥ k 2 log { n / ( 5 k ) } , Var 0 ( η n ∣ K n = k ) ≤ 3 k H n − 1 2 + k 2 / 2 .
Proof. 
Mean. By (13), E 0 ( η n ∣ K n = k ) = k ( k + 1 ) / ( 2 θ * ) with θ * = c ( n , k ) / c ( n , k + 1 ) . Under P 0 , θ , the block count is a sum of independent Bernoulli variables with P 0 , θ ( K n = k ) = θ k c ( n , k ) / ( θ ) n , so at θ = θ * , the values k and k + 1 have equal probability; as the law of a sum of independent Bernoulli variables is log-concave, both are modes. The mean μ ( θ ) = ∑ m = 0 n − 1 θ / ( θ + m ) of a sum of independent Bernoulli variables lies strictly between two consecutive modes when there are two ([34], Theorem 4), so μ ( θ * ) < k + 1 . At least min ( ⌊ θ ⌋ + 1 , n ) terms of μ ( θ ) are at least 1 2 , so μ ( θ ) ≥ min ( θ , n ) / 2 ; hence min ( θ * , n ) < 2 ( k + 1 ) ≤ n , and so θ * < 2 ( k + 1 ) . Writing μ ( θ * ) = θ * Λ * with Λ * = ∑ m = 0 n − 1 ( θ * + m ) − 1 ,
k ( k + 1 ) 2 θ * = k ( k + 1 ) Λ * 2 μ ( θ * ) > k Λ * 2 ≥ k 2 log θ * + n θ * + 1 ≥ k 2 log n 2 k + 3 ≥ k 2 log n 5 k .
Variance. Work under the conditional law given K n = k with the Feller coupling. A joining integer i ∉ S joins a block of current size s with probability s / ( i − 1 ) , so given S, the variables v i = 1 / ( size , before the join , of the block joined by i ) , i ∉ S , satisfy E ( v i ∣ S , F i − 1 ) = K i − 1 / ( i − 1 ) , where K i − 1 = | S ∩ { 1 , … , i − 1 } | . Since η n = ∑ i ∉ S v i (proof of Proposition 1), g ( S ) : = E ( η n ∣ S ) = ∑ i ∉ S , i ≥ 2 K i − 1 / ( i − 1 ) , and, η n − g ( S ) being a sum of martingale differences given S with v i 2 ≤ v i ,
Var ( η n ∣ S ) ≤ ∑ i ∉ S E ( v i ∣ S , F i − 1 ) ≤ ∑ i = 2 n K i − 1 i − 1 = ∑ l ∈ S ( H n − 1 − H l − 1 ) ≤ k H n − 1 .
The same interchange of sums gives g ( S ) = k H n − 1 − ∑ l ∈ S H l − 1 − R ( S ) with R ( S ) = ∑ i ∈ S , i ≥ 2 K i − 1 / ( i − 1 ) ∈ [ 0 , k − 1 ] . Independent Bernoulli variables conditioned on their sum are negatively associated ([35], Theorem 2.8), so the indicators 1 { l ∈ S } are pairwise nonpositively correlated and, as the weights H l − 1 are nonnegative, Var ( ∑ l ∈ S H l − 1 ) ≤ ∑ l H l − 1 2 P ( l ∈ S ) ≤ k H n − 1 2 . Hence Var g ( S ) ≤ 2 k H n − 1 2 + 2 Var R ( S ) ≤ 2 k H n − 1 2 + ( k − 1 ) 2 / 2 , and
Var 0 ( η n ∣ K n = k ) = E Var ( η n ∣ S ) + Var g ( S ) ≤ k H n − 1 + 2 k H n − 1 2 + k 2 / 2 ≤ 3 k H n − 1 2 + k 2 / 2 .
   □
Proof of Theorem 7.
(a) Let π 1 be the one-block partition. Under the Ewens law, P 0 , θ ( Π n = π 1 ) = ( n − 1 ) ! / ( θ + 1 ) n − 1 = ∏ i = 1 n − 1 i / ( θ + i ) , which tends to 1 as θ ↓ 0 . Since E 0 , θ ϕ ≥ ϕ ( π 1 ) P 0 , θ ( Π n = π 1 ) , letting θ ↓ 0 gives ϕ ( π 1 ) ≤ ρ . Hence, E α , θ ( 1 − ϕ ) ≥ { 1 − ϕ ( π 1 ) } P α , θ ( Π n = π 1 ) ≥ ( 1 − ρ ) P α , θ ( K n = 1 ) , and (1) with k = 1 gives P α , θ ( K n = 1 ) = ( 1 − α ) n − 1 / ( θ + 1 ) n − 1 = Γ ( n − α ) Γ ( θ + 1 ) / { Γ ( 1 − α ) Γ ( θ + n ) } . The asymptotics follow from Γ ( n + a ) / Γ ( n + b ) ∼ n a − b . On the lattice branch, the same formula gives ( 1 + κ ) n − 1 / ( m κ + 1 ) n − 1 , of order n − ( m − 1 ) κ , and equal to 1 when m = 1 . The tests based on T n do not reject on B n ⊃ { K n = 1 } .
(b) Fix α ∈ ( 0 , 1 ) and θ > 0 ; probabilities are under P α , θ , and C , c , c 1 , c 2 , … denote constants depending only on ( α , θ , ρ ) .
Step 1: decomposition of η n . Let v i = 0 if B i = 1 and v i = 1 / s i otherwise, where s i is the size, before the join, of the block joined at step i. From the sequential description, E ( v i ∣ F i − 1 ) = { K i − 1 − α ∑ b s b − 1 } / ( θ + i − 1 ) ∈ [ 0 , K i − 1 / ( θ + i − 1 ) ] , the sum running over the blocks present after step i − 1 with sizes s b . Write η n = η ¯ n + M n with η ¯ n = ∑ i E ( v i ∣ F i − 1 ) . Then, M n is a martingale with increments at most 1 and predictable quadratic variation ⟨ M ⟩ n ≤ ∑ i E ( v i 2 ∣ F i − 1 ) ≤ ∑ i K i − 1 / ( θ + i − 1 ) . Since K i − 1 ≤ K t for i ≤ t and K i − 1 ≤ K n for all i ≤ n ,
η ¯ n ≤ ∑ i = 1 n K i − 1 θ + i − 1 ≤ K t ∑ i = 0 t − 1 1 θ + i + K n ∑ i = t n − 1 1 θ + i ≤ K t ( log t + c 1 ) + K n { log ( n / t ) + c 1 } ,
for 1 ≤ t ≤ n , and ⟨ M ⟩ n ≤ K n ( L n + c 1 ) .
Step 2: T n / ( 3 K n ) 1 / 2 → 1 . By Pitman’s theorem K n / n α → S > 0 almost surely, so almost surely K n ≥ 4 , K n ≤ ( n − 1 ) / 2 and, by Lemma A7, λ n ≥ log { n / ( 3 K n ) } → ∞ for all large n; by Lemma A6, the event B n then fails. By Lemma A8(i), E η ¯ n ≤ ∑ i E K i − 1 / ( θ + i − 1 ) ≤ C n α and E M n 2 = E ⟨ M ⟩ n ≤ C n α L n , so η n = O P ( n α ) , while K n λ n ≥ K n log { n / ( 3 K n ) } is of exact order n α L n in probability. Hence, η n / ( K n λ n ) → 0 and ∂ α ℓ n ( 0 , θ ˜ n ) / ( 1 2 K n λ n ) → 1 in probability. By Lemma A6, L n 3 q ^ n / ( K n λ n 2 / 12 ) = ( K n − 2 ) / ( K n − 1 ) + 12 E / ( K n λ n 2 ) − 12 τ n / ( K n λ n 2 ) → 1 , the last two terms being at most 2 π 2 / λ n 2 and 3 K n / { ( K n − 1 ) ( λ n − 1 ) } . Since ( 1 2 K n λ n ) / ( K n λ n 2 / 12 ) 1 / 2 = ( 3 K n ) 1 / 2 , the claim follows.
Step 3: a good event. Put β = ( 1 + α ) / 2 , ε = ( 1 − α ) / 16 , t = ⌊ n 1 − ε ⌋ and ω = ε / 2 , and let
G n = { k 0 ≤ K n ≤ n β } ∩ { K t ≤ ω K n } ∩ { M n ≤ ε K n L n } ,
with k 0 ≥ 4 a constant fixed below. Let n be so large that n β ≤ n / 2 − 1 and log t ≥ ( 1 − ε ) L n − 1 . On G n , Lemma A7 gives λ n ≥ ( 1 − β ) L n − log 3 and λ n ≤ 1 + L n , and (A1) gives
η n ≤ ω K n ( L n + c 1 ) + K n ( ε L n + 1 + c 1 ) + ε K n L n ≤ 5 2 ε K n L n + c 2 K n .
Since ( 1 − β ) / 2 = 4 ε , ∂ α ℓ n ( 0 , θ ˜ n ) = 1 2 K n λ n − η n ≥ 3 2 ε K n L n − c 3 K n ≥ ε K n L n for n ≥ n 1 . Enlarging n 1 if necessary, λ n ≥ 8 ε L n − log 3 > 7 for such n, so by Lemma A6 B n fails and T n ≥ ε K n L n / ( K n 1 / 2 λ n ) ≥ 1 2 ε K n 1 / 2 ≥ 1 2 ε k 0 1 / 2 . Similarly, by Lemma A9 with log { n / ( 5 K n ) } ≥ ( 1 − β ) L n − log 5 ,
U c , n = E 0 ( η n ∣ K n ) − η n ≥ 3 2 ε K n L n − c 4 K n ≥ ε K n L n ,
and the conditional null law of U c , n given K n = k has mean zero and variance σ k 2 ≤ 3 k ( L n + 1 ) 2 + k 2 / 2 . By Cantelli’s inequality, its upper ρ -quantile is at most σ k { ( 1 − ρ ) / ρ } 1 / 2 , and ε k L n exceeds this bound whenever k ≥ 48 ( 1 − ρ ) / ( ρ ε 2 ) and L n ≥ c 5 . Choosing k 0 larger than ( 2 z 1 − ρ / ε ) 2 and 48 ( 1 − ρ ) / ( ρ ε 2 ) , and replacing ρ by ρ / 2 for the two-sided tests, all four tests reject on G n for n ≥ n 2 ; the exact tests reject with probability one because U c , n exceeds the relevant quantile strictly.
Step 4: P ( G n c ) ≤ C n − ( θ + α ) .
(i) By Lemma A8(ii), P ( K n < k 0 ) ≤ ∑ k < k 0 C k n − ( θ + α ) .
(ii) By Lemma A8(i) with an integer p ≥ 2 ( θ + α + 1 ) / ( 1 − α ) , P ( K n > n β ) ≤ C p n p α − p β ≤ C p n − ( θ + α + 1 ) .
(iii) On { K t > ω K n } ∩ { K n ≥ k 0 } , we have K t > ω k 0 and K n − K t < ( ω − 1 − 1 ) K t . For i > t , P ( B i = 1 ∣ F i − 1 ) = ( θ + α K i − 1 ) / ( θ + i − 1 ) ≥ p i : = ( θ + α K t ) / ( θ + i − 1 ) . Generating each B i as 1 { V i ≤ P ( B i = 1 ∣ F i − 1 ) } with independent uniform V i , K n − K t is at least W = ∑ i = t + 1 n 1 { V i ≤ p i } , a sum of independent Bernoulli variables given F t , with mean μ W ≥ α K t log { ( θ + n ) / ( θ + t ) } ≥ α K t ( ε L n − c 6 ) . For n ≥ n 3 , ( ω − 1 − 1 ) K t ≤ μ W / 2 , and the Chernoff bound ([36], Theorems 2.1 and 2.8) gives P ( W ≤ μ W / 2 ∣ F t ) ≤ exp ( − μ W / 8 ) . Hence, the event has a probability of at most exp { − α ω k 0 ( ε L n − c 6 ) / 8 } ≤ C n − α ω ε k 0 / 8 .
(iv) For each k ≥ k 0 , { K n = k , M n > ε k L n } ⊂ { M n > ε k L n , ⟨ M ⟩ n ≤ k ( L n + c 1 ) } , which by Freedman’s inequality ([37], Theorem 4.1) has a probability of at most exp [ − ε 2 k 2 L n 2 / { 2 k ( L n + c 1 ) + 2 ε k L n } ] ≤ n − c 7 k for n ≥ n 4 , with c 7 = ε 2 / { 4 ( 1 + ε ) } . Summing over k ≥ k 0 gives at most 2 n − c 7 k 0 once n − c 7 ≤ 1 / 2 .
Taking k 0 also larger than 8 ( θ + α + 1 ) / ( α ω ε ) and ( θ + α + 1 ) / c 7 , the events (ii)–(iv) have a probability of O ( n − ( θ + α + 1 ) ) , so P ( G n c ) ≤ C n − ( θ + α ) for n ≥ max j n j . The type II errors of the four tests are at most P ( G n c ) for such n, and at most 1 otherwise, which gives the upper bound after enlarging C.
Step 5: lower bounds. The exact tests have level ρ at every strength, so part (a) applies to them, and the tests based on T n do not reject on { K n = 1 } . In both cases, the type II error is at least ( 1 − ρ ) P α , θ ( K n = 1 ) , and P α , θ ( K n = 1 ) n θ + α is positive for every n and converges to Γ ( θ + 1 ) / Γ ( 1 − α ) > 0 , so it is bounded below by a positive constant.
(c) Let P = ( P 1 , … , P m ) be the Dirichlet weights of Proposition 4. Almost surely every P j > 0 , so every type appears, K n = m for all large n, and the block sizes satisfy n j / n → P j > 0 . If m = 1 , the partition is the one-block partition, and part (a) gives power of at most ρ .
Let m ≥ 2 . The exact test. By the strong law, η n − m H n − 1 → ∑ j log P j almost surely, so x n = m H n − 1 − η n is O P ( 1 ) . Under the null conditional law given K n = m , use the Feller coupling. If max S ≥ M for an integer M, then g ( S ) ≤ ∑ l ∈ S ( H n − 1 − H l − 1 ) ≤ m H n − 1 − H M − 1 , and Chebyshev’s inequality with Var ( η n ∣ S ) ≤ m H n − 1 gives for H M − 1 > x ,
P 0 ( η n ≥ m H n − 1 − x ∣ K n = m ) ≤ P 0 ( S ⊂ { 1 , … , M − 1 } ∣ K n = m ) + m H n − 1 ( H M − 1 − x ) 2 .
Given K n = m , P ( S ) is proportional to ∏ l ∈ S , l ≥ 2 ( l − 1 ) − 1 , so the first term equals e m − 1 ( 1 , 1 2 , … , 1 M − 2 ) / e m − 1 ( 1 , 1 2 , … , 1 n − 1 ) , where e r is the rth elementary symmetric polynomial. Since e r ( x ) ≤ p 1 r / r ! and e r ( x ) ≥ { p 1 r − r 2 p 2 p 1 r − 2 } / r ! with p 1 = ∑ x i , p 2 = ∑ x i 2 ≤ π 2 / 6 , taking M = ⌈ n ε ′ ⌉ makes the first term converge to ε ′ m − 1 , and the second tends to zero for every fixed x. The bound increases in x, and x n converges almost surely, so the same holds at x = x n . As ε ′ > 0 is arbitrary, the conditional probability P 0 ( U c , n ≤ U c , n obs ∣ K n = m ) = P 0 ( η n ≥ η n obs ∣ K n = m ) tends to zero in probability, so U c , n falls below the lower ρ / 2 -quantile with probability tending to one, and ϕ n ± rejects.
The asymptotic test. With K n = m fixed, θ ˜ n = ( m − 1 ) / λ n → 0 and λ n = H n − 1 + o ( 1 ) = L n + γ E + o ( 1 ) , where γ E is Euler’s constant. Hence, ∂ α ℓ n ( 0 , θ ˜ n ) = 1 2 m λ n − η n = − 1 2 m L n + O ( 1 ) almost surely. In Lemma A6, E → m π 2 / 6 , and λ n − F n ′ ( θ ˜ n ) = θ ˜ n ∑ j ≥ 1 n − 1 ( θ ˜ n + j ) − 2 = ( m − 1 ) λ n − 1 { π 2 / 6 + o ( 1 ) } with F n ′ ( θ ˜ n ) / λ n → 1 , so τ n → m 2 π 2 / 24 . For m = 2 , this gives L n 3 q ^ n → π 2 / 3 − π 2 / 6 = π 2 / 6 and T n / L n → − 1 / ( π 2 / 6 ) 1 / 2 = − 6 / π . For m ≥ 3 , L n 3 q ^ n = m ( m − 2 ) L n 2 / { 12 ( m − 1 ) } { 1 + o ( 1 ) } and T n → − m 2 { 12 ( m − 1 ) / ( m ( m − 2 ) ) } 1 / 2 = − { 3 m ( m − 1 ) / ( m − 2 ) } 1 / 2 . In both cases, B n eventually fails, and the one-sided test has power tending to zero, for m ≥ 3 because z 1 − ρ > − 18 ≥ − { 3 m ( m − 1 ) / ( m − 2 ) } 1 / 2 . The two-sided test has power tending to one when m = 2 and when m ≥ 3 whenever 3 m ( m − 1 ) / ( m − 2 ) > z 1 − ρ / 2 2 ; the left side is at least 18.    □

Appendix B. Numerical Study

The code and data are archived at https://doi.org/10.5281/zenodo.22887837 and are also provided as Supplementary File S1. The computations use Python 3.14.3 with NumPy 2.4.2, SciPy 1.17.1, mpmath 1.3.0 and Matplotlib 3.10.8. All numerical results, including the data analysis of Section 7, are reproducible from the root of the archive by a single command, python reproduce.py –smoke (fast) or –full, exactly one of which is required. The driver locates the scripts from its own path, runs independently of the working directory, and rejects a missing, unknown, or repeated mode. Each script embeds consistency assertions and exits successfully only if they pass. Full mode checks fixed-seed regression references for selected high-signal cells together with a canonical SHA-256 (Secure Hash Algorithm, 256-bit) checksum of the full results that covers every reported value. Smoke mode checks nondegenerate reference cells, so a degenerate all-zero statistic fails the gate. The figures carry a checksum of every plotted series. The smoke Monte Carlo does not overwrite the archived full results, from which the figures are built, and the driver then rebuilds the source in two passes. Every number quoted here is produced by these scripts.

Appendix B.1. Exact Moments and the Crossover

The closed forms (14) are checked against the exact finite-state distribution of K n by state propagation, agreeing to better than 10 − 30 for n ≤ 400 . The crossover of Theorem 8 is evaluated at 100-digit precision (the log-gamma differences behind R n are of size n log n , so beyond n of order 10 14 , double precision can no longer resolve the O ( 1 ) quantity they must produce). At θ 0 = c = 1 , E [ K n ] / L n equals 1.82248 , 1.77273 , 1.74609 , 1.73233 at n = 10 6 , 10 12 , 10 24 , 10 48 , decreasing to the limit e − 1 ≈ 1.71828 , and Var [ K n ] / L n increases to e ( e − 1 ) ≈ 4.67077 .

Appendix B.2. Fixed-Box Concavity and Its Limits

The analytic Hessian of (2) matches its finite-difference value, and at α = 0 , the block − ∂ α 2 ℓ n equals the observed discount information used in the test. Over sampled partitions and a grid of ( α , θ ) , ∂ α 2 ℓ n is negative in every case (deterministic α -concavity). On the fixed LAN-scale boxes H M , the observed information − ∇ 2 ℓ n is positive definite; equivalently, the log-likelihood is jointly concave, except with a frequency that falls from 0.038 ( θ 0 = 0.5 , n = 2000 ) to zero by n = 2 × 10 4 , which is in agreement with Lemma 2. As a guard against over-reading this, the script confirms the analytic identity θ 2 ∂ θ θ 2 ℓ n → n − K n > 0 as θ → ∞ when K n < n , so the likelihood is convex in the strength tail, and global joint concavity is excluded. These checks are regression diagnostics for the fixed-box statements and do not by themselves establish a global claim. A separate check confirms the power gap behind Theorem 4. A test that uses the strength coordinate at the boundary point g = G attains local slope h θ 0 / 2 , exceeding the efficient-score slope h θ 0 / 12 , which is why the competitor class must control size at every local strength.

Appendix B.3. Finite-Sample Size and Power

Partitions are drawn by the Chinese restaurant process (seed fixed). At each draw, three one-sided tests of α = 0 are computed: the oracle, which uses the known-strength information θ 0 / 3 ; the proposed feasible test (11), which uses the restricted estimate and the profile information θ 0 / 12 ; and a naive plug-in standardized by θ 0 / 3 . Figure A1 and Table A1 report the null size across θ 0 ∈ { 0.5 , 1 , 2 } and the local power at θ 0 = 1 in both cases for n up to 3.2 × 10 4 . Two things stand out. The null size (Figure A1, left) stays well below the nominal level throughout. The grid—each cell using between 800 and 4000 Monte Carlo replicates—does not resolve a monotone trend, the proposed size for θ 0 = 2 being 0.022 , 0.019 , 0.022 , 0.019 across the four sample sizes. The effective sample size at the boundary is only log n —about 10.4 even at n = 3.2 × 10 4 —so the normal approximation to the standardized score is reached slowly and the test is conservative at these sizes. The local power (Figure A1, right) shows the same slow approach, and the persistent gap between the oracle and proposed curves reflects the fourfold information penalty (the discount information drops from θ 0 / 3 to θ 0 / 12 ). At h = 2 , the oracle’s rejection rate is about 3.6 times the proposed test’s at the largest sample size shown. The exact factor four is an information ratio, whereas the rejection-frequency ratio is smaller. The naive plug-in, standardized by θ 0 / 3 rather than the profile information, has null limiting variance q 0 / ( θ 0 / 3 ) = 1 / 4 . At the standard-normal cutoff, it is therefore severely miscalibrated, rejecting with frequency near 0.0005 . Separately, the rare events that trigger the conservative convention— K n ∈ { 1 , n } or a nonpositive observed profile information—occur with frequency 0.038 at θ 0 = 0.5 , n = 500 and decrease with n. At θ 0 = 1 , none is observed for n ≥ 8000 (0 of 2000 and 0 of 800 replicates, rule-of-three upper bounds 3 / 2000 and 3 / 800 ), which is in line with Lemma 2. The statistic is data-computable and asymptotically pivotal with a slow, logarithmic finite-sample calibration.
Figure A1. Monte Carlo behavior of the feasible test (11). Left: empirical null size against n (log scale) for θ 0 ∈ { 0.5 , 1 , 2 } with the nominal level ρ = 0.05 (dashed) and normal-approximation 95 % Monte Carlo intervals ( ± 1.96 standard errors); the size stays conservative throughout, the effective sample size being log n . Right: local power at θ 0 = 1 for the oracle (known-strength, solid) and proposed (dashed) tests at h = 1 , 2 ; the dotted lines are the proposed test’s asymptotic benchmark 1 − Φ ( z 1 − ρ − h 1 / 12 ) , blue for h = 1 and red for h = 2 , as in the legend (0.088 and 0.143). The oracle, which uses the larger known-strength information θ 0 / 3 , has higher power than the proposed test throughout, illustrating the fourfold information penalty.
Table A1. Monte Carlo rejection rates at n = 3.2 × 10 4 (level ρ = 0.05 ). Left: null size ( h = 0 ). Right: local power at θ 0 = 1 with asymptotic benchmark 1 − Φ ( z 1 − ρ − h 1 / 12 ) .

Appendix B.4. The Exact Conditional Test

The conservatism just described is a property of the asymptotic calibration rather than the hypothesis, and Corollary 2 removes it. The rule of Corollary 2 is analytically exact. It uses the quantiles of the true conditional law of U c , n given K n , which does not involve θ , and randomizes at the boundary of that quantile so that the conditional level is exactly ρ . For the illustration, we approximate those quantiles by a finite reference sample pooled across strengths—legitimate because the law is common to all of them. The displayed test is therefore a Monte Carlo-calibrated approximation to the analytic rule and is to be read through its empirical size and reference-sampling error rather than as conditionally exact given the realized table.

Appendix B.5. Exact Sampling from the Conditional Law

The data analysis of Section 7 samples the Ewens law given K n = k exactly, using the Feller coupling of Appendix A.3. Under P 0 , θ , the block-count after i integers has law P ( K i = j ) = θ j c ( i , j ) / ( θ ) i , and the ith integer opens a block independently of the others, so P ( B i = 1 ∣ K i = j ) = c ( i − 1 , j − 1 ) / c ( i , j ) for every θ . The block-opening indicators are therefore drawn backwards, from i = n to i = 2 , each given the number of blocks still to be opened among the first i integers, with the Stirling numbers computed in logarithmic form by (8) at α = 0 . Given the indicators, each integer that does not open a block joins the block of an integer chosen uniformly from the preceding ones. The code checks the sampler against the exact conditional law for n ≤ 12 by a chi-square comparison, and it checks the Monte Carlo mean of ∑ j H n j − 1 against its exact value (13) in every run.

Appendix B.6. Checks of Section 5

A separate script checks the new identities and bounds numerically at 50-digit precision. It confirms that (1) on the lattice branch is the Dirichlet–multinomial law and that its conditional law given K n does not depend on m, and it compares the exact form of T n in Lemma A6 with finite differences of (2). It checks the bounds of Lemma A7, the moment identity of Lemma A8(i) against the exact law of K n , and the convergence of n θ + α P α , θ ( K n = k ) to its limit for k = 1 , 2 , 3 . It checks the conditional mean and variance bounds of Lemma A9, the latter against exact enumeration for n ≤ 30 , and the mode–mean relation used in their proof for every k at n ∈ { 30 , 200 , 1000 } . Finally, it evaluates the statistics of Theorem 7(c), which approach their limits at rate 1 / log n for n up to 10 96 .

Appendix B.7. Sensitivity to the Unknown Strength

The limit in Theorem 3 is free of the local strength g; at each fixed g, however, it is only a limit, and the residual g-dependence at realistic n is a convergence diagnostic worth reporting rather than hiding. Table A2 gives the proposed test at θ 0 = 1 , n = 8000 across g ∈ { − 2 , 0 , 2 } , under the null ( h = 0 ) and against α = ( log n ) − 3 / 2 ( h = 1 ). The spread across g is well beyond Monte Carlo error—at h = 1 , the rejection rate runs from 0.009 at g = − 2 to 0.046 at g = 2 —so the cancellation of the strength, though exact in the limit, is slow at this sample size. At g = − 2 , the low-strength direction also raises the boundary-event frequency (about 4 % at h = 0 ), which depresses power. Theorem 3 promises neither finite-n invariance nor a compact-uniform rate, only a fixed-g limit, and the table is read in that light.
Table A2. Sensitivity to the unknown strength: proposed-test rejection rate (Monte Carlo standard error) at θ 0 = 1 , n = 8000 (2000 replicates), across the local strength g, under the null ( h = 0 ) and against α = ( log n ) − 3 / 2 ( h = 1 ). The limit of Theorem 3 does not depend on g; the finite-sample spread is a convergence diagnostic.

Appendix B.8. Error Probabilities at Fixed Alternatives

Table A3 reports the type II error of the one-sided test (11) at level 0.05 at two fixed alternatives, from 20,000 replicates per cell, next to the floor P α , θ ( K n = 1 ) of Theorem 7(a). At ( α , θ ) = ( 1 2 , 1 2 ) , the type II error falls from 0.449 at n = 100 to 0.00115 at n = 6400 ; its ratio to the floor is still decreasing at n = 6400 , and the failures concentrate on partitions with few blocks, as the proof of Theorem 7(b) predicts. At ( 1 4 , 1 4 ) , the block count grows only like n 1 / 4 , most samples of these sizes still have few blocks, and the test has not yet reached the regime described by the theorem.
Table A3. Type II error of the one-sided test (11) at level 0.05 at fixed alternatives (20,000 replicates; Monte Carlo standard error in parentheses), the floor P α , θ ( K n = 1 ) of Theorem 7(a), their ratio, and the share of the failures that occur on partitions with at most ten blocks.

References

  1. Pitman, J. Combinatorial Stochastic Processes; Lecture Notes in Mathematics; Springer: Berlin/Heidelberg, Germany, 2006; Volume 1875. [Google Scholar]
  2. Ewens, W.J. The sampling theory of selectively neutral alleles. Theor. Popul. Biol. 1972, 3, 87–112. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Ishwaran, H.; James, L.F. Gibbs sampling methods for stick-breaking priors. J. Am. Stat. Assoc. 2001, 96, 161–173. [Google Scholar] [CrossRef] [Scilit]
  4. Watanabe, S. Asymptotic equivalence of Bayes cross validation and widely applicable information criterion in singular learning theory. J. Mach. Learn. Res. 2010, 11, 3571–3594. [Google Scholar]
  5. Koriyama, T.; Matsuda, T.; Komaki, F. Asymptotic mixed normality of the maximum-likelihood estimator for the Ewens–Pitman partition. Adv. Appl. Probab. 2026, 58, 214–234. [Google Scholar] [CrossRef] [Scilit]
  6. Koriyama, T. Asymptotic inference for exchangeable Gibbs partitions. arXiv 2025, arXiv:2506.21527. [Google Scholar]
  7. Ascolani, F.; Beraha, M.; Favaro, S. Asymptotic regimes for maximum likelihood estimation in the Ewens–Pitman model: When the strength parameter matters. arXiv 2026, arXiv:2606.13554. [Google Scholar]
  8. Franssen, S.E.M.P.; van der Vaart, A.W. Empirical and full Bayes estimation of the type of a Pitman–Yor process. arXiv 2022, arXiv:2208.14255. [Google Scholar]
  9. Carlton, M.A. Applications of the Two-Parameter Poisson–Dirichlet Distribution. Ph.D. Thesis, University of California, Los Angeles, CA, USA, 1999. [Google Scholar]
  10. Cereda, G.; Corradi, F.; Viscardi, C. Learning the two parameters of the Poisson–Dirichlet distribution with a forensic application. Scand. J. Stat. 2023, 50, 120–141. [Google Scholar] [CrossRef] [Scilit]
  11. Feng, S.; Gao, F.; Zhou, Y. Limit theorems associated with the Pitman–Yor process. Adv. Appl. Probab. 2017, 49, 581–602. [Google Scholar] [CrossRef] [Scilit]
  12. Contardi, C.; Dolera, E.; Favaro, S. Laws of large numbers and central limit theorem for the Ewens–Pitman model. Electron. J. Probab. 2025, 30, 1–51. [Google Scholar] [CrossRef] [Scilit]
  13. Slatkin, M. An exact test for neutrality based on the Ewens sampling distribution. Genet. Res. 1994, 64, 71–74, Correction in Genet. Res. 1996, 68, 259–260. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  14. Watterson, G.A. Models for the logarithmic species abundance distributions. Theor. Popul. Biol. 1974, 6, 217–250. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Watterson, G.A. The homozygosity test of neutrality. Genetics 1978, 88, 405–417. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Williams, C.B. Patterns in the Balance of Nature and Related Problems in Quantitative Ecology; Academic Press: London, UK, 1964. [Google Scholar]
  17. Pitman, J.; Yor, M. The two-parameter Poisson–Dirichlet distribution derived from a stable subordinator. Ann. Probab. 1997, 25, 855–900. [Google Scholar] [CrossRef] [Scilit]
  18. Korwar, R.M.; Hollander, M. Contributions to the theory of Dirichlet processes. Ann. Probab. 1973, 1, 705–711. [Google Scholar] [CrossRef] [Scilit]
  19. Gnedin, A.; Pitman, J. Exchangeable Gibbs partitions and Stirling triangles. J. Math. Sci. 2006, 138, 5674–5685. [Google Scholar] [CrossRef] [Scilit]
  20. Chernoff, H. On the distribution of the likelihood ratio. Ann. Math. Stat. 1954, 25, 573–578. [Google Scholar] [CrossRef] [Scilit]
  21. Self, S.G.; Liang, K.Y. Asymptotic properties of maximum likelihood estimators and likelihood ratio tests under nonstandard conditions. J. Am. Stat. Assoc. 1987, 82, 605–610. [Google Scholar] [CrossRef] [Scilit]
  22. Andrews, D.W.K. Testing when a parameter is on the boundary of the maintained hypothesis. Econometrica 2001, 69, 683–734. [Google Scholar] [CrossRef] [Scilit]
  23. Hope, A.C.A. A simplified Monte Carlo significance test procedure. J. R. Stat. Soc. Ser. B 1968, 30, 582–598. [Google Scholar] [CrossRef] [Scilit]
  24. Fisher, R.A.; Corbet, A.S.; Williams, C.B. The relation between the number of species and the number of individuals in a random sample of an animal population. J. Anim. Ecol. 1943, 12, 42–58. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  25. Geyer, C.J. On the asymptotics of constrained M-estimation. Ann. Stat. 1994, 22, 1993–2010. [Google Scholar] [CrossRef] [Scilit]
  26. Matthews, T.J.; Borregaard, M.K.; Ugland, K.I.; Borges, P.A.V.; Rigal, F.; Cardoso, P.; Whittaker, R.J. The gambin model provides a superior fit to species abundance distributions with a single free parameter: Evidence, implementation and interpretation. Ecography 2014, 37, 1002–1011. [Google Scholar] [CrossRef] [Scilit]
  27. Hall, P.; Heyde, C.C. Martingale Limit Theory and Its Application; Academic Press: New York, NY, USA, 1980. [Google Scholar]
  28. Le Cam, L. Asymptotic Methods in Statistical Decision Theory; Springer: New York, NY, USA, 1986. [Google Scholar]
  29. van der Vaart, A.W. Asymptotic Statistics; Cambridge University Press: Cambridge, UK, 1998. [Google Scholar]
  30. Shapiro, A. Asymptotic distribution of test statistics in the analysis of moment structures under inequality constraints. Biometrika 1985, 72, 133–144. [Google Scholar] [CrossRef]
  31. Kabluchko, Z.; Marynych, A.; Sulzbach, H. Mode and Edgeworth expansion for the Ewens distribution and the Stirling numbers. J. Integer Seq. 2016, 19, 16.8.8. [Google Scholar]
  32. Lehmann, E.L.; Romano, J.P. Testing Statistical Hypotheses, 3rd ed.; Springer: New York, NY, USA, 2005. [Google Scholar]
  33. Arratia, R.; Barbour, A.D.; Tavaré, S. Poisson process approximations for the Ewens sampling formula. Ann. Appl. Probab. 1992, 2, 519–535. [Google Scholar] [CrossRef] [Scilit]
  34. Darroch, J.N. On the distribution of the number of successes in independent trials. Ann. Math. Stat. 1964, 35, 1317–1321. [Google Scholar] [CrossRef] [Scilit]
  35. Joag-Dev, K.; Proschan, F. Negative association of random variables, with applications. Ann. Stat. 1983, 11, 286–295. [Google Scholar] [CrossRef] [Scilit]
  36. Janson, S.; uczak, T.; Ruciński, A. Random Graphs; Wiley: New York, NY, USA, 2000. [Google Scholar]
  37. Freedman, D.A. On tail probabilities for martingales. Ann. Probab. 1975, 3, 100–118. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.