Today I analyzed the distribution of earnings within the departments to understand the variance and identify any outliers. This involved calculating the standard deviation of earnings within each department and visualizing this information to provide a clear understanding of the earnings spread.
Next, I calculated the standard deviation of earnings by the department. The standard deviation provided an idea of the spread of earnings within each department. A higher standard deviation indicates a wider range of earnings among employees in the respective department. The Superintendent’s office shows the highest variability in earnings, followed by the Boston Police Department and BPS High School Renewal. This can be useful in understanding the pay scale and the distribution within the department.