Skip to content
Prev 305805 / 398506 Next

Estimating the ECDF

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: