A histogram gives you the number nini of observations between some xixi and xi+1xi+1. I'm assuming a total of nn observation. So, to get an approximation for the upper pp-percentile, you want to find the maximal jj such that sumii=jnftynigeqp∗nsumii=jnftynigeqp∗n. Then, the empirical upper pp-percentile is between xjxj and xj+1xj+1.
No comments:
Post a Comment