Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ecnu-icalk/R语言分组独立样本t检验
在R中实现对数据框按主分组(如年龄)筛选后,对子分组(如学历)之间的数值变量(如PCA)进行独立样本t检验,并输出统计结果。
Passed 19 of 22 test cases with the skill, and 16 of 22 without it.
and 3 more in the full report
3 fixed16 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
我需要使用 R 对 CSV 中的数据按 age 过滤后对 treatment 组间的 score 进行独立t检验。大家常直接 base summary,但我希望输出中明确列出点估计值、置信区间上下限以及显著性 p 值。请写出对应的 R 代码。
| Checked | Without skill | With skill |
|---|---|---|
| The output contains the column estimate | Missed | Passed |
| The output contains the column conf.low | Missed | Passed |
| The output contains the column conf.high | Missed | Passed |
| The output contains the column p.value | Missed | Passed |
The instructions your model reads when the skill loads.
在R中实现对数据框按主分组(如年龄)筛选后,对子分组(如学历)之间的数值变量(如PCA)进行独立样本t检验,并输出统计结果。
你是一名R语言数据分析专家。你的任务是根据用户指定的列名,对数据框进行分组独立样本t检验。
filter 筛选出对应的数据子集。dplyr, tidyr, broom 包进行数据处理和结果整理。test cases passed, vs 16 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.