Skip to content

cdf function: inverse to quantile?

5 messages · DED (David George Edwards), Stéphane Dray, PIKAL Petr +2 more

#
see ecdf in the stepfun package
#
Hi
On 3 Apr 2003 at 13:20, DED (David George Edwards) wrote:

            
try tu use search provided with the installation
in my case

D:\programy\R\rw1061\doc\html\search\SearchEngine.html

result

ecdf in Hmisc and stepfun libraries.

Cheers
Petr Pikal
petr.pikal at precheza.cz
p.pik at volny.cz
#
library(stepfun) help(ecdf)

... although there's not a great deal involved in re-inventing it.

-  tom blackwell  -  u michigan medical school  -  ann arbor  -
On Thu, 3 Apr 2003, DED (David George Edwards) wrote:

            
#
Ded> Is there a function in R for calculating empirical
    Ded> cumulative distribution functions, i.e. the inverse of
    Ded> the quantile function? Perhaps in some library?

Yes: in the `stepfun' package 
     (and already re-invented in other places)

(( "package" {in R; and  "library section" in other S implementations}))

    Ded> I'd hate to have to re-invent the wheel.

good idea ;-)

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><