JugglerJAF
Active Member
- Joined
- Feb 17, 2002
- Messages
- 297
- Office Version
- 365
- Platform
- Windows
I'm producing a report on sickness absence and have been asked for an average (mean) figure by department.
Some areas are skewed by having a small number of absences over an extremely long term (i.e. one department has a total of 400 days absence across 7 employees, but over 180 days of this is down to one individual absence due to a serious car accident).
What I want to do is to produce the mean average of all the data, but excluding the x highest (and/or lowest) values which may otherwise skew the data.
Ideally, I'd like the average of the middle 50% of the data range. I've tried using the quartile function but that doesn't do what I need.
Example, if the data set was {0, 2, 4, 4, 4, 4, 7, 10, 10, 10, 11, 45} I would want the average of the middle 50% of values {4, 4, 4, 7, 10,10}
Data Inc/Exc
0 exclude
2 exclude
4 exclude
4 include
4 include
4 include
7 include
10 include
10 include
10 exclude
11 exclude
45 exclude
Thanks.
Some areas are skewed by having a small number of absences over an extremely long term (i.e. one department has a total of 400 days absence across 7 employees, but over 180 days of this is down to one individual absence due to a serious car accident).
What I want to do is to produce the mean average of all the data, but excluding the x highest (and/or lowest) values which may otherwise skew the data.
Ideally, I'd like the average of the middle 50% of the data range. I've tried using the quartile function but that doesn't do what I need.
Example, if the data set was {0, 2, 4, 4, 4, 4, 7, 10, 10, 10, 11, 45} I would want the average of the middle 50% of values {4, 4, 4, 7, 10,10}
Data Inc/Exc
0 exclude
2 exclude
4 exclude
4 include
4 include
4 include
7 include
10 include
10 include
10 exclude
11 exclude
45 exclude
Thanks.