Back of the Envelope

Observations on the Theory and Empirics of Mathematical Finance

[Stats] Normalizing to a benchmark by matching moments

leave a comment »

One often needs to compare data across samples, say, when one or more samples constitute a benchmark. For example, consider comparing interview scores across panels when one of the panels is considered to be the benchmark.

The objective is to transform the data of a sample \{Y\} so as to match its mean (\mu_Y) and standard deviation (\sigma_Y) to that of the benchmark sample. That is, we begin with:

\begin{aligned} \mathbb{E}[Y] &= \mu_Y\\ \mathbb{E}[\big(Y - \mu\big)^2] &= \sigma_Y^2 \end{aligned}

and we need to transform data \{Y\} as \{Z = cY + d\} such that \mu_Z = \mu_B and \sigma_Z^2 = \sigma_B^2, where \mu_B and \sigma_B respectively represent the mean and standard deviation of the benchmark sample.

The moment matching approach then requires finding parameters c and d such that:

\begin{aligned} \mathbb{E}[cY + d] &= \mu_B \\ \mathbb{E}[\big((cY + d) - \mu_B \big)^2] &= \sigma_B^2 \end{aligned}

Simplifying the second equation implies we require that:

\begin{aligned} c^2 \mathbb{E}[Y^2] + d^2 + 2cd\mathbb{E}[Y] + \mu_B^2 - 2\mathbb{E}[cY + d]\mu_B &= \sigma_B^2 \\ \mbox{or } c^2 \mathbb{E}[Y^2] + d^2 + 2cd\mu_Y + \mu_B^2 - 2\mu_B^2 &= \sigma_B^2 \\ \mbox{or } c^2 (\mu_Y^2 + \sigma_Y^2) + d^2 + 2cd\mu_Y &= \mu_B^2 + \sigma_B^2\\ \mbox{or } c^2 \sigma_Y^2 + \underbrace{c^2 \mu_Y^2 + d^2 + 2cd\mu_Y}_{\mu_B^2} &= \mu_B^2 + \sigma_B^2 \\ \mbox{i.e. } c &= \dfrac{\sigma_B}{\sigma_Y}\end{aligned}

And accordingly,

d = \mu_B - c\mathbb{E}[Y] =\mu_B - c\mu_Y= \mu_B - \dfrac{\sigma_B}{\sigma_Y}\mu_Y

That is, transforming Y as:

Z = \dfrac{\sigma_B}{\sigma_Y}(Y - \mu_Y) + \mu_B

ensures that Z has the same mean and standard deviation as the benchmark data. Needless to say that this will work best for situations where the underlying data can be safely assumed to be coming from the Normal distribution or any of its kin (why?).

Looking at the transformation, upon a moment’s reflection it almost appears obvious, doesn’t it? To the point that this whole post seems moot. So, why bother? Well, while this is a simple enough example, the method of moments is important enough in economics and finance for its generalized version to be granted a Nobel status a couple of years ago.

Advertisements

Written by Vineet

April 7, 2015 at 12:22 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: