Johnson Curve Toolbox

Version 1.5.0.0 (35.9 KB) by Dave
Fit a Johnson distribution to non-normal data
2.7K Downloads
Updated 14 Apr 2014

View License

JOHNSON CURVE TOOLBOX FOR MATLAB
by David L. Jones, PhD
Johnson (1949) developed a flexible system of distributions, based on three families of transformations, that translate an observed, non-normal variate to one conforming to the standard normal distribution. The exponential, logistic, and hyperbolic sine transformations are used to generate log-normal (SL), unbounded (SU), and bounded (SB) distributions, respectively. This allows a unique distribution to be derived for whatever combination of mean, standard deviation, skewness, and kurtosis occurs for a given set of observed data. Once a variate is appropriately transformed, probability densities and percentage points may be derived based on the standard normal curve.

This TOOLBOX is a set of MATLAB functions for working with the Johnson system of distributions to analyze non-normal, univariate data sets. Portions of it are based on my MATLAB port of Hill et al.'s (1976) AS-99 and Hill's (1976) AS-100 FORTRAN-66 code.

CONTENTS:
f_johnson_M - use moments to estimate parameters of a Johnson distribution
f_johnson_Q - use quantiles to estimate parameters of a Johnson distribution
f_johnson_aic - calculate AIC, AICc, and BIC for a Johnson distribution
f_johnson_cdf - cumulative probability density function for a Johnson distribution
f_johnson_fit - fit a Johnson distribution to observed data
f_johnson_inv - inverse of the CDF for a Johnson distribution
f_johnson_lik - negative log-likelihood for a Johnson distribution
f_johnson_pdf - probability density function for a Johnson distribution
f_johnson_rnd - generate random numbers from a Johnson distribution
f_johnson_y2z - transform Johnson variates to standard normal variates
f_johnson_z2y - transform standard normal variates to Johnson variates

CITATION:
Jones, D. L. 2014. The Johnson Curve Toolbox for Matlab: analysis of non-normal data using the Johnson system of distributions. College of Marine Science, University of South Florida, St. Petersburg, Florida, USA.

NOTES:
Some functions have detailed documentation and references that can be viewed in the Matlab editor. The 'examples' folder includes demonstrations of how to use the functions to fit biological, environmental, demographic, and financial data sets.

REFERENCES:
Hill, I. D. 1976. Algorithm AS 100: Normal-Johnson and Johnson-Normal Transformations. Journal of the Royal Statistical Society. Series C (Applied Statistics) 25(2): 190-192.

Hill, I. D., R. Hill, and R. L. Holder, 1976. Algorithm AS 99: Fitting Johnson curves by moments. Journal of the Royal Statistical Society. Series C (Applied Statistics) 25(2): 180-189.

Johnson, N. L. 1949. Systems of frequency curves generated by methods of translation. Biometrika 36: 180-189.

Cite As

Dave (2024). Johnson Curve Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/46123-johnson-curve-toolbox), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.5.0.0

Updated *.zip file

1.4.0.0

Updated documentation with expanded examples. New functions for (1) calculating likelihoods, (2) goodness-of-fit measures, and (3) generating random numbers for Johnson distributions.

1.3.0.0

updated documentation

1.2.0.0

New functions: PDF, CDF, and inverse CDF of Johnson distributions.

New examples: use Johnson Curves to analyze non-normal biological, environmental, demographic, and financial data sets.

1.1.0.0

Minor updates: (1) more accurately scales the probability densities of the Johnson variates; (2) now allows optional output of normal and Johnson probability densities.

1.0.0.0