ppigt {ig} | R Documentation |
The function ppigt()
produces a probability-probability (pp) 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.
ppigt(x, kernel = "normal", line = FALSE, xLabel = "Empirical distribution function", yLabel = "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. |
xLabel |
A title for the x axis. |
yLabel |
A title for the x axis. |
The function ppigt()
carries out a pp plot for the IGTD.
The function ppigt()
carries out an graphical plot
useful as goodness-of-fit tool.
Víctor Leiva <victor.leiva@uv.cl; victor.leiva@yahoo.com>,
Hugo Hernández <hugo.hernandez.p@gmail.com> and
Antonio Sanhueza <asanhueza@ufro.cl>.
Sanhueza, A., Leiva, V., Balakrishnan, N. (2008). A new class of inverse Gaussian type distributions. Metrika (in press).
## Generates a sample from the IGTD with normal kernel x <- rigt(300, mu = 1.0, lambda = 1.0, kernel = "normal") ## Produces a pp plot for the IGTD with normal kernel ppigt(x, kernel = "normal", line = TRUE)