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]

st: Re: Error message when using overid after ivprobit


From   Alita Nandi <anandi@essex.ac.uk>
To   statalist@hsphsun2.harvard.edu
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
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]

Thanks!
Alita



--
*************************************************
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: anandi@essex.ac.uk
http://www.iser.essex.ac.uk/
*
*   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