效应归因分析

SKILL研究检索
研究检索 未标注权限 许可证不明确
安装这个技能

可以分析某种流程是否其效果,里面包含了多种逻辑验证,特别加了是否由于用户人为选择导致的效果而非流程效果验证。

一句话选型结论

按资料字段整理

效应归因分析是研究检索类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类研究检索 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_789adc32/treatment-effect-attribution
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

研究检索
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_789adc32仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验2026-11-06上游最后核验时间 · 数据更新 2026-11-06
正文体量12.5 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
查资料并整理出处

让模型按主题查资料,并把引用来源整理成清单。

网页与文献要点提炼

把长文、论文、网页压成能直接看的要点。

竞品与行业汇总

按关键词汇总竞品动态与行业信息。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在研究检索场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
效应归因分析当前 未标注权限 未标注 未标注 未标注 有
寻找技能 浏览器控制 GitHub 仓库 3120.0 万 Codex、Claude、Cursor 有
自我改进 Agent 接触敏感数据 ClawHub 市场 1646.4 万 OpenClaw 有
灵魂追踪 联网访问 GitHub 仓库 758.9 万 Codex、Claude、Cursor 有
自我完善 联网访问 ClawHub 市场 682.9 万 OpenClaw 有
微软代工厂 调用外部服务 GitHub 仓库 661.4 万 Codex、Claude、Cursor 有

SKILL.md 全文

12.5 KB
模型实际读到的说明书原文,来自技能仓库

Treatment Effect Attribution

Overview

This skill validates whether an observed treatment effect (e.g., green channel vs normal channel, premium vs standard service, special program participants vs non-participants) is genuinely caused by the treatment itself, or merely reflects self-selection bias — the tendency for high-intent users to self-select into the treatment group. It uses a 5-phase methodology that works with observational (non-experimental) data, progressively narrowing the causal attribution from correlation to near-causal confirmation.

When to Use This Skill

Trigger this skill when any of the following conditions apply:

  1. User compares a "treated" group vs "untreated" group and questions whether the observed difference is real or just self-selection
  2. User has conversion rate / performance data split by channel, program, or service tier
  3. User asks "is X really effective, or just attracting better users?"
  4. User wants to validate ROI or cost-effectiveness of a premium channel/program
  5. User has observational data (no random assignment) and needs to approximate causal inference

Typical scenarios: green/premium channel analysis, VIP service evaluation, marketing channel attribution, special program effectiveness validation, pricing tier comparison.

Input Requirements

The skill requires the following data structure in the input file (Excel/CSV):

Minimum Required Columns

Column Description Example
Entity dimension Teacher name, sales rep, store ID, etc. "郭慈恩"
Time dimension Month, week, or period "2026-09"
Treatment flag Whether the record belongs to treated group "绿色" / "非绿色"
Attendance/volume Count of users/exposures in the group 245
Conversions/outcomes Count of successful conversions 78

Ideal Additional Columns (for deeper analysis)

  • Per-user cost data (for ROI calculation)
  • User-level intent signals (interaction behavior, trial duration, etc.)
  • Multiple outcome metrics (conversion rate, revenue, retention)

Data Granularity

Data should be at the entity-time-treatment level (e.g., one row per teacher-month-channel). User-level data is even better but not required.

Workflow: 5-Phase Analysis

Execute phases in order. Each phase builds evidence; skip a phase only if data is insufficient.

Phase 1: Basic Effect Comparison

Calculate and present the treated vs untreated comparison:

  1. Sum treated and untreated attendance and conversions across all entities and time periods
  2. Calculate conversion rates: conversion_rate = conversions / attendance
  3. Calculate absolute lift: treated_rate - untreated_rate
  4. Calculate relative lift: (treated_rate - untreated_rate) / untreated_rate
  5. Calculate treated group's contribution share: treated_conversions / total_conversions
  6. Calculate treated group's attendance share: treated_attendance / total_attendance
  7. If cost data available, calculate break-even cost premium ratio: 1 / relative_lift (the maximum cost premium the treatment can sustain while remaining ROI-positive)

