ppbs {bs}R Documentation

Probability versus probability (PP) plot for the BSD

Description

The function ppbs() produces a PP plot for the BSD based on their MLE. Also, a line going through the first and the third quartile can be sketched. In addition, the coefficient of determination of the least square method for the fit line is given.

Usage

ppbs(x, line = FALSE, xlab = "Empirical distribution function", ylab = "Theorical distribution function")

Arguments

x Vector of observations.
line Logical; if TRUE, a line going by the first and third quartile is sketched.
xlab A title for the x axis.
ylab A title for the y axis.

Value

The function ppbs() carries out a PP plot for the IGTD.

Author(s)

Víctor Leiva <victor.leiva@uv.cl>, Hugo Hernández <hugo.hernande@msn.com>, and Marco Riquelme <mriquelm@ucm.cl>.

References

Birnbaum, Z. W. and Saunders, S. C. (1969). A new family of life distributions. J. Appl. Probab. 6(2): 637-652.

Examples

## Load data sets
data(psi31)
sample<-psi31

## QQ plot for psi31
qqbs(sample,line=TRUE)

## PP plot for psi31
ppbs(sample,line=TRUE)

[Package bs version 1.0 Index]