sensitivity-analyst

Run structured sensitivity analyses for causal inference with R functions.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Data-Wise/scholar --skill sensitivity-analyst
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sensitivity-analyst
Source: https://github.com/Data-Wise/scholar/tree/main/src/plugin-api/skills/research/sensitivity-analyst
Command: npx skills add https://github.com/Data-Wise/scholar --skill sensitivity-analyst

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ggplot2.

What problem does it solve?

This Skill provides a structured framework for conducting sensitivity analyses in causal inference, enabling researchers to evaluate robustness against unmeasured confounding, measurement error, and model misspecification.

Core Features & Use Cases

  • E-values computation for various effect measures (RR/HR)
  • Rosenbaum bounds for assessing hidden bias in matched studies
  • Mediation sensitivity analysis to assess natural indirect effects
  • Tipping point analysis and contour visualizations to identify robustness thresholds
  • Reusable R functions for grid searches, interpretation, and plotting

Quick Start

To begin, load the sensitivity analysis functions and run a quick check:

  • sensitivity_unmeasured(estimate = 0.6, se = 0.15)
  • compute_evalue(estimate = 0.6, lo = 0.4, hi = 0.8, type = "RR")
  • plot_tipping_point(estimate = 0.6, se = 0.15)

Frequently Asked Questions about sensitivity-analyst

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate E-values for unmeasured confounding in R?

To calculate E-values for unmeasured confounding in R, use the compute_evalue function by providing your point estimate and confidence interval bounds to quantify the minimum strength of association an unmeasured confounder would need.

What is the best way to perform a tipping point analysis for causal inference?

The best way to perform tipping point analysis for causal inference is using the plot_tipping_point function, which applies grid searches across estimate and standard error inputs to visualize the robustness threshold where your observed effect becomes null.

How do I assess Rosenbaum bounds for matched observational studies?

Rosenbaum bounds for matched observational studies are assessed using the sensitivity_unmeasured function, which evaluates how sensitive treatment effect estimates are to hidden bias by varying the odds of differential treatment assignment.

Does this sensitivity analysis approach support mediation study designs?

This sensitivity analysis approach fully supports mediation study designs by providing specialized functions to assess the robustness of natural indirect effects against unmeasured confounding and measurement error.

Do I need ggplot2 to visualize model misspecification and sensitivity contours?

You need the ggplot2 dependency installed to generate optional sensitivity contour visualizations and tipping point plots, though the core computational functions for unmeasured confounding and measurement error run independently.