
Density, distribution function, quantile function, and random generation for the (largest) extreme value distribution.
devd(x, location = 0, scale = 1)
pevd(q, location = 0, scale = 1)
qevd(p, location = 0, scale = 1)
revd(n, location = 0, scale = 1)
density (devd
), probability (pevd
), quantile (qevd
), or
random sample (revd
) for the extreme value distribution with
location parameter(s) determined by location
and scale
parameter(s) determined by scale
.
vector of quantiles.
vector of quantiles.
vector of probabilities between 0 and 1.
sample size. If length(n)
is larger than 1, then length(n)
random values are returned.
vector of location parameters.
vector of positive scale parameters.
Steven P. Millard (EnvStats@ProbStatInfo.com)
Let location=
scale=
The cumulative distribution function of
The
The mode, mean, variance, skew, and kurtosis of -digamma(1)
.
Forbes, C., M. Evans, N. Hastings, and B. Peacock. (2011). Statistical Distributions. Fourth Edition. John Wiley and Sons, Hoboken, NJ.
Johnson, N. L., S. Kotz, and N. Balakrishnan. (1995). Continuous Univariate Distributions, Volume 2. Second Edition. John Wiley and Sons, New York.
eevd
, GEVD
,
Probability Distributions and Random Numbers.
# Density of an extreme value distribution with location=0, scale=1,
# evaluated at 0.5:
devd(.5)
#[1] 0.3307043
#----------
# The cdf of an extreme value distribution with location=1, scale=2,
# evaluated at 0.5:
pevd(.5, 1, 2)
#[1] 0.2769203
#----------
# The 25'th percentile of an extreme value distribution with
# location=-2, scale=0.5:
qevd(.25, -2, 0.5)
#[1] -2.163317
#----------
# Random sample of 4 observations from an extreme value distribution with
# location=5, scale=2.
# (Note: the call to set.seed simply allows you to reproduce this example.)
set.seed(20)
revd(4, 5, 2)
#[1] 9.070406 7.669139 4.511481 5.903675
Run the code above in your browser using DataLab