Learn R Programming

reliaR (version 0.01)

qq.logis.rayleigh: Quantile versus quantile (QQ) plot for the Logistic-Rayleigh(LR) distribution

Description

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

Usage

qq.logis.rayleigh(x, alpha.est, lambda.est, main = " ", line.qt = FALSE, ...)

Arguments

x
vector of observations
alpha.est
estimate of the parameter alpha
lambda.est
estimate of the parameter lambda
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.logis.rayleigh() carries out a QQ plot for the Exponetial Extension.

References

Lan, Y. and Leemis, L. M. (2008). The Logistic-Exponential Survival Distribution, Naval Research Logistics, 55, 252-264.

See Also

pp.logis.rayleigh for PP plot and ks.logis.rayleigh function;

Examples

Run this code
## Load data sets
data(stress)
## Maximum Likelihood(ML) Estimates of alpha & lambda for the data(stress)
## Estimates of alpha & lambda using 'maxLik' package
## alpha.est = 1.4779388, lambda.est = 0.2141343

qq.logis.rayleigh(stress, 1.4779388, 0.2141343, main = " ", line.qt = FALSE)

Run the code above in your browser using DataLab