Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: ksm

From   Weihua Guan <>
Subject   Re: st: ksm
Date   Thu, 18 Jul 2002 11:15:20 -0500

--Constantine Daskalakis <> wrote:

> I'd like to report some unusual performance of the -ksm- command.

> . ksm y x, lowess
> and got an error message
> by() invalid
> r(198)

Constantine may want to update the executable file to solve the problem.
In the original release, -ksm- does not acutally work with -by()- option
(it reported an error message which makes no sense).  Then -ksm- was
modified, and the -graph- command inside has been changed to something

. graph ..., by(`by')

While the problem has been fixed, without specifying this option,
Stata will face a empty -by()- option with -graph-:

. graph ..., by()

This is not allowed in the original executable, but was implemented
in a later update (which is before the fix to -ksm-).  As long as the
users update the ado-files and the executable at the same time, -ksm-
should work fine.  But with the old executable and updated -ksm-, Stata
will complain about the empty -by()-.

Constantine may want to check the version of executable by:

. update query

or try whether 

. graph y x, by()


Weihua Guan <>
Stata Corp.
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index