Re: [R] logistic regression

From: Kjetil Brinchmann Halvorsen <kjetilbrinchmannhalvorsen_at_gmail.com>
Date: Fri 17 Feb 2006 - 04:09:45 EST

Taka Matzmoto wrote:
> Hi R users
>
> I have two bianry variables (X and Y) and one continuous variable (Z).
>
> I like to know, after controlling for the continuous variable, where one
> of the binary is significantly related to the other binary variable
> using logistic regression
>
>
> model <- glm(Y ~ X + Z, family=binomial)
>
> Is checking the significance of the coefficient of X a proper way for
> doing that ?
>
> Any suggestion for this problem ?

You could try a bivariate logistic regression. That is implemented in package VGAM (not on CRAN,but google will find it!).

Kjetil

>
> Thanks
>
> _________________________________________________________________
> Donít just search. Find. Check out the new MSN Search!
>
>
> ------------------------------------------------------------------------
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Feb 17 04:30:19 2006

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 14:08:32 EST