Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: -version- question

From   Mark Schaffer <>
Subject   st: -version- question
Date   Tue, 02 Dec 2003 19:10:04 +0000 (GMT)

Hi everybody.  Can anyone help with a tricky -version- question?  It goes 
like this:

1.  John has Stata 8.2 and wants to use ivreg2 under version control set 
to 8.0.  He issues the command -version 8.0- at the start of his session 
and then calls -ivreg2-.

2.  -ivreg2- starts with the command -version 7-.  No problems there... 
but then:

3.  Internally, -ivreg2- calls the built-in Stata command -predict-.  
-predict- starts with the command -version 8.2-.  Boom.  Stata crashes 
with the error "version 8.0 not supported".

Any ideas about John can fix this in the short run?  Would using the 
syntax -version 8.0: ivreg2 xxxx etc- solve this problem?  More to the 
point, as a programmer and co-author of ivreg2, is there a way for me to 
modify the ivreg2 code so that this problem is avoided in the future?

Hoping someone out there can help....




This e-mail and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom it is addressed.  If you are not the intended recipient
you are prohibited from using any of the information contained
in this e-mail.  In such a case, please destroy all copies in
your possession and notify the sender by reply e-mail.  Heriot
Watt University does not accept liability or responsibility
for changes made to this e-mail after it was sent, or for
viruses transmitted through this e-mail.  Opinions, comments,
conclusions and other information in this e-mail that do not
relate to the official business of Heriot Watt University are
not endorsed by it.
*   For searches and help try:

© Copyright 1996–2023 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index