Implementation of Weighted Mean for Likert scale with Python

Dhikrullah Folorunsho
1 min readMar 11, 2020

--

One of the commonest ways of getting response from research subjects is with the use of survey. Most surveys are usually rated using Likert scale where Likert items are used to measure respondents’ attitudes to a particular question or statement. Most commonly used scale are four point, five point and seven point scales. In analyzing how responses are made to a certain assertion or a group of observations, we might be interested on how some data point contribute more weight than others. This is where weighted mean comes in and I’ll be demonstrating how this can be implemented with python in this post.

The data used here utilizes a four point scale and was synthesized by the author. The data can be found here

This is the final output showing Mean Weighted Value

You can get the source code here

--

--