Present results in a summary table. Flag the break-even ratio as the key decision threshold.

Phase 2: Self-Selection Bias Detection (5 Dimensions)

This is the core of the skill. Run all 5 tests; each produces a verdict that feeds into the final synthesis.

Test 1: Allocation Ratio Distribution

  • For each entity-time combination, calculate treatment attendance share: treated_attendance / (treated_attendance + untreated_attendance)
  • Compute the distribution statistics: mean, standard deviation, min, max
  • Interpretation: If std > 20pp, the treatment is selectively allocated (potential self-selection at the entity level). If std < 10pp, allocation is relatively uniform.

Test 2: Baseline Ability vs Treatment Allocation Correlation

  • For each entity, calculate untreated conversion rate as "baseline ability" proxy
  • Calculate the entity's treatment attendance share
  • Compute Pearson correlation between baseline ability and treatment share
  • Interpretation: If r > 0.3 (positive), high-ability entities receive more treatment resources → entity-level selection bias confirmed. If r near 0 or negative → no systematic entity-level selection.

Test 3: Dilution Test — Treatment Volume vs Treatment Conversion Rate

  • For each entity, calculate treatment attendance volume and treatment conversion rate
  • Compute Pearson correlation between treatment volume and treatment conversion rate
  • Interpretation: If r < 0 (negative), smaller treatment groups have higher conversion → supports "cherry-picking" hypothesis (self-selection). If r > 0 (positive) → refutes self-selection; larger groups perform better, indicating the treatment process itself drives results, not selective curation.

Test 4: Allocation Stability Across Time

  • For each entity appearing in multiple time periods, calculate the standard deviation of treatment attendance share across periods
  • Compute the average across entities
  • Interpretation: If average std > 10pp, treatment allocation fluctuates significantly → may be demand-driven (random variation). If < 5pp, allocation is systematic and stable.

Test 5: Controlled Comparison — Same Entity, Same Time

  • For each entity-time combination that has BOTH treated and untreated data, calculate the conversion rate difference
  • Count how many show treated > untreated vs treated <= untreated
  • Calculate the average lift across all controlled comparisons
  • Interpretation: If > 70% of controlled comparisons show treated > untreated, the treatment effect holds after controlling for entity and time → strong evidence of genuine effect.

Phase 3: Dilution Test — Scale Expansion Analysis

This test uses the time dimension to test whether scaling the treatment dilutes its effect:

  1. For each time period, calculate the treatment attendance share (aggregate level)
  2. For each time period, calculate the absolute conversion rate lift (treated - untreated)
  3. Plot treatment share (x-axis) vs absolute lift (y-axis)
  4. Calculate Pearson correlation
  5. Interpretation: If r > 0 (positive correlation), scaling the treatment does NOT dilute the effect → refutes self-selection. If r < 0, scaling dilutes the effect → supports self-selection.

Key reasoning: Under self-selection, the treatment selectively curates high-intent users. Expanding the treatment (larger share) must include lower-intent users, diluting the effect. If the effect holds or grows as share expands, the treatment process itself is contributing.

Phase 4: Same-Entity Cross-Period Comparison

This test controls for entity identity while allowing time variation:

  1. Identify entities that appear in at least 2 time periods with treatment data
  2. For each entity, compare across periods:
    - Treatment attendance share change
    - Untreated baseline conversion rate change
    - Treatment conversion rate change
    - Absolute lift change
  3. Look for patterns:
    - Same share, different lift → process/flow effect, not user composition
    - Share expands, lift expands → refutes self-selection
    - Share shrinks, lift expands → ambiguous (could be self-selection or process maturation)
  4. Interpretation: If the majority of entities show "share expands → lift expands" or "same share → different lift", self-selection is refuted. The treatment effect varies with process maturity, not user curation.

