Skip to content
Back to formatted view

Raw Message

Message-ID: <48DCC40D.2040606@biostat.ku.dk>
Date: 2008-09-26T11:14:21Z
From: Peter Dalgaard
Subject: Does R have an "inverse empirical cumulative distribution" function ?
In-Reply-To: <OF15A66A2B.2BCDA820-ON802574D0.003B7276-802574D0.003B89DC@jpmchase.com>

tolga.i.uzuner at jpmorgan.com wrote:
> Dear R Users,
>
> Does R have an "inverse empirical cumulative distribution" function, 
> something one can use to invert ecdf ?
>
> Thanks in advance,
> Tolga
>   
quantile(...., type=1)

(Actually you can't invert a piecewise constant function...)

-- 
   O__  ---- Peter Dalgaard             ?ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907