R
Randall Senn
Is there a way to get a weighted percentile?
For example, suppose I have 567 students who take a test
and score between 30% and 100%. Naturally there will be
multiple occurances of most of the scores.
I can create a list 567 rows long and get the 80th
percentile straightforwardly using the Percentile
worksheet function, with the array being the column that
contains the scores and 0.8 as the value for k.
But instead of a list 567 rows long, is there a way to
list the score (e.g., 99%, 98%, 97%, etc.), the number of
students who received those scores (e.g., 12, 25, 30,
etc.), and find the 80th (or other) percentile from those
two colums?
Many thanks.
For example, suppose I have 567 students who take a test
and score between 30% and 100%. Naturally there will be
multiple occurances of most of the scores.
I can create a list 567 rows long and get the 80th
percentile straightforwardly using the Percentile
worksheet function, with the array being the column that
contains the scores and 0.8 as the value for k.
But instead of a list 567 rows long, is there a way to
list the score (e.g., 99%, 98%, 97%, etc.), the number of
students who received those scores (e.g., 12, 25, 30,
etc.), and find the 80th (or other) percentile from those
two colums?
Many thanks.