qqig {ig}R Documentation

Quantile versus quantile (QQ) plot for the the IGTD

Description

The function qqig produces a QQ plot for the IGTD based on the MLE of their parameters. 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

qqig(x, kernel = "normal", line = FALSE, xlab = "Empirical quantiles", ylab = "Theoretical quantiles")

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 qqig() carries out a QQ 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 QQ plot for the IGTD with g="normal"
x<-rig(300,mu=1,lambda=1,kernel="normal")
qqig(x, kernel="normal", line=TRUE)

[Package ig version 1.0 Index]