68
Testing as a mixture estimation problem Christian P. Robert Universit´ e Paris-Dauphine and University of Warwick Joint work with K. Kamary, K. Mengersen, and J. Rousseau

testing as a mixture estimation problem

Embed Size (px)

Citation preview

Page 1: testing as a mixture estimation problem

Testing as a mixture estimation problem

Christian P. RobertUniversite Paris-Dauphine and University of Warwick

Joint work with K. Kamary, K. Mengersen, and J. Rousseau

Page 2: testing as a mixture estimation problem

Outline

Introduction

Testing problems as estimating mixturemodels

Computational mixture estimation

Illustrations

Asymptotic consistency

Conclusion

Page 3: testing as a mixture estimation problem

Introduction

Hypothesis testing

I central problem of statistical inference

I dramatically differentiating feature between classical andBayesian paradigms

I wide open to controversy and divergent opinions, even withinthe Bayesian community

I non-informative Bayesian testing case mostly unresolved,witness the Jeffreys–Lindley paradox

[Berger (2003), Mayo & Cox (2006), Gelman (2008)]

Page 4: testing as a mixture estimation problem

Testing hypotheses

I Bayesian model selection as comparison of k potentialstatistical models towards the selection of model that fits thedata “best”

I mostly accepted perspective: it does not primarily seek toidentify which model is “true”, but rather to indicate whichfits data better

I tools like Bayes factor naturally include a penalisationaddressing model complexity, mimicked by Bayes Information(BIC) and Deviance Information (DIC) criteria

I posterior predictive tools successfully advocated in Gelman etal. (2013) even though they imply multiple uses of data

Page 5: testing as a mixture estimation problem

Bayesian modelling

Standard Bayesian approach to testing: consider two families ofmodels, one for each of the hypotheses under comparison,

M1 : x ∼ f1(x |θ1) , θ1 ∈ Θ1 and M2 : x ∼ f2(x |θ2) , θ2 ∈ Θ2 ,

and associate with each model a prior distribution,

θ1 ∼ π1(θ1) and θ2 ∼ π2(θ2) ,

Page 6: testing as a mixture estimation problem

Bayesian modelling

Standard Bayesian approach to testing: consider two families ofmodels, one for each of the hypotheses under comparison,

M1 : x ∼ f1(x |θ1) , θ1 ∈ Θ1 and M2 : x ∼ f2(x |θ2) , θ2 ∈ Θ2 ,

in order to compare the marginal likelihoods

m1(x) =

∫Θ1

f1(x |θ1)π1(θ1)dθ1 and m2(x) =

∫Θ2

f2(x |θ2)π1(θ2)dθ2

Page 7: testing as a mixture estimation problem

Bayesian modelling

Standard Bayesian approach to testing: consider two families ofmodels, one for each of the hypotheses under comparison,

M1 : x ∼ f1(x |θ1) , θ1 ∈ Θ1 and M2 : x ∼ f2(x |θ2) , θ2 ∈ Θ2 ,

either through Bayes factor or posterior probability, respectively:

B12 =m1(x)

m2(x), P(M1|x) =

ω1m1(x)

ω1m1(x) +ω2m2(x);

the latter depends on the prior weights ωi

Page 8: testing as a mixture estimation problem

Bayesian decision

Bayesian decision step

I comparing Bayes factor B12 with threshold value of one or

I comparing posterior probability P(M1|x) with bound

When comparing more than two models, model with highestposterior probability is the one selected, but highly dependent onthe prior modelling.

Page 9: testing as a mixture estimation problem

Bayesian decision

Bayesian decision step

I comparing Bayes factor B12 with threshold value of one or

I comparing posterior probability P(M1|x) with bound

When comparing more than two models, model with highestposterior probability is the one selected, but highly dependent onthe prior modelling.

Page 10: testing as a mixture estimation problem

Some difficulties

I tension between using posterior probabilities justified by abinary loss function but depending on unnatural prior weights,and using Bayes factors that eliminate this dependence butescape direct connection with posterior distribution, unlessprior weights are integrated within the loss

I subsequent and delicate interpretation (or calibration) of thestrength of the Bayes factor towards supporting a givenhypothesis or model, because it is not a Bayesian decision rule

I similar difficulty with posterior probabilities, with tendency tointerpret them as p-values (rather than the opposite) whenthey only report through a marginal likelihood ratio therespective strengths of fitting the data to both models

Page 11: testing as a mixture estimation problem

Some more difficulties

I long-lasting impact of the prior modeling, meaning the choiceof the prior distributions on the parameter spaces of bothmodels under comparison, despite overall consistency proof forBayes factor

I discontinuity in use of improper priors since they are notjustified in most testing situations, leading to many alternativeif ad hoc solutions, where data is either used twice or split inartificial ways

I binary (accept vs. reject) outcome more suited for immediatedecision (if any) than for model evaluation, in connection withrudimentary loss function

Page 12: testing as a mixture estimation problem

Some additional difficulties

I related impossibility to ascertain simultaneous misfit or todetect presence of outliers;

I lack of assessment of uncertainty associated with decisionitself

I difficult computation of marginal likelihoods in most settingswith further controversies about which computational solutionto adopt

I strong dependence of posterior probabilities on conditioningstatistics, which in turn undermines their validity for modelassessment, as exhibited in ABC

I temptation to create pseudo-frequentist equivalents such asq-values with even less Bayesian justifications

Page 13: testing as a mixture estimation problem

Paradigm shift

New proposal of a paradigm shift in Bayesian processing ofhypothesis testing and of model selection

I convergent and naturally interpretable solution

I more extended use of improper priors

Simple representation of the testing problem as a two-componentmixture estimation problem where the weights are formally equalto 0 or 1

Page 14: testing as a mixture estimation problem

Paradigm shift

New proposal of a paradigm shift in Bayesian processing ofhypothesis testing and of model selection

I convergent and naturally interpretable solution

I more extended use of improper priors

Simple representation of the testing problem as a two-componentmixture estimation problem where the weights are formally equalto 0 or 1

Page 15: testing as a mixture estimation problem

Paradigm shift

Simple representation of the testing problem as a two-componentmixture estimation problem where the weights are formally equalto 0 or 1

