
mu
and scale parameter sigma
.dgumbel(x, mu, sigma, log = FALSE)
pgumbel(q, mu, sigma, lower.tail = TRUE, log.p = FALSE)
qgumbel(p, mu, sigma, lower.tail = TRUE, log.p = FALSE)
rgumbel(n, mu, sigma)
length(n) > 1
, the length
is taken to be the number required.dgumbel
gives the density,
pgumbel
gives the distribution function,
qgumbel
gives the quantile function, and
rgumbel
generates random deviates.
shape
and scale
parameters, respectively.
.Random.seed
about random number; sgumbel
for Gumbel survival / hazard etc. functions
## Load data sets
data(dataset2)
## Maximum Likelihood(ML) Estimates of mu & sigma for the data(dataset2)
## Estimates of mu & sigma using 'maxLik' package
## mu.est = 212.157, sigma.est = 151.768
dgumbel(dataset2, 212.157, 151.768, log = FALSE)
pgumbel(dataset2, 212.157, 151.768, lower.tail = TRUE, log.p = FALSE)
qgumbel(0.25, 212.157, 151.768, lower.tail=TRUE, log.p = FALSE)
rgumbel(30, 212.157, 151.768)
Run the code above in your browser using DataLab