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 at the end of May, 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: RE: RE: RE: error messages while using the stgest command


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: RE: RE: RE: error messages while using the stgest command
Date   Fri, 4 Jun 2010 16:40:58 +0100

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 
n.j.cox@durham.ac.uk 

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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index