Description Usage Arguments Details Value Author(s) References See Also Examples
Density, cumulative distribution function, quantiles and random sample generation for the Generalized Extreme Value (GEV) distribution
1 2 3 4 |
x |
numeric vector. Missing values (NA's) are allowed |
q |
vector of quantiles. Missing values (NA's) are allowed |
p |
vector of probabilities. Missing values (NA's) are allowed |
n |
sample size. If |
Optional Arguments |
|
m |
Location parameter. Can be a vector (see details) |
lambda |
Scale parameter. Can be a vector (see details) |
xi |
Shape parameter (note the sign convention described in |
The length of vectors m
, lambda
, and xi
should either be 1 or equal to the length of the vectors x
, q
, p
, or n
. Missing values and NA's are not allowed.
Density (dgev
), cumulative distribution function (pgev
),
quantile (qgev
), or random sample (rgev
)
for the Generalized Pareto Distribution with parameters
m
, lambda
, and xi
.
SIDE EFFECTS The function rgpd
causes the creation of .Random.seed
if it does not already exist, otherwise its value is updated.
Rene Carmona, rcarmona@princeton.edu
R. A. Carmona: Statistical Analysis of Financial Data in S-Plus, (2004) Springer Verlag
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.