An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120918/79f9098d/attachment.pl>
Estimating the ECDF
3 messages · Waltenegus Dargie, R. Michael Weylandt, Rui Barradas
On Tue, Sep 18, 2012 at 8:50 PM, Waltenegus Dargie
<waltenegus.dargie at gmail.com> wrote:
Dear all, I would like to estimate (mathematically express) the ecdf of a random variable using a curve fitting technique. Can anyone help me how to do this? Thanks. Waltenegus
Waltengus, This is really terribly vague: perhaps you could say more about what information you have and what sort of curve fitting you're looking for? Once you've clarified your question, perhaps look into making us a small reproducible example of what you have and what you want: http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example Next time, also don't post in HTML as it messes all sorts of things up. Cheers, Michael
Hello, I'm not sure I understand the question, but is it something like this? set.seed(3648) x <- rnorm(100) plot(ecdf(x), cex = 0.5) # Now create a function; don't use # uppercase F, it's a symbol for FALSE. f <- ecdf(x) f(0) # Should be near 0.5 Hope this helps, Rui Barradas Em 18-09-2012 20:50, Waltenegus Dargie escreveu:
Dear all, I would like to estimate (mathematically express) the ecdf of a random variable using a curve fitting technique. Can anyone help me how to do this? Thanks. Waltenegus [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org 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.