panjer

Approximate the distribution of a compound random variable by Panjer recursion.
2,8K Downloads
Aktualisiert 17. Mär 2009

Lizenz anzeigen

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.

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2007b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0.0

updated comments

1.0.0.0