If by chance you have an objective function you could automatically
calculate the optimum number of nearest neighbors by cross validation
eliminating the need to set it in the first place.
On Sun, Sep 13, 2009 at 10:19 AM, Bryan wrote:
> Is this option (number of nearest neighbors) translate-able
Is this option (number of nearest neighbors) translate-able into bandwidth?
In reading the kknn article, it seems like it might be but I'm still not
exactly sure how. Unfortunately this is an important issue as the end users
are used to using certain bandwidth values for their work.
It may be more
You can specify the number of nearest neighbors.
On Sat, Sep 12, 2009 at 5:16 PM, Bryan wrote:
> I originally looked over kknn because I need to be able to specify a
> bandwidth parameter. I am trying to replicate some previous non-R work in
> R, so I can't stray to far from the procedure used t
I originally looked over kknn because I need to be able to specify a
bandwidth parameter. I am trying to replicate some previous non-R work in
R, so I can't stray to far from the procedure used there. In reading the
paper referenced in the docs, I see that kknn can reduce to the
NadarayaWatson e
Hi Brian,
>> I am trying to get fitted/estimated values using kernel regression and a
>> triangular kernel.
Look at Loader's locfit package. You are likely to be pleasantly surprised.
Regards, Mark.
Bryan-65 wrote:
>
> Hello,
>
> I am trying to get fitted/estimated values using kernel regr
What about kknn -- that was listed as having the triangular distribution?
On Sat, Sep 12, 2009 at 3:42 PM, Bryan wrote:
> Gabor,
>
> Thanks for your quick reply (on a weekend even!) I've looked through the
> results of the search you recommended, and several related searches, and
> don't see an
Gabor,
Thanks for your quick reply (on a weekend even!) I've looked through the
results of the search you recommended, and several related searches, and
don't see anything exceptionally helpful. Kernel regression is a relatively
new analysis for me; I apologize for needing a little more directio
Try:
RSiteSearch("kernel triangular")
On Sat, Sep 12, 2009 at 1:51 PM, Bryan wrote:
> Hello,
>
> I am trying to get fitted/estimated values using kernel regression and a
> triangular kernel. I have found packages that easily fit values from a
> kernel regression (e.g. ksmooth) but do not have a
Hello,
I am trying to get fitted/estimated values using kernel regression and a
triangular kernel. I have found packages that easily fit values from a
kernel regression (e.g. ksmooth) but do not have a triangular distribution
option, and density estimators that have triangular distribution option
9 matches
Mail list logo