I have a table with the following values used in calculating safety stock. For the calculation will be as good as possible, we need to remove the outliers. The question is how I do to remove them. In the example below, I would remove the value 30 and 137 165 as they differ very extreme.
Mtrl Quantity YearWeek
Label1 3 100 1240
Label1 1 984 1241
Label1 5 670 1242
Label1 30 1243
Label1 3 888 1244
Label1 1 651 1245
Label1 1 881 1246
Label1 1 985 1247
Label1 3 240 1248
Label1 980 1249
Label1 137 165 1250