You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Jan,
I run the demo code in your github , eg VA data set to estimate a SAR mode, the estimation process goes smoothly but while I try to get the imact, estat impact, it returns the following errors:
estat impact
----+--- 10 --+--- 20 --+--- 30 --+--- 40 --+--- 50 %
*: 3200 conformability error
SparseMultiply(): - function returned error
BarryPace(): - function returned error
calc_DIEffects(): - function returned error
: - function returned error
As you methioned in one of the discussion, I need to install the new version of moremata library in Stata. The problem is that even I install it, the errors are still there, I sincerely hope that you can help me.
the coding is just like this :
use IO
keep if Year == 1998
drop buyer_industry seller_industry
replace sam = 0 if sam < 0
replace sam = 0 if ID1==ID2
reshape wide sam, i(ID1) j(ID2)
spset ID1
spmatrix fromdata WSpmat = sam* , replace
clear
use VA
nwxtregress cap_cons compensation net_surplus , dvarlag(WSpmat) seed(1234)
estat impact
Dear Jan,
I run the demo code in your github , eg VA data set to estimate a SAR mode, the estimation process goes smoothly but while I try to get the imact, estat impact, it returns the following errors:
estat impact
----+--- 10 --+--- 20 --+--- 30 --+--- 40 --+--- 50 %
*: 3200 conformability error
SparseMultiply(): - function returned error
BarryPace(): - function returned error
calc_DIEffects(): - function returned error
: - function returned error
As you methioned in one of the discussion, I need to install the new version of moremata library in Stata. The problem is that even I install it, the errors are still there, I sincerely hope that you can help me.
the coding is just like this :
use IO
keep if Year == 1998
drop buyer_industry seller_industry
replace sam = 0 if sam < 0
replace sam = 0 if ID1==ID2
reshape wide sam, i(ID1) j(ID2)
spset ID1
spmatrix fromdata WSpmat = sam* , replace
clear
use VA
nwxtregress cap_cons compensation net_surplus , dvarlag(WSpmat) seed(1234)
estat impact
Thank you very much!
Originally posted by @zhangzhqnk in #5
The text was updated successfully, but these errors were encountered: