event-study-cars

event-study-cars is a skill for Claude Code from kennethkhoocy/applied-micro-skills. It costs 153 tokens per session (3,308 once invoked), scanned A, original, MIT.

A methodology and runnable Python engine for event studies, which measure how an event affects an asset’s returns compared with an expected return.

In plain words
What is it for?
Use it to calculate abnormal returns, cumulative abnormal returns, and related test statistics from returns, market, and event-date data.
Why use it?
It provides established calculations and statistical tests for cumulative abnormal returns instead of requiring a new analysis pipeline.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the applied-micro plugin — 17 skills shipped together

Good fit Use it to calculate abnormal returns, cumulative abnormal returns, and related test statistics from returns, market, and event-date data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kennethkhoocy/applied-micro-skills/event-study-cars
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kennethkhoocy/applied-micro-skills --skill event-study-cars
Clone the repo
git clone --depth 1 https://github.com/kennethkhoocy/applied-micro-skills

Made for: Claude Code.

Or install applied-micro, the plugin that ships this one along with the rest of its 17 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for event-study-cars

README.md
[![agentmods](https://agentmods.dev/badge/skills/kennethkhoocy/applied-micro-skills/event-study-cars/github.svg)](https://agentmods.dev/skills/kennethkhoocy/applied-micro-skills/event-study-cars)
Your own site
<a href="https://agentmods.dev/skills/kennethkhoocy/applied-micro-skills/event-study-cars"><img src="https://agentmods.dev/badge/skills/kennethkhoocy/applied-micro-skills/event-study-cars/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for event-study-cars

Your own site · 80×15
<a href="https://agentmods.dev/skills/kennethkhoocy/applied-micro-skills/event-study-cars"><img src="https://agentmods.dev/badge/skills/kennethkhoocy/applied-micro-skills/event-study-cars.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,308 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00153 $0.03308
Opus 5 $0.00077 $0.01654
Sonnet 5 $0.00031 $0.00662
Haiku 4.5 $0.00015 $0.00331

Measured 12d ago against content hash 584346a2bb63, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

event-study-cars scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/eventstudy.py, scripts/validate_cars.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/applied-micro/skills/event-study-cars/SKILL.md · 298 lines

How it starts

The opening of the file, as written. The whole thing — 298 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Event Study: Cumulative Abnormal Returns (CARs)

A complete methodology reference for computing publication-quality CARs with robust test statistics, matching the rigor of Kaspereit's eventstudy2 (v3.2b) for Stata. This skill is generic — applicable to any market, asset class, or event type.

Use the shipped engine first (do not rewrite it)

scripts/eventstudy.py is a complete, runnable Python replication of eventstudy2, validated against the Stata package to floating-point precision (AR ~1e-8, CAR ~6e-8, CAAR and the implemented test statistics ~1e-7) on a generic CRSP sample across all four models (FM, COMEAN, MA, RAW). It is generic — all column names, the model, windows, thin-trading, and log handling are CLI flags. When a user wants CARs computed, run this engine; do not author a new pipeline.

python scripts/eventstudy.py --selftest          # synthetic self-check, no inputs
python scripts/eventstudy.py \
    --returns returns.csv --market market.csv --events events.csv \
    --id-col permno --ret-col ret --event-date-col event_date --mkt-col vwretd \
    --model FM --car-windows "-1,1;-5,5;-10,10" \
    --eswlb -250 --eswub -30 --evwlb -10 --evwub 10 --out-dir out/

Inputs are CSV/Parquet: returns (id, date, ret), market/factors (date, mkt[, factors]), events (id, event_date). Outputs: ar_panel.csv, car_panel.csv, test_statistics.csv. Requires numpy/pandas/scipy. Run --help for all flags (--factor-cols smb,hml, --model MA, --no-thin-trading, ...). The sections below document the methodology the engine implements; read them to audit, extend, or port it.

Methodology Overview: The 8-Step Pipeline

Step 1: Build Trading Calendar (Dateline)

Construct a master list of valid trading dates from the security returns file.

  1. Collect all unique dates on which at least one security has a non-missing return (or, if using a factor model, dates where market/factor returns exist).
  2. Count the number of securities with valid returns on each date.
  3. Optionally drop weekends (delweekend).
  4. Apply dateline_threshold: drop dates where the count of return observations falls below threshold × mean(daily_count). A threshold of 0.2 works well for international samples with heterogeneous holidays.
  5. The resulting date vector is the dateline — all downstream windows are defined in dateline time (relative trading days), not calendar time.

Read the full file on GitHub · 298 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 298 lines · 153 tokens per session scan A 584346a2bb63

Subscribe to this mod's changes

event-study-cars is a skill published in the GitHub repository kennethkhoocy/applied-micro-skills (27 stars, last pushed 7d ago), licensed MIT. It adds 153 tokens to every session and 3,308 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

pipeline-analysis

Med pipeline analysis: enumerate a biotech/pharma company's drug/device assets by phase, indication, and next catalyst, with risk-adjusted value framing and cash-runway assessment. The core valuation lens for clinical-stage names.

agentii-ai/agentii-investment-intelligence · 46 tokens

trial-readout-analysis

Clinical-trial readout analysis: pull the trial, evaluate the readout with AdCom-style scrutiny (endpoints, statistics, subgroups, missing data, safety), and size the stock reaction with historical grounding. The judgment core for binary biotech events.

agentii-ai/agentii-investment-intelligence · 56 tokens

literature-searcher

Search CrossRef, OpenAlex, PubMed, Semantic Scholar, and optional Scopus; deduplicate results, download open-access PDFs by DOI, classify papers, monitor new results, and analyze coverage. Use when asked to search literature, monitor a topic, download an open-access paper, classify papers, or analyze literature gaps.

Dianel555/DSkills · 72 tokens

kelly-audit

Personal finance anomaly review desk (Busabase App-in-Skill) that imports the three business tables — orders, invoices, payments/receipts (回款) — from CSV/JSON exports, flags anomalies with deterministic rules, and runs a human review queue with auditable decisions. Use when the user invokes $kelly-audit or…

mr-kelly/skills · 124 tokens

kelly-disclosure-tracker

Cross-Entity Disclosure Tracker App-in-Skill — a Busabase review workspace that helps a compliance/IR team assemble and track a standardized disclosure package per financing vehicle (fund/SPV), across a generic onshore origination entity, an offshore fund-manager entity, and a listing/exchange venue. Use when the user…

mr-kelly/skills · 125 tokens

kelly-finance

A finance modeling desk for building and reviewing three-statement models: an income statement, balance sheet, and cash-flow statement. It also supports forecasts such as budgets, SaaS operating models, and fundraising projections.

mr-kelly/skills · 119 tokens