Julia posted on Monday, September 19, 2016 - 3:17 am
I have a question about defining the right model/variables. I want a logistic regression (dependent variable is binary) with 4 independent (categorical) variables. I read that I have to defnie these as dummy variables, e.g. age with 1/2/3: Define: age1 = age == 1; age 2 = age == 2; Than Mplus uses age = 3 as the reference category, right?
And what is with variables with 2 categories (e.g. sex = 1, 2). Do I have to define it as sex1 = sex ==1) and take sex1 in my model to have sex = 2 as the reference category?