panjer
Versione 1.1.0.0 (2,92 KB) da
Ben Petschel
Approximate the distribution of a compound random variable by Panjer recursion.
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 LinuxCategorie
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions > Continuous Distributions > Normal Distribution >
Scopri di più su Normal Distribution in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.