s-news
[Top] [All Lists]

Glm and problem with a particular value of the categorical predictor tha

To: <s-news@lists.biostat.wustl.edu>
Subject: Glm and problem with a particular value of the categorical predictor that unambiguously predicts the output
From: "Georges KUNSTLER" <kunstler@cefe.cnrs-mop.fr>
Date: Wed, 21 Apr 2004 11:16:48 +0200
Thread-index: AcQngV/Xd5Zd2GX2S9WG2LhFMZz0GA==
Thread-topic: Glm and problem with a particular value of the categorical predictor that unambiguously predicts the output

Dear Splus users,

I’m using Splus 2000 Professional and am having a problem with fitting a glm, with binomial errors and logit link. Y variable is a mortality rate (between 0 and 1) and the predictor variable X is categorical with 8 levels. For the level X4, Y is always 1. When I use the function multicomp to compare the mean for each value of the variables X1, this give really strange result for the comparison with the level X4 (high Std.Error, and no significant differences with the other level).

 As mentioned in a previous mail of Tony Plate in the archive the problems come from the fact that a particular value of one categorical predictor unambiguously predicts the output. So if I replace 1 by 0.9 the multicomp give logical results.

What is the good way to solve this problem? Replace all the value 1 by 0.9 (0.999 didn’t seems to work!) or just for the level X4?

Thank you for any help you may be able to offer.
Georges Kunstler
Centre d'Ecologie Fonctionnelle et Evolutive. CNRS
Département Dynamique des Systèmes Ecologiques
1919 Route de Mende F-34293 Montpellier Cedex 5
Tel : 04.67.61.33.05
Fax : 04.67.41.21.38


--
passerelle antivirus du campus CNRS de Montpellier
--
<Prev in Thread] Current Thread [Next in Thread>
  • Glm and problem with a particular value of the categorical predictor that unambiguously predicts the output, Georges KUNSTLER <=