This documentation is compiled for the latest release of Mathos Core Library
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Percentile if the list has elements and p is between 0 and 1, otherwise returns zero
Calculates a percentile using the nearest rank method
Namespace: Mathos.Statistics
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax
Parameters
- list
- Type: System.Collections.GenericListDecimal
List of numbers to calculate the percentile from - p
- Type: SystemDouble
Percentile to calculate, ranging from zero to one
Return Value
Type: DecimalPercentile if the list has elements and p is between 0 and 1, otherwise returns zero
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ListDecimal. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also