Straightforward methods for adapting the familiar chi^2 statistic to histograms of discrete events and other Poisson distributed data generally yield biased estimates of the parameters of a model. The bias can be important even when the total number of events is large. For the case of estimating a microcalorimeter's energy resolution at 6 keV from the observed shape of the Mn K-alpha fluorescence spectrum, a poor choice of chi^2 can lead to biases of at least 10% in the estimated resolution when up to thousands of photons are observed. The best remedy is a Poisson maximum-likelihood fit, through a simple modification of the standard Levenberg-Marquardt algorithm for chi^2 minimization. Where the modification is not possible, another approach allows iterative approximation of the maximum-likelihood fit.
A General Theory of Goodness of Fit in Likelihood Fits
可以使用分箱数据和未分箱数据来执行对数据的极大似然拟合。两种情况下的似然拟合都只产生拟合量,而不产生拟合的拟合优度。对于分组数据,在执行极大似然拟合之后,可以通过使用$χ^2$方法获得拟合优度的度量。对于未分组的数据,目前获得了拟合参数,但没有可用的拟合优度测量。迄今为止,这仍然是统计学上一个未解决的问题。通过考虑似然函数关于变量变化的变换性质,我们得出理论预测的概率密度与{ \it the data density}的似然比在变量变化时不变,并提供了拟合优度。我们将展示如何应用此似然比装箱以及未装箱的可能性,并表明,即使是$χ^2$测试是这个一般理论的一个特例。为了计算拟合量的误差,我们需要解决逆概率问题。我们使用贝叶斯定理来做到这一点,使用拟合优度中获得的数据密度。这允许人们在不使用贝叶斯先验的情况下反转概率。由此产生的统计数据与频率论的观点是一致的。
Optimal statistical inference in the presence of systematic uncertainties using neural network optimization based on binned Poisson likelihoods with nuisance parameters
Chi-square Fitting When Overall Normalization is a Fit Parameter
在实验研究中,不断出现当期望事件总数不固定时拟合事件分布的问题。在卡方拟合中,如果整体归一化是要拟合的参数之一,则拟合曲线相对于数据点可能非常低,有时低于所有数据点。这个问题和它的解决方案在统计界是众所周知的,但显然,在一些物理界并不为人所知。这篇笔记的目的是说教,解释问题的原因和简单而优雅的解决方案。解决方法是使用极大似然而不是卡方检验。这两种方法之间的本质区别是,极大似然使用卡方中每个项的归一化,假设它是正态分布,1/sqrt(2 pi sigma-square)。此外,归一化应用于理论期望而不是数据。在本说明中,我们说明了什么是错的,以及极大似然如何解决这个问题,在一个非常简单的玩具的例子,清楚地说明了这个问题,是适当的物理模型的事件直方图。然后,我们注意到如何一个简单的修改卡方方法给出了相同的结果的极大似然方法。