Develop interval class with 3 binn

1 vue (au cours des 30 derniers jours)
Skydriver
Skydriver le 30 Avr 2019
I have a qustion about how to develop interval class.
I have a matrik 2 x 165. I want to develop a binning system into 3 bin with to remive the outliers.
Using interval class we can estimate how many data outlier should be removed.
Pair of data in Column1 & Column2 will be removed based on bin edges
The highest and lowest X (Column 1) & Y (Colun 2)
bin class
X maks 40 = 1 2 3
X min 4 = 16 28 40 (bin egdes)
bin class
Y maks 24.76538 = 1 2 3
Ymin 0.347584 = 8.486848 16.62611 24.76538 (bin edges)
Interval class : X Xmean
Interval class X = (X Maks - X Min)/3 36 12
Interval class : Y Ymean
Interval class Y = (Y Maks - Y Min)/3 24.41779 8.139264
The step is subtsract for
  1. class Y1 (bin) = Y(i) - bin edges class 1 with considering bin edges Class X1
The value of positif of Y1will be reomoved because its asumsption the value is higher than class 1 so it will be removed
2. class Y2 (bin) = Y(i) except Class Y1 (bin) - bin edges class 2 with considering bin edges Class X2
The value of positif of Y2 will be reomoved because its asumsption the value is higher than class 2 so it will be removed
3. Class Y3 (bin) =Y(i) except Class Y1 & Class Y2 - bin egdes class 3 with considering bin dhes Class X3
The value of positif of Y3 will be removed because its assumption theh value is igher yan class 3so it will be removed
Finnaly we can get a pair of column 1 & column 2 with the same size after some outliers has removed
Is there any one can help me to develop a coding about bin edges

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by