Re: [R] NA as the output of ksmooth

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sat 03 Dec 2005 - 19:17:15 EST

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@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@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

______________________________________________
R-help@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
Received on Sat Dec 03 19:25:02 2005

This archive was generated by hypermail 2.1.8 : Sat 03 Dec 2005 - 20:29:30 EST