I Approach inspired from consistency result of Rousseau andMengersen (2011) on estimated overfitting mixtures

I Mixture representation not directly equivalent to the use of aposterior probability

I Potential of a better approach to testing, while not expandingnumber of parameters

I Calibration of the posterior distribution of the weight of amodel, while moving from the artificial notion of the posteriorprobability of a model

Page 16: testing as a mixture estimation problem

Encompassing mixture model

Idea: Given two statistical models,

M1 : x ∼ f1(x |θ1) , θ1 ∈ Θ1 and M2 : x ∼ f2(x |θ2) , θ2 ∈ Θ2 ,

embed both within an encompassing mixture

Mα : x ∼ αf1(x |θ1) + (1 − α)f2(x |θ2) , 0 6 α 6 1 (1)

Note: Both models correspond to special cases of (1), one forα = 1 and one for α = 0Draw inference on mixture representation (1), as if eachobservation was individually and independently produced by themixture model

Page 17: testing as a mixture estimation problem

Encompassing mixture model

Idea: Given two statistical models,

M1 : x ∼ f1(x |θ1) , θ1 ∈ Θ1 and M2 : x ∼ f2(x |θ2) , θ2 ∈ Θ2 ,

embed both within an encompassing mixture

Mα : x ∼ αf1(x |θ1) + (1 − α)f2(x |θ2) , 0 6 α 6 1 (1)

Note: Both models correspond to special cases of (1), one forα = 1 and one for α = 0Draw inference on mixture representation (1), as if eachobservation was individually and independently produced by themixture model

Page 18: testing as a mixture estimation problem

Encompassing mixture model

Idea: Given two statistical models,

M1 : x ∼ f1(x |θ1) , θ1 ∈ Θ1 and M2 : x ∼ f2(x |θ2) , θ2 ∈ Θ2 ,

embed both within an encompassing mixture

Mα : x ∼ αf1(x |θ1) + (1 − α)f2(x |θ2) , 0 6 α 6 1 (1)

Note: Both models correspond to special cases of (1), one forα = 1 and one for α = 0Draw inference on mixture representation (1), as if eachobservation was individually and independently produced by themixture model

Page 19: testing as a mixture estimation problem

Inferential motivations

Sounds like an approximation to the real model, but severaldefinitive advantages to this paradigm shift:

I Bayes estimate of the weight α replaces posterior probabilityof model M1, equally convergent indicator of which model is“true”, while avoiding artificial prior probabilities on modelindices, ω1 and ω2

I interpretation of estimator of α at least as natural as handlingthe posterior probability, while avoiding zero-one loss setting

I α and its posterior distribution provide measure of proximityto the models, while being interpretable as data propensity tostand within one model

I further allows for alternative perspectives on testing andmodel choice, like predictive tools, cross-validation, andinformation indices like WAIC

Page 20: testing as a mixture estimation problem

Computational motivations

I avoids highly problematic computations of the marginallikelihoods, since standard algorithms are available forBayesian mixture estimation

I straightforward extension to a finite collection of models, witha larger number of components, which considers all models atonce and eliminates least likely models by simulation

I eliminates difficulty of “label switching” that plagues bothBayesian estimation and Bayesian computation, sincecomponents are no longer exchangeable

I posterior distribution of α evaluates more thoroughly strengthof support for a given model than the single figure outcome ofa posterior probability

I variability of posterior distribution on α allows for a morethorough assessment of the strength of this support

Page 21: testing as a mixture estimation problem

Noninformative motivations

I additional feature missing from traditional Bayesian answers:a mixture model acknowledges possibility that, for a finitedataset, both models or none could be acceptable

I standard (proper and informative) prior modeling can bereproduced in this setting, but non-informative (improper)priors also are manageable therein, provided both models firstreparameterised towards shared parameters, e.g. location andscale parameters

I in special case when all parameters are common

Mα : x ∼ αf1(x |θ) + (1 − α)f2(x |θ) , 0 6 α 6 1

if θ is a location parameter, a flat prior π(θ) ∝ 1 is available

Page 22: testing as a mixture estimation problem

Weakly informative motivations

I using the same parameters or some identical parameters onboth components highlights that opposition between the twocomponents is not an issue of enjoying different parameters

I those common parameters are nuisance parameters, to beintegrated out

I prior model weights ωi rarely discussed in classical Bayesianapproach, even though linear impact on posterior probabilities.Here, prior modeling only involves selecting a prior on α, e.g.,α ∼ B(a0, a0)

I while a0 impacts posterior on α, it always leads to massaccumulation near 1 or 0, i.e. favours most likely model overthe other

I sensitivity analysis straightforward to carry

I approach easily calibrated by parametric boostrap providingreference posterior of α under each model

I natural Metropolis–Hastings alternative

Page 23: testing as a mixture estimation problem

Computational issues

I Specificities of mixture estimation in such settings.

I While likelihood is a regular mixture likelihood, weight α closeto one of the boundaries

I Gibbs completion bound to be inefficient when sample sizegrows, more than usual!

Page 24: testing as a mixture estimation problem

Gibbs sampler

Consider sample x = (x1, x2, . . . , xn) from (1).Completion by latent component indicators ζi leads to completedlikelihood

(θ,α1,α2 | x, ζ) =

n∏i=1

αζi f (xi | θζi )

= αn1(1 − α)n2n∏

i=1

f (xi | θζi ) ,

where

(n1, n2) =

(n∑

i=1

Iζi=1,

n∑i=1

Iζi=2

)under constraint

n =

2∑j=1

n∑i=1

Iζi=j

.[Diebolt & Robert, 1990]

Page 25: testing as a mixture estimation problem

Local concentration

Gibbs sampling scheme valid from a theoretical point of view butfaces convergence difficulties, due to prior concentration onboundaries of (0, 1) for the mixture weight αAs sample size n grows, sample of the α’s shows less and lessswitches between the vicinity of zero and the vicinity of one

Page 26: testing as a mixture estimation problem

Local concentration

Gibbs sequences (αt) on the first component weight for the mixture model

αN(µ, 1) + (1 − α)N(0, 1) for a N(0, 1) sample of size N = 5, 10, 50, 100, 500,

103 (from top to bottom) based on 105 simulations. The y -range range for all

series is (0, 1).

