public static double InverseLeftProbability(
this IReadOnlyList<double> sample,
double P
)
<ExtensionAttribute>
Public Shared Function InverseLeftProbability (
sample As IReadOnlyList(Of Double),
P As Double
) As Double
public:
[ExtensionAttribute]
static double InverseLeftProbability(
IReadOnlyList<double>^ sample,
double P
)
[<ExtensionAttribute>]
static member InverseLeftProbability :
sample : IReadOnlyList<float> *
P : float -> float
For percentile inputs which do not lie exactly on a sample value, this method interpolates linearly between the two nearest sample values. Therefore the value returned is not guaranteed to be an acutal value in the sample.
ArgumentNullException | sample is . |
ArgumentOutOfRangeException | P lies outside [0,1]. |