Announcement

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

  • xsmle: two-regime Spatial Durbin Model

    Dear Statalist Users,


    I want to implement two-regime Spatial Durbin model in which spatially-lagged dependent variable is interacted with a dummy (d = {0;1}):

    yit = α + ρ1 dit Wyit + ρ2 (1 - dit) Wyit + β Xit + θ W Xit + μi + λt + Ɛit

    Without this interaction it would be:

    xsmle y x1 x2 x3, wmat(W) emat(W) type(both) model(sdm) fe type(,leeyu) cluster(code)

    How to include interacted spatially-lagged dependent variable using 'xsmle' command?





  • #2
    Dear Monika,
    I was wondering if you have found a solution to your problem?
    Thanks for letting me know,
    Best regards, Andrzej

    Comment


    • #3
      Short answer: It is not possible to do this with xsmle because the log-likelihood function would have to be adjusted accordingly to account for the endogeneity of the interaction term.
      https://www.kripfganz.de/stata/

      Comment

      Working...
      X