Displaying 1 result from an estimated 1 matches for "disc_nom_var".
2011 Nov 25
1
variable types - logistic regression
...hing 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 regression R
yet.
Regards,
Ben
[[alternative HTML version dele...