Token导航 LogoToken导航

Agent Skill · 研究检索

stats-methods(统计方法)

stats-methods 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

stats-methods 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 57,638。

总安装 428周安装 18GitHub Stars 55下载 150核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/vm0-ai/vm0-skills --skill stats-methods

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

stats-methods 用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。可通过 npx skills add 命令从指定 GitHub 仓库安装。安装前建议确认权限范围、维护状态,以及是否会触发联网或文件读写。

属于研究检索类技能,适用于信息聚合与筛选场景。

来源仓库内路径:skills/stats-methods

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/vm0-ai/vm0-skills --skill stats-methods;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

stats-methods 怎么安装?

在终端执行 npx skills add https://github.com/vm0-ai/vm0-skills --skill stats-methods。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

stats-methods 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

stats-methods 需要什么权限?

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

stats-methods 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

stats-methods 用的人多吗?

公开数据是累计安装 428 次,近一周安装 18 次,下载 150 次,GitHub 55 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

stats-methods 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
stats-methods

统计方法 · 本页

42855只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Summarizing Numeric Data

Choosing a Center Metric

Data CharacteristicRecommended MeasureRationale
Symmetric, outlier-freeMeanMaximally efficient estimator
Asymmetric or outlier-heavyMedianUnaffected by extreme values
Non-numeric or rankedModeSole option for categorical data
Business KPIs like revenue per userBoth mean and medianThe gap between them reveals skewness

Guideline: For any business metric, present the mean alongside the median. When they differ substantially, the distribution is skewed and the mean by itself will mislead.

Quantifying Variability

  • Standard deviation: Typical distance from the mean; best suited to bell-shaped data.
  • IQR (interquartile range): Gap between the 25th and 75th percentiles; resistant to extreme values.
  • Coefficient of variation: Standard deviation divided by the mean; enables apples-to-apples variability comparison across different scales.
  • Range: Maximum minus minimum; gives a quick but outlier-sensitive view of data spread.

Telling the Story with Percentiles

Go beyond averages by reporting a percentile ladder:

p1:   Floor of the distribution (bottom 1%)
p5:   Lower boundary of typical values
p25:  First quartile
p50:  Median — the representative observation
p75:  Third quartile
p90:  Top 10% threshold (heavy users, premium tier)
p95:  Upper boundary of typical values
p99:  Extreme top 1%

Sample insight: "Half of all sessions last under 4.2 minutes, yet the top decile exceeds 22 minutes, which pushes the average to 7.8 minutes."

Characterizing Distributions

For every numeric column, document:

  • Shape: Gaussian, right-tailed, left-tailed, bimodal, uniform, heavy-tailed
  • Center: Mean vs. median and the magnitude of their difference
  • Spread: Standard deviation or IQR as appropriate
  • Extremes: Count and severity of outliers
  • Boundaries: Natural limits such as zero floors or 100% ceilings

Trend Analysis and Projection

Smoothing Noisy Time Series

# Weekly smoother — useful for daily data with weekday/weekend cycles
df['smooth_7'] = df['metric'].rolling(window=7, min_periods=1).mean()

# Four-week smoother — irons out both weekly and monthly rhythms
df['smooth_28'] = df['metric'].rolling(window=28, min_periods=1).mean()

Period Comparisons

  • Week-over-week: Same weekday, one week apart
  • Month-over-month: Calendar month versus prior calendar month
  • Year-over-year: The gold standard for businesses with seasonal patterns
  • Same-calendar-day: Matches the exact date from the prior year

Measuring Growth

Simple rate:   (current - prior) / prior
CAGR:          (final / initial) ^ (1 / n_years) - 1
Log rate:      ln(current / prior)   # more stable for volatile series

Spotting Seasonal Cycles

  1. Visually inspect the raw series first
  2. Aggregate by day-of-week to surface weekly rhythms
  3. Aggregate by calendar month to surface annual rhythms
  4. Always use year-over-year or matched-period comparisons to separate trend from seasonality

Lightweight Forecasting Approaches

For analysts who need quick projections rather than full modeling:

  • Naive: Forecast equals the most recent observation. Serves as the minimum-viable baseline.
  • Seasonal naive: Forecast equals the value from the same period in the prior cycle.
  • Linear extrapolation: Fit a straight line to recent history. Only appropriate when the trend is clearly linear.
  • Trailing average: Use a rolling mean as the projected value.

Always express forecasts as ranges, not point estimates:

  • Good: "Next month should bring 10,000 to 12,000 registrations based on the trailing quarter"
  • Misleading: "Next month will yield exactly 11,234 registrations"

Hand off to a specialist when the pattern is non-linear, multiple seasonal cycles overlap, external drivers (ad spend, holidays) matter, or when forecast precision drives resource decisions.

Detecting and Handling Outliers

Identification Techniques

Z-score approach (assumes approximate normality):

z = (df['val'] - df['val'].mean()) / df['val'].std()
outliers = df[abs(z) > 3]  # beyond 3 standard deviations

