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

Re: st: ksm


From   Weihua Guan <wguan@stata.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: ksm
Date   Thu, 18 Jul 2002 11:15:20 -0500

--Constantine Daskalakis <constantine.daskalakis@mail.tju.edu> 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 <wguan@stata.com>
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/



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