Re: [R] Monotonic interpolation

2007-09-06 Thread roger koenker
You might look at the monotone fitting available in the rqss()
function of the quantreg package.

url:www.econ.uiuc.edu/~rogerRoger Koenker
email[EMAIL PROTECTED]Department of Economics
vox: 217-333-4558University of Illinois
fax:   217-244-6678Champaign, 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@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.

__
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
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Monotonic interpolation

2007-09-06 Thread Liaw, Andy
Not if Mr. excalibur really want interpolating (as oppose to 
smooting) splines.  Other than linear, I'm not even sure if 
it can be done (though I'm no expert on this).

One possibility is to use the cobs package and play with
the amount of smoothing...

Andy

From: Bert Gunter
> 
> 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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of excalibur
> Sent: Thursday, September 06, 2007 8:04 AM
> To: r-help@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@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.
> 
> __
> 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
> and provide commented, minimal, self-contained, reproducible code.
> 
> 
> 


--
Notice:  This e-mail message, together with any attachments,...{{dropped}}

__
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
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Monotonic interpolation

2007-09-06 Thread Bert Gunter
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of excalibur
Sent: Thursday, September 06, 2007 8:04 AM
To: r-help@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@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.

__
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
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Monotonic interpolation

2007-09-06 Thread excalibur



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


Re: [R] Monotonic interpolation

2007-09-06 Thread Vincent Goulet
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.

__
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
and provide commented, minimal, self-contained, reproducible code.


[R] Monotonic interpolation

2007-09-06 Thread excalibur

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.

__
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
and provide commented, minimal, self-contained, reproducible code.