Dear all, I want to use kernel estimator to smooth some step funtions such as the empirical distribution and hazard function in survival analysis. Is there a function or package to deal with it in R? How do I use it? Thanks for your help. Jimmy
Please, please read the docs! That's what they're for. RsiteSearch("smoothing") help.search("smoothing") -- Bert Gunter Genentech Non-Clinical Statistics South San Francisco, CA "The business of the statistician is to catalyze the scientific learning process." - George E. P. Box> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Zhu, > Chao (UMC-Student) > Sent: Tuesday, November 01, 2005 8:57 AM > To: r-help at stat.math.ethz.ch > Subject: [R] kernel smoothing > > Dear all, > > I want to use kernel estimator to smooth some step funtions > such as the empirical distribution and hazard function in > survival analysis. Is there a function or package to deal > with it in R? > How do I use it? > > Thanks for your help. > > Jimmy > >
Smoothing CDF or survival functions are not quite the same as usual scatterplot smoothing, at least because of the monotonicity contraint. I don't know of kernel methods for smoothing such functions, but I believe people have used splines. I'm no expert though. It's best for you to consult an expert or search the literature. Andy> From: Zhu, Chao (UMC-Student) > > Dear all, > > I want to use kernel estimator to smooth some step funtions > such as the empirical distribution and hazard function in > survival analysis. Is there a function or package to deal > with it in R? > How do I use it? > > Thanks for your help. > > Jimmy > >