- Home
- Skills
- Agents & Orchestration
- Aetia Clinical Rwe Pro
More screenshots
Works with the AI Agents you already use
Aetia Clinical Rwe Pro
Automated Target Trial Emulation and RWE auditing for clinical EHR, claims, and registry studies.
$5
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
Aetia Clinical Rwe Pro
Example session with this skill installed
Run a target trial emulation audit on cohort_statin_cvd.csv. Treatment is 'statin_init', outcome is 'mace_event', and baseline confounders are age, sex, ldl_baseline, and charlson_index.
- Read your context and instructions
- Compiled the aetia clinical rwe
I have completed the Real-World Evidence (RWE) audit for the statin cohort using the Hernán-Robins Target Trial Emulation framework. The analysis includes covariate balancing, doubly-robust estimation, and sensitivity analysis.
RWE Audit Results: Statin vs. Active Comparator
1. Covariate Balance (IPTW)
| Variable | Unweighted SMD | Weighted (IPTW) SMD | Status |
|---|---|---|---|
| Age | 0.24 | 0.04 | Balanced |
| Sex (Male) | 0.12 | 0.02 | Balanced |
| LDL Baseline | 0.45 | 0.07 | Balanced |
| Charlson Index | 0.31 | 0.05 | Balanced |
Diagnostic: All variables achieved $|\text{SMD}| < 0.10$. Kish Effective Sample Size (ESS) is 82% of the original N, indicating no extreme weighting issues.
2. Causal Effect Estimates
| Estimator | Point Estimate (95% CI) | Measure |
|---|---|---|
| Adjusted OLS (HC3) | 0.88 (0.82, 0.94) | Risk Ratio |
| Stabilized IPTW | 0.85 (0.79, 0.91) | Risk Ratio |
| Cross-fitted AIPW | 0.84 (0.78, 0.90) | Risk Ratio |
Result: The primary AIPW estimate shows a significant reduction in MACE (RR 0.84). NNT is 42 over the 5-year follow-up period.
3. Quantitative Bias Analysis (Sensitivity)
- E-value: 1.66 (Lower limit: 1.45). An unmeasured confounder would need a relative risk association of 1.66 with both treatment and outcome to nullify the effect.
- Negative Control (Trauma): RR 1.02 (95% CI: 0.95, 1.09). The null result on the negative control outcome suggests no major residual healthy-user bias.
- Cinelli-Hazlett RV: $RV_{q=1} = 12.4%$. The effect is robust to unmeasured confounding stronger than the observed effect of the Charlson Index.
Next steps
- Review the generated
rwe_dossier.mdfor STROBE-compliant reporting. - Verify if the 18% loss in Effective Sample Size (ESS) warrants propensity score trimming.
- Perform a secondary Per-Protocol analysis to account for treatment discontinuation.
Subscription · always the latest version
- Secure checkout via Stripe
- Cancel anytime
- Delivered live via MCP
About this skill
Observational studies using EHR and claims data often fail regulatory review due to time-zero misalignment, immortal-time bias, and residual confounding. This skill enforces the Hernan-Robins target trial emulation framework to ensure your Real-World Evidence (RWE) meets FDA and EMA standards for causal inference.
What it does
- Enforces Target Trial Emulation by aligning eligibility, treatment assignment, and follow-up to eliminate immortal-time and prevalent-user bias.
- Automates Causal Diagnostics including covariate balance checks using Standardized Mean Differences (SMD) and Kish Effective Sample Size (ESS).
- Runs Doubly-Robust Estimators like 5-fold cross-fitted Augmented Inverse Probability Weighting (AIPW) and Double Machine Learning (DML).
- Quantifies Unmeasured Confounding through E-values, Cinelli-Hazlett robustness values, and Negative Control Outcome (NCO) falsification tests.
- Generates Regulatory Dossiers by populating STROBE and RECORD-PE compliant templates with verified statistical outputs.
How it works
- Define the Target Trial using the 7-component specification table to lock down eligibility, treatment strategies, and time-zero.
- Verify the Causal Graph to identify confounders, mediators, and colliders, ensuring no post-treatment variables are adjusted for.
- Execute the RWE Audit Script on your patient-level CSV to calculate stabilized IPTW, AIPW, and subgroup CATE.
- Review Sensitivity Metrics including E-values and benchmarks against observed clinical risk factors like age or Charlson index.
Frameworks & tools
Built for Python 3.10+ using numpy, scipy, pandas, and scikit-learn. Compatible with aetia-mcp for formal Shpitser-Pearl ID and S-admissibility proofs.
Why this beats prompting it yourself
Generic prompts often fail to detect subtle time-zero shifts or collider bias in clinical data. This skill forces a rigorous 5-gate protocol that mirrors the methodology used in professional pharmacoepidemiology and regulatory submissions.
Use cases
- Regulatory Submissions for FDA/EMA RWE dossiers using STROBE/RECORD-PE standards.
- Pharmacoepidemiology Research comparing active drugs while suppressing healthy-user bias.
- Post-Market Surveillance to monitor long-term outcomes and safety signals in real-world cohorts.
- Subgroup Analysis using DR-Learners to identify heterogeneous treatment effects across clinical strata.
Known limitations
Requires patient-level data in CSV format with pre-defined exposure and outcome columns. It cannot fix fundamental data quality issues like non-differential outcome misclassification.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Software
- Aetia MCP
Python
Permissions
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.