Overview
functions to construct and use Statistics objects.
Function List
qlGaussianAverageShortfall ()
qlGaussianDownsideDeviation ()
qlGaussianDownsideVariance ()
qlGaussianExpectedShortfall ()
qlGaussianPercentile ()
qlGaussianPotentialUpside ()
qlGaussianRegret ()
qlGaussianShortfall ()
qlGaussianTopPercentile ()
qlGaussianValueAtRisk ()
qlIncrementalStatistics ()
qlStatistics ()
qlStatisticsAverageShortfall ()
qlStatisticsDownsideDeviation ()
qlStatisticsDownsideVariance ()
qlStatisticsErrorEstimate ()
qlStatisticsExpectedShortfall ()
qlStatisticsGaussianAverageShortfall ()
qlStatisticsGaussianDownsideDeviation ()
qlStatisticsGaussianDownsideVariance ()
qlStatisticsGaussianExpectedShortfall ()
qlStatisticsGaussianPercentile ()
qlStatisticsGaussianPotentialUpside ()
qlStatisticsGaussianRegret ()
qlStatisticsGaussianShortfall ()
qlStatisticsGaussianTopPercentile ()
qlStatisticsGaussianValueAtRisk ()
qlStatisticsKurtosis ()
qlStatisticsMax ()
qlStatisticsMean ()
qlStatisticsMin ()
qlStatisticsPercentile ()
qlStatisticsPotentialUpside ()
qlStatisticsRegret ()
qlStatisticsSamples ()
qlStatisticsSemiDeviation ()
qlStatisticsSemiVariance ()
qlStatisticsShortfall ()
qlStatisticsSkewness ()
qlStatisticsStandardDeviation ()
qlStatisticsTopPercentile ()
qlStatisticsValueAtRisk ()
qlStatisticsVariance ()
qlStatisticsWeightSum ()
Function Documentation
- Description:
Returns the averaged shortfallness.
- Supported Platforms:
Excel
- Parameters
-
Target the target. Mean The mean of the gaussian distribution. Default value = 0.0. StdDev The standard deviation of the gaussian distribution. Default value = 1.0. Trigger dependency tracking trigger
- Description:
Returns the square root of the downside variance.
- Supported Platforms:
Excel
- Parameters
-
Mean mean of the gaussian distribution. Default value = 0.0. StdDev standard deviation of the gaussian distribution. Default value = 1.0. Trigger dependency tracking trigger
- Description:
Returns the variance of observations below zero.
- Supported Platforms:
Excel
- Parameters
-
Mean the mean of the gaussian distribution. Default value = 0.0. StdDev standard deviation of the gaussian distribution. Default value = 1.0. Trigger dependency tracking trigger
- Description:
Returns the expected loss in case that the loss exceeded a VaR threshold.
- Supported Platforms:
Excel
- Parameters
-
Target the percentile. Mean The mean of the gaussian distribution. Default value = 0.0. StdDev The standard deviation of the gaussian distribution. Default value = 1.0. Trigger dependency tracking trigger
- Description:
Returns the x-th percentile.
- Supported Platforms:
Excel
- Parameters
-
X the percentile. Mean mean of the gaussian distribution. Default value = 0.0. StdDev standard deviation of the gaussian distribution. Default value = 1.0. Trigger dependency tracking trigger
- Description:
Returns the reciprocal of VAR at a given percentile.
- Supported Platforms:
Excel
- Parameters
-
Target the percentile. Mean The mean of the gaussian distribution. Default value = 0.0. StdDev The standard deviation of the gaussian distribution. Default value = 1.0. Trigger dependency tracking trigger
- Description:
Returns the variance of observations below target.
- Supported Platforms:
Excel
- Parameters
-
Target the target. Mean mean of the gaussian distribution. Default value = 0.0. StdDev standard deviation of the gaussian distribution. Default value = 1.0. Trigger dependency tracking trigger
- Description:
Returns the probability of missing the given target.
- Supported Platforms:
Excel
- Parameters
-
Target the target. Mean The mean of the gaussian distribution. Default value = 0.0. StdDev The standard deviation of the gaussian distribution. Default value = 1.0. Trigger dependency tracking trigger
- Description:
Returns the x-th top percentile.
- Supported Platforms:
Excel
- Parameters
-
X the percentile. Mean The mean of the gaussian distribution. Default value = 0.0. StdDev The standard deviation of the gaussian distribution. Default value = 1.0. Trigger dependency tracking trigger
- Description:
Returns the value-at-risk at a given percentile.
- Supported Platforms:
Excel
- Parameters
-
Target the percentile. Mean The mean of the gaussian distribution. Default value = 0.0. StdDev The standard deviation of the gaussian distribution. Default value = 1.0. Trigger dependency tracking trigger
- Description:
Statistics and risk measures tool.
- Supported Platforms:
Excel, C++
- Parameters
-
ObjectId id of object to be created Values Sampled values. If omitted, an empty statistics is created. Default value = std::vector<QuantLib::Real>(). Weights Weights. If omitted, all sampled values have the same weight. Default value = std::vector<QuantLib::Real>(). Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Statistics and risk measures tool.
- Supported Platforms:
Excel, C++
- Parameters
-
ObjectId id of object to be created Values Sampled values. If omitted, an empty statistics is created. Default value = std::vector<QuantLib::Real>(). Weights Weights. If omitted, all sampled values have the same weight. Default value = std::vector<QuantLib::Real>(). Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Returns the averaged shortfallness for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Target the target. Trigger dependency tracking trigger
- Description:
Returns the square root of the downside variance for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger
- Description:
Returns the variance of observations below zero for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger
- Description:
Returns the error estimate on the mean value for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger
- Description:
Returns the expected loss in case that the loss exceeded a VaR threshold for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Centile the centile. Trigger dependency tracking trigger
qlStatisticsGaussianAverageShortfall
- Description:
Returns the averaged shortfallness for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Target the target. Trigger dependency tracking trigger
qlStatisticsGaussianDownsideDeviation
- Description:
Returns the square root of the downside variance for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger
qlStatisticsGaussianDownsideVariance
- Description:
Returns the variance of observations below zero for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger
qlStatisticsGaussianExpectedShortfall
- Description:
Returns the expected loss in case that the loss exceeded a VaR threshold for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Target the percentile. Trigger dependency tracking trigger
qlStatisticsGaussianPercentile
- Description:
Returns the x-th percentile for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object X Must be in the range (0,1]. Trigger dependency tracking trigger
qlStatisticsGaussianPotentialUpside
- Description:
Returns the reciprocal of VAR at a given percentile for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Target the percentile. Trigger dependency tracking trigger
- Description:
Returns the variance of observations below the target for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Target the target. Trigger dependency tracking trigger
- Description:
Returns the probability of missing the given target for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Target the target. Trigger dependency tracking trigger
qlStatisticsGaussianTopPercentile
- Description:
Returns the x-th top percentile for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object X Must be in the range (0,1]. Trigger dependency tracking trigger
qlStatisticsGaussianValueAtRisk
- Description:
Returns the value-at-risk at a given percentile for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Target the percentile. Trigger dependency tracking trigger
- Description:
Returns the excess kurtosis for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger
- Description:
Returns the maximum sample value for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger
- Description:
Returns the mean for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger
- Description:
Returns the minimum sample value for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger
- Description:
Returns the x-th percentile for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object X Must be in the range (0,1]. Trigger dependency tracking trigger
- Description:
Returns the reciprocal of VAR at a given percentile for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Centile the centile. Trigger dependency tracking trigger
- Description:
Returns the variance of observations below target for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Target the target. Trigger dependency tracking trigger
- Description:
Returns the number of samples collected for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger
- Description:
Returns the square root of the semivariance for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger
- Description:
Returns the variance of observations below the mean for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger
- Description:
Returns the probability of missing the given target for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Target the target. Trigger dependency tracking trigger
- Description:
Returns the skewness for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger
- Description:
Returns the the standard deviation for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger
- Description:
Returns the x-th top percentile for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object X Must be in the range (0,1]. Trigger dependency tracking trigger
- Description:
Returns the value-at-risk at a given percentile for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Target the percentile. Trigger dependency tracking trigger
- Description:
Returns the variance for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger
- Description:
Returns the sum of data weights for the given Statistics object.
- Supported Platforms:
Excel
- Parameters
-
ObjectId id of existing QuantLib::Statistics object Trigger dependency tracking trigger