Skip to content
Back to skills

Dowhy Average Treatment Effect Starter

ASecurity

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

  • 38 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
ai-agentspythonbash

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Dowhy Average Treatment Effect Starter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dowhy Average Treatment Effect Starter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ma-compbio-lab-dowhy-average-treatment-effect-starter/badge)](https://www.skillsdirectory.com/skills/ma-compbio-lab-dowhy-average-treatment-effect-starter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 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

```bash
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`

Files in this skill

  • SKILL.md1.2 KB
  • assets/README.md109 B
  • assets/toy_dowhy_ate_summary.json407 B
  • examples/README.md325 B
  • metadata.yaml1.3 KB
  • refs.md66 B
  • scripts/run_dowhy_average_treatment_effect.py3.8 KB
  • tests/test_run_dowhy_average_treatment_effect.py1.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.