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 on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Re: Error message when using overid after ivprobit


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Re: Error message when using overid after ivprobit
Date   Tue, 20 Mar 2012 12:46:02 +0000

Now your problem is clear. Install the latest version of -overid- from
SSC and the problem will go away.

Nick

On Tue, Mar 20, 2012 at 12:41 PM, Alita Nandi <anandi@essex.ac.uk> wrote:
> Thanks. Sorry about that.
>
> To illustrate the problem, I have now run the relevant Stata commands using
> a Stata dataset, lbw.dta.
>
> First I ran the following code
> ivprobit low age lwt race smoke (ui = ptl ht), twostep
>
> This worked well. Next I ran the following code
> overid
>
> This is a user-written code
> TITLE: SJ7-4 st0030_3.  Update: Instrumental variables and GMM:...
> DESCRIPTION/AUTHOR(S)
>      Update: Instrumental variables and GMM:  Estimation and
>         testing
>      by Christopher F. Baum, Boston College
>         Mark E. Schaffer, Heriot-Watt University
>         Steven Stillman, Motu Economic Public Policy Research
>      Support:  baum@bc.edu, m.e.schaffer@hw.ac.uk,
>                stillman@motu.org.nz
>
> Then I got the following error message:
> invalid syntax
> r(197);
>
> Thanks,
> Alita
>
> ************************************************************
> Re: st: Error message when using overid after ivprobit
> From      Nick Cox <njcoxstata@gmail.com>
> To        statalist@hsphsun2.harvard.edu
> Subject           Re: st: Error message when using overid after ivprobit
> Date      Mon, 19 Mar 2012 14:15:12 +0000
>
> Two suggestions:
>
> 1. Explain where user-written programs you refer to come from.
> (-overid-, -ivreg2-, ...)
>
> 2. Give a complete example of your exact syntax as typed into Stata
> (not schematic syntax). If possible reproduce the problem with one of
> Stata's own datasets.
>
> Please note
>
> http://www.stata.com/support/faqs/res/statalist.html#stata
>
> Nick
>
>
> On 19/03/2012 13:38, Alita Nandi wrote:
>>
>> Hello,
>>
>> If I type overid after ivprobit with the two-step option I get an error
>> message: "invalid syntax". I have tried overid and overid,
>> depvar(mydepvar). I am using Stata version 12, although the I get the
>> same error message when I controlled the version to 10 or 11. I cannot
>> figure out why I am getting this error message. Do you know what the
>> problem is? [It works after ivreg2]
>>

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