mean squared deviation
y=msd(x) y=msd(x,'r') or m=msd(x,1) y=msd(x,'c') or m=msd(x,2)
real or complex vector or matrix
This function computes the mean squared deviation of the values of a
vector or matrix x
.
For a vector or a matrix x
, y=msd(x)
returns in the
scalar y
the mean squared deviation of all the entries of x
.
y=msd(x,'r')
(or, equivalently, y=msd(x,1)
) is the
rowwise mean squared deviation. It returns in each entry of the row
vector y
the mean squared deviation of each column of x
.
y=msd(x,'c')
(or, equivalently, m=msd(x,2)
) is the
columnwise mean squared deviation. It returns in each entry of the
column vector y
the mean squared deviation of each row of x
.
Wonacott, T.H. & Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley & Sons, 1990.
Version | Description |
5.5.1 | msd was removed after Scilab 5.5.1.
stdev replaces it. |