Cumulative Distribution

 

Percentile Rank vs Percentile

[55, 66, 77, 88, 99]

80th percentile?

88 percentile rank?

 

Ʒ ڵ带 ϰ ranks ?

live, firsts, others = first.MakeFrames()

weights = live.totalwgt_lb

sample = np.random.choice(weights, 100, replace=True)

live_cdf = thinkstats2.Cdf(weights, label='live')

ranks = [live_cdf.PercentileRank(x) for x in sample]