Experiments require human decisions in the design process, which in turn are reformulated and summarized as inputs into a system (computational or otherwise) to generate the experimental design. I leverage this system to promote a language of experimental designs by proposing a novel computational framework, called "the grammar of experimental designs", to specify experimental designs based on an object-oriented programming system that declaratively encapsulates the experimental structure. The framework aims to engage human cognition by building experimental designs with modular functions that modify a targeted singular element of the experimental design object. The syntax and semantics of the framework are built upon consideration from multiple perspectives. While the core framework is language-agnostic, the framework is implemented in the `edibble` R-package. A range of examples is shown to demonstrate the utility of the framework.
翻译:实验在设计过程中需要人类决策,这些决策随后被重新表述并总结为系统(计算或其他)的输入以生成实验设计。我利用这一系统推广实验设计语言,提出了一种名为“实验设计语法”的新型计算框架,该框架基于面向对象编程系统,通过声明式方式封装实验结构来指定实验设计。该框架旨在通过构建模块化函数来修改实验设计对象中的目标单一元素,从而调动人类认知。框架的语法与语义基于多角度考量构建。尽管核心框架与语言无关,但该框架已在 `edibble` R 包中实现。文中通过一系列示例展示了该框架的实用性。