DescriptiveStatisticsPercentileT Method |
Returns the nth percentile value from the list. The list is assumed to be sorted.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static T Percentile<T>(
IList<T> dataList,
double percentile
)
Public Shared Function Percentile(Of T) (
dataList As IList(Of T),
percentile As Double
) As T
public:
generic<typename T>
static T Percentile(
IList<T>^ dataList,
double percentile
)
static member Percentile :
dataList : IList<'T> *
percentile : float -> 'T
Parameters
- dataList
- Type: System.Collections.GenericIListT
The sorted list from which to find the nth value. - percentile
- Type: SystemDouble
The percentile you seek (1-100).
Type Parameters
- T
- The type of element in the list.
Return Value
Type:
TThe nth percentile value from the sorted list.
Exceptions See Also