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

st: grouping data


From   "Rodrigo Briceņo" <rbriceno@sanigest.com>
To   "Statalist (E-mail)" <statalist@hsphsun2.harvard.edu>
Subject   st: grouping data
Date   Wed, 26 Jun 2002 17:45:27 -0600

Hello Statalisters!

I have data about discharges by service in a variable called "servicio". 
For some reason hospital divided the Obstetrics service in those 6 groups.

HOSP. OBSTETRICIA
HOSP. OBSTETRICIA C 
HOSP. OBSTETRICIA P 
HOSP. PEDIATRIA
OBSTETRICIA C
OBSTETRICIA P 

What can I do in order to aggrupate the 6 discharges values in a unique
service called Obstetrics?  I need this aggrupation in order to calculate
Average Lenght of Stay.

Thanks


Rodrigo Briceņo


begin 666 winmail.dat
M>)\^(AT7`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$&
M@ ,`#@```-('!@`:`!$`+0````,`.@$!`Y &`" &```F````"P`"``$````+
M`",```````,`)@``````"P`I```````#`#8``````!X`< `!````#@```&=R
M;W5P:6YG(&1A=&$````"`7$``0```!8````!PAUKC*91A(Z5"B1&BX -`A]O
M,',L```"`1T,`0```!L```!33510.E)"4DE#14Y/0%-!3DE'15-4+D-/30``
M"P`!#@````! ``8.`"81?&L=P@$"`0H.`0```!@`````````B2^0KJD>S4^L
MB8I95 ]JM.*"```#`!0.`0````L`'PX!`````@$)$ $```#W`0``\P$``$$#
M``!,6D9UD?(I>@,`"@!R8W!G,3(UXC(#0W1E> 5!`0,!]T\*@ *D`^,"`&-H
M"L!S\&5T," '$P* #_,`4'\$5@A5![(1Q0Y1`P$0QS+W!@`&PQ'%,P1&$,D2
MVQ'3VPCO"?<[&+\.,#41P@Q@SF,`4 L)`60S-A%0"Z;P($AE;!A0!@`!D &0
M[FP$``ZP$1 A"J(*A J A$D@$/!V92!D'A%N( &@"& %0&0$`!#B9Y$'D6)Y
M(!$@<G8-X.<?T N (# @=@K !S "8(T?T&,'0"*P9" B(82P:6\B+@KC"H!&
M!;%N<P-P'] 8P&$DL .@:/!O<W!I'B$@D2&P`0!)(S!T:!_03V(>871]!1!C
M!" AB2: )8 ?T#9&( G "&!P<RX>RD@(3U-0(_!/0E-4@$544DE#24$I?T\J
MA!+ ) 4K3R!0+'M0_$5$*L J@2K5*ZLO?RWW?1[$5Q#P!4 BX .@'X!D/QW0
M(@$%L 2!)G =T&%G_PG *- >$!_0)H(H@""I(E#7"D$$("(#=0,`<0I0(7?3
M(N4FR#\@,R%N"> F8C\$`#0W(\ #H#.*(N%C=6L+8#2Q01_ <C1 ']!,20GP
M9V@%0&]F'>)YY2D+5!#P;FL0L![9'L15" !D!1!G'=!")R%E5%PG`$!O'L1]
M00```P`)60$````+`!& "" &``````# ````````1@`````#A0````````,`
M$H (( 8``````, ```````!&`````!"%`````````P`3@ @@!@``````P ``
M`````$8`````4H4``(YJ`0`>`!2 "" &``````# ````````1@````!4A0``
M`0````0````Y+C `'@`5@ @@!@``````P ```````$8`````-H4```$````!
M`````````!X`%H (( 8``````, ```````!&`````#>%```!`````0``````
M```>`!> "" &``````# ````````1@`````XA0```0````$`````````"P`8
M@ @@!@``````P ```````$8`````#H4````````#`!F "" &``````# ````
M````1@`````1A0````````,`&H (( 8``````, ```````!&`````!B%````
M````"P`;@ @@!@``````P ```````$8`````!H4````````#`!R "" &````
M``# ````````1@`````!A0````````(!^ \!````$ ```(DOD*ZI'LU/K(F*
M650/:K0"`?H/`0```! ```")+Y"NJ1[-3ZR)BEE4#VJT`@'[#P$```!P````
M`````#BANQ %Y1 :H;L(`"LJ5L(``&US<'-T+F1L; ``````3DE40?F_N $`
MJ@`WV6X```!$.EQ->2!$;V-U;65N='-2;V1R:6=O7%)E<W!A;&1O<UQ/=71L
M;V]K7')E<W M,#(M,#$M,#(N<'-T``,`_@\%`````P`--/TW```"`7\``0``
M`#$````P,# P,# P,#@Y,D8Y,$%%03DQ14-$-$9!0S@Y.$$U.34T,$8V04(T
M,C1#.3(X,# ``````P`&$-;H3$<#``<0?0$```,`$! ``````P`1$ `````>
M``@0`0```&4```!(14Q,3U-4051!3$E35$524TE(059%1$%404%"3U541$E3
M0TA!4D=%4T)94T525DE#14E.059!4DE!0DQ%0T%,3$5$(E-%4E9)0TE/(D9/
;4E-/345214%33TY(3U-0251!3$1)`````!9*
`
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/



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