apaFirstPassageTime.Resampled.Cdf(Returns, TargetReturn, nSimulations, MaxHorizon)
Excel
=apaFirstPassageTime.Resampled.Cdf(Returns, TargetReturn, nSimulations, MaxHorizon)Result
Generates the cumulative distribution function (cdf) of first passage times by resampling empirical returns.
Syntax
Returns: r x 1 vector of returns
TargetReturn: target (cumulative) return
nSimulations: number of simulations to perform
MaxHorizon: maximum number of observations to simulate
