Displaying 1 result from an estimated 1 matches for "all_other_var".
Did you mean:
all_other_vars
2011 Nov 25
1
variable types - logistic regression
...for all discrete nominal variables
...and do nothing for everything else.
I'm pretty sure its not that simple because of some other posts I've seen,
but I haven't seen a post that discusses ALL data types in logistic
regression.
Here is what I think will work at this point:
glm(y ~ **all_other_vars + as.factor(disc_ord_var,ordered=T) +
as.factor(disc_nom_var,ordered=F), data=mydata,
family=binomial(link="logit"), na.action=na.pass)
I'm also looking for any best practices help as well. I'm new'ish to
R...and oddly enough I haven't had the pleasure of doing much regr...