Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.61.0512030813350.4378@gannet.stats>
Date: 2005-12-03T08:17:15Z
From: Brian Ripley
Subject: NA as the output of ksmooth
In-Reply-To: <20051202213519.98733.qmail@web60418.mail.yahoo.com>

On Fri, 2 Dec 2005, Amir Safari wrote:

>  My input data, positive and negative, is complete without missing data. 
> After running ksmooth( ) , I receive for $y , many NAs. What could be 
> the reasons and how can I receive complete output?

Choose a suitable bandwidth.  If there are no points within the kernel 
range, the Nadaraya-Watson estimator is 0/0 = NaN, returned as NA.

> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

PLEASE stop sending HTML mail, as the posting guide asks and you 
specifically have been asked.

-- 
Brian D. Ripley,                  ripley at 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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595