apaFirstPassageTime.Resampled.Pdf(Returns, TargetReturn, nSimulations, MaxHorizon)
Excel
=apaFirstPassageTime.Resampled.Pdf(Returns, TargetReturn, nSimulations, MaxHorizon)Result
Generates the probability density function (pdf) 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
