gen.cens {gamlss.cens}R Documentation

Generates functions to help the fitted of censored data within GAMLSS

Description

The gen.cens() function allows the user to generate a d, a p, and the fitting gamlss fitting functions of a truncated distribution given that the input family is a current GAMLSS family distribution.

Usage

gen.cens(family = "NO", name = "cens", 
          type = c("right", "left", "interval"), ...)

Arguments

family a gamlss.family object, which is used to define the distribution and the link functions of the various parameters. The distribution families supported by gamlss() can be found in gamlss.family and in the package gamlss.dist.
name the characters you want to add to the name of new functions, by default is cens
type whether right, left or in interval censoring is required, (right is the default)
... for extra arguments

Details

Value

Returns the d, the p, and the list, i.e. Norc, used in the fitting gamlss algorithm.

Note

Author(s)

Mikis Stasinopoulos d.stasinopoulos@londonmet.ac.uk and Bob Rigby r.rigby@londonmet.ac.uk

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. (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/).

See Also

cens.d, cens.p, cens

Examples



[Package gamlss.cens version 1.7.0 Index]