On Mon, 27 Feb 2017 13:56:11 -0800 (PST), Bruce Weaver
Post by Bruce WeaverPost by Sushma DhitalI read that independent categorical variable should be treated as factors, is it true?
Yes, Factors are categorical explanatory variables (e.g., sex, marital status), and Covariates are continuous (or at least quantitative) explanatory variables (e.g., age, body weight).
Of course -- you can code up the dummy variables for
the factors and do the whole analysis of ANOVA with a
regression program. That is what all modern stat-packages
do, internally.
If you want to think of one factor as being in the model as
a logical "covariate" (with 1 or more d.f.), that is fine.
--
Rich Ulrich