
from awesome-agent-skills-for-empirical-research218
Guidance and reference for the marginaleffects R/Python package: computing predictions, comparisons, slopes, and average treatment effects with practical exampl
This skill encapsulates the manual and pedagogical material for the marginaleffects package and the companion book ‘Model to Meaning’. It helps agents guide users through choosing estimands (predictions, comparisons, slopes), constructing counterfactual grids, aggregating results (ATE, ATT, CATE), and selecting inference methods (delta, bootstrap, Bayesian). The skill includes language-specific examples for R and Python and explains how to use core functions like predictions(), comparisons(), slopes(), avg_* variants, and datagrid().
Use when users ask how to interpret model outputs, compute marginal effects or average treatment effects, set up counterfactual comparisons, or run hypothesis tests on derived quantities. It's appropriate for both conceptual framing (five-question framework) and concrete code examples in R or Python.
Agents capable of generating or reviewing R/Python statistical code (Codex/Copilot-style assistants, Claude Code, Cursor) are the best fit; also useful for agents that help interpret outputs to non-technical stakeholders.
A reference skill for the marginaleffects R/Python package and companion book 'Model to Meaning'. No bundled scripts — purely instructional SKILL.md with a well-structured five-question framework for statistical interpretation. Clean frontmatter with restricted allowed-tools (Read, Grep, Glob). No security concerns whatsoever.
Solid reference skill for a niche academic/statistics audience. No executable code to audit. Well-organized with clear trigger conditions and dual R/Python examples.