gen.Zadj {gamlss.inf} | R Documentation |
Functions to generate zero adjusted distributions from existing continuous gamlss.family distributions defined on positve real line.
Description
There are six functions here. Only the function gen.Zadj()
should be used. The remaing four functions will be automatically created once gen.Zadj()
has been run.
Usage
gen.Zadj(family = "GA", ...)
Zadj.d(family = "GA", ...)
Zadj.p(family = "GA", ...)
Zadj.q(family = "GA", ...)
Zadj.r(family = "GA", ...)
plotZadj(family = "GA", ...)
Arguments
family |
a continuous positive rael line distribution |
... |
for additional arguments |
Details
Functions Zadj.d
, Zadj.p
, Zadj.q
and Zadj.r
allow to create the density function, distribution function, quantile function and random generation, respectively. Function plotZadj
can be used to create a plot for the distribution.
Alternatively, the function gen.Zadj
creates the all the standard d,p,q,r
functions plus the plotting function.
Value
The function gen.Zadj
returns the d
, p
, q
and r
functions plus the plotting function.
Author(s)
Mikis Stasinopoulos mikis.stasinopoulos@gamlss.org, Bob Rigby and Marco Enea
References
Rigby, R. A. and Stasinopoulos D. M. (2005). Generalized additive models for location, scale and shape,(with discussion), Appl. Statist., 54, part 3, pp 507-554.
Stasinopoulos D. M., Rigby R.A. and Akantziliotou C. (2006) Instructions on how to use the GAMLSS package in R. Accompanying documentation in the current GAMLSS help files, (see also http://www.gamlss.org/).
Stasinopoulos D. M. Rigby R.A. (2007) Generalized additive models for location scale and shape (GAMLSS) in R. Journal of Statistical Software, Vol. 23, Issue 7, Dec 2007, http://www.jstatsoft.org/v23/i07.
Stasinopoulos D. M., Rigby R.A., Heller G., Voudouris V., and De Bastiani F., (2017) Flexible Regression and Smoothing: Using GAMLSS in R, Chapman and Hall/CRC. https://www.crcpress.com/Flexible-Regression-and-Smoothing-Using-GAMLSS-in-R/Stasinopoulos-Rigby-Heller-Voudouris-Bastiani/p/book/9781138197909.
See Also
gamlssZadj
, ~~~
Examples
# 1.
gen.Zadj("BCT")
plotBCTZadj()
plotBCTZadj(mu=3,sigma=0.35,xi0=0.5)
# 2.
gen.Family("SST", "log")
gen.Zadj("logSST")
plotlogSSTZadj()