Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 881
  • Last Modified:

Array Calculation: Remove outliers

Hello ,

I am not sure which is better way to handle outlier results out of array average calculations.  I have a bunch of fractions that get computed like this:
(A-B)/C
Now roughly 95% of the percentage results are ok and expected  but some results (red font) are bigger than expected for some weird data.
A            B      C      Results
93      93      95      0      74.55636
94      50000      96      -519.85417      74.55636
70000      96      97      720.659794      74.55636


What is a good way to get rid of these outliers and compute the average of the rest if the percentages?
One way is to get standard deviation for all the row fractions and giving a condition if :
Or each row - Keep on averaging the fraction if STD DEv is within the expected standard deviation value
How do I do this? Or any other real weighted percentage really…
EE-calculationwithoutOutliers.xlsx
0
Rayne
Asked:
Rayne
2 Solutions
 
SteveCommented:
If you have normal data then it is understood that +/- 2.6 standard deviations should cover outliers (special causes). Whether to do this by column would depend on the data.
EE-calculationwithoutOutliers.xlsx
0
 
Saqib Husain, SyedEngineerCommented:
You could try a formula like

=AVERAGEIFS(E3:E145,E3:E145,"<>0",E3:E145,"<=1",E3:E145,">=-1")
0
 
RayneAuthor Commented:
Looks like we are getting somewhere, I will reward you for your efforts so far. I will post a follow up to get this further more close. But awesome help so far. <br />Thank you
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now