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@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.
______________________________________________ R-help@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.