Re: [R] Optimization problem

From: Bart Joosen <bartjoosen_at_hotmail.com>
Date: Thu, 17 Jun 2010 06:53:03 -0700 (PDT)

How about smoothing the percentages, and then take the second derrivative to find the inflection point?

which.max(diff(diff((lowess(percentages)$y))))

Bart

-- 
View this message in context: http://r.789695.n4.nabble.com/Optimization-problem-tp2258654p2258828.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 17 Jun 2010 - 15:31:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 Jun 2010 - 07:00:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive