Software / GNU Octave
Implementation
The distribution was prototyped in GNU Octave. These notes preserve the release history, installation steps and tests that accompanied the original package.
I implemented the numerical calculation routines in GNU Octave. You can use the code freely for personal and educational purposes. Please contact me for commercial use.
Release history
| Version | Date | File name | Status |
|---|---|---|---|
| v1.2 | February 7, 2010 | skew_lognormal_cascade_dist_octave_1.2.zip | Archive unavailable |
| v1.1 | February 1, 2009 | skew_lognormal_cascade_dist_octave_1.1.zip | Archive unavailable |
| v1.0 | December 31, 2008 | skew_lognormal_cascade_dist_octave_1.0.zip | Archive unavailable |
Installation
Unzip the package, then copy the .m files into your Octave working directory. The routines use the analytic structure set out in the 2008 analytic paper.
Tests
Run slog_dist_test1.m to watch a plot of the probability density function. Edit the parameters eta, beta and growth in the file to see how the distribution evolves.
The file slog_solve_zp_test.m has more detail about the inner structure of the integrand that leads to the density. The data atlas shows the fitted shapes these parameters produce.
Comments and feedback
Email Stephen Lihn at stevelihn a t gmail d o t com. I would like to hear what you think, good or bad.
Continue
Source shelf
Data and further reading
- GNU OctaveThe GNU Octave scientific programming environment.
- Octave projectThe Octave numerical computing project.
- Octave packagesAdditional packages for GNU Octave.
- MaximaThe Maxima computer algebra system.
- GNU General Public LicenseThe license used by GNU Octave and related tools.
- Lihn 2008 on SSRNThe 2008 working paper on the scale invariant Brownian motion model.
- Lihn 2009 on SSRNThe working paper on higher order lognormal cascade distributions.
- Clark 1973Subordinated stochastic process model for speculative prices.
- Fernholz 2002Stochastic portfolio theory and the diversity index.
- Lognormal distributionDefinition and properties of the lognormal distribution.
- Fat tailed distributionsA reference overview of heavy tailed probability distributions.