--Constantine Daskalakis <[email protected]> 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
like:
. 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()
works.
Weihua Guan <[email protected]>
Stata Corp.
*
* 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/