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

Class GenericRiskStatistics

  • Direct Known Subclasses:
    IncrementalStatistics, RiskStatistics


    public class GenericRiskStatistics
    extends GaussianStatistics
    empirical-distribution risk measures

    This class wraps a somewhat generic statistic tool and adds a number of risk measures (e.g.: value-at-risk, expected shortfall, etc.) based on the data distribution as reported by the underlying statistic tool.

    • Constructor Detail

      • GenericRiskStatistics

        public GenericRiskStatistics()
    • Method Detail

      • semiVariance

        public double semiVariance()
        returns the variance of observations below the mean,
        See Also:
        (1959).
      • semiDeviation

        public double semiDeviation()
        returns the semi deviation, defined as the square root of the semi variance.
      • downsideVariance

        public double downsideVariance()
        returns the variance of observations below 0.0,
      • downsideDeviation

        public double downsideDeviation()
        returns the downside deviation, defined as the square root of the downside variance.
      • regret

        public double regret(double target)
        returns the variance of observations below target,
        See Also:
        and Freeman, "The Rules Of Risk", Wiley (2001).
      • potentialUpside

        public double potentialUpside(double centile)
        potential upside (the reciprocal of VaR) at a given percentile
      • valueAtRisk

        public double valueAtRisk(double centile)
        value-at-risk at a given percentile
      • expectedShortfall

        public double expectedShortfall(double centile)
        expected shortfall at a given percentile

        returns the expected loss in case that the loss exceeded a VaR threshold,

        that is the average of observations below the given percentile \f$ p \f$. Also know as conditional value-at-risk.

        See Also:
        Artzner, Delbaen, Eber and Heath, "Coherent measures of risk", Mathematical Finance 9 (1999)
      • shortfall

        public double shortfall(double target)
        probability of missing the given target, defined as where \Theta(x) = \left\{ \begin{array}{ll} 1 & x < t \\ 0 & x \geq t \end{array} \right. }
      • averageShortfall

        public double averageShortfall(double target)
        averaged shortfallness, defined as

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.