Previously, I calculated the range of overall mean scores of PGR-ranked institutions from 2006-2021. This gave readers a sense of which institutions' scores changed the most over time. However, that analysis was limited in at least two key respects: First, the range is just one measurement of spread of a department's score's spread, and it... Continue Reading →
How to Calculate Weighted Mean and Weighted Standard Deviation with Python
The other day, I had to calculate the weighted mean, standard deviation, and variance of a dataset using Python and I struggled to find reliable guidance that explained how the calculation worked. Here, I'll explain how I performed the calculations using the math and statistics libraries. Why use weighed values? Many of us assign different... Continue Reading →