Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: Re: Error message when using overid after ivprobit

From   Alita Nandi <[email protected]>
To   [email protected]
Subject   st: Re: Error message when using overid after ivprobit
Date   Tue, 20 Mar 2012 12:41:08 +0000

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

This is a user-written code
TITLE: SJ7-4 st0030_3.  Update: Instrumental variables and GMM:...
      Update: Instrumental variables and GMM:  Estimation and
      by Christopher F. Baum, Boston College
         Mark E. Schaffer, Heriot-Watt University
         Steven Stillman, Motu Economic Public Policy Research
      Support:  [email protected], [email protected],
                [email protected]

Then I got the following error message:
invalid syntax


Re: st: Error message when using overid after ivprobit
From 	  Nick Cox <[email protected]>
To 	  [email protected]
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


On 19/03/2012 13:38, Alita Nandi wrote:

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]


Alita Nandi
Institute for Social and Economic Research (ISER)
University of Essex
Wivenhoe Park, Colchester, Essex, CO4 3SQ, UK
Tel: +44 (01206) 874699
Fax: +44 (01206) 873151
Email: [email protected]
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index