JanDitzen / nwxtregress

Network Regressions in Stata
https://janditzen.github.io/nwxtregress/
19 stars 8 forks source link

Bug report in running -nwxtregress- #7

Closed bruce4research closed 2 years ago

bruce4research commented 2 years ago

Hi, When I run nwxtregress cap_cons compensation net_surplus , dvarlag(WSpmat) seed(1234) following the codes in help page, the error information is as follows: ''' Initialise Grid (200)
----+--- 10 --+--- 20 --+--- 30 --+--- 40 --+--- 50 %
.................................................. 50
.................................................. 100
Griddy Gibbs (2000)
----+--- 10 --+--- 20 --+--- 30 --+--- 40 --+--- 50 %
mm_colrunsum(): 3001 expected 1 arguments but received 3
GriddyGibbsi(): - function returned error
GriddyGibbs(): - function returned error
estimatesar(): - function returned error

: - function returned error r(3001); ''' My Stata is SE 17.0 for Windows. Thanks and best wishes.
JanDitzen commented 2 years ago

Hi @bruce4research , thank you very much for your interest in nwxtregress.

The error is caused by the moremata packaged. Can you please update moremata to the latest version and restart Stata.

Please let us know if that helps.

Best,

Jan

bruce4research commented 2 years ago

Thanks for your advice. It's very helpful. ssc install moremata, replace My problem is solved. Thanks again.