Bookmark and Share

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: spreg gs2sls


From   Jane Harrison <[email protected]>
To   [email protected]
Subject   st: spreg gs2sls
Date   Wed, 6 Mar 2013 09:15:20 -0600

Can the spreg gs2sls command account for simultaneity (endogenous
regressors) as well as spatial lags and errors? I am accustomed to the
command ivreg, which follows the syntax:

ivreg 2sls y x1 x2 x3 (x1=x4 x5)

Can spreg gs2sls be used in a similar manner? For example,

spmat idistance winv Lat Longit, id(FIPS)

spreg gs2sls y x1 x2 x3 (x1=x4 x5), id(FIPS) dlmat(winv) elmat(winv) nolog


I've tried to compute this type of estimation, but Stata tells me
"invalid syntax." I'm guessing what I'm trying to do with this code is
not possible. Any ideas?

Thanks,
Jane

--
Jane L. Harrison, PhD Candidate
Forest Social Science, Oregon State University
[email protected]
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index