apaTemporal.Aggregation.Returns.Discrete(Returns, Frequency, IsStartAtLastOtherwiseFirst, IsExtrapolOtherwiseTrunc)
Excel
=apaTemporal.Aggregation.Returns.Discrete(Returns, Frequency, IsStartAtLastOtherwiseFirst, IsExtrapolOtherwiseTrunc)Result
Legacy function to time-aggregate discrete returns.
Syntax
Returns: r x c matrix of discrete returns, each column containing a return time series
Frequency: number of high frequency periods in one low frequency period
IsStartAtLastOtherwiseFirst: TRUE to start aggregating at the end of the data, FALSE to start at the beginning
IsExtrapolOtherwiseTrunc: TRUE to extrapolate incomplete periods, FALSE to truncate them
