Package org.drip.measure.distribution
Class R1ContinuousPareto
java.lang.Object
org.drip.measure.distribution.R1Continuous
org.drip.measure.distribution.R1ContinuousPareto
public class R1ContinuousPareto extends R1Continuous
R1ContinuousPareto implements the R1 Continuous Pareto Distribution. The References are:
- Devroye, L. (1986): Non-Uniform Random Variate Generation Springer-Verlag New York
- Exponential Distribution (2019): Exponential Distribution https://en.wikipedia.org/wiki/Exponential_distribution
- Norton, M., V. Khokhlov, and S. Uryasev (2019): Calculating CVaR and bPOE for Common Probability Distributions with Application to Portfolio Optimization and Density Estimation Annals of Operations Research 299 (1-2) 1281-1315
- Ross, S. M. (2009): Introduction to Probability and Statistics for Engineers and Scientists 4th Edition Associated Press New York, NY
- Schmidt, D. F., and D. Makalic (2009): Universal Models for the Exponential Distribution IEEE Transactions on Information Theory 55 (7) 3087-3090
- R1ContinuousPareto Constructor
- Retrieve k
- Retrieve Lambda
- Lay out the Support of the PDF Range
- Compute the Density under the Distribution at the given Variate
- Retrieve the Mode of the Distribution
- Compute the cumulative under the distribution to the given value
- Retrieve the Quantile Variate of the Distribution
- Retrieve the Mean of the Distribution
- Retrieve the Median of the Distribution
- Retrieve the Variance of the Distribution
| Module | Computational Core Module |
| Library | Numerical Analysis Library |
| Project | Rd Continuous/Discrete Probability Measures |
| Package | R1 and Rd Continuous Random Measure |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description R1ContinuousPareto(double lambda, double k)R1ContinuousPareto Constructor -
Method Summary
Modifier and Type Method Description doublecumulative(double t)Compute the cumulative under the distribution to the given valuedoubledensity(double t)Compute the Density under the Distribution at the given Variatedoublek()Retrieve kdoublelambda()Retrieve Lambdadoublemean()Retrieve the Mean of the Distributiondoublemedian()Retrieve the Median of the Distributiondoublemode()Retrieve the Mode of the Distributiondoublequantile(double p)Retrieve the Quantile Variate of the Distributiondouble[]support()Lay out the Support of the PDF Rangedoublevariance()Retrieve the Variance of the DistributionMethods inherited from class org.drip.measure.distribution.R1Continuous
bPOE, centralMoment, cvar, differentialEntropy, excessKurtosis, expectedShortfall, fisherInformation, histogram, incremental, invCumulative, iqr, kullbackLeiblerDivergence, nonCentralMoment, populationCentralMeasures, probabilityGeneratingFunction, quadratureEstimator, random, randomArray, skewness, supported, tukeyAnomaly, tukeyCriterionMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
R1ContinuousPareto
public R1ContinuousPareto(double lambda, double k) throws java.lang.ExceptionR1ContinuousPareto Constructor- Parameters:
lambda- Rate Parameterk- K Parameter- Throws:
java.lang.Exception- Thrown if the Inputs are invalid
-
-
Method Details
-
k
public double k()Retrieve k- Returns:
- k
-
lambda
public double lambda()Retrieve Lambda- Returns:
- Lambda
-
support
public double[] support()Lay out the Support of the PDF Range- Specified by:
supportin classR1Continuous- Returns:
- Support of the PDF Range
-
density
public double density(double t) throws java.lang.ExceptionCompute the Density under the Distribution at the given Variate- Specified by:
densityin classR1Continuous- Parameters:
t- Variate at which the Density needs to be computed- Returns:
- The Density
- Throws:
java.lang.Exception- Thrown if the input is invalid
-
mode
public double mode() throws java.lang.ExceptionRetrieve the Mode of the Distribution- Overrides:
modein classR1Continuous- Returns:
- The Mode of the Distribution
- Throws:
java.lang.Exception- Thrown if the Mode cannot be estimated
-
cumulative
public double cumulative(double t) throws java.lang.ExceptionCompute the cumulative under the distribution to the given value- Overrides:
cumulativein classR1Continuous- Parameters:
t- Variate to which the cumulative is to be computed- Returns:
- The cumulative
- Throws:
java.lang.Exception- Thrown if the inputs are invalid
-
quantile
public double quantile(double p) throws java.lang.ExceptionRetrieve the Quantile Variate of the Distribution- Overrides:
quantilein classR1Continuous- Parameters:
p- The Quantile Fraction- Returns:
- The Quantile Variate of the Distribution
- Throws:
java.lang.Exception- Thrown if the Quantile Variate cannot be estimated
-
mean
public double mean() throws java.lang.ExceptionRetrieve the Mean of the Distribution- Overrides:
meanin classR1Continuous- Returns:
- The Mean of the Distribution
- Throws:
java.lang.Exception- Thrown if the Mean cannot be estimated
-
median
public double median() throws java.lang.ExceptionRetrieve the Median of the Distribution- Overrides:
medianin classR1Continuous- Returns:
- The Median of the Distribution
- Throws:
java.lang.Exception- Thrown if the Median cannot be estimated
-
variance
public double variance() throws java.lang.ExceptionRetrieve the Variance of the Distribution- Overrides:
variancein classR1Continuous- Returns:
- The Variance of the Distribution
- Throws:
java.lang.Exception- Thrown if the Variance cannot be estimated
-