Agent skill · Data & Analytics

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

maziyarpanahigithub.com/maziyarpanahiGitHub ↗
claude-codeApache-2.0
Install
npx skills add maziyarpanahi/openmed --skill detecting-pv-signals --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 9 KB
Bundled scripts: none
Version: 1.0
Path: skills/detecting-pv-signals/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 4,851
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. When to use
  2. The 2x2 table
  3. Quick start (real OpenFDA count queries)
  4. Workflow
  5. Hand-off to / from OpenMed
  6. Edge cases & gotchas
  7. Standards & references
More from openmed
All skills →
About this skill
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.

Keep going