Update: This post has been updated to use the dplyr library.

This brief post provides the R syntax to calculate SF-12 v2 scores using Australian population weights. The population weights are derived from:

Hawthorne, G., Osborne, R., Taylor, A., & Sansoni, J. (2007). The SF36 Version 2: critical analyses of population weights, scoring algorithms and population norms. Quality of Life Research, 16(4), 661-673. doi: 10.1007/s11136-006-9154-4

Please renameĀ the dataFrame to reflect the name of the data set you are using.

Please note that the variable names need to conform to the survey item names:

  • I1, I2A, I2B, I3A, I4A, I4B, I5, I6A, I6B, I6C, and I7

Code

Category:
Scoring Algorithm, Self-Report Measures
Tags:
, , , ,

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: