Research indexPreprint
Spatial Panel-data Models Using Stata
Belotti, Hughes, Mortari
The Stata Journal Promoting communications on statistics and Stata1 Mar 2017Open access
NobleIDark:/48914/w1/20260526/34FD5A6DDOI10.1177/1536867x1701700109
Spatial Panel-data Models Using Stata
Belotti, Hughes, Mortari · The Stata Journal Promoting communications on statistics and Stata · 2017
NobleIDark:/48914/w1/20260526/34FD5A6DDOI10.1177/1536867x1701700109
Free to read at the publisher
You can read the abstract here, or the full text at the publisher.
Abstract
xsmle is a new user-written command for spatial analysis. We consider the quasi–maximum likelihood estimation of a wide set of both fixed- and random-effects spatial models for balanced panel data. xsmle allows users to handle unbalanced panels using its full compatibility with the mi suite of commands, use spatial weight matrices in the form of both Stata matrices and spmat objects, compute direct, indirect, and total marginal effects and related standard errors for linear (in variables) specifications, and exploit a wide range of postestimation features, including the panel-data case predictors of Kelejian and Prucha (2007, Regional Science and Urban Economics 37: 363–374). Moreover, xsmle allows the use of margins to compute total marginal effects in the presence of nonlinear specifications obtained using factor variables. In this article, we describe the command and all of its functionalities using simulated and real data.