문제

When I run the following regression,

reg subject inSchool#treatment#male

I get comparisons in reference to inSchool=0, treatment=0, and male=0, but I would like to be able to change the reference variables.

For example I would like to have all the comparisons done in reference to inSchool=1,treatment=0, and male=1.

I have used the following characteristic command but it doesn't seem to have an effect.

char inSchool[omit] 1 male[omit] 1

Am I having a syntax issue or is there no way to choose which variable to omit using #

Thanks in advance!

도움이 되었습니까?

해결책

From help fvvarlist:

You can specify the base level of a factor variable by using the ib. operator.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top