Introduction¶
When conducting policy effect or project evaluation, it is often necessary to first identify causality from observational data rather than simply running OLS once. Double Difference (DID) requires verifying parallel trends, Propensity Score Matching (PSM) requires handling comparability between groups, endogenous explanatory variables require Instrumental Variables (IV) or GMM, and Regression Discontinuity Design (RDD) requires identification around the cutoff. You may have Excel or CSV data in hand, with the variable names and identification strategies in your mind, but every time you have to manually piece together Stata syntax and check the verification steps in textbooks, which is a significant amount of work. Below is an introduction to the enterprise-level Skill released by Chaoxuan Technology on SkillHub, with coordinates @org-soincd06/econometrics-causal-inference, current version 1.0.2, categorized as data-analysis, and tagged with requires_api_key=true. It is used to organize analysis and output based on common causal inference methods in conversations.
What is this¶
The full name of this Skill is “Econometrics and Stata Application - Causal Inference and Policy Evaluation (Instrumental Variable · DID · PSM) Causal Inference,” targeting policy evaluation and causal identification: after importing tabular data and specifying settings such as treatment variables and instrumental variables, it assists in providing treatment effects, parallel trends, significance tests, and textual interpretation. Unlike generic data skills that simply “write regression code,” the functionality description explicitly covers common identification paths in econometrics such as DID, PSM, 2SLS, GMM, and RDD, and specifies applicable scenarios like policy effects, project evaluation, and handling endogeneity.
The source is enterprise, and the SkillHub page address is:
https://www.skillhub.cn/skills/org-soincd06/econometrics-causal-inference
The API endpoint is:
https://api.skillhub.cn/org-soincd06/econometrics-causal-inference
The rating in public materials is 100,000 with 1,072 downloads; the installation count at the time of scraping was 0, please refer to the SkillHub page for specific changes.
Core Capabilities¶
According to the official introduction, the verified capabilities include the following categories.
-
Identification Methods: Double Difference (DID), Propensity Score Matching (PSM), Instrumental Variable Method (2SLS), Generalized Method of Moments (GMM), Regression Discontinuity (RDD).
-
Data Input: Supports importing from Excel/CSV, with users specifying core fields such as treatment variables and instrumental variables.
-
Output Content: Treatment effects, results related to parallel trends, significance tests, and readable interpretation descriptions.
-
Trigger Method: Can be invoked by mentioning keywords such as Double Difference, DID, Propensity Score, PSM, Instrumental Variable, 2SLS, GMM, Regression Discontinuity, RDD, Causal Identification, Policy Evaluation, Treatment Effect, Counterfactual, etc., in the conversation, making it easy to attach this Skill when naturally describing research problems.
Installation and Activation¶
The official scraped materials do not provide a unified installation command-line example for Cursor, Codex CLI, or Claude Code, so here we only record the identity information that can be verified on SkillHub to avoid fabricating configuration fields.
Search for or install using coordinates in SkillHub:
@org-soincd06/econometrics-causal-inference
Version:
1.0.2
Category and permission-related tags:
category: data-analysis
requires_api_key=true
Before enabling, confirm whether the API Key is configured in the SkillHub or the Skill management interface of the Agent platform being used; requires_api_key=true indicates that the runtime environment requires an available key, please refer to the platform documentation for specific application and entry methods. If each client supports pulling enterprise Skills from SkillHub by coordinates, the process depends on the current instructions of that client; this article does not assume any undisclosed directory paths or environment variable names.
Typical Usage¶
The official materials describe a workflow rather than a fixed script; you can reproduce its design intent in an Agent conversation following the steps below.
-
Prepare Excel or CSV containing the outcome variable, treatment or grouping variable, and covariates or instrumental variables required for DID, PSM, IV, or RDD designs.
-
In the conversation, state the identification goal, such as policy evaluation, project effect, or endogeneity, and explicitly mention corresponding method keywords (e.g., DID, PSM, 2SLS, RDD) to trigger the Skill.
-
Specify the treatment variable, time, or grouping variable in the data file; if taking the instrumental variable route, also provide the instrumental variable name and economic meaning to facilitate 2SLS/GMM setup.
-
Verify the treatment effect estimates, parallel trends (in DID scenarios), test statistics, and interpretation text based on the returned results, then fine-tune tables and graphs as needed in Stata or in the paper.
The following are only examples of variable naming and do not represent mandatory field names for the Skill; please use the column names in your data as the standard:
Treatment Variable: treat
Outcome Variable: outcome
Instrumental Variable: instrument_z
Applicable Scenarios and Precautions¶
Who is it for: Researchers and practitioners who need to conduct policy effect analysis, project evaluation, or handle causal identification and endogeneity in observational data; those who are already accustomed to using terms like DID, PSM, IV, RDD to describe designs will more easily align the Skill with the correct process.
Precautions: The Skill output is for auxiliary analysis and interpretation and cannot replace identification assumptions in research design (such as parallel trends for DID, exogeneity for IV, density and manipulation tests for RDD, etc.). These still need to be judged by the researcher and argued in formal reports. The enterprise source and API Key requirement imply that deployment and billing strategies may differ from public free Skills; please confirm permissions on the SkillHub enterprise side before use. Statistical conclusions should be based on the results you reproduce yourself in Stata or other econometric software.
Conclusion¶
This Skill connects the common causal identification tools in policy evaluation—DID, PSM, 2SLS, GMM, RDD—with tabular data import, treatment effect, and test output into a triggerable path within an Agent, suitable for speeding up the process from problem description to result interpretation when data and variable settings are clear. For details and the latest download data, please visit the official page: https://www.skillhub.cn/skills/org-soincd06/econometrics-causal-inference.