Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Nick Cox <njcoxstata@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: graph with indicator variables |

Date |
Thu, 28 Feb 2013 18:32:49 +0000 |

I didn't understand your original question, which is why I focused on the detail of -stripplot- syntax, which I do understand. I would like to see more on 1. what the data look like (example data would help enormously) 2. what kind of graph you want ("graph the trend" could mean many things) Nick On Thu, Feb 28, 2013 at 6:25 PM, Nahla Betelmal <nahlaib@gmail.com> wrote: > Thanks Nick for the reply, I noticed your comments and as you said > over() requires one variable only and the command requires a comma. It > would be great if you can help me with another option or command that > can be used to graph S around the three T variables in one graph. > > Many thanks in advance > > Nahla > > On 28 February 2013 18:20, Nick Cox <njcoxstata@gmail.com> wrote: >> Nahla's error with -stripplot- (SSC) was twofold. >> >> stripplot S over( T_1 T0 T1 ) >> >> won't work in the first instance because -over()- is an option, and as >> Teodora indicates with her example you need a comma too. >> >> Even with a comma, that wouldn't work because -over()- requires a >> single variable name. >> >> Nick >> >> On Thu, Feb 28, 2013 at 5:19 PM, Tsankova, Teodora <TsankovT@ebrd.com> wrote: >> >>> What your command would basically do is produce three separate graphs of >>> S. >>> >>> What I did with stripplot is make a simple time trend of events so my >>> command was: >>> >>> Stripplot date, over(village) >>> >>> This way I got time trends for events separate for every village (where >>> I knew what the three events represented for example). >>> >>> Hope this helps but what you are trying to do might be different as >>> well. Stripplot allows to graph a single variable so in my case I have >>> no y. >>> >>> You might try with tsline as well for plotting time series data. >> >> Nahla Betelmal >> >>> Thanks Tsankova , but can you please give me more details. I tried >>> stripplot but I got an error message as below. >>> >>> >>> stripplot S over( T_1 T0 T1 ) >>> time-series operators not allowed >>> r(101); >> >> On 28 February 2013 16:54, Tsankova, Teodora <TsankovT@ebrd.com> wrote: >> >>>> I have actually done something similar or a time trend for event using >>> >>>> the -stripplot- command. * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**References**:**st: graph with indicator variables***From:*"Tsankova, Teodora" <TsankovT@ebrd.com>

**Re: st: graph with indicator variables***From:*Nick Cox <njcoxstata@gmail.com>

**Re: st: graph with indicator variables***From:*Nahla Betelmal <nahlaib@gmail.com>

- Prev by Date:
**Re: st: Linking a patient file with an event file** - Next by Date:
**Re: st: Ksmirnov one-sided test interpretation** - Previous by thread:
**Re: st: graph with indicator variables** - Next by thread:
**st: Linking a patient file with an event file** - Index(es):