Announcement

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

  • Margins after SPMLREG

    Is it possible to use margins (and then marginsplot) after spmlreg? I am running the following spatial regression:

    Code:
    spmlreg dep_var v1 v1_sq v2 v2_sq, weights(wts_inv2) eignvar(E_inv2) wfrom(Stata) model(lag) sr2
    I would like to compute the margins and then use marginsplot, however, I get the following error:

    e(sample) does not identify the estimation sample
    I read the spmlreg help file and saw that spmlreg does save e(sample)...

    Functions
    e(sample) marks estimation sample
    Any help will be greatly appreciated. Thank you!
Working...
X