arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.13777stat.AP
收藏

R 中的计算机代数弥合了统计学与数据科学教学中数学与数据之间的鸿沟

Computer Algebra in R Bridges a Gap Between Mathematics and Data in the Teaching of Statistics and Data Science

Mikkel Meyer Andersen, Søren Højsgaard

AI总结:

本文介绍紧密集成于 R、以 SymPy 为后端的 caracas 包,说明其如何通过高层次符号计算连接数学与数据,并以示例和学生项目主题支持统计学及数据科学教学。

摘要:

R 进行符号数学的能力通过 caracas 包得到增强。该包使用 Python 计算机代数库 SymPy 作为后端,但 caracas 紧密集成在 R 环境中。这使 R 用户能够在 R 内以较高的抽象层次使用符号数学,而不必像直接从 R 使用 SymPy 时那样使用文本字符串和文本字符串操作。我们通过若干示例展示了数学和统计学如何受益于借助 R 连接计算机代数与数据,并提出了一些适合小型学生项目的主题。caracas 包能够与 Rmarkdown 等良好集成,因此支持科学报告的创建和教学。

英文摘要:

The capability of R to do symbolic mathematics is enhanced by the caracas package. This package uses the Python computer algebra library SymPy as a back-end but caracas is tightly integrated in the R environment. This enables the R user with symbolic mathematics within R at a high abstraction level rather than using text strings and text string manipulation as the case would be if using SymPy from R directly. We demonstrate how mathematics and statistics can benefit from bridging computer algebra and data via R. This is done thought a number of examples and we propose some topics for small student projects. The caracas package integrates well with e.g. Rmarkdown, and as such creation of scientific reports and teaching is supported.

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

↑