Code covered by the BSD License  

Highlights from
Johnson Curve Toolbox

Be the first to rate this file! 27 Downloads (last 30 days) File Size: 35.9 KB File ID: #46123
image thumbnail

Johnson Curve Toolbox

by

 

02 Apr 2014 (Updated )

Fit a Johnson distribution to non-normal data

| Watch this File

File Information
Description

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.

Required Products Statistics Toolbox
MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
04 Apr 2014

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

07 Apr 2014

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.

08 Apr 2014

updated documentation

11 Apr 2014

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

14 Apr 2014

Updated *.zip file

Contact us