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 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]

st: mlowess- Rescaling the Y-axis


From   "Vahid Ravaghi, Dr" <vahid.ravaghi@mcgill.ca>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: mlowess- Rescaling the Y-axis
Date   Thu, 13 Sep 2012 19:26:47 +0000

Hi Statalist

I am trying to depict the Lowess smoothing with multiple predictors using the command 'mlowess'. Because I only needed the smoothed curve, I added the 'nopt' option to get rid of the scatterplot. This was the code:

.mlowess teeth income, nopt

The curve lie below the value 2 of the y-axis, but the y-axis ranges from 0-25. As a result, the curve looks really small and it is hard to interpret. Changing the range of the y-axis using the' yscale' and 'ylable' is not feasible due to wide range of observations. I was wondering if anyone have any suggestion to enlarge the curve either by changing the scale of the y-axis  or etc..

Kind regards, 

Vahid Ravaghi
Postdoctoral Fellow
McGill University



*
*   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