Did you type -update swap- or restarted your version of Stata? Not
doing so is common source of trouble in this area. Anyhow, I just
updated, and -stcox- is working as it should on my computer.
Hope this helps,
Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
--- On Fri, 2/10/09, Grealy, Patrick J <[email protected]> wrote:
> From: Grealy, Patrick J <[email protected]>
> Subject: st: RE: RE: Procedure stcox fails in Stata 10
> To: "[email protected]" <[email protected]>
> Date: Friday, 2 October, 2009, 10:40 PM
> Sorry, I did mix the variable names
> and dataset from the two different examples. However, I do
> have some serious problems with my installation, as retrying
> with correct variable names fails. I found another PC with
> Stata 10.1 installed and when I duplicated the same steps
> the stcox executes without incident.
>
> I have been needing to install my version 11 anyway!
>
> Thanks,
> Pat G.
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]
> On Behalf Of Martin Weiss
> Sent: Friday, October 02, 2009 4:33 PM
> To: [email protected]
> Subject: st: RE: Procedure stcox fails in Stata 10
>
>
> <>
>
> The latest update did not even touch -stcox-, as seen in
> -help whatsnew-.
> Last time it was even mentioned was for the update
> 16apr2009...
>
>
> HTH
> Martin
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]
> On Behalf Of Grealy, Patrick J
> Sent: Freitag, 2. Oktober 2009 23:20
> To: [email protected]
> Subject: st: Procedure stcox fails in Stata 10
>
> Did I corrupt my Stata install or has anyone else noticed a
> problem with
> stcox all of a sudden? After applying latest updates, Oct 1
> version, the
> stcox procedure fails to execute. For example:
>
> . version
> version 10.1
>
> . update all
>
> ----------------------------------------------------------------------------
> ----
> > update ado
> (contacting http://www.stata.com)
> ado-files already up to date
>
> ----------------------------------------------------------------------------
> ----
> > update utilities
> (contacting http://www.stata.com)
> utilities already up to date
>
> ----------------------------------------------------------------------------
> ----
> > update executable
> (contacting http://www.stata.com)
> executable already up to date
>
> . webuse kva
> (Generator experiment)
>
> . stset failtime
>
> failure event: (assumed to
> fail at time=failtime)
> obs. time interval: (0, failtime]
> exit on or before: failure
>
> ----------------------------------------------------------------------------
> --
> 12 total obs.
> 0 exclusions
> ----------------------------------------------------------------------------
> --
> 12 obs. remaining,
> representing
> 12 failures in single
> record/single failure data
> 896 total analysis time at risk,
> at risk from t = 0
>
>
> earliest observed entry t =
> 0
>
>
> last observed exit t =
> 140
>
> . stcox drug age
> invalid syntax
> r(197);
>
>
> *
> * 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/
>
> *
> * 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/
>
Send instant messages to your online friends http://uk.messenger.yahoo.com
*
* 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/