Prior Distributions
To sample the posterior of the PDF model parameters \(\boldsymbol{\theta}\), we must specify a prior distribution \(\pi(\boldsymbol{\theta})\).
Colibri’s release supports two prior types:
Uniform priors, with individually configurable bounds for each parameter.
Gaussian priors, defined by a mean vector and covariance matrix derived from the posterior samples of a previous fit.
The latter implements a Bayesian-update (posterior-factorisation): when you believe the earlier fit is a valid approximation (or exactly Gaussian), and the two datasets are uncorrelated, you can use the posterior of the first fit as a prior for the second fit.
Extra parameters of the forward map
Besides the PDF parameters, the forward map can have extra fit parameters, e.g. a normalisation or SMEFT Wilson coefficients. Their prior is independent of the PDF one:
prior_settingssets the prior of the PDF parameters only (thebayesian_priorprovider, which takes thepdf_model). Bounds for parameters that are not in the PDF model are ignored, with a warning.extra_prior_settingssets the prior of the extra parameters (theextra_parameters_priorprovider). It has the same structure asprior_settings; by default onlyuniform_parameter_prioris supported, with per-parameterboundsor a globalmin_valandmax_val. With the default provider, it is required as soon as the forward map has extra parameters.
Apps can override either provider with any prior, e.g. a non-uniform prior on the extra parameters, as long as it covers only its own part of the parameters.
prior_settings: # PDF parameters
prior_distribution: uniform_parameter_prior
prior_distribution_specs: {min_val: -1, max_val: 1}
extra_prior_settings: # extra parameters
prior_distribution: uniform_parameter_prior
prior_distribution_specs:
bounds: {norm: [0.5, 1.5]} # or: {min_val: ..., max_val: ...}
The fit uses the product of the two priors, so any PDF prior, including the one of a PDF model app, can be combined with any extra parameters. The analytic fit takes its uniform prior bounds from the same two places.
Likewise, for the fits that need a starting point (Monte Carlo and Hessian),
param_initialiser_settings initialises the PDF parameters, and
extra_param_initialiser_settings the extra ones, with the same options
(zeros, uniform, normal). The default for the extra parameters is
zeros:
extra_param_initialiser_settings:
type: uniform
min_val: 0.9
max_val: 1.1
In the next section we outline the basic idea and domain of validity of this posterior-factorisation approach.
Bayesian update
Let us suppose that experimental data comprising \(N_{\rm data}\) datapoints is distributed according to a multivariate normal distribution,
where \(\Sigma\) is an \(N_{\rm data}\times N_{\rm data}\) experimental covariance matrix.
Since in Bayesian statistics, \(\boldsymbol{\theta}\) itself is assumed to be a random variable, it has some associated prior probability density \(\pi(\boldsymbol{\theta})\) which, in what follows, we will assume to be a “sufficiently” wide uniform probability density. Bayes’ theorem then tells us that after an observation \(\mathbf{D}_0\) of \(\mathbf{D}\), the probability density of \(\boldsymbol{\theta}\) is:
where we wrote the generalised \(L_2\) norm as:
Now let’s assume that \(\mathbf{D}_0 = (\mathbf{D}_1, \mathbf{D}_2)^T\), with \(\mathbf{D}_1\in\mathbb{R}^{n_1}\), \(\mathbf{D}_2\in\mathbb{R}^{n_2}\) and \(n_1+n_2 = N_{\rm data}\), and that the two measurements are uncorrelated. That is, the covariance matrix factorises;
In this case, since the likelihood \(L(\mathbf{D}_0\mid\boldsymbol{\theta})\) factorises (block-diagonal \(\Sigma\)), we can write (1) as:
where we write \(FK(\boldsymbol{\theta}) = (FK_1(\boldsymbol{\theta}), FK_2(\boldsymbol{\theta}))^T\).
Now, by noticing that the posterior for parameters \(\boldsymbol{\theta}\) given only \(\mathbf{D}_1\) is:
we can rewrite (2) as:
Note that, if we have a measurement \(\mathbf{D}\sim N(FK(\boldsymbol{\theta}),\Sigma)\) with covariance matrix given by the direct sum of individual contributions,
we can apply this recursively. The posterior after all \(n\) uncorrelated blocks is:
with each intermediate posterior for \(k>1\) defined by: