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]

AW: st: RE: RE: RE: RE: error messages while using the stgest command


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   AW: st: RE: RE: RE: RE: error messages while using the stgest command
Date   Fri, 4 Jun 2010 17:49:21 +0200

<> 


So, given your experience of Stata 7, Nick: Did the misplaced paranthesis
somehow end up in the -options- for the -graph- command? The error message
initially reported by Victor in
http://www.stata.com/statalist/archive/2010-06/msg00133.html would seem to
indicate this sequence of events.



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Nick Cox
Gesendet: Freitag, 4. Juni 2010 17:41
An: [email protected]
Betreff: RE: st: RE: RE: RE: RE: error messages while using the stgest
command

The first error now seems pretty clear.  

The parenthesis ( before lasttime(endfudate) is what is causing the
error. Delete it. 

(You are probably misreading the syntax diagram within which the square
brackets [ ] group together optional options and are not characters to
be typed.)  

Nick 
[email protected] 

Victor Mauricio Herrera

Regarding the first error, I included no graph options in my
instructions. This is exactly what I typed:

stgest diabetes cursmoke agebase sex hyperten obese, lagconf(hyperten
obese diabetes) baseconf(hyperten obese diabetes) /*
*/ visit(visit) firstvis(2) (lasttime(endfudate) range(-50 50) step(1)
saveres(caergestsmoknocens) replace

I tried with two different datasets and got the same error.


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


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