arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.12657stat.COstat.ME
收藏

使用 glmmr 包在 R 中实现广义线性混合模型的指定、分析、拟合和最优设计

Generalised Linear Mixed Model Specification, Analysis, Fitting, and Optimal Design in R with the glmmr Packages

Samuel I. Watson

AI总结:

本文介绍了 R 包 glmmrBase 和 glmmrOptim,前者用于灵活指定、拟合和分析广义线性混合模型,后者用于识别相关观测下的 c-最优实验设计,并提供了示例和比较。

摘要:

我们描述了 R 包 glmmrBase 及其扩展包 glmmrOptim。glmmrBase 提供了一种灵活的方法来指定、拟合和分析广义线性混合模型。我们在 R 中使用面向对象的类系统,为广泛的协方差和均值函数提供方法,包括数据和参数的非线性函数指定,这些方法适用于多种应用,如整群随机试验、队列研究、空间和时空建模以及裂区设计。该类生成相关的矩阵和统计量,并提供多种方法,包括使用随机最大似然、拉普拉斯近似、功效计算以及相关计算的访问来对广义线性混合模型进行完全似然估计。该类还包括随机效应的哈密顿蒙特卡洛模拟、稀疏矩阵方法以及其他支持高效估计的功能。glmmrOptim 包实现了一组算法,用于识别观测相关且可使用广义线性混合模型类指定的 c-最优实验设计。我们提供了几个示例以及与现有包的比较,以说明这些包的用法。

英文摘要:

We describe the \proglang{R} package \pkg{glmmrBase} and an extension \pkg{glmmrOptim}. \pkg{glmmrBase} provides a flexible approach to specifying, fitting, and analysing generalised linear mixed models. We use an object-orientated class system within \proglang{R} to provide methods for a wide range of covariance and mean functions, including specification of non-linear functions of data and parameters, relevant to multiple applications including cluster randomised trials, cohort studies, spatial and spatio-temporal modelling, and split-plot designs. The class generates relevant matrices and statistics and a wide range of methods including full likelihood estimation of generalised linear mixed models using stochastic Maximum Likelihood, Laplace approximation, power calculation, and access to relevant calculations. The class also includes Hamiltonian Monte Carlo simulation of random effects, sparse matrix methods, and other functionality to support efficient estimation. The \pkg{glmmrOptim} package implements a set of algorithms to identify c-optimal experimental designs where observations are correlated and can be specified using the generalised linear mixed model classes. Several examples and comparisons to existing packages are provided to illustrate use of the packages.

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

↑