agentsclimarketplace

Dowhy average treatment effect starter

Skill ma-compbio-lab/SkillFoundry/skills/statistical-and-machine-learning-foundations-for-science/dowhy-average-treatment-effect-starter

A framework for discovering, compiling, and validating reusable skills for scientific agents.

Install
npx -y skills add ma-compbio-lab/SkillFoundry --skill dowhy-average-treatment-effect-starter

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.2 KB, 261 tokens by cl100k_base, as published. Nobody here has run it

DoWhy Average Treatment Effect Starter

Use this skill to estimate a deterministic toy average treatment effect with DoWhy and summarize a simple placebo refutation.

What it does

  • Builds a toy observational dataset with one confounder, one binary treatment, and one continuous outcome.
  • Identifies the backdoor estimand with DoWhy.
  • Estimates the average treatment effect with linear regression.
  • Runs a placebo-treatment refutation and returns compact JSON.

When to use it

  • You need a minimal local starter for causal-inference workflows in Python.
  • You want a verified example of identification, estimation, and refutation with DoWhy.

Example

slurm/envs/causal/bin/python skills/statistical-and-machine-learning-foundations-for-science/dowhy-average-treatment-effect-starter/scripts/run_dowhy_average_treatment_effect.py \
  --out scratch/dowhy/average_treatment_effect_summary.json

Verification

  • Skill-local tests: python3 -m unittest discover -s skills/statistical-and-machine-learning-foundations-for-science/dowhy-average-treatment-effect-starter/tests -p 'test_*.py'
  • Repository smoke: python3 -m unittest tests.smoke.test_phase24_frontier_closure_skills -v

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.