Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Spatial VAR with time component
From
Samuel Bailey <[email protected]>
To
statalist <[email protected]>
Subject
st: Spatial VAR with time component
Date
Mon, 12 Aug 2013 16:08:26 -0500
Hello,
I have panel data of labor market variables for about 300 cities per
quarter. I'd like to do a spatial autoregression similar to what i
think --spreg-- does, but including a lagged version of the dependent
variable as well, plus exogenous variables that change over time. In
the end, I'd like to be able to estimate the coefficients of
Y_(t+1) = (I-aW)^(-1)(pY_t + bX_(t+1) + e_(t+1)),
where Y is the dependent variable, W the weighing matrix, X exogenous
variables and e the error term.
I've been able to create a weighing matrix for each quarter and then
use --spreg-- for a given quarter, but haven't found a simple way to
also make use of the lagged terms over all times. Is there such a way?
(As a side note, not every quarter has data for every city. Right now
I'm planning to just delete cities that don't appear in all times, but
if someone knows a way to get around it that would also be
appreciated.)
Sincerely,
Sam Bailey
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/