Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: RE: Scatter and line graphs with by option


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Scatter and line graphs with by option
Date   Wed, 8 Jun 2011 17:07:07 +0100

Take out the space after the -by- 

.... by(date) 

not 

... by (date) 

Yes, I agree that the error message is confusing. 

Nick 
n.j.cox@durham.ac.uk 

Beatrice Crozza

I am trying to graph the volume of my security for each day,
considering the time, because I want to consider possbile time of the
day effects.

I typed:

scatter volume time, by (date)

but I receive the error message: option by() not allowed.

However, I found this example which uses the option by:

//Changing the order of twoway graphs where the by() option is used:

http://www.survey-design.com.au/Stata%20Graphs.html


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index