| gamlss.dist-package {gamlss.dist} | R Documentation |
This package contains additional distributions to be used for GAMLSS models.
Each distributions has its probability function, d, its commutative probability function, p, the
inverse of the commutative probability function, q, its random
generation function, r, and also the gamlss.family generating function
| Package: | gamlss.dist |
| Type: | Package |
| Version: | 1.5.0 |
| Date: | 2006-12-13 |
| License: | GPL (version 2 or later) |
This package is to be used with the package gamlss.
Mikis Stasinopoulos <d.stasinopoulos@londonmet.ac.uk>, Bob Rigby <r.rigby@londonmet.ac.uk> with contributions from Calliope Akantziliotou and Raydonal Ospina <rospina@ime.usp.br>.
Maintainer: Mikis Stasinopoulos <d.stasinopoulos@londonmet.ac.uk>
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. (2003) Instructions on how to use the GAMLSS package in R. Accompanying documentation in the current GAMLSS help files, (see also http://www.gamlss.com/)
plot(function(y) dSICHEL(y, mu=10, sigma = 0.1 , nu=1 ), from=0, to=30, n=30+1, type="h") # pdf pdf.plot(family=SICHEL, mu=10, sigma=0.1, nu=1, min=0, max=30, step=1) # cdf plot PPP <- par(mfrow=c(2,1)) plot(function(y) pSICHEL(y, mu=10, sigma =0.1, nu=1 ), from=0, to=30, n=30+1, type="h") # cdf cdf<-pSICHEL(0:30, mu=10, sigma=0.1, nu=1) sfun1 <- stepfun(1:30, cdf, f = 0) plot(sfun1, xlim=c(0,30), main="cdf(x)") par(PPP)