Marlene.Mueller at uni-bayreuth.de
Wed Nov 29 12:34:22 CET 2000
> 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 . . .
Offsets can be given in the same way in R, ie:
use glm with binomial family and logit link; do not include your
constrained variable into the formula but use it as the optional
Alternatively (and I suppose, that is the way you have to go in Splus),
you can use offset() in the formula for glm.
Hope that helps, Marlene
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