Description Usage Arguments Details Value References See Also Examples
Computes the empirical (observed) distribution of a given variable. These values are also called plotting positions.
1 | plottingPosition(xi, a = 0, b = 1)
|
xi |
Numeric vector of observed values. |
a, b |
Numeric scalar. Parameter of the plotting position formula. |
This functions implements the general formula (eq. 1.40) for plotting positions in sec. 1.1.4 of Salvadori and de Michelle, 2007, namely: Fi = (i - a) / (n + 1 - b)
A vector of numerical values of the empirical plotting possitions.
Salvadori and de Michelle, 2007. Extremes in Nature: An approach using copulas.
the nsRFA R package.
1 2 3 4 | exi <- rnorm(10)
plottingPosition(xi=exi) # Fn = i/n; Billingsley, 1995, p. 268
plottingPosition(xi=exi, a = 0, b = 0) # Weibull
plottingPosition(xi=exi, a = 1/3, b = 1/3) # Tukey
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.