Statalist


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

st: RE: twoway scatter returns "unmatched quote"


From   "Kieran McCaul" <kamccaul@meddent.uwa.edu.au>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: twoway scatter returns "unmatched quote"
Date   Mon, 16 Mar 2009 12:21:53 +0900

You have a space in the -by- option.
-by (status)- should be -by(status)-

______________________________________________
Kieran McCaul MPH PhD
WA Centre for Health & Ageing (M573)
University of Western Australia
Level 6, Ainslie House
48 Murray St
Perth 6000
Phone: (08) 9224-2140
Fax: (08) 9224 8009
email: kamccaul@meddent.uwa.edu.au
http://myprofile.cos.com/mccaul 
http://www.researcherid.com/rid/B-8751-2008
______________________________________________
Epidemiology is so beautiful and provides such an important perspective
on human life and death, 
but an incredible amount of rubbish is published.  Richard Peto (2007) 

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Rike
Sent: Monday, 16 March 2009 12:01 PM
To: statalist
Subject: st: twoway scatter returns "unmatched quote"

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