Re: [R] Best Regression Technique to Use

2016-03-14 Thread Michael Friendly
On 3/13/2016 6:42 PM, Ajay Andrews 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]] glm(..., family=binomial) will gi

Re: [R] Best Regression Technique to Use

2016-03-14 Thread Jordan Meyer
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 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 f

Re: [R] Best Regression Technique to Use

2016-03-14 Thread Michael Dewey
Ajay Andrews wrote : You certainly _can_, whether you _should_ depends on the scientific question. I think you may need to consult someone familiar with your field of study for advice. > I have a set of independent variables that are all BINARY, and my dependent > variable is also BINARY. Shou

Re: [R] Best Regression Technique to Use

2016-03-13 Thread Bert Gunter
This query is not really appropriate for this list, which is about R programming, not statistical advice (although there is certainly some overlap). You should post to a statistical list like stats.stackexchange.com. Better yet, since you seem to be out of your depth statistically, why not find a l

[R] Best Regression Technique to Use

2016-03-13 Thread Ajay Andrews
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 lis