Page 27: testing as a mixture estimation problem

MCMC alternative

Simple Metropolis-Hastings algorithm where

I the model parameters θi generated from respective fullposteriors of both models (i.e., based on entire sample) and

I mixture weight α generated from a random walk proposal on(0, 1)

Rare occurrence for mixtures to allow for independent proposals

Page 28: testing as a mixture estimation problem

MCMC alternative

Metropolis–Hastings sequences (αt) on the first component weight for the

mixture model αN(µ, 1) + (1 − α)N(0, 1) for a N(0, 1) sample of size N = 5,

10, 50, 100, 500, 103 (from top to bottom) based on 105 simulations.The

y -range for all series is (0, 1).

Page 29: testing as a mixture estimation problem

Illustrations

Introduction

Testing problems as estimating mixturemodels

Computational mixture estimation

IllustrationsPoisson/GeometricNormal-normal comparisonNormal-normal comparison #2Logistic vs. Probit

Asymptotic consistency

Conclusion

Page 30: testing as a mixture estimation problem

Poisson/Geometric

I choice betwen Poisson P(λ) and Geometric Geo(p)distribution

I mixture with common parameter λ

Mα : αP(λ) + (1 − α)Geo(1/1+λ)

Allows for Jeffreys prior since resulting posterior is proper

I independent Metropolis–within–Gibbs with proposaldistribution on λ equal to Poisson posterior (with acceptancerate larger than 75%)

Page 31: testing as a mixture estimation problem

Poisson/Geometric

I choice betwen Poisson P(λ) and Geometric Geo(p)distribution

I mixture with common parameter λ

Mα : αP(λ) + (1 − α)Geo(1/1+λ)

Allows for Jeffreys prior since resulting posterior is proper

I independent Metropolis–within–Gibbs with proposaldistribution on λ equal to Poisson posterior (with acceptancerate larger than 75%)

Page 32: testing as a mixture estimation problem

Poisson/Geometric

I choice betwen Poisson P(λ) and Geometric Geo(p)distribution

I mixture with common parameter λ

Mα : αP(λ) + (1 − α)Geo(1/1+λ)

Allows for Jeffreys prior since resulting posterior is proper

I independent Metropolis–within–Gibbs with proposaldistribution on λ equal to Poisson posterior (with acceptancerate larger than 75%)

Page 33: testing as a mixture estimation problem

Beta prior

When α ∼ Be(a0, a0) prior, full conditional posterior

α ∼ Be(n1(ζ) + a0, n2(ζ) + a0)

Exact Bayes factor opposing Poisson and Geometric

B12 = nnxn

n∏i=1

xi ! Γ

(n + 2 +

n∑i=1

xi

)/Γ(n + 2)

although undefined from a purely mathematical viewpoint

Page 34: testing as a mixture estimation problem

Parameter estimation

1e-04 0.001 0.01 0.1 0.2 0.3 0.4 0.5

3.90

3.95

4.00

4.05

4.10

Posterior means of λ and medians of α for 100 Poisson P(4) datasets of size

n = 1000, for a0 = .0001, .001, .01, .1, .2, .3, .4, .5. Each posterior approximation

is based on 104 Metropolis-Hastings iterations.

Page 35: testing as a mixture estimation problem

Parameter estimation

1e-04 0.001 0.01 0.1 0.2 0.3 0.4 0.5

0.990

0.992

0.994

0.996

0.998

1.000

Posterior means of λ and medians of α for 100 Poisson P(4) datasets of size

n = 1000, for a0 = .0001, .001, .01, .1, .2, .3, .4, .5. Each posterior approximation

is based on 104 Metropolis-Hastings iterations.

Page 36: testing as a mixture estimation problem

MCMC convergence

Dataset from a Poisson distribution P(4): Estimations of (top) λ and (bottom)

α via MH for 5 samples of size n = 5, 50, 100, 500, 10, 000.

Page 37: testing as a mixture estimation problem

Consistency

0 1 2 3 4 5 6 7

0.0

0.2

0.4

0.6

0.8

1.0

a0=.1

log(sample size)

0 1 2 3 4 5 6 7

0.0

0.2

0.4

0.6

0.8

1.0

a0=.3

log(sample size)

0 1 2 3 4 5 6 7

0.0

0.2

0.4

0.6

0.8

1.0

a0=.5

log(sample size)

Posterior means (sky-blue) and medians (grey-dotted) of α, over 100 Poisson

P(4) datasets for sample sizes from 1 to 1000.

Page 38: testing as a mixture estimation problem

Behaviour of Bayes factor

0 1 2 3 4 5 6 7

0.0

0.2

0.4

0.6

0.8

1.0

log(sample size)

0 1 2 3 4 5 6 7

0.0

0.2

0.4

0.6

0.8

1.0

log(sample size)

0 1 2 3 4 5 6 7

0.0

0.2

0.4

0.6

0.8

1.0

log(sample size)

Comparison between P(M1|x) (red dotted area) and posterior medians of α

(grey zone) for 100 Poisson P(4) datasets with sample sizes n between 1 and

1000, for a0 = .001, .1, .5

Page 39: testing as a mixture estimation problem

Normal-normal comparison

I comparison of a normal N(θ1, 1) with a normal N(θ2, 2)distribution

I mixture with identical location parameter θαN(θ, 1) + (1 − α)N(θ, 2)

I Jeffreys prior π(θ) = 1 can be used, since posterior is proper

I Reference (improper) Bayes factor

B12 = 2n−1/2

/exp 1/4

n∑i=1

(xi − x)2 ,

Page 40: testing as a mixture estimation problem

Normal-normal comparison

I comparison of a normal N(θ1, 1) with a normal N(θ2, 2)distribution

I mixture with identical location parameter θαN(θ, 1) + (1 − α)N(θ, 2)

I Jeffreys prior π(θ) = 1 can be used, since posterior is proper

I Reference (improper) Bayes factor

B12 = 2n−1/2

/exp 1/4

n∑i=1

(xi − x)2 ,

Page 41: testing as a mixture estimation problem

Normal-normal comparison

I comparison of a normal N(θ1, 1) with a normal N(θ2, 2)distribution

I mixture with identical location parameter θαN(θ, 1) + (1 − α)N(θ, 2)

