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: RE: ivreg2 with cluster and bw option
From
"Martin Weiss" <[email protected]>
To
<[email protected]>
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: [email protected]
[mailto:[email protected]] On Behalf Of Magnus Helliesen
Sent: Samstag, 24. April 2010 13:37
To: [email protected]
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/