---
title: Delta Method
description: "How Statsig applies the delta method to compute variances for ratio metrics and other non-linear functions of user-level metric values in experiments."
product: general
lang: en
last_updated: 2025-09-18
token_estimate: 551
---
# Delta Method

> For AI agents: a documentation index is available at [/llms.txt](/llms.txt). Append `.md` to any page URL for markdown, or send `Accept: text/markdown`.

The delta method approximates the variance of a ratio metric, such as clicks per session, from the variances of its numerator and denominator and the covariance between them. Statsig uses it because the numerator and denominator come from the same users and are correlated. For confidence intervals on relative lifts, Statsig recommends [Fieller intervals](https://docs.statsig.com/experiments/statistical-methods/methodologies/fieller-intervals) instead; the delta method is the large-sample approximation to the Fieller interval.

## Delta method for ratio metrics

Statsig uses the delta method to calculate the variance of metrics that have a numerator and a denominator.

The variance of ratio and mean metrics depends on the numerator and denominator variables, which are typically correlated. For example, consider a clicks per session metric. The number of clicks and the number of sessions are two sets of observations from the same group of users, so they aren't independent of each other. To account for this correlation, Statsig obtains the variance of a ratio metric $R$ using the delta method:

![Delta method variance formula](https://docs.statsig.com/images/snippets/stats-methods/delta-method/167956015-cc3f9fca-2c4d-410c-bff1-3f13dd16d105.png)

Statsig computes the variance of the numerator and denominator means the same way it does for count metrics (refer to [Variance](https://docs.statsig.com/experiments/statistical-methods/variance)). The covariance is

![Covariance calculation formula](https://docs.statsig.com/images/snippets/stats-methods/delta-method/167956127-c17017ef-07b2-4f76-88c4-00539eec50a7.png)

## Delta method for relative lifts

Statsig can also use the delta method to calculate the confidence interval for relative lifts. The alternative, which Statsig recommends, is [Fieller intervals](https://docs.statsig.com/experiments/statistical-methods/methodologies/fieller-intervals). The delta method is an approximation of the Fieller interval that converges to it as the sample size grows.