I Jeffreys prior π(θ) = 1 can be used, since posterior is proper

I Reference (improper) Bayes factor

B12 = 2n−1/2

/exp 1/4

n∑i=1

(xi − x)2 ,

Page 42: testing as a mixture estimation problem

Consistency

0.1 0.2 0.3 0.4 0.5 p(M1|x)

0.0

0.2

0.4

0.6

0.8

1.0

n=15

0.0

0.2

0.4

0.6

0.8

1.0

0.1 0.2 0.3 0.4 0.5 p(M1|x)

0.65

0.70

0.75

0.80

0.85

0.90

0.95

1.00

n=50

0.65

0.70

0.75

0.80

0.85

0.90

0.95

1.00

0.1 0.2 0.3 0.4 0.5 p(M1|x)

0.75

0.80

0.85

0.90

0.95

1.00

n=100

0.75

0.80

0.85

0.90

0.95

1.00

0.1 0.2 0.3 0.4 0.5 p(M1|x)

0.93

0.94

0.95

0.96

0.97

0.98

0.99

1.00

n=500

0.93

0.94

0.95

0.96

0.97

0.98

0.99

1.00

Posterior means (wheat) and medians of α (dark wheat), compared with

posterior probabilities of M0 (gray) for a N(0, 1) sample, derived from 100

datasets for sample sizes equal to 15, 50, 100, 500. Each posterior

approximation is based on 104 MCMC iterations.

Page 43: testing as a mixture estimation problem

Comparison with posterior probability

0 100 200 300 400 500

-50

-40

-30

-20

-10

0

a0=.1

sample size

0 100 200 300 400 500

-50

-40

-30

-20

-10

0

a0=.3

sample size

0 100 200 300 400 500

-50

-40

-30

-20

-10

0

a0=.4

sample size

0 100 200 300 400 500

-50

-40

-30

-20

-10

0

a0=.5

sample size

Plots of ranges of log(n) log(1 −E[α|x ]) (gray color) and log(1 − p(M1|x)) (red

dotted) over 100 N(0, 1) samples as sample size n grows from 1 to 500. and α

is the weight of N(0, 1) in the mixture model. The shaded areas indicate the

range of the estimations and each plot is based on a Beta prior with

a0 = .1, .2, .3, .4, .5, 1 and each posterior approximation is based on 104

iterations.

Page 44: testing as a mixture estimation problem

Comments

I convergence to one boundary value as sample size n grows

I impact of hyperarameter a0 slowly vanishes as n increases, butpresent for moderate sample sizes

I when simulated sample is neither from N(θ1, 1) nor fromN(θ2, 2), behaviour of posterior varies, depending on whichdistribution is closest

Page 45: testing as a mixture estimation problem

More consistency

●●

●●●●●●●

●●

●●

●●

●●

●●

●●●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●●

●●

●●●●

●●●

●●

●●●●

●●

●●

●●●●●●

●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●

●●●●●●

●●●●●●●●

●●

●●●●●●●●●●●

●●●●●●

●●●●●●●●

●●●●●●●

●●●●

●●●●●●

●●●●

●●●

●●●

●●

●●

●●●

●●

●●

●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●

●●●

●●●●●●●●●●●●

●●●●●●●●●●●●

●●

●●

●●

●●●●●

●●

●●●

●●

●●●●

●●●●●●●●●●●●●●●●●●●●●●●●

●●

●●●●●●●●●●●●●●●●●●●

●●●

●●●

●●●

●●●●●●

●●●

●●●

●●●●●●

●●●

●●●●●●

●●●●●●●●

●●

●●●

●●●

●●●●●

●●●●●●

●●●●●

●●

●●●●●

●●●●●●●●●●●●●●●●●●●●

●●●

●●●

●●●●●

●●●

●●

●●●

●●●

●●

●●

●●●●●

●●●

●●

●●

●●●●●●●

●●●

●●●

●●

●●●●●●●●●●

●●

●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●

●●

●●

●●●●

●●

●●

●●

●●●●

●●

●●●●●●●●●

●●

●●

●●●●

●●●

●●●●●●

●●

●●

●●●●

●●●●

●●

●●●

●●

●●

●●

●●

●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●

●●

●●●●

●●●

●●●

●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●

●●●●●●●●●●●

●●

●●●

●●●●

●●●●

●●

●●●

●●●●

●●●

●●●●

●●

●●●●●●

●●●●●●●

●●●

●●●●●

●●●

●●●●●

●●●●●●

●●●●

●●

●●

●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●

●●●

●●

●●●●●●

●●●

●●●●●●●●

●●●

●●

●●

●●●●

●●

●●●●

●●●

●●●

●●●

●●

●●●●

●●●●●

●●●

●●●●

●●

●●●

●●

●●●●●●

●●

●●●●

●●●●●●●●●●●●●●●●●●●●●●●

●●●

●●●●

●●●

●●●●●●

●●●●●●●●●

●●●●●

●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●

●●●●

●●●●●●

●●●

●●●

●●●●●●

●●●●●●●●●●●

●●●●●

●●●

●●●●●●●

●●●●●●●●●●●●●●

●●

●●●

●●●●●

●●●

●●

●●●●●●●

●●

●●●

●●●

●●

●●●

●●●●

●●●●●●

●●●

●●●

●●●

●●●●●

●●●●●●●●●

●●

●●

●●●●

●●●●

●●

●●

●●●●●●●

●●

●●●

●●

●●●●●●●●●●

●●●

●●

●●

●●●●●

●●●●●●●●●●

●●●●

●●●●●●●●●●●●●●●●●●●●●●●

●●

●●●●●●●●●●●●●●●●●●●●●

●●

●●●●●●●

●●

●●●

●●

●●

●●

●●●●●

●●●●●

●●

●●

●●●●●●●●●●

●●●●●●●

●●

●●

●●●

●●●●

●●●●●●●●●●

●●●●●●

●●

●●●●●●●●

●●●●●

●●

●●●●●●

●●●●●

●●●●

●●●●●●●

●●●●●●●●●

●●●●●●●●●●●●●●●●●●

●●●●●

●●●●●●

●●●

●●●

●●

●●●●●●●●●●●●●●●●

●●●

●●

●●●

●●●●●●●

●●●●●

