The definition of NMSE (normalized mean square error)

67k Views Asked by At

Many papers use the NMSE function without ever explicitly defining it. I have always assumed that $$MSE(x,y)=\frac 1N \sum_i (x_i-y_i)^2$$ and $$ NMSE(x,y)=MSE(x,y)/MSE(x,0) = \frac{\| x-y\|_2^2}{\| x\|_2^2}$$ where $y$ is the approximation to $x$. This gives a simple relation between NMSE and relative $\ell^2$ error. An internet search however only shows strange definitions like $$\frac{ \sum_i (x_i-y_i)^2}{N\sum_i (x_i)^2} \quad\text{or} \quad \frac{N \sum_i (x_i-y_i)^2}{\sum_i x_i \sum_i y_i}$$

Is my interpretation not the standard definition?

2

There are 2 best solutions below

0
On

That sounds right to me.

FWIW, you probably would've gotten a faster answer on dsp.stackexchange.com

1
On

Matlab System Identification toolbox uses the following definiton:

$NMSE = 1 - \frac{|| x - y ||_2}{|| x - \bar{x}||}$

where $\bar{x}=\frac{1}{N}\sum_i{x_i}$; $y$ is the approximation of $x$