public class R1PiecewiseDisplaced extends R1Uniform
Constructor and Description |
---|
R1PiecewiseDisplaced(double dblLeftPredictorOrdinateEdge,
double dblRightPredictorOrdinateEdge,
double[] adblPredictorOrdinate,
double[] adblPiecewiseDensitySlope,
double dblDensityDisplacement)
R1PiecewiseDisplaced Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
cumulative(double dblX)
Compute the cumulative under the distribution to the given value
|
double |
density(double dblX)
Compute the Density under the Distribution at the given Variate
|
double |
densityDisplacement()
Retrieve the Density Displacement
|
Array2D |
histogram()
Retrieve the Univariate Weighted Histogram
|
double |
invCumulative(double dblY)
Compute the inverse cumulative under the distribution corresponding to the given value
|
double[] |
piecewiseDensitySlopes()
Retrieve the Array of Piecewise Density Slopes
|
double[] |
predictorOrdinates()
Retrieve the Array of Predictor Ordinates
|
static R1PiecewiseDisplaced |
Standard(double dblLeftPredictorOrdinateEdge,
double dblRightPredictorOrdinateEdge,
double[] adblPredictorOrdinate,
double[] adblCumulativeProbability,
double dblMean)
Calibrate an R1PiecewiseDisplaced Lebesgue Instance
|
public R1PiecewiseDisplaced(double dblLeftPredictorOrdinateEdge, double dblRightPredictorOrdinateEdge, double[] adblPredictorOrdinate, double[] adblPiecewiseDensitySlope, double dblDensityDisplacement) throws java.lang.Exception
dblLeftPredictorOrdinateEdge
- Left Predictor Ordinate EdgedblRightPredictorOrdinateEdge
- Right Predictor Ordinate EdgeadblPredictorOrdinate
- Array of Intermediate Predictor OrdinatesadblPiecewiseDensitySlope
- Array of corresponding Piece-wise Density SlopesdblDensityDisplacement
- Uniform Density Displacementjava.lang.Exception
- Thrown if the Inputs are invalidpublic static final R1PiecewiseDisplaced Standard(double dblLeftPredictorOrdinateEdge, double dblRightPredictorOrdinateEdge, double[] adblPredictorOrdinate, double[] adblCumulativeProbability, double dblMean)
dblLeftPredictorOrdinateEdge
- Left Predictor Ordinate EdgedblRightPredictorOrdinateEdge
- Right Predictor Ordinate EdgeadblPredictorOrdinate
- Array of Intermediate Predictor OrdinatesadblCumulativeProbability
- Array of corresponding Cumulative ProbabilitiesdblMean
- The Distribution Meanpublic double[] predictorOrdinates()
public double[] piecewiseDensitySlopes()
public double densityDisplacement()
public double cumulative(double dblX) throws java.lang.Exception
R1
cumulative
in class R1Uniform
dblX
- Variate to which the cumulative is to be computedjava.lang.Exception
- Thrown if the inputs are invalidpublic double invCumulative(double dblY) throws java.lang.Exception
R1
invCumulative
in class R1Uniform
dblY
- Value corresponding to which the inverse cumulative is to be computedjava.lang.Exception
- Thrown if the input is invalidpublic double density(double dblX) throws java.lang.Exception
R1