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

conditional_chain

Multiply a nonempty chain of conditional event probabilities.

Contract

Every later factor must condition on relevant preceding events. Supplying marginals invents independence unless that assumption has been justified separately.

Fields

FieldTypeRequired
factorsarray of ProbabilityYes
op"conditional_chain"Yes

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": "conditional_chain",
    "factors": [
      0.8,
      0.6
    ]
  }
}

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": {
    "probability": 0.48
  }
}

Verification

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

JSON pointer within resultExpected
/probability0.48

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