●●●●●●●●●●●●●●●●●●●

●●

●●●

●●●●●●●●●●●●●●●●●

●●●●●●●●●

●●

●●●●●●●

●●●●●

●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●

●●

●●

●●●

●●●●

●●●

●●●●●●

●●●

●●●●●

●●●●●●

●●●●●●●●●●●●

●●

●●●

●●

●●

●●

●●

●●●

●●

●●

●●

●●

●●●

●●●●●●●●

●●●

●●●

●●

●●●●

●●●●

●●●●

●●●

●●●●●

●●

●●●●●

●●●●●

●●

●●●

●●●●●●

●●●

●●●●●●●●●●●●●●

●●●●●

●●●

●●●

●●

●●●●

●●●●●●●●●●●

●●

●●●●●●

●●●

●●

●●

●●

●●●●

●●

●●●●

●●●●

●●●

●●

●●●●●●

●●●

●●●●●●●●●●●

●●●●

●●

●●

●●

●●●●●

●●

●●●●

●●●●●●

●●

●●●●

●●●

●●●

●●

●●

●●●

●●●

●●

●●●●●●●●●●●●●●●●

●●

●●●●●●●●●●●●●

●●●

●●●●

●●

●●

●●

●●●●●●●●

●●●●●●●●●

●●

●●

●●●●●

●●●●

●●●●●●

●●●●

●●

●●●

●●●●●

●●●●●●●●●●

●●●●

●●

●●●●●●●

●●

●●

●●●●●●●●

●●

●●●●

●●●

●●

●●

●●●

●●●●

●●●●

●●●

●●●●●●●●●●

●●●●●●●●●

●●●●●

●●

●●●●●●●●●

●●●

●●●●●●

●●●●●●●●●●

●●●

●●●●●●●

●●

●●●●●●●●●●●●

●●●●●●●

●●

●●

●●●●

●●●●

●●

●●●●●

●●●●●●

●●●

●●●

●●●●●

●●

●●●●●●

●●

●●●

●●●

●●●●

●●●

●●●●●●●●●●●

●●●●●●●

●●●●●●●●●●●●●●●●●●

●●●●

●●●●

●●●●

●●●

●●

●●

●●

●●●●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●●●●

●●

●●●

●●

●●●

●●●●

●●

●●●

●●

●●●

●●

●●

●●●●

●●●

●●●●●

●●●

●●●●

●●

●●

●●●

●●

●●

●●●

●●●

●●

●●

●●

●●

●●

●●●

●●●●●

●●●

●●●

●●●●

●●●●

●●●●

●●

●●

●●●●●

●●

●●●

●●

●●

●●

●●●●

●●●●

●●

●●●●●●●●

●●

●●●

●●●●●●●●●●●

●●●

●●●

●●

●●

●●●●●

●●●

●●●

●●●

●●●●

●●

●●●●●●●

●●

●●

●●●

●●●●●●

●●●●●●●●●

●●●

●●●●

●●

●●●●

●●●

●●●

●●●

●●●●

●●

●●●●●●●

●●●●●●

●●●●

●●●

●●●

●●●●●●●

●●

●●

●●●●●●●●

●●●●

●●●

●●●●

●●

●●

●●●

●●●

●●

●●

●●●●

●●

●●

●●●

●●●●●●●●●●

●●●●●●

●●

●●

●●

●●●

●●●

●●

●●●●

●●

●●●●

●●●●

●●●

●●●●

●●

●●

●●●

●●●

●●●

●●●

●●●●●

●●●●

●●

●●●

●●

●●

●●

●●●

●●

●●

●●●●

●●●●●

●●●

●●●●●●

●●●

●●

●●

●●

●●●●●●●●

●●

●●

●●●●●

●●

●●

●●

●●●●

●●●●●●●●●●●●

●●●●

●●

●●

●●●

●●

●●●●●●●●

●●

●●●●

●●●

●●●

●●●●●

●●●●●●●●

●●●

●●●●●

●●

●●●●●

●●

●●●

●●●

●●

●●

●●●●

●●

●●

●●●

●●

●●

●●

●●●●

●●●●●

●●●●●●●●●

●●

●●●

●●

●●

●●

●●●

●●●

●●●●●

●●

●●●●

●●

●●

●●●●●●

●●

●●

●●

●●●

●●

●●

●●

●●●●

●●●●

●●

●●

●●●●

●●●●●

●●

●●●●●●●●

●●●●●

●●

●●●●●

●●●●●●

●●

●●●●●●●

●●●●

●●

●●

●●●

●●

●●●

●●

●●●

●●●

●●●

●●●

●●●●●

●●

●●●●

●●●●

●●●

●●●●●●●

●●●●

●●●●●●●●

●●●●●

●●●●●●●●●

●●

●●

●●●

●●●●

●●●

●●●

●●

●●●●

●●

●●●●●●●●●

●●

●●

●●

●●●●

●●

●●

●●●

●●

●●

●●●

●●

●●

●●●●

●●●●

●●●

●●

●●●●

●●●

●●●

●●●●

●●●●●●●

●●●

●●●

●●

●●

●●●●●●

●●●●

●●●

●●

●●●●

●●●●●

●●●

●●●●●

●●

●●●●●●●●●●●●●●●●●●●●●

●●

●●●

●●●

●●●

●●

●●●●●

●●●●

●●●

●●

●●●

●●●

●●

●●●●●●●

●●

●●●●●

●●

●●●

●●●

●●●

●●

●●●●

●●●●●●●

●●●●●

●●

●●●●●●

●●●●●

●●●

●●●●●●

●●

●●●●

●●

●●●

●●

●●●●

●●●●●●

●●

●●

●●●

●●●●

●●●●

●●●

●●

●●●●

●●●

●●●

●●

●●●●

●●

●●●●

●●●●●

●●●

●●●

●●

●●●●

●●

●●

●●●●

●●●●●●●

●●●

●●

●●●●

●●●●

●●●

●●

●●

●●

●●●

●●

●●

●●●●●

●●

●●

●●

●●●●

●●

●●●●●●●●●●●

●●●

●●

●●●●●

●●●

●●

●●

●●

●●●●●●●●●

●●●●●●

●●●●●●

●●●

●●

●●

●●

●●

●●●●●●●●

