Token导航 LogoToken导航TokenDH.com
效率只读clawhub未标认证来源可访问clear审计提醒

r-stats统计数据

Agent Skill

r-stats 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

11,157

周安装

447

GitHub Stars

公开资料未说明

下载量

3,612
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:r-stats(统计数据)
来源仓库:https://github.com/cuiweig/r-stats
安装命令:
openclaw skills install r-stats
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install r-stats

简介

集成 R 语言中的 82 种统计分析方法,涵盖回归、生存分析与临床试验设计等领域。

  • 可用于复杂建模任务的快速原型搭建与结果解读支持。
  • 通过 JSON 规范定义输入参数,返回标准化分析结果与建议流程。
  • 使用前请确认数据格式兼容性与变量命名规则,避免因类型错误导致失败。
  • 安装命令:openclaw skills install r-stats

SKILL.md

name
openclaw-r-stats
metadata
openclaw
emoji
📊
requires
bins
description
>
ZH
统计分析, 回归, 检验, 预测, 显著性, 生存分析, 元分析, 贝叶斯;
JA
統計分析, 回帰, 検定, 予測; KO: 통계분석, 회귀, 검정;
ES
análisis estadístico, regresión; FR: analyse statistique, régression;
DE
statistische Analyse, Regression; PT: análise estatística, regressão;
RU
статистический анализ, регрессия; AR: تحليل إحصائي.

OpenClaw R Stats

When to Use

User asks for any statistical analysis, hypothesis testing, group comparison, prediction, association, survival analysis, meta-analysis, causal inference, power/sample size, or mentions R statistical packages.

What This Skill Does NOT Do

  • Claim causality from observational data (use "associated with")
  • Run large exploratory fishing without clear user intent
  • Silently ignore assumption violations
  • Report only p-values (always include effect sizes and CIs)

Pre-Flight (Mandatory)

  1. Confirm dataset exists and is readable
  2. Run schema inspection: bash {baseDir}/scripts/run-rstats.sh schema --data <path>
  3. Report: rows, columns, types, missing values
  4. If missing > 5%, warn. If n < 30, warn small sample.

Environment Setup

First time or errors: bash {baseDir}/scripts/run-rstats.sh doctor

Install by profile (only when needed):

ProfileScriptMethods
Coreinstall-core.Rt-test, regression, ANOVA, chi-sq
Survivalinstall-survival.RKM, Cox, competing risks, RMST
Missinginstall-missing.RMICE, MCAR test
Mixedinstall-mixed.RLMM, GLMM, GEE, ICC
Bayesinstall-bayes.Rbrms, Bayes factors
Causalinstall-causal.RPSM, IPTW, IV, DiD, RDD, TMLE
Metainstall-meta.Rmeta-analysis, NMA
SEMinstall-sem.RSEM, CFA, lavaan
Diagnosticinstall-diagnostic.RROC, kappa, alpha
Advancedinstall-advanced.RGAM, quantile, zero-inflated
Powerinstall-power.Rpower/sample size

Workflow

  1. Determine analysis type (see references/METHOD_TABLE.md)
  2. Inspect dataset schema
  3. Build JSON spec:
{
  "dataset_path": "<path>",
  "analysis_type": "<type>",
  "outcome": "<column>",
  "predictors": ["<col1>"],
  "hypothesis": "<plain language>",
  "alpha": 0.05,
  "seed": 42,
  "output_dir": "<path>"
}
  1. Save as .json, run: bash {baseDir}/scripts/run-rstats.sh analyze --spec <path>
  2. Read summary.json + report.md
  3. Present: Summary → Statistics → Interpretation → Plots → Assumptions → Caveats

Analysis Selection

For the complete 82-method table with user intent mapping, see references/METHOD_TABLE.md.

Quick lookup — most common:

Intentanalysis_type
Compare 2 groupsttest or wilcoxon
Compare 3+ groupsanova or kruskal
Categorical associationchisq or fisher
Predict continuouslinear_regression
Predict binarylogistic_regression
Survival curveskaplan_meier
Survival regressioncox_regression
Meta-analysismeta_analysis
Causal effectpropensity_match or did
Power/sample sizepower_analysis

Automatic Method Switching

  • Non-normal + n < 30 → wilcoxon over ttest
  • Unequal variance → Welch t-test (equal_var: false)
  • Expected cells < 5 → fisher over chisq
  • Overdispersion in Poisson → suggest negative binomial
  • Heteroscedastic residuals → robust SE warning

Reporting Rules (Non-Negotiable)

Every analysis MUST include:

  • Sample size (n) and missing data handling
  • Method name and rationale
  • Point estimates with confidence intervals
  • Effect sizes (Cohen's d, η², R², OR, HR, etc.)
  • Assumption check results
  • Limitations

Language: "associated with" / "evidence suggests" — NEVER "proves" / "causes"

Spec Field Reference

See references/SPEC_REFERENCE.md for required/optional fields per analysis_type.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

76.9%
按下载量换算2,778

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills