[R] NA as the output of ksmooth

Prof Brian Ripley ripley at stats.ox.ac.uk
Sat Dec 3 09:17:15 CET 2005


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




More information about the R-help mailing list