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


From   Magnus Helliesen <[email protected]>
To   [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index