| pp.gumbel | R Documentation |
The function pp.gumbel() produces a PP plot for the Gumbel based on their MLE or any other estimate. Also, a reference line can be sketched.
pp.gumbel(x, mu.est, sigma.est, main = " ", line = FALSE, ...)
x |
vector of observations |
mu.est |
estimate of the parameter mu |
sigma.est |
estimate of the parameter sigma |
main |
the title for the plot. |
line |
logical; if TRUE, a 45 degree line is sketched. |
... |
additional arguments to be passed to the underlying plot function. |
The function pp.gumbel() carries out a PP plot for the Gumbel.
Marshall, A. W., Olkin, I.(2007). Life Distributions: Structure of Nonparametric, Semiparametric, and Parametric Families, Springer, New York.
qq.gumbel for QQ plot and ks.gumbel function;
## 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
pp.gumbel(dataset2, 212.157, 151.768, main = " ", line = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.