Skip to main content
Question

Calculate quantile


Hi, 

 

 

I've searched for the ways to calculate quantile for an attribute in FME with no joy. Does anyone know if there's a transformer or a combination (possibly sorting and then extract the value at a certain row?) that's capable of calculating quartile, percentile etc in FME?

 

 

Cheers.

3 replies

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • August 14, 2015

Depending on what exactly you want to do I would either do

 

Sorter, Aggregator (w/ count attribute and list), Deaggregator (part number, explode list), ExpressionEvaluator (some variant of part number/ count)

Or for more complicated analysis

 

 

StatisticsCalculator (histogram, complete port) followed by an ExpressionEvaluator (with possibly some list manipulation of the histogram prior to that)

  • Author
  • August 21, 2015
After a few trials I found it might be much easier to do this in R, although that means that I have to switch between the two softwares. But thanks anyway.

vadis
Contributor
Forum|alt.badge.img+5
  • Contributor
  • August 3, 2020

Hi haow,

 

I know it's quite after some time but this might be what you (and others) are looking for - PercentileCalculator, custom transformer at FME Hub.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings