# Pivotal quantity

In statistics, a pivotal quantity or pivot is a function of observations and unobservable parameters whose probability distribution does not depend on the unknown parameters  (also referred to as nuisance parameters). Note that a pivot quantity need not be a statistic—the function and its value can depend on the parameters of the model, but its distribution must not. If it is a statistic, then it is known as an ancillary statistic.

More formally, let $X=(X_{1},X_{2},\ldots ,X_{n})$ be a random sample from a distribution that depends on a parameter (or vector of parameters) $\theta$ . Let $g(X,\theta )$ be a random variable whose distribution is the same for all $\theta$ . Then $g$ is called a pivotal quantity (or simply a pivot).

Pivotal quantities are commonly used for normalization to allow data from different data sets to be compared. It is relatively easy to construct pivots for location and scale parameters: for the former we form differences so that location cancels, for the latter ratios so that scale cancels.

Pivotal quantities are fundamental to the construction of test statistics, as they allow the statistic to not depend on parameters – for example, Student's t-statistic is for a normal distribution with unknown variance (and mean). They also provide one method of constructing confidence intervals, and the use of pivotal quantities improves performance of the bootstrap. In the form of ancillary statistics, they can be used to construct frequentist prediction intervals (predictive confidence intervals).

## Examples

### Normal distribution

{{#invoke:see also|seealso}} One of the simplest pivotal quantities is the z-score; given a normal distribution with $\mu$ and variance $\sigma ^{2}$ , and an observation x, the z-score:

$z={\frac {x-\mu }{\sigma }},$ has distribution $N(0,1)$ – a normal distribution with mean 0 and variance 1. Similarly, since the n-sample sample mean has sampling distribution $N(\mu ,\sigma ^{2}/n),$ the z-score of the mean

$z={\frac {{\overline {X}}-\mu }{\sigma /{\sqrt {n}}}}$ also has distribution $N(0,1).$ Note that while these functions depend on the parameters – and thus one can only compute them if the parameters are known (they are not statistics) – the distribution is independent of the parameters.

$g(x,X)={\sqrt {n}}{\frac {x-{\overline {X}}}{s}}$ where

${\overline {X}}={\frac {1}{n}}\sum _{i=1}^{n}{X_{i}}$ and

$s^{2}={\frac {1}{n-1}}\sum _{i=1}^{n}{(X_{i}-{\overline {X}})^{2}}$ This can be used to compute a prediction interval for the next observation $X_{n+1};$ see Prediction interval: Normal distribution.

### Bivariate normal distribution

In more complicated cases, it is impossible to construct exact pivots. However, having approximate pivots improves convergence to asymptotic normality.

An estimator of $\rho$ is the sample (Pearson, moment) correlation

$r={\frac {{\frac {1}{n-1}}\sum _{i=1}^{n}(X_{i}-{\overline {X}})(Y_{i}-{\overline {Y}})}{s_{X}s_{Y}}}$ ${\sqrt {n}}{\frac {r-\rho }{1-\rho ^{2}}}\Rightarrow N(0,1)$ .

However, a variance-stabilizing transformation

$z={\rm {{tanh}^{-1}r={\frac {1}{2}}\ln {\frac {1+r}{1-r}}}}$ known as Fisher's z transformation of the correlation coefficient allows to make the distribution of $z$ asymptotically independent of unknown parameters:

${\sqrt {n}}(z-\zeta )\Rightarrow N(0,1)$ where $\zeta ={\rm {tanh}}^{-1}\rho$ is the corresponding population parameter. For finite samples sizes $n$ , the random variable $z$ will have distribution closer to normal than that of $r$ . An even closer approximation to the standard normal distribution is obtained by using a better approximation for the exact variance: the usual form is

$\operatorname {Var} (z)\approx {\frac {1}{n-3}}.$ ## Robustness

{{#invoke:main|main}} From the point of view of robust statistics, pivotal quantities are robust to changes in the parameters – indeed, independent of the parameters – but not in general robust to changes in the model, such as violations of the assumption of normality. This is fundamental to the robust critique of non-robust statistics, often derived from pivotal quantities: such statistics may be robust within the family, but are not robust outside it.