Documentation of 'org.jquantlib.math.statistics.IncrementalStatistics' Java class
IncrementalStatistics
org.jquantlib.math.statistics

Class IncrementalStatistics



  • public class IncrementalStatistics
    extends GenericRiskStatistics
    Statistics tool based on incremental accumulation

    It can accumulate a set of data and return statistics (e.g: mean, variance, skewness, kurtosis, error estimation, etc.)

    • Constructor Detail

      • IncrementalStatistics

        public IncrementalStatistics()
    • Method Detail

      • standardDeviation

        public double standardDeviation()
        returns the standard deviation , defined as the square root of the variance.
        Overrides:
        standardDeviation in class GeneralStatistics
      • errorEstimate

        public double errorEstimate()
        returns the error estimate , defined as the square root of the ratio of the variance to the number of samples.
        Overrides:
        errorEstimate in class GeneralStatistics
      • downsideDeviation

        public double downsideDeviation()
        returns the downside deviation, defined as the square root of the downside variance.
        Overrides:
        downsideDeviation in class GenericRiskStatistics
      • downsideVariance

        public double downsideVariance()
        returns the downside variance, defined as , where = 0 if x > 0 and =1 if x <0
        Overrides:
        downsideVariance in class GenericRiskStatistics
      • skewness

        public double skewness()
        returns the skewness, defined as The above evaluates to 0 for a Gaussian distribution.
        Overrides:
        skewness in class GeneralStatistics
      • kurtosis

        public double kurtosis()
        returns the excess kurtosis, defined as The above evaluates to 0 for a Gaussian distribution.
        Overrides:
        kurtosis in class GeneralStatistics
      • min

        public double min()
        returns the minimum sample value
        Overrides:
        min in class GeneralStatistics
      • max

        public double max()
        returns the maximum sample value
        Overrides:
        max in class GeneralStatistics
      • addSequence

        public void addSequence(double[] datum)
        adds a sequence of data to the set, with default weight
        Overrides:
        addSequence in class GeneralStatistics
      • addSequence

        public void addSequence(double[] datum,
                                double[] weights)
        adds a sequence of data to the set, each with its weight

        weights must be positive or null

        Overrides:
        addSequence in class GeneralStatistics
      • addSequence

        public void addSequence(Array datum,
                                Array weights)
        adds a sequence of data to the set, each with its weight

        weights must be positive or null

        Overrides:
        addSequence in class GeneralStatistics
      • add

        public void add(double value)
        adds a datum to the set, possibly with a weight

        weight must be positive or null

        Overrides:
        add in class GeneralStatistics

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.