qq.gompertz: Quantile versus quantile (QQ) plot for the Gompertz...

Description Usage Arguments Value References See Also Examples

View source: R/Gompertz.R

Description

The function qq.gompertz() produces a QQ plot for the Gompertz based on their MLE or any other estimate. Also, a line going through the first and the third quartile can be sketched.

Usage

1
qq.gompertz(x, alpha.est, theta.est, main = " ", line.qt = 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.qt

logical; if TRUE, a line going by the first and third quartile is sketched.

...

additional arguments to be passed to the underlying plot function.

Value

The function qq.gompertz() carries out a QQ 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

pp.gompertz for PP 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

qq.gompertz(sys2, 0.00121307, 0.00173329, main = " ", line.qt = FALSE)

Example output



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

Related to qq.gompertz in reliaR...