Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

sensitivity

Compute a posterior assumption envelope from ordered positive likelihood-ratio bounds.

Contract

The interval is sensitivity to supplied assumptions, not a confidence or credible interval. Finite positive ratios and ordered bounds are required.

Fields

FieldTypeRequired
high_lrnumberYes
low_lrnumberYes
op"sensitivity"Yes
priorProbabilityYes

This operation needs no existing question or forecast. Use --memory for a calculation-only session.

Request

Send this object on one line. It is expanded below for readability.

{
  "version": 1,
  "id": "example",
  "command": {
    "op": "sensitivity",
    "prior": 0.3,
    "low_lr": 2.0,
    "high_lr": 6.0
  }
}

Response

This response is generated by executing the example against the current binary. Commit timestamps, when present, are shown as <runtime UTC seconds>; the actual protocol returns integer UTC seconds.

{
  "version": 1,
  "id": "example",
  "result": {
    "kind": "assumption_envelope",
    "posterior_high": 0.72,
    "posterior_low": 0.4615384615384615
  }
}

Verification

The documentation gate executes the setup and request, then checks the following result fields against independently specified expectations:

JSON pointer within resultExpected
/kind"assumption_envelope"
/posterior_low0.46153846153846156
/posterior_high0.72

Float comparisons use a 1e-12 tolerance. Request schema validation and cross-record validation still apply. See errors and recovery for failure handling.