hi guys,
How can I extract in a vector the result of ecdf?
if a suppose to execute ecdf(X)
this gives me a list of values... but the object is a closure, I want to obtain the list of values....
Kind regards,
JS
hi guys,
How can I extract in a vector the result of ecdf?
if a suppose to execute ecdf(X)
this gives me a list of values... but the object is a closure, I want to obtain the list of values....
Kind regards,
JS
@gueyenono perfect! thank you so much..... and if I want to make the quantile of the ecdf??
I used the qmixnorm( likelihood(y.train, p, mu, sigma), mu, sigma, p ) in order to return a matrix of values where each observation contains the quantile... but for the ecdf(xx) case?
kind regards,
JS
You can just use the quantile()
function:
x <- runif(100)
e <- ecdf(x)
quantile(e)
no, I didn't say this... wait
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.