| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: cttost error: not sorted
Hi all-
I have a file of count data that I have declared as such in Stata. When
I try to convert these data to survival-time data I get an error r(5)
not sorted. Anyone know what might cause this error and how I can get
around it?
Here's the output:
. ctset
dataset name: c:\temp\temp.dta
time: term
no. fail: totxfer
no. lost: censored
no. enter: ssn_start
by: collegeid race2
. cttost
not sorted
r(5);
. d
Contains data from c:\temp\temp.dta
obs: 18,969
vars: 14 19 Aug 2006 13:23
size: 569,070 (99.9% of memory free) (_dta has notes)
-------------------------------------------------------------------------------
storage display value
variable name type format label variable label
-------------------------------------------------------------------------------
collegeid str3 %9s
term byte %9.0g quarter matriculated
race2 byte %22.0g race2
ssn_start int %8.0g (sum) ssn_start
othuc int %8.0g (sum) othuc
eliteuc int %8.0g (sum) eliteuc
csu int %8.0g (sum) csu
totxfer int %9.0g (sum) totxfer
censored int %9.0g (sum) censored
totin int %9.0g
ttotxfer int %9.0g
totcens int %9.0g
available int %9.0g
first byte %9.0g
-------------------------------------------------------------------------------
Sorted by: collegeid race2 term
--
Eric Grodsky
Assistant Professor
Department of Sociology
University of California- Davis
*
* 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/