cdfplot(X) displays a plot of the Empirical Cumulative Distribution Function (CDF) of the input array X in the current figure. The empirical CDF y=F(x) is defined as the proportion of X values less than or equal to x. If input X is a matrix, then cdfplot(X) parses it to the vector and displays CDF of all values.

I have a vector X of data. And I want to know the cumulative probability that X is below 5%: Prob(X<5%). X does not follow a specific probability distribution.
Which function can do that?

15 Feb 2008

Jeremiah Kiptala

works well for array; matrix not sure. good

17 Oct 2006

hamed h

true.. plots are all blue.. where did he get the colored pic from??!!!