Hello,
I want to do effect coding. So I want to compare the different categories of my variables with the mean of the categories, instead of using a reference categorie. I found the xi3 command, but unfortunately it is not possible anymore to use it. Furthermore I found the desmat command, which has the option of using a simple contrast, but therefore you also have to choose a reference category. Do you know a way of using the desmat command to compare the categories to the mean or do you know another command which is suitable for my problem?
Code:
desmat: logit aktiv Migration health=sim(1) education=sim(1) finance=sim(4)
I want to do effect coding. So I want to compare the different categories of my variables with the mean of the categories, instead of using a reference categorie. I found the xi3 command, but unfortunately it is not possible anymore to use it. Furthermore I found the desmat command, which has the option of using a simple contrast, but therefore you also have to choose a reference category. Do you know a way of using the desmat command to compare the categories to the mean or do you know another command which is suitable for my problem?
Code:
desmat: logit aktiv Migration health=sim(1) education=sim(1) finance=sim(4)
Comment