[R] offset
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Nov 29 12:01:09 CET 2000
On Wed, 29 Nov 2000, E.A.Catchpole wrote:
> I would like to do a logistic multiple regression on a binary variate,
> with what Genstat calls an offset, ie a regression variable with the
> coefficient constrained=1. I'm far from home and have Splus but not R
> here, but any information from either source would be very welcome. I'd
> hate to have to go back to using Genstat . . .
Use offset() in the formula to glm. In R only, you can also specify
offset as a parameter to glm: there are examples on ?glm in R (I know, I
added them).
>
> Thanks,
> Ted.
> ---------------
> Dr E.A. (Ted) Catchpole
> School of Maths & Stats
> University College, UNSW Institute of Maths & Stats
> Australian Defence Force Academy University of Kent at Canterbury
> e-catchpole at adfa.edu.au Canterbury, CT2 7NF, England
> http://www.ma.adfa.edu.au/~eac E.A.Catchpole at ukc.ac.uk
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>
--
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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list