mean_removing_outli​ers_Tukey(X, RMZEROVALS)

Compute Mean and St.Dev. after outliers' removal (Tukey's criterion)
77 download
Aggiornato 15 mag 2017

Visualizza la licenza

[M,SD,Cx] = mean_removing_outliers_Tukey(X,RMZEROVALS)

Compute the robust mean (M) and the standard deviation (SD)
of a given vector or matrix (X). The resulting values are considered robust as they are
computed ITERATIVELY removing those observations that are classified as outliers.
Outliers are identified using "Tukey's Boxplot" method, where observation Xi
is considered outlier if Xi < Q1 - 1.5·IQR or Xi > Q3 + 1.5·IQR.
NOTE: NaN values are excluded from the computation.

INPUT

X : vector
RMZEROVALS : if '1', zero values are removed from the
computation. default RMZEROVALS is 0, meaning that
zero values are used in the computation.

OUTPUT

M : Robust mean (i.e. computed after outliers removal)
SD : Robust Standard Deviation (i.e. computed after outliers removal)
Cx : vector of the conserved (i.e. non-outliers) observations

Cita come

Ruggero G. Bettinardi (2025). mean_removing_outliers_Tukey(X, RMZEROVALS) (https://it.mathworks.com/matlabcentral/fileexchange/62954-mean_removing_outliers_tukey-x-rmzerovals), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2009a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Probability Distributions and Hypothesis Tests in Help Center e MATLAB Answers
Tag Aggiungi tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0