Skip to content
Prev 218655 / 398498 Next

Identifying breakpoints/inflection points?

... but you should be warned that this is an inherently difficult issue. You
are trying to estimate a second derivative from noisy data. The result is
likely to be **very** dependent on the fitting methods and parameters chosen
(e.g. "span" of a kernel smoother), even if the fit itself is fairly robust.

I suggest you try some sensitivity analyses and/or bootstrapping of your
results if the software does not already provide uncertainty estimates.

Cheers,
Bert

Bert Gunter
Genentech Nonclinical Biostatistics
 
 
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Clint Bowman
Sent: Tuesday, April 27, 2010 9:32 AM
To: Charlotte Chang
Cc: r-help at r-project.org
Subject: Re: [R] Identifying breakpoints/inflection points?

Charlotte,

Try:

library(msProcess)  # you may have to install msProcess
year[peaks(birds.pr$fit)]