datalib icon indicating copy to clipboard operation
datalib copied to clipboard

Simple function for computing the IQM/midmean

Open mcorrell opened this issue 9 years ago • 0 comments

Computes the interquartile mean of an array of numbers. If n%4==0, then simply discard the values in Q1 and Q4 and compute the mean of the remaining values. Otherwise, compute weighted average based on “fractional observations” near quartile borders.

mcorrell avatar Aug 17 '16 06:08 mcorrell