●●

●●

●●●

●●

●●●●●●

●●

●●●

●●

●●

●●

●●●

●●●●●●●●

●●●

●●

●●●●●●

●●●●●●

●●

●●

●●

●●●●

●●●

●●

●●

●●●●●

●●●●

●●

●●●

●●

●●

●●●

●●

●●●

●●

●●

●●

●●●●●●

●●●

●●

●●

●●

●●

●●

●●●●●

●●●●

●●

●●●●●●

●●

●●●

●●

●●

●●

●●

●●

●●●

●●

●●●●●

●●

●●

●●

●●

●●

●●●

●●●●●

●●●

●●

●●●●●

●●●●

●●●

●●●●●●●●

●●●●

●●

●●●

●●

●●

●●

●●

●●

●●●

●●

●●

●●●●

●●●●

●●

●●

●●

●●

●●

●●●

●●

●●

●●

●●●●●●●●

●●●●

●●

●●●

●●

●●●●●●

●●●

●●●

●●

●●●

●●●●

●●●●

●●

●●●●●

●●

●●●

●●●

●●●

●●●

●●

●●●●

●●●

●●

●●

●●

●●

●●●●

●●

●●●

●●

●●●●●●

●●

●●●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●●●

●●

●●

●●

●●●●●

●●●

●●

●●

●●

●●

●●

●●●●

●●●●

●●●●

●●●●●

●●

●●●

●●●●●●

●●

●●●●

●●●●

●●

●●

●●●

●●●●●●●●●●●

●●●

.1 .2 .3 .4 .5 1

0.00

0.05

0.10

0.15

0.20

0.25

0.30

0.35

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●

●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●●

●●

●●●●

●●●

●●

●●

●●

●●

●●●

●●

●●

●●

●●

●●

●●●●

●●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●

●●

●●●●

●●●●

●●

●●

●●

●●●

●●

●●

●●

●●●

●●●●

●●

●●

●●

●●

●●●

●●●

●●

●●

●●

●●

●●

●●

●●

●●

●●

●●●

●●

●●

●●●

●●●●●

●●●●●

●●

●●

●●

●●

●●

●●●

●●

●●●●

●●

●●●●

●●

●●

●●●●●●

●●●●●

●●

●●

●●

●●

●●

●●●●●●●●●

●●●●

●●●

●●●●●●

●●

●●

●●

●●

●●

●●●●●

●●●●●

●●●●●●●●●

●●

●●●

●●●

●●

●●

●●●●●●●

●●

●●●●●

●●

●●

●●●

●●●●●

●●●

●●

●●●●●●

●●●●●●●●●●●●●

●●●●

●●

●●●

●●

●●

●●●

●●●●

●●●

●●●

●●●●●●

●●

●●

●●●

●●●

●●●

●●●●●●●●●

●●●

●●●

●●●●

●●

●●

●●●

●●

●●

●●●●

●●●●

●●●●●

●●●

●●

●●●●●●

●●

●●

●●

●●●●

●●

●●●

●●●●●●●

●●

●●●●●●●●

●●●●

●●●●●●●●●

●●

●●●

●●

●●

●●●●

●●●●●●●●

●●●●

●●

●●●

●●

●●●●●●●●●●●

●●

●●●

●●

●●●

●●●●●●●●

●●

●●●●●●

●●●●●●

●●●●●●●●●●●●●●

●●●

●●●

●●

●●

●●●●

●●

●●●

●●●

●●●●

●●

●●●●

●●●●●

●●

●●●●●●

●●●●●●●●●●●

●●●●●●●

●●

●●●●

●●●●●●●

●●●●

●●●

●●

●●●

●●

●●●●●●●●

●●●●

●●●●●

●●●●

●●●●

●●●●

●●●●●

●●●●●●●●

●●●●●●●●

●●

●●●●●

●●●●●●●

●●

●●●●●●●●●

●●

●●●●●●●●●

●●●●●●●●●●●●

●●●●●

●●

●●●

●●●●●●●

●●●

●●●

●●

●●●●●●●●

●●

●●

●●●●●

●●

●●●

●●●●

●●●●●●●●●●●●●●●●●●

●●

●●●●●

●●●●●●●●

●●

●●●●●●●

●●●

●●●●●●●●●●●●●●

●●●●●●

●●●●

●●

●●●●●●●●●●●●

●●

●●

●●●●●

●●

●●●

●●●●

●●

●●●●●●

●●●●●●

●●

●●

●●

●●●

●●

●●●●●

●●●●

●●●●●●●

●●●●

●●●●●●●●●●

●●●●●●

●●●

●●

●●●●

●●

●●●

●●

●●●

●●●

●●●

●●●●●

●●●●●●●●

●●●●

●●●●●●

●●

●●

●●●●●

●●

●●●●●●

●●●●●●

●●●●●●●●●●●●●●●

●●●

●●●●

●●●

●●●●

●●

●●

●●

●●●

●●●●

●●●

●●

●●●

●●●●●

●●●●●

●●●

●●●●

●●●●

●●●●●●●

●●●●●●●

●●●

●●

●●●●●●●●●

●●●

●●

●●

●●

●●●●●

●●●●●●●●

●●●●●●●●●●●●●●●●●●●●

●●

●●●●●●●●●●●

●●●●●●

●●

●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●

●●●●●●●

●●●●●●●●●●●●●●●●●●●

●●●●

●●●●●●●●●●●●●●●●●

●●

●●

●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●

●●●●●●●

●●●●●●●●●●●●

●●●

●●●●

●●

●●

●●●●●●●●●●●●●

●●●●

●●

●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●

●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●

●●●●●●

●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●●●

●●●●

●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●

●●●●●●●●●●●●●●●●

.1 .2 .3 .4 .5 1

−10

0−

80−

60−

40−

200

(left) Posterior distributions of the mixture weight α and (right) of their

logarithmic transform log{α} under a Beta B(a0, a0) prior when a0 = .1, .2, .3,

.4, .5, 1 and for a normal N(0, 2) sample of 103 observations. The MCMC

outcome is based on 104 iterations.

Page 46: testing as a mixture estimation problem

Another normal-normal comparison

I compare N(0, 1) against N(µ, 1) model, hence testingwhether or not µ = 0

