Step 6: sanity-check rare events against base rates
base_rate_checkComputes positive predictive value for rare-event flags from prevalence, sensitivity, and specificity—or from file columns—to show how many positive results are real.
Instructions
Step 6 (or standalone in an exploration). For rare-event questions (fraud, defects, diagnoses, churn): what share of positive flags is real (PPV). Give prevalence, sensitivity, specificity (0–1), or file + condition_column + test_column (0/1 columns). If the question is not about rare events, use skip_step 6 instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| prevalence | No | ||
| sensitivity | No | ||
| specificity | No | ||
| test_column | No | ||
| condition_column | No | ||
| confirmation_token | No | Only after the user has confirmed the proposed choices: the confirmation_token from the previous response. |