COS method (Fang, Osterlee)

Evaluating PDF and CDF given the characteristic function via COS (Fourier-cosine) method
126 descargas
Actualizado 5 jul 2018

Ver licencia

Evaluating PDF and CDF given the characteristic function via COS (Fourier-cosine) method. The method is presented in Fang, and C.W. Oosterlee. "A novel pricing method for European options based on Fourier-cosine series expansions." (2008). The implementation in the codes is about approximatin the PDF and CDF of a random variable from its characteristic function, or moment generating function. The method applies to the inversion of the Laplace transform, and was actually implemented to replicate Cont, Sasha, Talreja. "A stochastic model for order book dynamics.". The function in the package is however easy to adapt to a wide class of problems, going beyond the included trivial usage examples.

Citar como

Martin Magris (2024). COS method (Fang, Osterlee) (https://www.mathworks.com/matlabcentral/fileexchange/67944-cos-method-fang-osterlee), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2018a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Calculus en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.1.0.0

p can be any point in the range [a,b].

1.0.0.0