Newtondf: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Scott |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Line 36: | Line 35: | ||
===Examples=== | ===Examples=== | ||
<pre>[quantile,exitflag] = newtondf(q,distfun,x,a,b);</pre> |
Revision as of 19:22, 7 October 2008
Purpose
Newton's root finder.
Synopsis
- [quantile,exitflag] = newtondf(q,distfun,x,a,b,maxits,tol)
Description
Newton's root finder for a given quantile
Inputs
- q = matrix, the quantile point of interest
- distfun = string, distribution function name.
- x = matrix, original input matrix
- a = matrix, scale parameter
- b = matrix, shape parameter
- maxits = scalar, maximum number of iterations
- tol = scalar, tolerance
Outputs
- quantile = matrix, quantile
- exitflag = 0 if no error, 1 if maximum iterations is exceeded
Examples
[quantile,exitflag] = newtondf(q,distfun,x,a,b);