Phase 5: Evidence Synthesis & Conclusion Framework

Synthesize all evidence into a structured verdict:

Evidence Summary Table

Test Self-Selection Prediction Actual Result Verdict
Allocation distribution — std value Selective/Uniform
Baseline vs allocation r > 0.3 r value Confirmed/Refuted
Volume vs conversion rate r < 0 r value Confirmed/Refuted
Scale vs lift (dilution) r < 0 r value Confirmed/Refuted
Same-entity cross-period Same share → same lift Pattern Confirmed/Refuted
Controlled comparison < 50% treated > untreated % value Confirmed/Refuted

Conclusion Tiers

  • Near-Causal Confirmation: 4+ tests refute self-selection, controlled comparison > 70%, dilution test positive
  • Strong Evidence: 3 tests refute self-selection, controlled comparison > 60%
  • Moderate Evidence: 2 tests refute self-selection, controlled comparison > 50%
  • Insufficient Evidence: < 2 tests refute self-selection — recommend A/B testing

Cost Decision Framework

If the treatment effect is validated, provide a cost-benefit decision:

  • Calculate the relative lift ratio: treated_conversion_rate / untreated_conversion_rate
  • The break-even cost premium = relative_lift_ratio - 1 (as a percentage)
  • If actual cost premium < break-even → invest more
  • If actual cost premium ≈ break-even → marginal, monitor closely
  • If actual cost premium > break-even → do not invest further

Residual Confounders (always disclose)

Even with strong evidence, acknowledge:
1. Time-trend confound: both share and lift may grow with time independently
2. Unobserved user characteristics: user-level intent signals not captured in entity-level data
3. Process maturation vs user composition: cannot fully disentangle without randomization

Recommend A/B testing as the definitive solution when feasible.

Output Format

The skill should produce:

  1. Summary table of treated vs untreated metrics with lift calculations
  2. 5-dimension self-selection test results with correlation coefficients and verdicts
  3. Dilution test scatter plot data and interpretation
  4. Same-entity cross-period comparison table with key patterns highlighted
  5. Evidence synthesis table with final verdict tier
  6. Cost decision framework with break-even calculation (if cost data available)
  7. Residual confounders disclosure and recommended next steps

Visual outputs (charts, scatter plots) are encouraged when the data supports them.

Limitations

  1. Entity-level data only: This methodology works with aggregated data (entity-time-treatment level). It cannot fully control for user-level self-selection within the same entity-time cell.
  2. No randomization: Without A/B testing, residual confounders always exist. This skill narrows the plausible confounders but cannot eliminate them entirely.
  3. Time-trend confound: When both treatment share and treatment effect grow over time, a time trend (market improvement, process maturation) may explain part of the correlation. Same-entity cross-period comparison partially addresses this but cannot fully rule it out.
  4. Correlation is not causation: All tests use correlation-based logic. Strong refutation of self-selection is not the same as proving causation.
  5. Sample size sensitivity: Small samples (few entities, few time periods) reduce statistical power. Recommend at least 5 entities and 3 time periods for meaningful analysis.
  6. Binary treatment only: The methodology assumes a binary treated/untreated split. Continuous treatment intensity requires different approaches (regression discontinuity, instrumental variables).

When to Recommend A/B Testing Instead

This skill's methodology is a "best available approximation" for observational data. Recommend definitive A/B testing when:
- The business decision is high-stakes (large budget commitment)
- User-level randomization is feasible (same teacher, same day, random assignment)
- The observational analysis yields "Moderate" or "Insufficient" evidence
- User-level intent signals are available for propensity score matching

常见问题

5 问
答案由本站依据条目字段整理
效应归因分析怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_789adc32/treatment-effect-attribution。安装方式为未标注。装完刷新技能列表或重开客户端。

效应归因分析支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

效应归因分析权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

效应归因分析收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

效应归因分析用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 2026-11-06。