Statalisters!
Hi, I need some information: I'm using tabsort in order to obtain the most
frequently diagnoses in a hospital. I want that Stata only presents me the
first 10 diagnoses, and I think that I can do that by typing
Tabsort clave1 in 1/10, but Stata showed me another thing:
tabsort clave1 in 1/10
clave1 | Freq. Percent Cum.
------------+-----------------------------------
O809 | 10 100.00 100.00
------------+-----------------------------------
Total | 10 100.00
Can somebody explain me what is the correct procedure to obtain what I want?
It is possible to assign to this ten codes the description of the CIE-10
that correspond by making some formula in Stata?
Thanks
Rodrigo
begin 666 winmail.dat
M>)\^(B8/`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$&
M@ ,`#@```-('!P`,``D`(0````4`&P$!`Y &`+0&```F````"P`"``$````+
M`",```````,`)@``````"P`I```````#`#8``````!X`< `!````%P```%%U
M97-T:6]N(&%B;W5T('1A8G-O<G0```(!<0`!````%@````'"*;E]GI(3KD(.
M=D\-NT5PUF/&N#(```(!'0P!````&P```%--5% Z4D)224-%3D] 4T%.24=%
M4U0N0T]-```+``$.`````$ `!@X`GF)GN2G"`0(!"@X!````& ````````")
M+Y"NJ1[-3ZR)BEE4#VJTXH(```,`% X!````"P`?#@$````"`0D0`0```(0"
M``" `@``7P0``$Q:1G45XI5B`P`*`')C<&<Q,C7B,@-#=&5X!4$!`P'W_PJ
M`J0#Y <3`H /\P!0!%8_"%4'LA$E#E$#`0(`8VCA"L!S970R!@`&PQ$E]C,$
M1A.W,!(L$3,([PGWMCL8'PXP-1$B#&!C`%#S"PD!9#,V%E +I@8``9#=`9!L
M! `.L!0`(0JB"H0!"H!(:2P@22!ND0G@9"!S`W!E( N I0(0<@# =&D"(#H>
ML! G;2!U`)!N9R#O`9$?, `@'W$@!; $@2#@FF\AD&(!D"%Q=&@?8,L$8!U@
M( -097$*4 (PD&QY(&0',&=N(O C!Y$A<6$@:"+P<&GI'2$N(!ZQ=P!P!4 B
MH-<=$!SD(9!N([%P&" 4$,\", 0@'U$BHF9I% `%0/XQ%E CYQZ@`' ?$![
M(J"M"X!K)>0>P&,#D60B$.4E\V(CP'1Y)0`@P!W*BE0A!6,+8'9E,2%B3#$O
M*% >H&)U)B9SW230=Q\!'U$`<&\BH2'A^2FA9SH=RB#V+/P=RB5@RS+Q+/5\
M,O,@1B-!)5%U,O%0!)!C(X$SQ"5@0ZAU;2X=Q"TV62LV6@\WWS94,IDE8$\X
M,#G/,Z8R\[email protected]?\W#S[/.2U4+U '0#IONSP\'<1#`Y$?,@;@
M9"/ ]P[ "U,G<G<F`@0`(I,%H:T8(&,%0";P;S3P9 APKR>1(A=$\R6$/QW$
M244CWG B\ "0`F!&LV%)$200_R'R*9%%40GP1:$!`$542P$7!0,@`2&09B*3
M0TE%_BTH427S1;,D\ (@'Q K(=T`P&L@LA\S'Z)U"V A8M\<\T@E+!43X"G
M<QW*" !29 409V\=Q'U2X ,`"5D!````"P`1@ @@!@``````P ```````$8`
M`````X4````````#`!* "" &``````# ````````1@`````0A0````````,`
M$X (( 8``````, ```````!&`````%*%``".:@$`'@`4@ @@!@``````P ``
M`````$8`````5(4```$````$````.2XP`!X`%8 (( 8``````, ```````!&
M`````#:%```!`````0`````````>`!: "" &``````# ````````1@`````W
MA0```0````$`````````'@`7@ @@!@``````P ```````$8`````.(4```$`
M```!``````````L`&( (( 8``````, ```````!&``````Z%`````````P`9
M@ @@!@``````P ```````$8`````$84````````#`!J "" &``````# ````
M````1@`````8A0````````L`&X (( 8``````, ```````!&``````:%````
M`````P`<@ @@!@``````P ```````$8``````84````````"`?@/`0```! `
M``")+Y"NJ1[-3ZR)BEE4#VJT`@'Z#P$````0````B2^0KJD>S4^LB8I95 ]J
MM (!^P\!````< `````````XH;L0!>40&J&[" `K*E;"``!M<W!S="YD;&P`
M`````$Y)5$'YO[@!`*H`-]EN````1#I<37D@1&]C=6UE;G1S4F]D<FEG;UQ2
M97-P86QD;W-<3W5T;&]O:UQR97-P+3 R+3 Q+3 R+G!S= `#`/X/!0````,`
M#33]-P```@%_``$````Q````,# P,# P,# X.3)&.3!!14$Y,45#1#1&04,X
M.3A!-3DU-#!&-D%"-$4T0S R03 P``````,`!A#TE"T,`P`'$#D"```#`! 0
M``````,`$1 `````'@`($ $```!E````4U1!5$%,25-415)32$DL24Y%1413
M3TU%24Y&3U)-051)3TXZ24U54TE.1U1!0E-/4E1)3D]21$525$]/0E1!24Y4
H2$5-3U-41E)%455%3E1,641)04=.3U-%4TE.04A/4U!)5 ````#A?0``
`
end
*
* 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/