IQR fence approach (works regardless of distribution shape):

q1 = df['val'].quantile(0.25)
q3 = df['val'].quantile(0.75)
iqr = q3 - q1
lo = q1 - 1.5 * iqr
hi = q3 + 1.5 * iqr
outliers = df[(df['val'] < lo) | (df['val'] > hi)]

Percentile cutoff approach (most straightforward):

outliers = df[(df['val'] < df['val'].quantile(0.01)) |
              (df['val'] > df['val'].quantile(0.99))]

What to Do with Outliers

Never strip outliers automatically. Follow this decision process:

  1. Diagnose: Is this a recording error, a legitimately extreme observation, or a sign of a separate population?
  2. Errors: Correct or exclude (e.g., negative ages, epoch-zero timestamps)
  3. Legitimate extremes: Retain but switch to robust summaries (median, IQR)
  4. Distinct populations: Analyze separately (e.g., enterprise accounts vs. self-serve)

Document every exclusion: "We set aside 47 records (0.3% of the dataset) with order values above $50K; these bulk enterprise transactions are covered in a separate section."

Detecting Anomalies in Time Series

  1. Establish an expected baseline (rolling average or year-ago value)
  2. Compute the residual: actual minus expected
  3. Flag residuals exceeding 2-3 standard deviations of historical residuals
  4. Differentiate one-off spikes (point anomalies) from lasting shifts (change points)

Hypothesis Testing Essentials

When It Applies

Use formal testing whenever you need to distinguish a real signal from random noise:

  • Evaluating A/B experiment results
  • Measuring the impact of a product change (before vs. after)
  • Comparing metrics across customer segments

Step-by-Step Process

  1. State the null (H0): No difference exists (default position)
  2. State the alternative (H1): A difference exists
  3. Set the significance threshold (alpha): 0.05 is standard (5% false-positive tolerance)
  4. Calculate the test statistic and p-value
  5. Decide: p < alpha means sufficient evidence to reject H0

Selecting the Right Test

QuestionAppropriate TestConditions
Two group means differ?Independent samples t-testRoughly normal, two groups
Two conversion rates differ?Proportions z-testBinary outcomes
Same entities measured twice?Paired t-testPre/post on identical subjects
Three or more group means?ANOVAMultiple variants or segments
Non-normal data, two groups?Mann-Whitney USkewed or ordinal metrics
Two categorical variables related?Chi-squared testFrequency table data

Beyond p-values: Practical Impact

A statistically significant result only means the effect is unlikely due to chance. It does not guarantee the effect matters in practice. Always accompany test results with:

  • Effect magnitude: "Variant B lifted conversion by 0.3 percentage points"
  • Confidence interval: The plausible range of the true effect
  • Business translation: Revenue, user, or efficiency implications

Sample Size Awareness

  • Small samples yield unreliable conclusions even when p-values look good
  • Proportions require roughly 30 or more events per group for baseline reliability
  • Detecting subtle effects (e.g., a 1-point conversion shift) can demand thousands of observations per arm
  • When data is limited, say so: "With 200 observations per group, effects smaller than X% would likely go undetected"

Guarding Against Statistical Pitfalls

Correlation vs. Causation

Whenever a correlation surfaces, explicitly evaluate:

  • Reverse direction: Perhaps B drives A rather than A driving B
  • Hidden third factor: Some unmeasured variable C could be behind both
  • Coincidence: Enough variable pairs will show spurious associations

Safe phrasing: "Users who adopt feature X exhibit 30% higher retention" Unsafe phrasing: "Feature X causes 30% higher retention" (requires experimental evidence)

The Multiple Testing Trap

Running many tests inflates false positives:

  • At alpha = 0.05, testing 20 metrics yields roughly one spurious hit by chance
  • If you explored numerous segments before finding the "interesting" one, acknowledge that
  • Apply Bonferroni correction (alpha / number of tests) or transparently report total tests conducted

Simpson's Paradox

An overall trend can invert when you break the data into subgroups:

  • Verify that aggregate conclusions hold within each key segment
  • Classic scenario: total conversion rises while every segment's conversion falls, because traffic shifted toward a naturally higher-converting segment

Survivorship Bias

Your dataset only contains entities that persisted long enough to be recorded:

  • Studying current users ignores everyone who already left
  • Profiling winning products overlooks the failures
  • Routinely ask: "Who is absent from this data, and would including them change the conclusion?"

Ecological Fallacy

Group-level patterns may not describe individuals:

  • "Nations with higher X tend to have higher Y" does not mean the same holds per person
  • Resist applying aggregate statistics to individual-level predictions

Illusory Precision

Overly specific numbers suggest unjustified confidence:

  • "Churn will be 4.73% next quarter" implies an accuracy that rarely exists
  • Prefer honest ranges: "Churn is likely between 4% and 6%"
  • Round to the level of certainty you actually possess

平台分布

Codex

32.84%
按下载量换算49

Claude

31.76%
按下载量换算48

Cursor

20.63%
按下载量换算31

Gemini CLI

10.31%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills