Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Oaxaca Decomposition with dummy variables

    I am trying to use the Oaxaca command. My code looks like this:

    oaxaca ln(p010h) ln(hgsize) ln(hgroom) normalize(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
    Last edited by Jakob Smith; 12 Nov 2022, 04:59.

  • #2
    Duplicate post. If interested, see https://www.statalist.org/forums/for...=1668256063275

    Comment

    Working...
    X