Skip to content

Verified Statistics

Every statistic in MedTWIN is computed from your actual data and linked to its source.

How It Works

When you write a statistic in your paper:

  1. Computation: MedTWIN runs the calculation on your data
  2. Storage: Result stored with full provenance
  3. Linking: Statistic in paper linked to computation
  4. Verification: Status shown visually

Statistic Types

Counts and Percentages

847 patients enrolled (100%)
27 patients with mortality (3.2%)

Summary Statistics

Mean age: 72.4 ± 8.2 years
Median LOS: 7 days (IQR 5-11)

Regression Results

OR 2.41 (95% CI 1.4-4.2, p=0.003)
HR 1.85 (95% CI 1.2-2.8, p=0.01)

Verification Status

Status Meaning
✓ Verified Linked to valid computation
⚠ Stale Source data has changed
✗ Invalid Computation not found

Click to Verify

Click any statistic to see:

  • Source: The exact query/code
  • Data version: Which dataset was used
  • Run ID: Unique computation identifier
  • Timestamp: When computed

Automatic Updates

When you update data:

  1. Statistics marked as "stale"
  2. Re-run analysis to refresh
  3. Paper automatically updates

Export for Peer Review

Include verification data in exports:

  • Audit trail document
  • Computation code
  • Data snapshots (anonymized)