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]

Re: st: small bugs in -ivhettest-


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: small bugs in -ivhettest-
Date   Wed, 14 Aug 2013 15:45:07 +0100

I am sure the "_cons" bug will be fixed. Here is another way to do it

if "`cn'" == "_cons"  local cn "`one'"

Nick
[email protected]

On 14 August 2013 15:39, DE SOUZA Eric <[email protected]> wrote:

> Both reproduced here.
>
> As to 1), if you remove the underscore (name the variable -exprconstraint- instead of -expr_constraint-), then it works. So the problem comes from the underscore (in combination with cons?).
>
> As to 2), ivhettest predates ivregress which was introduced in Stata 10 in replacement of ivreg, if I'm not mistaken. -ivregress- requires that you specify the estimation method even if it is 2sls, whereas -ivreg- considers it the default. I cannot check this because the help for -ivreg- just says that it is outdated and to use -ivregress- instead.
>
> Using Stata 12.1
>
>
> Eric de Souza
> College of Europe
> Brugge (Bruges), Belgium
> http://www.coleurope.eu
>
>
>

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