Skip to content
Prev 395357 / 398503 Next

Inquiry about bandwidth rescaling in Ksmooth

Apologies in advance if my comments don't help, in which case, no need
to respond,  but I noted in ?ksmooth:

"bandwidth
the bandwidth. The kernels are scaled so that their quartiles (viewed
as probability densities) are at ? 0.25*bandwidth." So, could this be
a source of the discrepancies you cited?

Given that ?ksmooth explicitly says:

"Note:
This function was implemented for compatibility with S, although it is
nowhere near as slow as the S function. Better kernel smoothers are
available in other packages such as KernSmooth."

One wonder why you bother with it at all? (That was rhetorical -- do
not answer).

Cheers,
Bert

On Thu, Oct 26, 2023 at 11:06?AM Jan Failenschmid via R-help
<r-help at r-project.org> wrote:
Message-ID: <CAGxFJbTBosL7N=s3iEpBgfb4ZOf_zQ_90W-FVVrkE7SssLin0g@mail.gmail.com>
In-Reply-To: <AS4P195MB1503E870871C02D29EE9C1E0C5DDA@AS4P195MB1503.EURP195.PROD.OUTLOOK.COM>