This is a python library to calculate 12-item Short Form Survey (SF-12) score.
Project description
SF-12 Library
Overview
This is a python library to calculate 12-item Short Form Survey (SF-12) score. The SF-12 is a general health questionnaire that was first published in 1995 as part of the Medical Outcomes Study (MOS). The SF-12 was constructed using questions drawn from each of the 8 dimensions of the MOS 36-item Short Form Survey (SF-36). It is designed to have similar performance to the SF-36, while taking less time to complete.
Two summary scores are reported from the SF-12:
- Mental Component Score (MCS-12)
- Physical Component Score (PCS-12)
The scores may be reported as Z-scores (difference compared to the population average, measured in standard deviations). The United States population average PCS-12 and MCS-12 are both 50 points. The United States population standard deviation is 10 points. So each increment of 10 points above or below 50 corresponds to one standard deviation away from the average. For more information, refer to the original publication:
- Ware, John E., Susan D. Keller, and Mark Kosinski. SF-12: How to score the SF-12 physical and mental health summary scales. Health Institute, New England Medical Center, 1995.
Basic Usage
To run the SF-12 script, use the following command:
poetry run python sf12.py
Development
Running the Application
To run the application, use:
poetry run python sf12.py
Running Tests
To run the tests, use:
poetry run pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file score_calculator-1.0.1.tar.gz.
File metadata
- Download URL: score_calculator-1.0.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8455845d27b78a278ca88b6dd6aa6cac8fe3f3e63e073b359bcc7f55f82f929
|
|
| MD5 |
8baab3ba475fd55e57edd270a23d6733
|
|
| BLAKE2b-256 |
b39041055a4a5ed1f54171e730d7ba35c5150a65da149ab0de42e0ceaf1e9710
|
File details
Details for the file score_calculator-1.0.1-py3-none-any.whl.
File metadata
- Download URL: score_calculator-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8628c748d6a607fcd9c61fe33f90efbf498795a2de13b096edf05f1e5da1e054
|
|
| MD5 |
f412806d414947fae8f6abbd50d114ec
|
|
| BLAKE2b-256 |
05154ab36e132a16830d9e3bb3b1fe6e88649b6cd63ea2c720178a4815bbbb61
|