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

RE: st: Re: adjksm STB 25-26


From   "Alicia Dowd" <[email protected]>
To   <[email protected]>
Subject   RE: st: Re: adjksm STB 25-26
Date   Sat, 31 Aug 2002 10:29:01 -0400

Mr. Salgado-Ugarte, I would also be interested in using the ado file referenced in the message below. Would it be possible for you to send it to me too? Your assistance would be much appreciated. Alicia Dowd

Alicia C. Dowd, Ph.D.
Assistant Professor 
Higher Education Administration
and Leadership
Graduate College of Education
University of Massachusetts Boston
Boston, MA 02125-3393
617 287-7593 (phone)
617 287-7601 (dept. phone)
617 287-7664 (dept. fax)

-----Original Message-----
From: Isa�as H. Salgado Ugarte [mailto:[email protected]] 
Sent: Tuesday, May 21, 2002 9:04 AM
To: [email protected]
Subject: Re: st: Re: adjksm STB 25-26

Dear Zhehui Luo:

I will send you the ado file that has been corrected and is working for me in
Stata 7.

Isaias H. Salgado-Ugarte

Zhehui Luo wrote:

> Dear Stata list users,
>
> I installed adjksm from STB-25 snp8.  Robust scatterplot smoothing:
> enhancements to Stata's ksm, and  STB-26 snp8_1.  Robust scatterplot
> smoothing: enhancements to Stata's ksm.
>
> When tried, the command produced the same syntax error as r(198). Last year
> on the LIST some one actually asked the same question, I wonder what is the
> final solution to the problem. I tried to change the ado file as suggested
> by Nick, but it didn't work.
>
> Attached is the previous email question and answer on the list.
>
> ------------------------------
>
> Date: Tue, 27 Feb 2001 17:39:17 -0000
> From: "Nick Cox" <[email protected]>
> Subject: Re: st: Fw: Robust Lowess Smoothing- STB #25-26
>
> "Bob Barsky" <[email protected]> wrote
>
>  > I wonder if any one of you has had success (or, for that matter,
>  > failure!) with the programs in the Stata Technical Bulletins #25-26 for
>  > robust smoothing.  The instructions, as I understand them, start with
>  > "adjksm.....", with the rest of the syntax identical to that for "ksm",
>  > with which I have had no problem. I get "syntax error" immediately upon
>  > applying "adjksm..." I am aware that there was an omission in STB 25
>  > that was supposedly fixed in the next editionbut I have installed the
>  > one in 26 (I tried it with and without the 25 instructions left in). I
>  > would be very grateful for any advice. Thanks.
>
> I think the problem lies in out-of-date syntax for weights within
> the adjunct program _adjksm.
>
> The line
>
> sum `1' =`W' in `imk'/`ipk'
>
> should be
>
> sum `1' [w=`W'] in `imk'/`ipk'
>
> How can one tell? Type
>
> set trace on
>
> and see where the program gives the error message.
>
> Nick
> [email protected]
> *
> *  Remember the first NASUG on 12,13 March 2001
> *   http://www.stata.com/support/meeting/1nasug
> *  Also, as always, help at:
> *   http://www.stata.com/support/statalist/faq
>
> ------------------------------
>
> *
> *   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/

*
*   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/

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index