+ Reply to Thread
Results 1 to 5 of 5

Alternative to TRIMMEAN

  1. #1
    Registered User
    Join Date
    03-14-2019
    Location
    Coventry, England
    MS-Off Ver
    2010
    Posts
    23

    Alternative to TRIMMEAN

    Morning All,

    I am trying to remove some outliers from a large amount of data, currently i am using the TRIMMEAN function and it seems to be working okay.

    jus out of interest is there an alternative way to change the percentage of outliers that are removed.

    With the TRIMMEAN is will take say 10% off the top and bottom, but i was wondering if you can take say 10% off the top and 30% off the bottom.

    Any help is greatly appreciated.

    kind regards

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,670

    Re: Alternative to TRIMMEAN

    According to the help: "TRIMMEAN rounds the number of excluded data points down to the nearest multiple of 2. If percent = 0.1, 10 percent of 30 data points equals 3 points. For symmetry, TRIMMEAN excludes a single value from the top and bottom of the data set".
    Using 40 data points as an example, how many data points would you want to exclude from the top and bottom? I am guessing 2 and 6 respectively. Is that correct?
    Someone may be in a better position to help if you could provide a file as described in the banner at the top of the page.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,195

    Re: Alternative to TRIMMEAN

    Here's a TRIMMEAN workaround:

    =AVERAGE(AGGREGATE(15,6,$A$1:$A$20,ROW($4:$15)))

    For the 20 values in A1 to A20, the first 3 and last 5 are excluded, as a result of the bit in red.

    see sheet for context and for verification.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Alternative to TRIMMEAN

    Quote Originally Posted by DaleJ92 View Post
    I am trying to remove some outliers from a large amount of data, currently i am using the TRIMMEAN function [....] i was wondering if you can take say 10% off the top and 30% off the bottom.
    FYI, TRIMMEAN has nothing to do with ignoring outliers. Nor does your goal of arbitrarily ignoring the bottom 30% and top 10%.

    For a statistical approach, I would suggest using the interquartile range (IQR) method. LMK if you want details.

    I would not use the standard deviation (sd) method unless you have a normal distribution.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,195

    Re: Alternative to TRIMMEAN

    For info... I wasn't commenting on the statistical validity of the approach, only on an implementation strategy.

    I have doubts about "deskewing" data. If it's skewed, it's skewed.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Trimmean Summary
    By oneyejack77 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-08-2020, 09:53 PM
  2. [SOLVED] Trimmean help to ignore 0
    By jonoman1234 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-19-2017, 03:08 AM
  3. Trimmean to ignore #div/0!
    By Nevada511 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-14-2017, 04:33 AM
  4. Trimmean formula or alternative
    By skate1991 in forum Excel General
    Replies: 4
    Last Post: 02-25-2016, 02:01 PM
  5. Alternative TRIMMEAN
    By Brennen81 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-06-2015, 09:29 AM
  6. [SOLVED] TRIMMEAN & OFFSET together
    By JTM1200 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-11-2012, 05:23 PM
  7. TRIMMEAN with different percentiles?
    By [email protected] in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-14-2006, 01:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1