Statalist


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

Re: st: twoway scatter returns "unmatched quote"


From   Joseph McDonnell <jockmcdock@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: twoway scatter returns "unmatched quote"
Date   Tue, 17 Mar 2009 10:34:05 +0930

If I copy your command exactly as you've entered it here, I get a
"option by() not allowed" r(198). If I remove the space between "by"
and the bracket, it works fine for me.

Joseph

On Mon, Mar 16, 2009 at 12:30 PM, Rike <silvery.enigma@gmail.com> wrote:
> Dear Listers,
>
> I'm running the following code:
>
> twoway scatter ratio month, by(status) c(l) xlabel(1(1)12)
>
> twoway scatter ratio1 ratio2 ratio3 ratio4 month, by (status)
> connect(l l l l) xlabel(1(1)12)
>
> where status is a dummy. Stata returns an r(198) error, and it
> happened when I added the by-option. I would also like to use
> by(status, total) later on. Any suggestions? Thanks in advance.
> *
> *   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/
>

*
*   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   |   What's new   |   Site index