cenGAM-package: Censored response additive modelling for mgcv

Description Author(s) Examples


cenGAM provides tobit1 and tobit2 families for generalized additive modelling with the gam function in the mgcv package.

Under the Tobit I model, the user supplies a left and/or right threshold (optionally differing between observations, and potentially infinite to denote no censorship) and the response is assumed to be censored if it falls over this threshold. Under the Tobit II model, a more generalised model is assumed where we fit a second additive model that gives whether each observation is censored, with a possible correlation between the error in the response and the censorship.

Seen help for the individual functions for more details.


Zhou Fang <[email protected]>

with contributions and help from Javier Palarea.


## see examples for tobit1 and tobit2

cenGAM documentation built on Aug. 31, 2017, 1:02 a.m.