Re: [R] Confusion about ecdf

2009-03-25 Thread Ted Harding
On 25-Mar-09 21:01:49, Mandro Litt wrote: > Hi, > I'm bit confused about ecdf (read the help files but still not > sure about this). I have an analytical expression for the pdf, > but want to get the empirical cdf. How do I use this analytical > expression with ecdf? > > If this helps make it con

[R] Confusion about ecdf

2009-03-25 Thread Mandro Litt
Hi, I'm bit confused about ecdf (read the help files but still not sure about this). I have an analytical expression for the pdf, but want to get the empirical cdf. How do I use this analytical expression with ecdf? If this helps make it concrete, the pdf is: f(u) = \sum_{t = 1}^T 1/n_t \sum_{i