pp.gompertz: Probability versus Probability (PP) plot for the Gompertz...

Description Usage Arguments Value References See Also Examples

View source: R/Gompertz.R

Description

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.

Usage

1
pp.gompertz(x, alpha.est, theta.est, main = " ", line = FALSE, ...)

Arguments

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.

Value

The function pp.gompertz() carries out a PP plot for the Gompertz.

References

Marshall, A. W., Olkin, I.(2007). Life Distributions: Structure of Nonparametric, Semiparametric, and Parametric Families, Springer, New York.

See Also

qq.gompertz for QQ plot and ks.gompertz function;

Examples

1
2
3
4
5
6
7
## 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)

reliaR documentation built on May 1, 2019, 9:51 p.m.

Related to pp.gompertz in reliaR...