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

Re: st: stcox, strata() : time series operators not allowed


From   Fred Wolfe <[email protected]>
To   [email protected]
Subject   Re: st: stcox, strata() : time series operators not allowed
Date   Tue, 29 Mar 2005 06:43:43 -0600

It would be best to show us the exact line of code.

Most often, in my experience, that message occurs when a "," is accidently replaced by a "." when the line of code is typed.

Fred Wolfe

At 09:04 PM 3/28/2005, you wrote:

Dear Statalisters:

I'm running what would seem to be a straightforward stratified stcox
regression, but I get the error message "time series operators not
allowed" when I include the strata() option.

The strata variable I'm using is not time-varying, but is coded with
values 0, 1, 2, 3. (I can run the regression if treat the variable as
categorical rather than stratified.) I do have other time-varying
variables in the model.

My date0 and date1 variables are coded as time values, but that
shouldn't matter right?

Any insight on this error message is appreciated.

Thanks in advance.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
Tel (316) 263-2125     Fax (316) 263-0761
[email protected]


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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