| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: -lowess- does not respect the cols() or rows() suboption when used with by()
From |
[email protected] (Jeff Pitblado, StataCorp LP) |
To |
[email protected] |
Subject |
Re: st: -lowess- does not respect the cols() or rows() suboption when used with by() |
Date |
Sun, 25 Jun 2006 14:28:15 -0500 |
Eva Poen <[email protected]> wrote in, pointing out some trouble with a
suboption of -by()- in the -lowess- command:
> both in Stata 9.2 and 8.2, the -lowess- command does not respect the
> rows() or cols() suboption to by():
>
> -lowess price mpg, by(foreign, cols(1))-
>
> produces two columns instead of one, whereas
>
> -scatter price mpg, by(foreign, cols(1))-
>
> behaves as expected. Am I overlooking something very obvious here? The
> help file for -lowess- states that twoway options may be applied,
> including by() suboptions.
Nick Cox <[email protected]> replied after peeking at lowess.ado:
> This does look like a bug. -local byopts- is defined
> but apparently never used within the code, so
> I suspect that your option disappears into nothingness.
Nick found the source of the problem.
We should have this fix ready for the next ado-file update.
--Jeff
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/