1. 程式人生 > 其它 >RMS與Std的差別:均方差與標準差

RMS與Std的差別:均方差與標準差

技術標籤:學習筆記

均方差與標準差

http://blog.sina.com.cn/s/blog_491b86bf01014mxr.html

RMS - root mean square(均方差,測繪學科翻譯為中誤差)

STD - Standard Deviation(標準差)

有人經常混用RMS與標準差(STD),實際上二者並不是一回事。

均方差,均方根誤差,RMS——隨機變數x的所有可能取值x1,x2,…,xn與其平均值x之差的平方和的平均值叫方差,記為D(x),方差的正平方根叫均方差,RMS=√D(x),它可作為衡量測量精度的一種數值指標。

標準差是用來衡量一組數自身的離散程度(與均值之間的差值),而均方根誤差

是用來衡量觀測值同真值之間的偏差,它們的研究物件和研究目的不同,物理意義也不一樣,但是計算過程類似。

Discrete random variable

In the case whereXtakes random values from a finite data setx1,x2, …,xN, with each value having the same probability, the standard deviation is

or, usingsummationnotation,

If,instead of having equal probabilities, the values have different probabilities, letx

1have probabilityp1,x2have probabilityp2, ...,xNhave probabilitypN. In this case, the standard deviation will be

erro = [1 -1 0 0];

std(erro) = 0.8165 = sqrt(2/3)

rms(erro) = 0.7071 = sqrt(2/4)

此處n等於4主要在於是除以n還是n-1區別!