Hello everybody, has anyone got a function for smooth monotonic interpolation (splines ...) of a univariate function (like a distribution function for example) ? Thanks everybody. -- View this message in context: http://www.nabble.com/Monotonic-interpolation-tf4392288.html#a12522970 Sent from the R help mailing list archive at Nabble.com.
Le jeu. 6 sept. ? 09:45, excalibur a ?crit :> > Hello everybody, has anyone got a function for smooth monotonic > interpolation > (splines ...) of a univariate function (like a distribution > function for > example) ?approxfun() might be what your looking for.
Le jeu. 6 sept. ? 09:45, excalibur a ?crit :> > Hello everybody, has anyone got a function for smooth monotonic > interpolation > (splines ...) of a univariate function (like a distribution > function for > example) ?approxfun() might be what your looking for. Is the result of approxfun() inevitably monotonic ? -- View this message in context: http://www.nabble.com/Monotonic-interpolation-tf4392288.html#a12524568 Sent from the R help mailing list archive at Nabble.com.
RSiteSearch("monotone", restr="func") will give you several packages and functions for monotone smoothing, including the isoreg() function in the standard stats package. You can determine if any of these does what you want. Bert Gunter Genetech Nonclinical Statistics -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of excalibur Sent: Thursday, September 06, 2007 8:04 AM To: r-help at stat.math.ethz.ch Subject: Re: [R] Monotonic interpolation Le jeu. 6 sept. ? 09:45, excalibur a ?crit :> > Hello everybody, has anyone got a function for smooth monotonic > interpolation > (splines ...) of a univariate function (like a distribution > function for > example) ?approxfun() might be what your looking for. Is the result of approxfun() inevitably monotonic ? -- View this message in context: http://www.nabble.com/Monotonic-interpolation-tf4392288.html#a12524568 Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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 and provide commented, minimal, self-contained, reproducible code.
You might look at the monotone fitting available in the rqss() function of the quantreg package. url: www.econ.uiuc.edu/~roger Roger Koenker email rkoenker at uiuc.edu Department of Economics vox: 217-333-4558 University of Illinois fax: 217-244-6678 Champaign, IL 61820 On Sep 6, 2007, at 10:03 AM, excalibur wrote:> > > > Le jeu. 6 sept. ? 09:45, excalibur a ?crit : > >> >> Hello everybody, has anyone got a function for smooth monotonic >> interpolation >> (splines ...) of a univariate function (like a distribution >> function for >> example) ? > > approxfun() might be what your looking for. > > Is the result of approxfun() inevitably monotonic ? > -- > View this message in context: http://www.nabble.com/Monotonic- > interpolation-tf4392288.html#a12524568 > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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 > and provide commented, minimal, self-contained, reproducible code.