panjer

Approximate the distribution of a compound random variable by Panjer recursion.
2,8K download
Aggiornato 17 mar 2009

Visualizza la licenza

Example: plot distribution of compound Poisson/Lognormal

n = 1e4;
xmax = 100;
lam = 10; mu = 0; sig = 1;
[gl,gu,xp,GL,GU]=panjer(@(x)logncdf(x,mu,sig),0,lam,xmax/n,n);
plot(xp,GL,'b-',xp,GU,'r-');

See help for more details.

Cita come

Ben Petschel (2024). panjer (https://www.mathworks.com/matlabcentral/fileexchange/23313-panjer), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2007b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.1.0.0

updated comments

1.0.0.0