How to evaluate emprical cdf at given points in Matlab? -


suppose have sequence of scalar points subject unknown distribution.

from sequence of points, can empirical cdf.

i wondering if there way in matlab evaluate empirical cdf @ point? example, evaluate @ same sequence of points used build empirical cdf?

i have looked function ecdf @ http://www.mathworks.com/help/stats/ecdf.html. usage [f,x] = ecdf(y), empirical cdf data yis evaluated atx, butx` doesn't seem specifiable.

thanks , regards!

assuming have output of function, 2 vectors f , x , want find emperical cdf @ point x_of_interest, can do:

max(f(x<=x_of_interest)) 

or maybe want use minand >=, think above formula correct.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -