Skip to content
Prev 20278 / 398500 Next

logit regression, test among groups

On Tue, 28 May 2002, Martin Henry H. Stevens wrote:

            
aes <- glm(p.a ~ spp * I(log(light)-log(0.5)),
		family=binomial(link=logit)),

will test at light==0.5, and so on.

Theoretically it's horribly inefficient to waste perhaps whole tenths of a
second refitting the model when you can in fact compute these contrasts
from the fitted parameters and covariance matrices, and Frank Harrell's
solution is much nicer.


	-thomas

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._