Re: [R] GLM Logit and coefficient testing (linear combination)

From: Henric Nilsson <>
Date: Tue 20 Dec 2005 - 00:33:45 EST

On Sö, 2005-12-18, 17:32, David STADELMANN skrev:
> Hi,
> I am running glm logit regressions with R and I would like to test a
> linear combination of coefficients (H0: beta1=beta2 against H1:
> beta1<>beta2). Is there a package for such a test or how can I perform
> it otherwise (perhaps with logLik() ???)?
> Additionally I was wondering if there was no routine to calculate pseudo
> R2s for logit regressions. Currently I am calculating the pseudo R2 by
> comparing the maximum value of the log-Likelihood-function of the fitted
> model with the maximum log-likelihood-function of a model containing
> only a constant. Any better ideas?

The subject of R^2 in logistic regression was brought up some time ago. See the postings

You could easily have found these, and couple of other ones, all by yourself just by issuing an `RSiteSearch("R^2 logistic")'.

Henric mailing list PLEASE do read the posting guide! Received on Tue Dec 20 00:43:49 2005

This archive was generated by hypermail 2.1.8 : Tue 20 Dec 2005 - 02:30:32 EST