Hi,

I am trying to fit a logistic regression using glm, but my explanatory
variables are of mixed type: some are numeric, some are ordinal, some are
categorical, say

If x1 is numeric, x2 is ordinal, x3 is categorical, is the following formula
OK?

*model <- glm(y~x1+x2+x3, family=binomial(link="logit"), na.action=na.pass)*

*
*

*Thanks,*

*
*

*-Jack*

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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