Re-running an experiment is generally costly and, in some cases, impossible due to limited resources; therefore, the design of an experiment plays a critical role in increasing the quality of experimental data. In this paper, we describe the current state of R-packages for the design of experiments through an exploratory data analysis of package downloads, package metadata, and a comparison of characteristics with other topics. We observed that experimental designs in practice appear to be sufficiently manufactured by a small number of packages, and the development of experimental designs often occurs in silos. We also discuss the interface designs of widely utilized R packages in the field of experimental design and discuss their future prospects for advancing the field in practice.
CrossCarry: An R package for the analysis of data from a crossover design with GEE
University of the Balearic Islands(巴利阿里群岛大学);Artificial Intelligence Research Institute of the Balearic Islands (IAIB)(巴利阿里群岛人工智能研究所);Health Research Institute of the Balearic Islands (IdISBa)(巴利阿里群岛健康研究所)
IsoCheck: An R Package to check Isomorphism for Two-level Factorial Designs with Randomization Restrictions
析因设计经常用于各种工业和社会学实验,以确定可能影响过程响应的重要因素和因素组合。在统计学文献中,一些研究调查了析因设计和部分析因设计的分析、构造和同构。当一个设计有多种选择时,有一个易于使用的工具来识别哪些是不同的,哪些可以有效地分析/具有良好的理论特性是很有帮助的。为此,我们提出了一个名为IsoCheck的R库,用于检查具有随机化限制的多阶段2^n阶乘实验的同构。通过将因子及其组合表示为有限的射影几何,IsoCheck将搜索所有可能的重新标记的问题重新转换为搜索collineations,然后利用空间的射影几何属性使搜索更加有效。此外,阶乘效应的位串表示用于表征设计的所有可能重排,从而便于重新标记后的快速比较。我们给出了几个R代码的例子来说明IsoCheck中主要函数的用法。除了检查2^n多阶段析因设计的等价性和同构性之外,我们还演示了如何使用软件包的函数来创建所有非同构设计的目录,并随后根据适当定义的排序标准对这些设计进行排序。IsoCheck是自由软件,在通用公共许可证下分发,可从Comprehensive R Archive Network获得。
BayesPPD: An R Package for Bayesian Sample Size Determination Using the Power and Normalized Power Prior for Generalized Linear Models
R软件包BayesPPD(Bayesian Power Prior Design)支持将历史数据与广义线性模型(GLM)的功效先验和归一化功效先验合并后的贝叶斯功效和第一类错误计算以及模型拟合。该包可容纳汇总水平数据或具有协变量信息的受试者水平数据。它支持使用多个历史数据集以及没有历史数据的设计。响应的支持分布包括正态分布、二进制分布(Bernoulli/binomial)、泊松分布和指数分布。功效参数$a_0$可以是固定的,或者使用这些分布中的每一个的归一化功效先验来随机建模。此外,该软件包支持使用任意采样先验来计算贝叶斯功效和第一类错误率,并具有GLM的特定功能,可以从历史数据半自动生成采样先验。由于GLM的样本量确定(SSD)是计算密集型的,已经实现了基于渐近理论的近似方法,以支持使用功率先验的应用。除了描述统计方法学和功能包中实现的SSD,我们还展示了使用贝叶斯PPD在两个全面的案例研究。