Skip to main content
Hi.  I'm not an expert user of FME Desktop and am wondering if you can help solve this problem.  I am trying to use basic statistics to separate my data.  Here are the details:

 

 

Start with a set of polygon features with attributes.  Choose one numerical attribute. Calculate the standard deviation.  Next, decide the range of acceptable values (i.e. values up to 2 standard deviations from the mean).  Compare the attribute of each feature against the standard deviation.  If the attribute for that feature is outside the range of standard devitations then direct it to a different path/port.  The features that fall inside the range are directed into a different path / port

 

 

Can someone help coach me on what transformers I need to do this?  I appreciate the help.

Just two should do it, the StatisticsCalculator will get you the standard deviation and then you could use either the AttributeRangeFilter or the Tester transformer to filter off the positive matches.


The key here is to use the Complete output port of the StatisticsCalculator. That way you have both the value and the standard deviation on the feature. You can next compare the value against the standard deviation per feature using the Tester.


Reply