[R] own family for glm()

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jun 11 15:23:09 CEST 2004


On Fri, 11 Jun 2004, I M S White wrote:

> Is it possible in R to create a customized family to be used with glm()? I
> see no mention of this possibility in the documentation. (S-plus has
> something called make.family).

It is possible.  Package MASS has two examples, the simpler of which is 
neg.bin and the other is negative.binomial.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list