How can i remove outliers from a 3d array using median standard deviation?
이전 댓글 표시
Hi everyone, I have a 3d array E(i,j,k) in which k is the number of data in the dimension i and j. how can I remove the outliers from this 3d array using MAD(median absolute deviation)?
thank you in advance
댓글 수: 6
jonas
2018년 7월 3일
You have to give more info than that...
Joseph
2018년 7월 3일
jonas
2018년 7월 3일
So you want to, for every latitude (j) and longitude (i), calculate the median standard deviation (over k). Then you want to remove values where the deviation exceeds some threshold.
Am I getting it right?
Joseph
2018년 7월 3일
Image Analyst
2018년 7월 4일
편집: Image Analyst
2018년 7월 4일
MAD is either the mean absolute deviation, or median absolute deviation - see wikipedia. Never heard of mean standard deviation, but I guess you could compute it if you had a population size. Which do you want? MAD is a very common outlier metric so you probably want that, but which MAD?
And what do you mean by removing outliers in a 3-D array. You cannot just get rid of those elements, but you can assign them to something, like the overall global mean, or zero, or the local median, or NAN, or something. What do you want?
Joseph
2018년 7월 4일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!