Percentile of Values (difference between two assets)

Last updated 9 November 2026

Function reference › Risk and Performance Measures › Percentile

1 GIAnalyzer function for Excel. Optional arguments are shown in [brackets].

GIA_RPM_PercentileValues2

Returns the percentile of the differences beween two values during a specified period, given historical values.

GIA_RPM_PercentileValues2(HDates1, HRates1, HDates2, HRates2, Percentile, StartDate, EndDate, ExcludeFromDate, ExcludeToDate, CalcMethod)

Returns: Percentile of the differences beween two values during a specified period

ArgumentUseDescription
HDates1RequiredThe array of dates of historical prices of asset 1.
HRates1RequiredThe array of historical prices of asset 1.
HDates2RequiredThe array of dates of historical prices of asset 2.
HRates2RequiredThe array of historical prices of asset 2.
PercentileRequiredThe percentile value (the number between 0 and 1)
StartDateRequiredThe first date in the required period.
EndDateRequiredThe last date in the required period.
ExcludeFromDateRequiredThe first date in the period excluded from the required period.
ExcludeToDateRequiredThe last date in the period excluded from the required period.
CalcMethodRequiredThe percentile calculation method (Continuous, DiscreteNearest, DiscreteLow, DiscreteHigh).