On Tue, 22 Jun 2004, B. Dan Wood wrote:
> Is there a package or procedure that implements restricted estimation using
> glm? I need to do a poisson regression under glm with one parameter fixed
at
> a specific value. Just at a glance, I don't see a way to do it using
glm.
Use offset(), which allows you to enter a term with coefficient fixed at
one (and hence at any value by including the fixed value in the offset).
--
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