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


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: ivreg2 with cluster and bw option
Date   Sat, 24 Apr 2010 13:44:53 +0200

<>

Usually, these errors are due to old versions of the ado files in
combination with newer versions of Stata, but I am fully up to date on both
counts, and still get your error as well:



. which ivreg2
c:\ado\plus\i\ivreg2.ado
*! ivreg2 3.0.03  4Apr2010
*! authors cfb & mes
*! see end of file for version comments


HTH
Martin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Magnus Helliesen
Sent: Samstag, 24. April 2010 13:37
To: statalist@hsphsun2.harvard.edu
Subject: st: ivreg2 with cluster and bw option

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/

*
*   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