Message-ID: <3A24E9BE.967AE9C0@uni-bayreuth.de>
Date: 2000-11-29T11:34:22Z
From: Marlene Mueller
Subject: offset
"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 . . .
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
offset parameter.
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._