> For the complete documentation index, see [llms.txt](https://docs.rootcause.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rootcause.ai/more-details/digital-twin/simulation-types/explanation.md).

# Explanation

Explanation reads the [Digital Twin](/more-details/digital-twin.md) to answer *why*, not *what-if*. It takes a relationship that already exists in the model and decomposes it: how strongly one variable drives another, which drivers matter most, and the pathways an effect travels along. The product sums it up in one line: *understand drivers and impacts for outcomes*.

Where a [prediction](/more-details/digital-twin/simulation-types/prediction.md) tells you an outcome, an [intervention](/more-details/digital-twin/simulation-types/intervention.md) tells you what one change would do, and an [optimization](/more-details/digital-twin/simulation-types/optimization.md) finds the best combination to aim for, Explanation steps back and accounts for the causal structure itself. Nothing is changed and no new scenario is run — the tool reads the trained twin and explains it.

For the workflow that produces a Digital Twin in the first place, see [Step 5: Build Digital Twin](/user-guide/creating-digital-twin.md).

***

## Overview

Open a Digital Twin from the Digital Twins list, open the **Simulations** tab, click **New Simulation**, and choose **Explanation** from the [type picker](/more-details/digital-twin/simulation-types.md).

<figure><img src="/files/fdJFOoBxL97oOYL9NWjC" alt="The Explanation setup form opening on Step 1, Explanation mode, with three tiles — Directional, Discovery, Impact — Directional selected, and the Variables step below asking for a Cause and an Effect variable, both still empty"><figcaption><p>The Explanation setup opens on the mode step: Directional, Discovery, or Impact. The mode chosen here decides which variables the next step asks for.</p></figcaption></figure>

Every Explanation run follows the same five steps.

**1. Pick the mode.** The mode frames the question and decides which variables you supply next:

* **Directional** — explain a specific cause → effect relationship.
* **Discovery** — find the strongest drivers of an effect.
* **Impact** — see what outcomes a cause influences.

**2. Select the variables.** A **Cause variable** is the lever; an **Effect variable** is the outcome. The mode decides which you need — Directional asks for both, Discovery for the effect alone, Impact for the cause alone.

**3. Add segments (optional).** A segment is a filter — one or more conditions, such as *tier = premium* — that the simulation runs separately, so you can compare how an explanation differs across subgroups. **Suggest Segments** proposes them from the twin; **+ Add segment** defines one by hand. Leave the section empty to run across the whole population.

**4. Run the simulation.** The Configuration Summary restates the run as a plain-English **Research question**. **Validate** checks the configuration; **Run Simulation** launches it against the chosen twin version.

**5. Review the results.** A finished run shows a green **Completed** pill, a duration, **Export PDF** and **Edit Config**, and opens with the Configuration Summary and an **AI Summary**. Everything below that depends on the mode.

***

## Detailed explanation

The mode chosen in step 1 changes both the inputs you supply and the result you get back. Each of the three is shown below with its own setup (input) and result (output).

### Option 1 — Directional

*Explain a specific cause → effect relationship.* Use Directional when you already have a hypothesis — "does Contract affect Churn?" — and want it quantified. It asks for both a **Cause variable** and an **Effect variable**.

<figure><img src="/files/JIGkKvTU0CxTyF81w3pt" alt="The Explanation setup form in Directional mode: Step 1 has Directional selected, Step 2 shows Cause variable Contract and Effect variable Churn, and the optional Segments step follows below"><figcaption><p><strong>Input.</strong> Both a Cause variable (Contract) and an Effect variable (Churn) are set; Step 3 Segments is left empty to run across the whole population.</p></figcaption></figure>

The result leads with **Causal Relationship Analysis** — a headline card for the pair, here *Contract → Churn*: a sustained Contract change moves the probability of *Churn: Yes* from **22.7% to 35.5%** (+12.7 percentage points), with a confidence rating, a result-reliability note, and an effect range. Below it, **Categorical Outcome Analysis** breaks the shift down by outcome value as *Delta Probabilities*. **Causal Pathways** then decomposes the total effect into a **Direct Effect** and the ranked indirect paths it travels (Path 1, Path 2, …), each with its share and effect size, drawn as a *Pathway Contributions* donut. A **Segment Analysis** section closes the page.

<figure><img src="/files/hYfQXx46bNWNYr6DRiXh" alt="A Directional Explanation result for the research question How does Contract influence Churn? The AI summary reports a 0.134979 average increase in Churn with very strong statistical support, driven almost entirely by the direct Contract to Churn path; the Causal Relationship Analysis card reads Contract arrow Churn, Churn Yes 22.7% to 35.5%, plus 12.7 percentage points, High confidence, over a 10,000 sample size, above the start of the Delta Probabilities chart"><figcaption><p><strong>Output.</strong> The headline card quantifies the single relationship, Contract shifting <em>Churn: Yes</em> from 22.7% to 35.5%, with the AI summary spelling out the effect size and its significance above it.</p></figcaption></figure>

<figure><img src="/files/IwggcW6eGiuUmwM3cAPy" alt="Further down the same Directional result: the Causal Pathways donut attributing 97.8% of the effect to the Direct Effect, with three small indirect paths through TechSupport, PaymentMethod, and OnlineSecurity; and Segment Analysis for the overall population with per-contract-type effects, all High confidence"><figcaption><p>Deeper in the same result: Causal Pathways attributes 97.8% of the effect to the direct path, and Segment Analysis breaks the effect out by contract type.</p></figcaption></figure>

### Option 2 — Discovery

*Find the strongest drivers of an effect.* Use Discovery when you know the outcome you care about but not what moves it most. It asks only for the **Effect variable**.

<figure><img src="/files/3WNF27nBpqDssUFsUz7u" alt="The Explanation setup form in Discovery mode. Step 1 has Discovery selected; Step 2 Variables asks only for an Effect variable, set to Churn; the optional Segments step follows with a How segments work note"><figcaption><p><strong>Input.</strong> Discovery needs only the Effect variable (Churn); the Segments section is identical across all three modes.</p></figcaption></figure>

The result is a **Key Driver Analysis** — a ranked bar chart of each driver's *Relative contribution (%)* to the *Causal Effect on Churn*, with Contract, InternetService, and OnlineSecurity topping the list.

Beneath the chart, every driver is a row — **Driver**, **Rank**, **Contribution**, **Range**, **Confidence** — and each one expands into the same deep analysis a Directional run produces for a single pair. Discovery is, in effect, Directional run across every driver at once and ranked.

<figure><img src="/files/qoww4W0f7orDfpJ4DJND" alt="The Discovery Explanation result: the Key Driver Analysis bar chart titled Causal Effect on Churn with Contract highest, above the ranked driver table where Contract contributes 44.4%, InternetService 25.4%, OnlineSecurity 17.0%, TechSupport 7.7%, and PaymentMethod 3.2%, each row with a range, a direct and indirect split, and High confidence"><figcaption><p><strong>Output.</strong> The ranked drivers: each row carries its contribution, range, and confidence, and expands into the full pathway breakdown.</p></figcaption></figure>

### Option 3 — Impact

*See what outcomes a cause influences.* Use Impact when you know the lever and want to trace everything downstream of it. It asks only for the **Cause variable**.

<figure><img src="/files/6TPm1Fu8WlZ86lqrX1bw" alt="The Explanation setup form in Impact mode. Step 1 shows the three mode tiles — Directional, Discovery, Impact — with Impact selected; Step 2 Variables asks only for a Cause variable, set to Contract; the optional Segments step follows below"><figcaption><p><strong>Input.</strong> Impact needs only the Cause variable (Contract).</p></figcaption></figure>

The result is an **Impact Analysis** — a *Downstream Effects* chart plotting the *Causal impact from* the chosen cause across the variables it reaches, and an **Affected Variable** table giving each one a **Contribution** (split into direct and indirect), a **Range**, and a **Confidence** rating. It is the mirror image of Discovery: one cause, many effects, rather than one effect, many causes.

<figure><img src="/files/SxZ1RhXNbutIygA5zQY2" alt="An Impact Explanation result for the research question What does Contract influence? The Downstream Effects of Contract chart shows TotalCharges towering over every other variable, and the Affected Variable table lists TotalCharges at 98.3% contribution, then tenure, TechSupport, Churn, PaymentMethod, OnlineSecurity, and PaperlessBilling, each with a range and High confidence"><figcaption><p><strong>Output.</strong> Contract's downstream footprint is dominated by TotalCharges at 98.3%; every other affected variable, including Churn, carries a sliver of the total impact.</p></figcaption></figure>

***

## Past simulations

Past runs appear in the Simulations tab's run list inside the twin, and **View all simulations** on the twin's Home opens the full history. The workflow is the same as for any other simulation type — see [Prediction › Past simulations](/more-details/digital-twin/simulation-types/prediction.md#past-simulations).

***

## Other Simulation Types

* [Prediction](/more-details/digital-twin/simulation-types/prediction.md) — predict an outcome for a specific input.
* [Intervention](/more-details/digital-twin/simulation-types/intervention.md) — change a single variable and observe propagation.
* [Optimization](/more-details/digital-twin/simulation-types/optimization.md) — find the input combination that maximizes or minimizes a target.
* [Best Action](/more-details/digital-twin/simulation-types/best-action.md) — find the minimum change needed to reach a target outcome.
* [Root Cause Analysis](/more-details/digital-twin/simulation-types/root-cause-analysis.md) — diagnose the cause of a specific abnormal value.
* [Anomaly Scan & Diagnosis](/more-details/digital-twin/simulation-types/anomaly-scan.md) — scan every variable for anomalies and diagnose each one.

See [Step 6: Run Simulations](/user-guide/simulations.md) — general overview.
