I am trying to use the Oaxaca command. My code looks like this:
oaxaca ln(p010h) ln(hgsize) ln(hgroom) hgeqpgar hgnuts1_ew hgeqpter hgeqpbas, by(syear_x) categorical(hgeqpgar hgnuts1_ew hgeqpter hgeqpbas)
p010h, hgsize, hgroom are numeric variables.
syear_X consists of 0 and 1
All other variables are also dummy variables consisting of 0 and 1.
I always get the following error message: "factor-variable and time-series operators not allowed"
I would be very thankful for your help
Best
Jakob
oaxaca ln(p010h) ln(hgsize) ln(hgroom) hgeqpgar hgnuts1_ew hgeqpter hgeqpbas, by(syear_x) categorical(hgeqpgar hgnuts1_ew hgeqpter hgeqpbas)
p010h, hgsize, hgroom are numeric variables.
syear_X consists of 0 and 1
All other variables are also dummy variables consisting of 0 and 1.
I always get the following error message: "factor-variable and time-series operators not allowed"
I would be very thankful for your help
Best
Jakob
Comment