Skip to content

Instantly share code, notes, and snippets.

@peterdalle
Created August 7, 2016 10:05
Show Gist options
  • Select an option

  • Save peterdalle/0180477e0bdc22ed885621a6216e8c4d to your computer and use it in GitHub Desktop.

Select an option

Save peterdalle/0180477e0bdc22ed885621a6216e8c4d to your computer and use it in GitHub Desktop.
Reverse scale score
reverse.score = min.score + max.score - actual.score
# For example, a 7-point Likert scale where 1=good and 7=bad can be reversed scored as follows:
# 1 + 7 - 1 = 7
# 1 + 7 - 2 = 6
# 1 + 7 - 3 = 5
# 1 + 7 - 4 = 4
# 1 + 7 - 5 = 3
# 1 + 7 - 6 = 2
# 1 + 7 - 7 = 1
# After that, 1=bad and 7=good.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment