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: ivreg2 with cluster and bw option


From   Magnus Helliesen <magnus.helliesen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: ivreg2 with cluster and bw option
Date   Sat, 24 Apr 2010 13:36:34 +0200

Does anyone know how to make ivreg2 work with both cluster(t) and bw (#) option? I have tried the dataset and command provided in the ivreg2 help file, but it returns an error:

 webuse grunfeld

tsset
       panel variable:  company (strongly balanced)
        time variable:  year, 1935 to 1954
                delta:  1 year

ivreg2 invest mvalue kstock, robust cluster(year) bw(1) kernel(tru)
               m_omega():  3301  subscript invalid
               s_omega():     -  function returned error
                 <istmt>:     -  function returned error
r(3301);

Magnus Helliesen
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index