arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2302.10564stat.CO
收藏

隐马尔可夫模型参数估计中的计算问题:基于Template Model Builder

Computational issues in parameter estimation for hidden Markov models with Template Model Builder

Timothée Bacri, Geir D. Berentsen, Jan Bulla, Bård Støve

AI总结:

本文扩展了TMB框架在HMM参数估计中的应用,提出了基于TMB的平滑概率置信区间计算方法,并系统评估了R中多种优化器在DNM下的性能,发现使用TMB梯度可提升速度,同时提供梯度和海森矩阵可减少迭代次数,并探讨了混合方法的优势。

摘要:

估计隐马尔可夫模型(HMM)参数的一种常用方法是对(对数)似然函数进行直接数值最大化(DNM)。最近,Bacri等人(2022)展示了在R中采用TMB(Kristensen等人,2016)框架用于此目的的优点。在本文中,我们从两个方向扩展这些结果。首先,我们提出了一种通过TMB以适度的计算和编程工作量获得所谓平滑概率的不确定性估计(以置信区间(CI)形式)的实用方法。因此,我们的方法避免了计算密集型的自助法。通过多个示例,我们展示了所推导置信区间中存在的模式。其次,我们研究了在通过DNM估计HMM时,R中可用的流行优化器的性能。这里,我们的重点在于采用TMB的潜在好处。通过一系列模拟研究,我们考察了收敛速度、准确性以及(较差的)初始值的影响。我们的发现表明,所有考虑的优化器在使用TMB提供的梯度时,在速度方面均受益。当同时提供来自TMB的梯度和海森矩阵时,迭代次数减少,表明对数似然最大值处的收敛更为高效。最后,我们简要指出了混合方法的潜在优势。

英文摘要:

A popular way to estimate the parameters of a hidden Markov model (HMM) is direct numerical maximization (DNM) of the (log-)likelihood function. The advantages of employing the TMB (Kristensen et al., 2016) framework in R for this purpose were illustrated recently Bacri et al. (2022). In this paper, we present extensions of these results in two directions. First, we present a practical way to obtain uncertainty estimates in form of confidence intervals (CIs) for the so-called smoothing probabilities at moderate computational and programming effort via TMB. Our approach thus permits to avoid computer-intensive bootstrap methods. By means of several examples, we illustrate patterns present for the derived CIs. Secondly, we investigate the performance of popular optimizers available in R when estimating HMMs via DNM. Hereby, our focus lies on the potential benefits of employing TMB. Investigated criteria via a number of simulation studies are convergence speed, accuracy, and the impact of (poor) initial values. Our findings suggest that all optimizers considered benefit in terms of speed from using the gradient supplied by TMB. When supplying both gradient and Hessian from TMB, the number of iterations reduces, suggesting a more efficient convergence to the maximum of the log-likelihood. Last, we briefly point out potential advantages of a hybrid approach.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