> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dqlabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure

> How to enable and configure Prizm's Statistics metrics per column, including thresholds for mean, sum, and distribution-shape alerts.

<script type="application/ld+json">
  {`{
            "@context": "https://schema.org",
            "@type": "TechArticle",
            "headline": "Statistics Metrics Configuration",
            "description": "How to enable and configure Prizm's Statistics metrics per column, including thresholds for mean, sum, and distribution-shape alerts.",
            "url": "https://docs.dqlabs.ai/architecture/metrics/statistics/configure",
            "publisher": {
              "@type": "Organization",
              "name": "DQLabs Inc",
              "logo": "https://media.brand.dev/332adc35-5bc4-4d2b-bf78-256aa4a5e414.svg"
            }
            }`}
</script>

## Configuring Statistics metrics

Statistics metrics are enabled per column through the Configure Structural Metrics panel. Once active, thresholds and settings are managed on the asset's Metric tab.

1. Navigate to **Metric** in the top navigation.
2. Click **Configure Structural Metrics** (the waveform icon in the toolbar).
3. In the **Map Asset/Attributes to the Metrics** search field, select the target asset and column.
4. Click the **Statistics** tab and check the specific statistics to enable (or **Select All Statistics Metrics**).
5. Click **Apply**.

The selected metrics begin collecting data on the next profiling run. To adjust thresholds, navigate to **Asset** → open the asset → **Metric** tab → **STATISTICS** filter chip → click the metric → **Edit configuration** (pencil icon).

<Frame>
  <img src="https://mintcdn.com/dqlabs/ZKrDEZVwUfowQ-cY/images/image-58.png?fit=max&auto=format&n=ZKrDEZVwUfowQ-cY&q=85&s=43028875981be44b37eca4041516263d" alt="Image" width="1030" height="1238" data-path="images/image-58.png" />
</Frame>

## Configuration options

| Option            | Description                                                       |
| ----------------- | ----------------------------------------------------------------- |
| **Valid**         | Whether a result within the pass criteria counts as a valid run   |
| **Scoring**       | Include this metric in the asset's overall quality score          |
| **Weightage%**    | Relative weight of this metric in the overall score (default 100) |
| **Pass Criteria** | The condition the result must satisfy to pass (default `>= 100`)  |
| **Export**        | Include metric results in data exports                            |

## Threshold

Choose how Prizm determines when to raise a Statistics alert.

**Automated Threshold** — System-generated thresholds based on the historical baseline for each statistic. Prizm computes how many standard deviations the current value is from the baseline and maps deviation magnitude to alert priority:

| Priority     | Deviation | Default | Description                                                 |
| ------------ | --------- | ------- | ----------------------------------------------------------- |
| **Low**      | 0σ – 1σ   | Off     | Within expected statistical variation. No action required.  |
| **Medium**   | 1σ – 2σ   | Off     | Moderate drift detected. Monitor for emerging trends.       |
| **High**     | 2σ – 3σ   | **On**  | Significant statistical anomaly. Investigation recommended. |
| **Critical** | ≥ 3σ      | **On**  | Extreme deviation from baseline. Immediate action required. |

**Custom Threshold** — User-defined absolute limits for triggering alerts. Useful for financial columns with known valid ranges — for example, alert if Mean transaction amount exceeds \$10,000 or if Sum deviates by more than ±5% from the expected daily total.

## Semantic context

Statistics metrics are automatically tagged with:

* **Dimension:** Reliability
* **Domain:** Inherited from the asset's domain assignment

To update the semantic context or assign Owners, open the metric in Edit configuration mode and scroll to the **Semantic context** and **Owners** sections.
