Is there a way to use svyttest() with an ordered factor variable?
I’m trying to run a t-test using a survey design object with the survey package. When the variable of interest is a subset of two groups in an ordered factor variable, I get an error message: