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 <[email protected]> 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/