dgbskotz {gbs} | R Documentation |
This function computes the probabilility density function of the GBSD generated from a Kotz kernel with parameters q, r and s.
dgbskotz(x, alpha = 1.0, beta = 1.0, parameters = c(1.0, 1.0, 1.0), log = FALSE)
x |
Vector of observations. |
alpha |
Shape parameter. |
beta |
Scale parameter. |
parameters |
Parameters of the Kotz distribution denoted by q, r and s. |
log |
Logical; if TRUE, probabilities p are given as mbox{log}(p). |
For details about the pdf of the GBSD with Kotz kernel see Sanhueza et al. (2008).
{dgbskotz()} gives the pdf of an GBSD generated from the Kotz kernel.
Barros, Michelli <michelli.karinne@gmail.com>
Leiva, Victor <victor.leiva@uv.cl, victor.leiva@yahoo.com>
Paula, Gilberto A. <giapaula@ime.usp.br>
Diaz-Garcia, J.A., Leiva, V. (2005) A new family of life distributions based on elliptically contoured distributions. J. Stat. Plan. Infer. 128:445-457 (Erratum: J. Stat. Plan. Infer. 137:1512-1513).
Leiva, V., Barros, M., Paula, G.A., Sanhueza, A. (2008) Generalized Birnbaum-Saunders distributions applied to air pollutant concentration. Environmetrics 19:235-249.
Sanhueza, A., Leiva, V., Balakrishnan, N. (2008) The generalized Birnbaum-Saunders distribution and its theory, methodology and application. Comm. Stat. Theory and Meth. 37:645-670.
# Produces a graphical plot for the GBSD from the Kotz kernel # with parameters q = 1, r = 2 and s = 3 x <- seq(-3, 3, by = 0.01) y <- dgbskotz(x, 1.0, 1.0, parameters = c(1, 2, 3)) plot(x, y, type = "l", xlab = "x", ylab = "f(x)")