Hi,
For removing outliers for a 1D list of data e.g. {5,3,8,10,8,2}, I did the following procedure:
{min, max} = {Mean[data] - 2*StandardDeviation[data],
Mean[data] + 2*StandardDeviation[data]}
The outliers are : Select[data, Or[# > max, # < min] &]
Now if we have a 3D list of data e.g., {{-1.197, -1.169, 0.424}, {-3.597, 1.220, 2.234},…}
How is it possible to fit a 3D ellipse to this data?
Can we remove the outlier with the help of the fitted ellipse? I enclosed the real data.
I appreciate your help.
Question.nb (802 KB)






