regquant function

Quantiles and quantile function of a regional frequency distribution

Quantiles and quantile function of a regional frequency distribution

regquant computes quantiles of a regional frequency distribution, i.e., values of the regional growth curve.

regqfunc returns a function that will compute the quantiles.

regquant(f, rfd) regqfunc(rfd)

Arguments

  • f: Vector of probabilities.
  • rfd: Object of class rfd, containing the specification of a regional frequency distribution.

Returns

regquant returns a vector of quantiles.

regqfunc returns the qfunc element of rfd. This is a function that takes one argument, which should be a vector of probabilities, and returns a vector of quantiles.

Author(s)

J. R. M. Hosking jrmhosking@gmail.com

See Also

regfit.

Examples

rfit <- regfit(Cascades,"gno") # Fit regional distribution # Compute some quantiles regquant(seq(0.1, 0.9, by=0.1), regfit(Cascades,"gno")) # Get the quantile function (regional growth curve) rgc <- regqfunc(rfit) # Compute quantiles by evaluating the regional growth curve rgc(seq(0.1, 0.9, by=0.1)) # Plot the regional growth curve curve(rgc, 0.01, 0.99)
  • Maintainer: J. R. M. Hosking
  • License: Common Public License Version 1.0
  • Last published: 2024-09-30

Useful links