[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()
Eva Poen <firstname.lastname@example.org> 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@example.com> 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.
* For searches and help try: