Description Usage Arguments Details Value Author(s) Examples
Median Absolute Deviation (MAD) of a matrix by rows or columns
1 | UN_dispersion_robust_sMAD(previous.name = "")
|
previous.name |
name of the default name in the menu |
Allcalculation made on the whole matrix
Row wisecalculation made by rows
MAD is based on the median taken as central value of the sample
distribution; the absolute differences are computed and MAD is
defined as the median of such differences. In the case of a
normal distribution, MAD times 1.483 can be used for a robust
estimation of the theoretical standard deviation.
The output is saved in the variable var.dispersion
All |
single numeric value |
Row wise |
numeric vector |
Column wise |
numeric vector |
Riccardo Leardi and Gianmarco Polotti with contributions from Giorgio Marubini.Gruppo di Chemiometria (Divisione di Chimica Analitica della Societa' Chimica Italiana)
1 2 | A<-matrix(1:20,5,4)
UN_dispersion_robust_sMAD('A')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.