ppig {ig} | R Documentation |
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.
ppig(x, kernel = "normal", line = FALSE, xlab = "Empirical distribution function", ylab = "Theorical distribution function")
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. |
The function ppig()
carries out a PP plot for the IGTD.
Víctor Leiva <victor.leiva@uv.cl>, Hugo Hernández <hugo.hernandez@msn.com>, and Antonio Sanhueza <asanhue@ufro.cl>.
## 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)