Quantile calculation is different.

I would appriciate help for ecdf function

exam <- c(72,78,85,89,94,98)
I was asked to calculate the quantile for x=94 and it's 71.43%
ecdf(exam)(94) returned 83%
I found that type 6 is my desired type, however i dont know how to change the type for the ecdf

I found that type = 6 is good for me in quantile, but not for ecdf... any suggestions?

Seems like there's no easy solution but using the formula i learned in class? thats a bummer. no package?
Much appriciation

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.