Class ShiftedDistribution

  • All Implemented Interfaces:
    org.apache.commons.math3.analysis.UnivariateFunction

    public class ShiftedDistribution
    extends java.lang.Object
    implements org.apache.commons.math3.analysis.UnivariateFunction
    We shift the distribution downwards so that the outliers are below zero. Used to calculate intervals of outliers numerically by Illinois-type approximations.
    Author:
    Andreas Rogge-Solti
    • Constructor Summary

      Constructors 
      Constructor Description
      ShiftedDistribution​(org.apache.commons.math3.distribution.RealDistribution dist, double shift)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double value​(double x)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShiftedDistribution

        public ShiftedDistribution​(org.apache.commons.math3.distribution.RealDistribution dist,
                                   double shift)
    • Method Detail

      • value

        public double value​(double x)
        Specified by:
        value in interface org.apache.commons.math3.analysis.UnivariateFunction