Displaying 1 result from an estimated 1 matches for "ordfac".
Did you mean:
oldfac
2006 May 22
1
Ordinal Independent Variables
When I run "lrm" from the Design package, I get a warning about
contrasts when I include an ordinal variable:
Warning message:
Variable ordfac is an ordered factor.
You should set
options(contrasts=c("contr.treatment","contr.treatment"))
or Design will not work properly. in: Design(eval(m, sys.parent()))
I don't get this message if I use glm with family=binomial. It produces
linear and quadratic contrasts.
If it...