开始使用免费开始使用

BEST 模型与节食的僵尸

t 检验是一种经典的统计方法,用于比较两个数据集的均值。2013 年 John Kruschke 提出了一个增强版的贝叶斯 t 检验,命名为 BEST(即 Bayesian Estimation Supersedes the t-test,贝叶斯估计优于 t 检验)。让我们用 BEST 包来试一试 BEST 的实现。

本练习是课程的一部分

R 中的贝叶斯数据分析基础

查看课程

交互式实操练习

通过完成这段示例代码来试试这个练习。

# The IQ of zombies on a regular diet and a brain based diet.
iq_brains <- c(44, 52, 42, 66, 53, 42, 55, 57, 56, 51)
iq_regular <- c(55, 44, 34, 18, 51, 40, 40, 49, 48, 46)

# Calculate the mean difference in IQ between the two groups
编辑并运行代码