[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EKVZBVHZ0YBGVCEWX03D2T":3,"skill-same:01M6EKVZBVHZ0YBGVCEWX03D2T":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":61,"commitSha":62,"skillDirectory":63,"forksCount":64,"repositoryHtmlUrl":65,"repositoryHomepageUrl":6,"ownerHtmlUrl":66,"ownerBlogUrl":67,"ownerDescription":68,"updatedAt":69,"install":70,"resources":83},"01M6EKVZBVHZ0YBGVCEWX03D2T","causal-estimand-definition",null,"Every causal study must declare its estimand explicitly — ATE \u002F ATT \u002F ATC \u002F CATE — with target population, treatment contrast, and prose-rule binding to keep results faithful to the declared estimand.","cgpan\u002Fedm-ars-public","cgpan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F118746117?v=4","01M6EKT5TG36Q3GH340QN8RH08","Chenguang Pan","01M6EKT5YTQVRARGJF0VPA1SY7",5,"MIT","https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Fskills\u002Fmethodology\u002Fcausal-estimand-definition\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31],"causal estimand definition","dag","methodology","critic","results","prose","writer","study","analyst","binding","identification","rule","keep","2026-11-10 10:12:30",false,"---\nname: causal-estimand-definition\nlayer: methodology\ndescription: Every causal study must declare its estimand explicitly — ATE \u002F ATT \u002F ATC \u002F CATE — with target population, treatment contrast, and prose-rule binding to keep results faithful to the declared estimand.\ntrigger_keywords:\n  - causal\n  - estimand\n  - ate\n  - att\n  - atc\n  - cate\n  - contrast\n  - population\napplicable_task_types:\n  - causal_soo\n  - causal_itr\napplicable_datasets: []\napplicable_stages:\n  - ProblemFormulator\n  - Analyst\n  - Critic\n  - Writer\npriority: 1\nreferences_skills:\n  - causal-dag-identification\nresources: []\nversion: \"1.0\"\nrule_severity: mandatory\n---\n\n# Causal Estimand Definition\n\nEvery causal `research_spec` must declare its **estimand** explicitly.\n\"What causal quantity are we estimating, in which target population,\nunder which treatment contrast?\" answered up front. No causal estimate\nmay be reported without a declared estimand. Estimand mismatch\nbetween the declared spec and the prose description is silent\ncorruption — `rule_severity: mandatory`.\n\n## Estimand taxonomy\n\n| Estimand | Definition |\n|---|---|\n| **ATE** (Average Treatment Effect) | `E[Y(1) - Y(0)]` — average potential-outcome contrast across the entire target population. |\n| **ATT** (Average Treatment effect on the Treated) | `E[Y(1) - Y(0) | T=1]` — average effect among units who actually received treatment. |\n| **ATC** (Average Treatment effect on the Controls) | `E[Y(1) - Y(0) | T=0]` — average effect among untreated units. |\n| **ATU** (Average Treatment effect on the Untreated) | Synonym for ATC. |\n| **CATE** (Conditional Average Treatment Effect) | `E[Y(1) - Y(0) | X=x]` — effect conditional on covariate profile `X=x`; produced by causal forest. |\n\n**HSLS-grounded ATT example:** for treatment `T = 1{X1MTHEFF >= median}`\nand outcome `Y = X4EVRATNDCLG`,\n\n> ATT = expected change in `X4EVRATNDCLG` if every above-median student\n> had instead been below-median (and every below-median had stayed\n> below-median).\n\n## Target-population taxonomy\n\n| Target | Definition \u002F V3.0 default |\n|---|---|\n| **HSLS analytic sample** | The rows surviving listwise deletion + analytic-sample filters. **V3.0 default** — no survey weights applied. |\n| **HSLS sampling-frame population** | The U.S. 9th-grade cohort of 2009. Estimating this requires applying `W4W1W2W3STU` survey weights. **Out of scope for V3.0.** |\n| **Super-population** | An idealized infinite population beyond HSLS. **Out of scope for V3.0** — see `hsls09-causal-conventions`. |\n\nIf V3.x or later wants population-marginal estimands, see audit\nOpen Question #4 (`hsls09-survey-weights-causal-application` skill,\ndeferred).\n\n## Treatment-contrast specification\n\nEvery causal spec must populate `research_spec.treatment_contrast`.\nAllowed schemas:\n\n```json\n{\"type\": \"binary_split\", \"threshold\": \"median\"}\n{\"type\": \"binary_split\", \"threshold\": 0.0}\n{\"type\": \"1sd_increase\"}\n{\"type\": \"categorical_pairwise\", \"reference\": \"level_0\"}\n{\"type\": \"binary_indicator\"}   \u002F\u002F already binary in the data\n```\n\n**No causal estimate may be reported without a defined contrast.**\n\"The effect of `X1MTHEFF`\" is not a sentence — `X1MTHEFF` is a\ncontinuous attitudinal scale (range −2.92 to 1.62); the contrast must\nspell out what 0\u002F1 (or low\u002Fhigh, or +1 SD) means before a number can\nbe produced.\n\n## Method → default-estimand mapping (mandatory rule)\n\n| Method | Default estimand | Notes |\n|---|---|---|\n| Regression adjustment (M1) | ATE (with marginal standardization) OR conditional effect | The choice must be declared. |\n| PSM (M2) | **ATT** (matched controls to treated) | ATE only with bilateral matching; otherwise PSM gives ATT. |\n| IPW with stabilized weights (M3) | ATE in the population | ATT if conditional weighting is used. |\n| AIPW \u002F TMLE (M4) | ATE | DR estimator targets ATE. |\n| Causal forest (M5) | CATE | \"ATE\" only via averaging over a declared population — never the default. |\n\nThe Critic must verify that the declared estimand in\n`research_spec.causal_estimand` matches the estimand the chosen\nestimator actually targets. Mismatch is a critical issue.\n\n## Writer-stage rules — describing selection-on-observables results\n\n### Required prose template\n\n> Under the assumption that all confounders are observed and properly\n> modeled (see DAG, §Identification), the estimated **[ATE\u002FATT\u002FCATE]**\n> of **[treatment contrast]** on **[outcome]** in **[target population]**\n> is X.XX (95% CI [X.XX, X.XX]).\n\n### Forbidden phrases\n\nThe following phrases are **forbidden** when describing\nselection-on-observables results:\n\n- \"X causes Y\"\n- \"the effect of X\" (without an estimand qualifier)\n- \"increasing X leads to Y\"\n\n### Required hedges\n\nEvery prose description of a causal estimate must include all three:\n\n- \"**estimated [ATE\u002FATT]**\" — name the estimand\n- \"**under the no-unmeasured-confounding assumption**\" — name the\n  identification assumption\n- \"**in the HSLS analytic sample**\" — name the target population (or\n  the equivalent if a different population is targeted)\n\n## Mandatory tagging\n\n`rule_severity: mandatory`. Estimand mismatch is silent corruption:\nthe declared \"ATE\" in the abstract while the estimator returns ATT\nproduces a paper that misleads readers about who the result applies\nto. Any failure of the Critic's estimand-match check is a **critical**\nissue.\n\n## Python implementation guidance\n\n**Primary library:** `pydantic` v2 (already in the scientific-Python\necosystem) for schema validation of `research_spec.causal_estimand`.\nNo causal-specific library needed.\n\n**Key data structures:**\n\n```python\n@dataclass\nclass CausalEstimand:\n    estimand_type: Literal[\"ATE\", \"ATT\", \"ATC\", \"ATU\", \"CATE\"]\n    target_population: Literal[\"sample\", \"frame\", \"super_population\"]\n    treatment_contrast: TreatmentContrast\n```\n\n**Function signatures the Analyst should produce:**\n\n```python\ndef declare_estimand(\n    estimand_type: Literal[\"ATE\", \"ATT\", \"ATC\", \"ATU\", \"CATE\"],\n    target_population: Literal[\"sample\", \"frame\", \"super_population\"],\n    treatment_contrast: dict,\n) -> dict: ...  # returns the validated estimand block\n\ndef assert_method_estimand_compatible(\n    method_name: str,\n    declared_estimand: str,\n) -> None: ...  # raises if PSM declared with ATE without bilateral matching\n```\n\n**Library pitfalls:** none directly. The risk is that the LLM ignores\nthe declaration and produces prose that contradicts it; the Critic\nchecklist must catch this.\n\n## Validation criteria\n\nThe SKILL contract requires that:\n\n1. The formal definitions of ATE\u002FATT\u002FATC\u002FCATE are present in the body.\n2. The method → default-estimand mapping table is present and\n   referenced by every method skill.\n3. The Writer prose template + forbidden-phrase list + required-hedge\n   list are present verbatim.\n4. `rule_severity: mandatory` is set in frontmatter.\n\nA Writer using this skill must be able to produce §Results \u002F\n§Discussion prose that matches the template within ±5 words on the\nrequired hedges.\n\nAn Analyst code artifact using this skill must produce:\n\n- `research_spec.causal_estimand = {estimand_type, target_population, treatment_contrast}`,\n- `results.causal_estimand_check = {declared, used_by_estimator, match: bool}`,\n- `match: false` triggers a critical Critic issue.\n\n## Source provenance\n\nCanonical source: the v3.0 causal-methods specification (internal) §3.2\n(G2 per-skill specification, including the estimand taxonomy, the\nmethod→estimand mapping table, the Writer prose template, the\nforbidden phrases, and the required hedges).\n","# Causal Estimand Definition\n\nEvery causal `research_spec` must declare its **estimand** explicitly.\n\"What causal quantity are we estimating, in which target population,\nunder which treatment contrast?\" answered up front. No causal estimate\nmay be reported without a declared estimand. Estimand mismatch\nbetween the declared spec and the prose description is silent\ncorruption — `rule_severity: mandatory`.\n\n## Estimand taxonomy\n\n| Estimand | Definition |\n|---|---|\n| **ATE** (Average Treatment Effect) | `E[Y(1) - Y(0)]` — average potential-outcome contrast across the entire target population. |\n| **ATT** (Average Treatment effect on the Treated) | `E[Y(1) - Y(0) | T=1]` — average effect among units who actually received treatment. |\n| **ATC** (Average Treatment effect on the Controls) | `E[Y(1) - Y(0) | T=0]` — average effect among untreated units. |\n| **ATU** (Average Treatment effect on the Untreated) | Synonym for ATC. |\n| **CATE** (Conditional Average Treatment Effect) | `E[Y(1) - Y(0) | X=x]` — effect conditional on covariate profile `X=x`; produced by causal forest. |\n\n**HSLS-grounded ATT example:** for treatment `T = 1{X1MTHEFF >= median}`\nand outcome `Y = X4EVRATNDCLG`,\n\n> ATT = expected change in `X4EVRATNDCLG` if every above-median student\n> had instead been below-median (and every below-median had stayed\n> below-median).\n\n## Target-population taxonomy\n\n| Target | Definition \u002F V3.0 default |\n|---|---|\n| **HSLS analytic sample** | The rows surviving listwise deletion + analytic-sample filters. **V3.0 default** — no survey weights applied. |\n| **HSLS sampling-frame population** | The U.S. 9th-grade cohort of 2009. Estimating this requires applying `W4W1W2W3STU` survey weights. **Out of scope for V3.0.** |\n| **Super-population** | An idealized infinite population beyond HSLS. **Out of scope for V3.0** — see `hsls09-causal-conventions`. |\n\nIf V3.x or later wants population-marginal estimands, see audit\nOpen Question #4 (`hsls09-survey-weights-causal-application` skill,\ndeferred).\n\n## Treatment-contrast specification\n\nEvery causal spec must populate `research_spec.treatment_contrast`.\nAllowed schemas:\n\n```json\n{\"type\": \"binary_split\", \"threshold\": \"median\"}\n{\"type\": \"binary_split\", \"threshold\": 0.0}\n{\"type\": \"1sd_increase\"}\n{\"type\": \"categorical_pairwise\", \"reference\": \"level_0\"}\n{\"type\": \"binary_indicator\"}   \u002F\u002F already binary in the data\n```\n\n**No causal estimate may be reported without a defined contrast.**\n\"The effect of `X1MTHEFF`\" is not a sentence — `X1MTHEFF` is a\ncontinuous attitudinal scale (range −2.92 to 1.62); the contrast must\nspell out what 0\u002F1 (or low\u002Fhigh, or +1 SD) means before a number can\nbe produced.\n\n## Method → default-estimand mapping (mandatory rule)\n\n| Method | Default estimand | Notes |\n|---|---|---|\n| Regression adjustment (M1) | ATE (with marginal standardization) OR conditional effect | The choice must be declared. |\n| PSM (M2) | **ATT** (matched controls to treated) | ATE only with bilateral matching; otherwise PSM gives ATT. |\n| IPW with stabilized weights (M3) | ATE in the population | ATT if conditional weighting is used. |\n| AIPW \u002F TMLE (M4) | ATE | DR estimator targets ATE. |\n| Causal forest (M5) | CATE | \"ATE\" only via averaging over a declared population — never the default. |\n\nThe Critic must verify that the declared estimand in\n`research_spec.causal_estimand` matches the estimand the chosen\nestimator actually targets. Mismatch is a critical issue.\n\n## Writer-stage rules — describing selection-on-observables results\n\n### Required prose template\n\n> Under the assumption that all confounders are observed and properly\n> modeled (see DAG, §Identification), the estimated **[ATE\u002FATT\u002FCATE]**\n> of **[treatment contrast]** on **[outcome]** in **[target population]**\n> is X.XX (95% CI [X.XX, X.XX]).\n\n### Forbidden phrases\n\nThe following phrases are **forbidden** when describing\nselection-on-observables results:\n\n- \"X causes Y\"\n- \"the effect of X\" (without an estimand qualifier)\n- \"increasing X leads to Y\"\n\n### Required hedges\n\nEvery prose description of a causal estimate must include all three:\n\n- \"**estimated [ATE\u002FATT]**\" — name the estimand\n- \"**under the no-unmeasured-confounding assumption**\" — name the\n  identification assumption\n- \"**in the HSLS analytic sample**\" — name the target population (or\n  the equivalent if a different population is targeted)\n\n## Mandatory tagging\n\n`rule_severity: mandatory`. Estimand mismatch is silent corruption:\nthe declared \"ATE\" in the abstract while the estimator returns ATT\nproduces a paper that misleads readers about who the result applies\nto. Any failure of the Critic's estimand-match check is a **critical**\nissue.\n\n## Python implementation guidance\n\n**Primary library:** `pydantic` v2 (already in the scientific-Python\necosystem) for schema validation of `research_spec.causal_estimand`.\nNo causal-specific library needed.\n\n**Key data structures:**\n\n```python\n@dataclass\nclass CausalEstimand:\n    estimand_type: Literal[\"ATE\", \"ATT\", \"ATC\", \"ATU\", \"CATE\"]\n    target_population: Literal[\"sample\", \"frame\", \"super_population\"]\n    treatment_contrast: TreatmentContrast\n```\n\n**Function signatures the Analyst should produce:**\n\n```python\ndef declare_estimand(\n    estimand_type: Literal[\"ATE\", \"ATT\", \"ATC\", \"ATU\", \"CATE\"],\n    target_population: Literal[\"sample\", \"frame\", \"super_population\"],\n    treatment_contrast: dict,\n) -> dict: ...  # returns the validated estimand block\n\ndef assert_method_estimand_compatible(\n    method_name: str,\n    declared_estimand: str,\n) -> None: ...  # raises if PSM declared with ATE without bilateral matching\n```\n\n**Library pitfalls:** none directly. The risk is that the LLM ignores\nthe declaration and produces prose that contradicts it; the Critic\nchecklist must catch this.\n\n## Validation criteria\n\nThe SKILL contract requires that:\n\n1. The formal definitions of ATE\u002FATT\u002FATC\u002FCATE are present in the body.\n2. The method → default-estimand mapping table is present and\n   referenced by every method skill.\n3. The Writer prose template + forbidden-phrase list + required-hedge\n   list are present verbatim.\n4. `rule_severity: mandatory` is set in frontmatter.\n\nA Writer using this skill must be able to produce §Results \u002F\n§Discussion prose that matches the template within ±5 words on the\nrequired hedges.\n\nAn Analyst code artifact using this skill must produce:\n\n- `research_spec.causal_estimand = {estimand_type, target_population, treatment_contrast}`,\n- `results.causal_estimand_check = {declared, used_by_estimator, match: bool}`,\n- `match: false` triggers a critical Critic issue.\n\n## Source provenance\n\nCanonical source: the v3.0 causal-methods specification (internal) §3.2\n(G2 per-skill specification, including the estimand taxonomy, the\nmethod→estimand mapping table, the Writer prose template, the\nforbidden phrases, and the required hedges).\n",{"name":5,"layer":21,"version":37,"priority":38,"resources":39,"description":7,"rule_severity":40,"trigger_keywords":41,"applicable_stages":50,"references_skills":55,"applicable_datasets":57,"applicable_task_types":58},"1.0",1,[],"mandatory",[42,43,44,45,46,47,48,49],"causal","estimand","ate","att","atc","cate","contrast","population",[51,52,53,54],"ProblemFormulator","Analyst","Critic","Writer",[56],"causal-dag-identification",[],[59,60],"causal_soo","causal_itr","main","1aeaead66d2bf876109f3b101005d2eed54041d9","skills\u002Fmethodology\u002Fcausal-estimand-definition",0,"https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public","https:\u002F\u002Fgithub.com\u002Fcgpan","https:\u002F\u002Fcpan.ai","Ph.D. candidate in Measurement, Evaluation, and Statistics.","2026-09-28 20:39:06",{"source":8,"skillName":5,"commands":71,"prompt":81,"zipAvailable":82},[72,75,78],{"tool":73,"command":74},"npx","npx skills add cgpan\u002Fedm-ars-public --skill causal-estimand-definition",{"tool":76,"command":77},"bunx","bunx skills add cgpan\u002Fedm-ars-public --skill causal-estimand-definition",{"tool":79,"command":80},"pnpm","pnpm dlx skills add cgpan\u002Fedm-ars-public --skill causal-estimand-definition","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Fskills\u002Fmethodology\u002Fcausal-estimand-definition\u002FSKILL.md",true,[],[85,97,110,119,131,142],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":32},"01M6EM1ZTQZVAP90DZTVBHCCFB","acm-fixture","Fixture writing skill for ACM acmart sigconf paper output.","https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fwriting\u002Facm-fixture\u002FSKILL.md",[],[92,93,94,95,25,96],"acm fixture","fixture","writing","LaTeX","paper",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":32},"01M6EM1XNFETAZFGPHQPAXKBYN","prediction-fixture","Fixture skill for the prediction task type; references shap-fixture.","https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Ftask-type\u002Fprediction-fixture\u002FSKILL.md",[],[93,104,105,106,107,108,109,27],"prediction fixture","task","type","references","fixture skill","shap",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":32},"01M6EM1V4MQXYGQ7K2ZDJRAPSM","causal-fixture","Fixture skill for the causal_inference task type.","https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Ftask-type\u002Fcausal-fixture\u002FSKILL.md",[],[93,117,106,105,118,108],"causal fixture","inference",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":32},"01M6EM1SCWFZZ2ACSAP65GNWK9","shap-fixture","Fixture methodology for SHAP feature importance analysis.","https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fmethodology\u002Fshap-fixture\u002FSKILL.md",[],[126,93,109,127,21,128,129,130],"shap fixture","feature importance","analysis","explainer","feature",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":32},"01M6EM1PZC1MK1G0D1YFVYAQ9W","cluster-recon-fixture","Fixture methodology for reconstructing cluster IDs from fingerprint variables.","https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fmethodology\u002Fcluster-recon-fixture\u002FSKILL.md",[],[138,139,140,93,141,21],"recon","cluster recon fixture","cluster","ids",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":32},"01M6EM1MZVKMSWEXZ7TJ45DS04","hsls09-fixture","Fixture skill for HSLS:09 with a bundled YAML resource and one cross-reference.","https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fdataset\u002Fhsls09-fixture\u002FSKILL.md",[],[93,149,150,151,152,108,153,138,140,154],"hsls09 fixture","yaml","public","reference","dataset","registry"]