| pp.gompertz | R Documentation |
The function pp.gompertz() produces a PP plot for the Gompertz based on their MLE or any other estimate. Also, a reference line can be sketched.
pp.gompertz(x, alpha.est, theta.est, main = " ", line = FALSE, ...)
x |
vector of observations |
alpha.est |
estimate of the parameter alpha |
theta.est |
estimate of the parameter theta |
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.gompertz() carries out a PP plot for the Gompertz.
Marshall, A. W., Olkin, I.(2007). Life Distributions: Structure of Nonparametric, Semiparametric, and Parametric Families, Springer, New York.
qq.gompertz for QQ plot and ks.gompertz function;
## Load data sets
data(sys2)
## Maximum Likelihood(ML) Estimates of alpha & theta for the data(sys2)
## Estimates of alpha & theta using 'maxLik' package
## alpha.est = 0.00121307, theta.est = 0.00173329
pp.gompertz(sys2, 0.00121307, 0.00173329, main = " ", line = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.