ppig {ig}R Documentation

Probability versus probability (PP) plot for the IGTD

Description

The function ppig() produces a PP plot for the IGTD 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 least squares for the fit line is given.

Usage

ppig(x, kernel = "normal", line = FALSE, xlab = "Empirical distribution function", ylab = "Theorical distribution function")

Arguments

x Vector of observations.
kernel Kernel of the pdf of the associated symmetrical distribution by means of which the IGTD is obtained. The kernels: "Laplace", "logistic", "normal" and "t" are available.
line Logical; if TRUE (default), 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 ppig() carries out a PP plot for the IGTD.

Author(s)

Víctor Leiva <victor.leiva@uv.cl>, Hugo Hernández <hugo.hernandez@msn.com>, and Antonio Sanhueza <asanhue@ufro.cl>.

Examples

## Generates a sample from the IGTD
## Produces a PP plot for the IGTD with g="normal"
x<-rig(300,mu=1,lambda=1,kernel="normal")
ppig(x,kernel="normal", line=TRUE)

[Package ig version 1.0 Index]