detecting-pv-signals
Computes disproportionality signals — PRR, ROR, EBGM, and IC (BCPNN) — over FAERS / OpenFDA drug-event data to flag potential safety signals. Use when the user wants to mine spontaneous-report data for drug-reaction associations, build a 2x2 contingency table, compute a Proportional Reporting Ratio or Reporting Odds Ratio, run Empirical Bayes (EBGM/EB05) or Information Component shrinkage, or screen a drug for over-reported reactions. Trigger keywords: disproportionality, signal detection, PRR, ROR, EBGM, EB05, IC, BCPNN, MGPS, 2x2 table, signal of disproportionate reporting, SDR, OpenFDA, FAE
npx skills add maziyarpanahi/openmed --skill detecting-pv-signals --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Detecting pharmacovigilance signals (disproportionality) Spontaneous-report databases like the FDA's **FAERS** are mined for **signals of disproportionate reporting (SDR)**: drug-reaction pairs that occur together *more than expected* given the background of all reports. The core device is a **2x2 contingency table** and a disproportionality metric computed from it — **PRR**, **ROR**, **EBGM**, or **IC (BCPNN)**. You can build the 2x2 table directly from the **public, free OpenFDA** `/drug/event` endpoint (no PHI, no MedDRA license to *query*; the reaction terms returned are already MedDRA PTs). This skill is **statistical screening**: a high PRR is a *hypothesis*, not a confirmed adverse drug reaction. ## When to use - You have a drug of interest and want to see which reactions are over-reported. - You need a PRR / ROR with confidence interval, or an Empirical Bayes EBGM/EB05 / IC025 to control for the small-count noise PRR/ROR suffer from. - You are building a routine signal-screening run over OpenFDA or your own aggregated case counts. ## The 2x2 table For one drug D and one reaction R, classify every report: | | Reaction R | Not R | | ---------- | ---------- | ----- | | Drug
- When to use
- The 2x2 table
- Quick start (real OpenFDA count queries)
- Workflow
- Hand-off to / from OpenMed
- Edge cases & gotchas
- Standards & references
What does the detecting-pv-signals skill do?
Computes disproportionality signals — PRR, ROR, EBGM, and IC (BCPNN) — over FAERS / OpenFDA drug-event data to flag potential safety signals. Use when the user wants to mine spontaneous-report data for drug-reaction associations, build a 2x2 contingency table, compute a Proportional Reporting Ratio or Reporting Odds Ratio, run Empirical Bayes (EBGM/EB05) or Information Component shrinkage, or screen a drug for over-reported reactions. Trigger keywords: disproportionality, signal detection, PRR, ROR, EBGM, EB05, IC, BCPNN, MGPS, 2x2 table, signal of disproportionate reporting, SDR, OpenFDA, FAE
How do I install it?
Run `npx skills add maziyarpanahi/openmed --skill detecting-pv-signals --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From maziyarpanahi/openmed, a repository with 4,851 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