I embedded case: cannot use improper priors on µ andsubstitute a µ ∼ N(0, 1) prior

I inference on α contrasted between the N(0, 1) case andoutside the null distribution

Page 47: testing as a mixture estimation problem

Two dynamics

1/n .1 .2 .3 .4 .5 1

0.5

0.6

0.7

0.8

0.9

1.0

5 10 50 100 500 1000

0.0

0.2

0.4

0.6

0.8

1.0

Posterior distributions of α under a Beta B(a0, a0) prior (left) for

a0 = 1/n, .1, .2, .3, .4, .5, 1 with 102 N(1, 1) observations and (right) for a0 = .1

with n = 5, 10, 50, 100, 500, 103 N(1, 1) observations

Page 48: testing as a mixture estimation problem

Logistic or Probit?

I binary dataset, R dataset about diabetes in 200 Pima Indianwomen with body mass index as explanatory variable

I comparison of logit and probit fits could be suitable. We arethus comparing both fits via our method

M1 : yi | xi , θ1 ∼ B(1, pi ) where pi =

exp(xiθ1)

1 + exp(xiθ1)

M2 : yi | xi , θ2 ∼ B(1, qi ) where qi = Φ(xiθ2)

Page 49: testing as a mixture estimation problem

Common parameterisation

Local reparameterisation strategy that rescales parameters of theprobit model M2 so that the MLE’s of both models coincide.

[Choudhuty et al., 2007]

Φ(xiθ2) ≈exp(kxiθ2)

1 + exp(kxiθ2)

and use best estimate of k to bring both parameters into coherency

(k0, k1) = (θ01/θ02, θ11/θ12) ,

reparameterise M1 and M2 as

M1 :yi | xi , θ ∼ B(1, pi ) where pi =

exp(xiθ)

1 + exp(xiθ)

M2 :yi | xi , θ ∼ B(1, qi ) where qi = Φ(xi (κ−1θ)) ,

with κ−1θ = (θ0/k0, θ1/k1).

Page 50: testing as a mixture estimation problem

Prior modelling

Under default g -prior

θ ∼ N2(0, n(XTX )−1)

full conditional posterior distributions given allocations

π(θ | y, X , ζ) ∝exp{∑

i Iζi=1yixiθ}∏

i ;ζi=1[1 + exp(xiθ)]exp{−θT (XTX )θ

/2n}

×∏i ;ζi=2

Φ(xi (κ−1θ))yi (1 −Φ(xi (κ−1θ)))(1−yi)

hence posterior distribution clearly defined

Page 51: testing as a mixture estimation problem

Results

Logistic Probita0 α θ0 θ1

θ0

k0θ1

k1.1 .352 -4.06 .103 -2.51 .064.2 .427 -4.03 .103 -2.49 .064.3 .440 -4.02 .102 -2.49 .063.4 .456 -4.01 .102 -2.48 .063.5 .449 -4.05 .103 -2.51 .064

Histograms of posteriors of α in favour of logistic model where a0 = .1, .2, .3,

.4, .5 for (a) Pima dataset, (b) Data from logistic model, (c) Data from probit

model

Page 52: testing as a mixture estimation problem

Asymptotic consistency

Posterior consistency for mixture testing procedure under minorconditionsTwo different cases

I the two models, M1 and M2, are well separated

I model M1 is a submodel of M2.

Page 53: testing as a mixture estimation problem

Asymptotic consistency

Posterior consistency for mixture testing procedure under minorconditionsTwo different cases

I the two models, M1 and M2, are well separated

I model M1 is a submodel of M2.

Page 54: testing as a mixture estimation problem

Posterior concentration rate

Let π be the prior and xn = (x1, · · · , xn) a sample with truedensity f ∗

propositionAssume that, for all c > 0, there exist Θn ⊂ Θ1 ×Θ2 and B > 0 such that

π [Θcn] 6 n−c , Θn ⊂ {‖θ1‖+ ‖θ2‖ 6 nB }

and that there exist H > 0 and L, δ > 0 such that, for j = 1, 2,

supθ,θ′∈Θn

‖fj,θj − fj,θ′j‖1 6 LnH‖θj − θ ′j ‖, θ = (θ1, θ2), θ

′= (θ

′1, θ′2) ,

∀‖θj − θ∗j ‖ 6 δ; KL(fj,θj , fj,θ∗j ) . ‖θj − θ∗j ‖ .

Then, when f ∗ = fθ∗,α∗ , with α∗ ∈ [0, 1], there exists M > 0 such that

π[(α, θ); ‖fθ,α − f ∗‖1 > M

√log n/n|xn

]= op(1) .

Page 55: testing as a mixture estimation problem

Separated models

Assumption: Models are separated, i.e. there is identifiability:

∀α,α ′ ∈ [0, 1], ∀θj , θ′j , j = 1, 2 Pθ,α = Pθ′ ,α′ ⇒ α = α

′, θ = θ

Furtherinfθ1∈Θ1

infθ2∈Θ2

‖f1,θ1 − f2,θ2‖1 > 0

and, for θ∗j ∈ Θj , if Pθj weakly converges to Pθ∗j , then θj convergesin the Euclidean topology to θ∗j

Page 56: testing as a mixture estimation problem

Separated models

Assumption: Models are separated, i.e. there is identifiability:

∀α,α ′ ∈ [0, 1], ∀θj , θ′j , j = 1, 2 Pθ,α = Pθ′ ,α′ ⇒ α = α

′, θ = θ

theorem

Under above assumptions, then for all ε > 0,

π [|α− α∗| > ε|xn] = op(1)

If θj → fj ,θj is C2 in a neighbourhood of θ∗j , j = 1, 2,f1,θ∗1

− f2,θ∗2,∇f1,θ∗1

,∇f2,θ∗2are linearly independent in y and there

exists δ > 0 such that

∇f1,θ∗1 , ∇f2,θ∗2 , sup|θ1−θ

∗1 |<δ

|D2f1,θ1 |, sup|θ2−θ

∗2 |<δ

|D2f2,θ2 | ∈ L1

thenπ[|α− α∗| > M

√log n/n

∣∣xn]= op(1).

Page 57: testing as a mixture estimation problem

Separated models

Assumption: Models are separated, i.e. there is identifiability:

