That would be my recommendation. You can use glm() with the argument family
= binomial().

- Jordan

On Sun, Mar 13, 2016 at 6:42 PM, Ajay Andrews <ajay.andr...@gmail.com>
wrote:

> I have a set of independent variables that are all BINARY, and my dependent
> variable is also BINARY. Should I use the logistic regression for this -
> using the glm function?
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to