Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: error message returned after -ivregress 2sls


From   "Shi, Shishan (MU-Student)" <ss4x5@mail.missouri.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: error message returned after -ivregress 2sls
Date   Mon, 31 Dec 2012 00:43:41 +0000

Hi Stata users, 
I think someone had the same problem as I do, but I didn't find the answer to that question, so I posted mine again. 
I am trying to run a 2SLS with fixed effect, and clustering at the cl.var level. 

My codes are
 ivregress 2sls depvar indepvar dummy1-dummy1363 (endogenous.var = IV), vce(cl cl.var) 

dummy1-dummy1363 are dummy variables I created for running fixed effect. 
xtivreg doesn't allow clustering so I have to use the dummy variable approach to do the fixed effect. 

I got the following error message:       

_rmcoll2list_wrk():  3301  subscript invalid                
  <istmt>:     -  function returned error r(3301); 

If I run the same codes without the dummy variables, I got no error message. Can someone help me with this? 

Thanks, 
Sybil 

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index