Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: substring search


From   Andy Choi <[email protected]>
To   [email protected]
Subject   st: substring search
Date   Sun, 12 Feb 2006 12:38:24 -0800 (PST)

Hi, I am a beginner at STATA.  I am cleaning a
medication file, and I was wondering if anyone knew
how to search for a substring without specifying its
position in the string.  

Thanks, 
Andy

--- Andr� Paul <[email protected]> wrote:

> Dear all,
> 
> I have a variable containing 4 possible outcomes,
> say outc1 outc2...
> I would like to plot the distribution of the
> outcomes (in %) by year, such 
> that:
> 
> outc2_cum=outc1+outc2
> outc3_cum=outc2_cum+outc3
> and so on.
> 
> Then, I would like to have 4 curves (corresponding
> to outcX_cum, X=1,...,4), 
> in the space cumulative distribution / years. In
> addition, I would like to 
> have the area between the different curves to be
> filled with different 
> colors (in levels of grey) and labels (corresponding
> to the outcomes).
> Does someone have an idea how I can do this?
> 
> thanks,
> Regards,
> Andr�
> 
>
_________________________________________________________________
> 10 Mo pour vos pi�ces jointes avec MSN Hotmail ! 
>
http://www.imagine-msn.com/hotmail/default.aspx?locale=fr-fr
> 
> *
> *   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/
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
*
*   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