Git Product home page Git Product logo

nwxtregress's Introduction

Welcome

I am an Assistant Professor (RTD-A) at the Free University of Bozen-Bolzano, Bolzano, Italy.

My research interests are in the field of Applied Econometrics with a focus on Panel-Time Series and Spatial Econometrics and Growth Empirics. I have also an interest in Growth Theory, Simulation Studies and the implementation of econometric methods into statistical software.

See also my Personal webpage.

Stata packages - Econometric Methods

Package Version Updated Description Article/Slides
xtdcce2 version release Estimation of Common Correlated Effects (CCE) Estimator. Includes xtcd2 and xtcse2 to test for and estimate exponent of cross-section dependence Stata Journal 18:3, Stata Journal 21:3, Slides.
xtbreak version release Estimating and testing for many known and unknown structural breaks in time series and panel data. Work with Yiannis Karavias and Joakim Westerlund. arXiv 2110.14550, arXiv 2211.06707 (Main paper), Slides.
nwxtregress version release Network Regressions in Stata with unbalanced panel data and time varying network structures or spatial weight matrices. Work with William Grieser and Morad Zekhnini. Slides
xthst version release Testing for slope homogeneity in Stata. Work with Tore Bersvendsen. Stata Journal 21:1
xtgrangert version release Improved tests for Granger noncausality in panel data. Work with Jiaqi Xiao, Yiannis Karavias, Artūras Juodis and Vasilis Sarafidis. Stata Journal 23:1, Slides
xtnumfac version release A battery of estimators for the number of common factors in time series and panel-data models. Work with Simon Reese. Stata Journal 23:2.

Stata packages - Data Processing

Package Version Updated Description
simulate2 version release Enhanced and parallised simulations in Stata.
mmat2tex version release Export Mata Matrix to LaTeX Tables.
htmltab2stata version release Converting html tables into a Stata dataset.
stataid version release Obtaining and displaying information about running Stata instances and closing Stata instances in Microsoft Windows.
multishell version release Parallise loops in Stata (discontinued, no further bug fixing/development).

Overview of Downloads from SSC

pic

nwxtregress's People

Contributors

janditzen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nwxtregress's Issues

r(199); reghdfe Mata library not found or error in reghdfe.

Dear Jan,
I run the demo code in your GitHub:

Partial out firm and year fixed effects (requires reghdfe):
nwxtregress cap_cons compensation net_surplus , dvarlag(Wt,mata timesparse) ivarlag(Wt: compensation,mata timesparse ) seed(1234) absorb(ID Year)

I encounter the following error message:
reghdfe Mata library not found or error in reghdfe.
r(199);

I use stata 17MP and update the reghdfe.
Thank you!
Peng

Questions when run nwxtregress

nwxtregress cap_cons compensation net_surplus , dvarlag(WSpmat) seed(1234)
error:
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'scipy'
(43 lines skipped)

when I run this code, I met this error.

an issue of estat imapct after nwxtregress estimation

Hello,
while trying to use estat imapct after successfully run nwxtregress, Stata gives the following error message, wondering if it is a bug.

. estat impact
----+--- 10 --+--- 20 --+--- 30 --+--- 40 --+--- 50 %
J(): 3900 unable to allocate real [2147379216,50]
SparseMultiply(): - function returned error
BarryPace(): - function returned error
calc_DIEffects(): - function returned error
: - function returned error
r(3900);

Stata 16.1

How to add multiple matrices in dvarlag()?

Dear Jan,

It seems that multiple matrices could not be added to dvarlag(), but only multiple matrices in ivarlag(). See if you could post the solution to it.
Thank you very much!

Best,
Wenna

3301 error in the 0.13 version of nwxtregress

Hi, Jan.

Happy new year!
When running the code, the following errors return in the 0.13 version of nwxtregress.
Is it anything suspicious about the data that cause the issue?

Screenshot 2023-01-23 at 11 33 08

Thank you,
Wenna

Error return with 3301

Dear Jan,

I came across the following errors. The error code is 3301.
I checked the id identifiers in the spatial network, which match across.
Wdistance is the spatial distance of cities.
Wdistancetry is the truncated version of Wdistance.
Screenshot 2023-01-01 at 11 03 46

The same code worked perfectly for another dataset.
Screenshot 2023-01-01 at 11 05 34

See if you have any solutions or insights for this issue.
Thank you very much!

Best,
Wenna

Bug report in running -nwxtregress-

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.

Error if non sparse weight matrix used

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.