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

Stata Accounting Research

  • 52 installs
  • 3.2k repo stars
  • Updated August 4, 2026
  • brycewang-stanford/awesome-agent-skills-for-empirical-research

stata-accounting-research is a Claude skill that provides Stata syntax patterns from 126 peer-reviewed Journal of Accounting Research replication files for empirical accounting research.

About

A skill providing Stata syntax patterns drawn from 126 peer-reviewed Journal of Accounting Research replication files spanning 2017-2025. Accounting researchers use it to look up how published papers implemented methods like difference-in-differences, event studies, and entropy balancing, then adapt the code to their own variable names. It provides code patterns with source citations but not research-design or identification advice.

  • STATA syntax patterns from 126 peer-reviewed JAR replication files (2017-2025)
  • Covers panel fixed effects, DiD, event studies, PSM, and entropy balancing
  • Provides multiple published implementations of the same method with source citations

Stata Accounting Research by the numbers

  • 52 all-time installs (skills.sh)
  • Ranked #921 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
regression modeling · causal inference
Use cases
data analysis · research
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.md
This skill includes only STATA .do files. Other file types (SAS, R, Python, data files) from the original replication packages are not included.
README.md
The .do files are sourced from the Journal of Accounting Research Online Supplements:
README.md
npx skills add https://github.com/brycewang-stanford/awesome-agent-skills-for-empirical-research --skill stata-accounting-research

Add your badge

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

Listed on Skillselion
Installs52
repo stars3.2k
Last updatedAugust 4, 2026
Repositorybrycewang-stanford/awesome-agent-skills-for-empirical-research

What it does

Look up Stata syntax patterns from published accounting-research papers and adapt them to your variable names.

Who is it for?

Finding published Stata implementations of econometric methods in accounting research.

Skip if: Research design, identification strategy, or methodological trade-off advice.

When should I use this skill?

You need a Stata code pattern for an empirical accounting method used in published JAR papers.

What you get

Cited Stata code patterns for the requested method, adapted to your variable names.

  • Stata code adapted to your variable names

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

Where do the patterns come from?

They are sourced from 126 Stata .do files in the Journal of Accounting Research Online Supplements, volumes 55-63.

Does it give research-design advice?

No. It provides Stata syntax from published papers but not identification strategy or methodological trade-off analysis.

This week in AI coding

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

unsubscribe anytime.