Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
brycewang-stanford avatar

Stata Accounting Research

  • 19 installs
  • 3.2k repo stars
  • Updated August 4, 2026
  • brycewang-stanford/auto-empirical-research-skills

stata-accounting-research is a skill that provides STATA syntax patterns from 126 peer-reviewed JAR replication files for empirical accounting methods.

About

This skill provides STATA syntax patterns drawn from 126 peer-reviewed Journal of Accounting Research replication files spanning 2017 to 2025. It answers natural-language queries with published code for methods like panel fixed effects, difference-in-differences, event studies, propensity score matching, entropy balancing, IV, and RD, adapted to your variable names and cited to source. It provides syntax only, not research design or identification advice.

  • STATA syntax patterns from 126 peer-reviewed JAR replication files
  • Covers panel FE, DiD, event studies, PSM, entropy balancing, IV, RD
  • Adapts published code to your own variable names with source citations

Stata Accounting Research by the numbers

  • 19 all-time installs (skills.sh)
  • Ranked #1,273 of 2,064 Data Science & ML skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

stata-accounting-research capabilities & compatibility

Capabilities
econometrics · difference in differences · panel regression · data analysis
Use cases
data analysis · research
Pricing
Free
From the docs

What stata-accounting-research says it does

A Claude Code skill providing STATA syntax patterns from 126 peer-reviewed JAR replication files (2017-2025).
README-original.md
npx skills add https://github.com/brycewang-stanford/auto-empirical-research-skills --skill stata-accounting-research

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs19
repo stars3.2k
Last updatedAugust 4, 2026
Repositorybrycewang-stanford/auto-empirical-research-skills

What it does

Get STATA syntax for empirical accounting methods (panel FE, DiD, event studies, PSM, entropy balancing, IV, RD) adapted from 126 published JAR replication files.

Who is it for?

Getting STATA code for panel FE, DiD, event studies, matching, entropy balancing, IV, and RD in accounting research.

Skip if: Research design, identification strategy, or sample construction advice, which it explicitly excludes.

When should I use this skill?

Needing STATA syntax for an empirical accounting method like entropy balancing or difference-in-differences.

What you get

Returns published STATA syntax adapted to the user's variable names, with source citations.

By the numbers

  • 126 peer-reviewed JAR replication files
  • 54 panel fixed-effects files, 22 difference-in-differences files

Files

README-original.mdMarkdownGitHub ↗

STATA Accounting Research

A Claude Code skill providing STATA syntax patterns from 126 peer-reviewed JAR replication files (2017-2025).

What is a Claude Skill?

A skill extends Claude Code with specialized knowledge and workflows. When installed, this skill enables natural language queries for STATA syntax patterns used in empirical accounting research.

Installation

1. Download this repo as a zip file 2. In Claude, go to Settings > Capabilities > Skills > Add > Upload

Alternatively, clone this repository to ~/.claude/skills

What This Skill Does

ProvidesDoes Not Provide
STATA syntax from published papersResearch design advice
Multiple implementations of the same methodIdentification strategy recommendations
Code adapted to your variable namesMethodological trade-off analysis
Source citations for patternsData or sample construction

Example

Query:

How do I implement entropy balancing? My treatment variable is 'cyber_breach' and I want to balance on 'size', 'roa', and 'leverage'

Response:

* Step 1: Generate entropy balancing weights
ebalance cyber_breach size roa leverage, target(1) generate(ebw)

* Step 2: Use weights in regression
reghdfe depvar cyber_breach controls [aw=ebw], absorb(firm year) cluster(firm)
OptionMeaning
target(1)Balance means only (most common)
target(2)Balance means + variances
target(3)Balance means + variances + skewness

Alternative from Nessa et al. (2025), JAR 63(2) — balance by year when treatment timing varies:

forvalues y = 2015/2022 {
    qui ebalance cyber_breach size roa leverage if year==`y', generate(ew`y') tar(1)
}

Contents

This skill includes only STATA .do files. Other file types (SAS, R, Python, data files) from the original replication packages are not included.

references/
├── REFERENCES.md      # Index with methods and identification strategies
└── JAR_*.do           # 126 STATA replication files (Volumes 55-63)

Method Coverage

MethodFiles
Panel fixed effects (reghdfe, xtreg, areg)54
Difference-in-differences22
Event studies (CAR/BHAR)19
Propensity score matching10
Entropy balancing5
Survival/duration analysis4
Instrumental variables3
Regression discontinuity2

File Naming Convention

  • Volumes 55-61: JAR_{volume}_{shortcode}.do
  • Volumes 62-63: JAR_{volume}_{issue}_{shortcode}_{authors}.do

Original Source

The .do files are sourced from the Journal of Accounting Research Online Supplements: https://www.chicagobooth.edu/research/chookaszian/journal-of-accounting-research/online-supplements-and-datasheets

Methodological References

For research design guidance, consult:

  • Breuer & deHaan (2024) on fixed effects interpretation
  • Angrist & Pischke (2009) on causal inference

Related skills

FAQ

Does it give research design advice?

No, it provides STATA syntax from published papers only, not research design, identification strategy, or sample construction advice.

Where does the code come from?

From 126 STATA .do replication files in the Journal of Accounting Research online supplements, volumes 55-63 (2017-2025).

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.