∀α,α ′ ∈ [0, 1], ∀θj , θ′j , j = 1, 2 Pθ,α = Pθ′ ,α′ ⇒ α = α

′, θ = θ

Theorem allows for interpretation of α under the posterior: If dataxn is generated from model M1 then posterior on α concentratesaround α = 1

Page 58: testing as a mixture estimation problem

Embedded case

Here M1 is a submodel of M2, i.e.

θ2 = (θ1,ψ) and θ2 = (θ1,ψ0 = 0)

corresponds to f2,θ2 ∈M1

Same posterior concentration rate√log n/n

for estimating α when α∗ ∈ (0, 1) and ψ∗ 6= 0.

Page 59: testing as a mixture estimation problem

Null case

Case where ψ∗ = 0, i.e., f ∗ is in model M1

Two possible paths to approximate f ∗: either α goes to 1 (path 1)or ψ goes to 0 (path 2)New identifiability condition: Pθ,α = P∗ only if

α = 1, θ1 = θ∗1 , θ2 = (θ∗1 ,ψ) or α 6 1, θ1 = θ

∗1 , θ2 = (θ∗1 , 0)

Priorπ(α, θ) = πα(α)π1(θ1)πψ(ψ), θ2 = (θ1,ψ)

with common (prior on) θ1

Page 60: testing as a mixture estimation problem

Null case

Case where ψ∗ = 0, i.e., f ∗ is in model M1

Two possible paths to approximate f ∗: either α goes to 1 (path 1)or ψ goes to 0 (path 2)New identifiability condition: Pθ,α = P∗ only if

α = 1, θ1 = θ∗1 , θ2 = (θ∗1 ,ψ) or α 6 1, θ1 = θ

∗1 , θ2 = (θ∗1 , 0)

Priorπ(α, θ) = πα(α)π1(θ1)πψ(ψ), θ2 = (θ1,ψ)

with common (prior on) θ1

Page 61: testing as a mixture estimation problem

Assumptions

[B1] Regularity : Assume that θ1 → f1,θ1 and θ2 → f2,θ2 are 3times continuously differentiable and that

F ∗

(f 31,θ∗1f 31,θ∗1

)< +∞, f1,θ∗1 = sup

|θ1−θ∗1 |<δ

f1,θ1 , f 1,θ∗1 = inf|θ1−θ

∗1 |<δ

f1,θ1

F ∗

(sup|θ1−θ

∗1 |<δ

|∇f1,θ∗1 |3

f 31,θ∗1

)< +∞, F ∗

(|∇f1,θ∗1 |

4

f 41,θ∗1

)< +∞,

F ∗

(sup|θ1−θ

∗1 |<δ

|D2f1,θ∗1 |2

f 21,θ∗1

)< +∞, F ∗

(sup|θ1−θ

∗1 |<δ

|D3f1,θ∗1 |

f 1,θ∗1

)< +∞

Page 62: testing as a mixture estimation problem

Assumptions

[B2] Integrability : There exists S0 ⊂ S ∩ {|ψ| > δ0}, for somepositive δ0 and satisfying Leb(S0) > 0, and such that for allψ ∈ S0,

F ∗

(sup|θ1−θ

∗1 |<δ

f2,θ1,ψ

f 41,θ∗1

)< +∞, F ∗

(sup|θ1−θ

∗1 |<δ

f 32,θ1,ψ

f 31,θ1∗

)< +∞,

Page 63: testing as a mixture estimation problem

Assumptions

[B3] Stronger identifiability : Set

∇f2,θ∗1 ,ψ∗(x) =(∇θ1f2,θ∗1 ,ψ∗(x)

T,∇ψf2,θ∗1 ,ψ∗(x)T)T

.

Then for all ψ ∈ S with ψ 6= 0, if η0 ∈ R, η1 ∈ Rd1

η0(f1,θ∗1− f2,θ∗1 ,ψ) + η

T1∇θ1f1,θ∗1

= 0 ⇔ η1 = 0, η2 = 0

Page 64: testing as a mixture estimation problem

Consistency

theorem

Given the mixture fθ1,ψ,α = αf1,θ1 + (1 − α)f2,θ1,ψ and a samplexn = (x1, · · · , xn) issued from f1,θ∗1

, under assumptions B1 − B3are satisfied, and an M > 0 such that

π[(α, θ); ‖fθ,α − f ∗‖1 > M

√log n/n|xn

]= op(1).

If α ∼ B(a1, a2), with a2 < d2, and if the prior πθ1,ψ is absolutelycontinuous with positive and continuous density at (θ∗1 , 0), then forall Mn going to ∞π[|α− α∗| > Mn(log n)γ/

√n|xn

]= op(1), γ = max((d1 + a2)/(d2 − a2), 1)/2,

Page 65: testing as a mixture estimation problem

Conclusion

I many applications of the Bayesian paradigm concentrate onthe comparison of scientific theories and on testing of nullhypotheses

I natural tendency to default to Bayes factors

I poorly understood sensitivity to prior modeling and posteriorcalibration

Time is ripe for a paradigm shift

Page 66: testing as a mixture estimation problem

Conclusion

Time is ripe for a paradigm shift

I original testing problem replaced with a better controlledestimation target

I allow for posterior variability over the component frequency asopposed to deterministic Bayes factors

I range of acceptance, rejection and indecision conclusionseasily calibrated by simulation

I posterior medians quickly settling near the boundary values of0 and 1

I potential derivation of a Bayesian b-value by looking at theposterior area under the tail of the distribution of the weight

Page 67: testing as a mixture estimation problem

Prior modelling

I Partly common parameterisation always feasible and henceallows for reference priors

I removal of the absolute prohibition of improper priors inhypothesis testing

I prior on the weight α shows sensitivity that naturally vanishesas the sample size increases

I default value of a0 = 0.5 in the Beta prior

Page 68: testing as a mixture estimation problem

Computing aspects

I proposal that does not induce additional computational strain

I when algorithmic solutions exist for both models, they can berecycled towards estimating the encompassing mixture

I easier than in standard mixture problems due to commonparameters that allow for original MCMC samplers to beturned into proposals

I Gibbs sampling completions useful for assessing potentialoutliers but not essential to achieve a conclusion about theoverall problem