Re: density(kernel = "cosine") .. the `wrong cosine' ..

About this list Date view Thread view Subject view Author view Other groups

Subject: Re: density(kernel = "cosine") .. the `wrong cosine' ..
From: Prof Brian D Ripley (ripley@stats.ox.ac.uk)
Date: Wed 01 Dec 1999 - 20:09:11 EST


Message-ID: <Pine.GSO.4.05.9912011006110.3660-100000@auk.stats>

On Wed, 1 Dec 1999, Martin Maechler wrote:

> Problem:
>
> - An average user knowing some statistics literature will most probably
> assume that a "cosine" kernel means the one in the literature,
> *NOT* the one we have in R now.

Or they have know what is in S (or what V&R say it is). (Yes, we knew of
the discrepancy, so defined it.)

> Proposition / Possibilities / RFC [= Request For Comments] :
>
> - We CHANGE the behavior of density(* , kernel="cosine")
> to use the cosine from the litterature.

I am against that. S compatibility and all that.

> - provide the current "cosine" as kernel = "smoothcosine"
> {I'd like to keep the possibility of 1-initial-letter abbreviation}

OK, or

3) As it is confusing and never used(?), drop it altogether.

> Enhancement (easy, I'll do that):
>
> - We further provide both
> Epanechnikov and "quartic" aka "biweight" additionally
> in any case.

You may find it hard to get agreement on what those are (the problem
being the scale factors).

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:11 EST