+ 1

📣📣CHALLENGE::Calculate the given percentile of the given data set📣📣

For example, suppose you have 25 test scores, and in order from lowest to highest they look like this: 43, 54, 56, 61, 62, 66, 68, 69, 69, 70, 71, 72, 77, 78, 79, 85, 87, 88, 89, 93, 95, 96, 98, 99, 99. To find the 90th percentile for these (ordered) scores, start by multiplying 90% times the total number of scores, which gives 90% ∗ 25 = 0.90 ∗ 25 = 22.5 (the index). Rounding up to the nearest whole number, you get 23. Counting from left to right 23 rd number is the 90th percentile for the dataset

26th Feb 2018, 6:56 AM
Satwik Dondapati
Satwik Dondapati - avatar
2 odpowiedzi
+ 9
I put it down more as a reference :) https://code.sololearn.com/cB8lidPex2B5/?ref=app
26th Feb 2018, 7:36 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 2
https://code.sololearn.com/cOJa2lUWY2n9/?ref=app
27th Feb 2018, 12:59 PM
Erik Umble
Erik Umble - avatar