Estimating the difference between structure-factor amplitudes using multivariate Bayesian inference