![]() |
|||||||||||||||||||||||||||||||||
|
![]() |
![]() National Center for Chronic Disease Prevention and Health Promotion Health-Related Quality of Life ![]()
|
|
|
![]() |
Below are SAS, SPSS, and SUDAAN syntax to appropriately recode and/or create the following Healthy Days variables: -Self-rated health (including the derived measure of the percent of
persons with fair to poor self-rated health) SAS syntaxSelf-rated health
Physically and mentally unhealthy days and recent activity limitation days; * Convert values of 88 to zero and out-of-range values to missing.;
* Derived measure: Unhealthy days;
* Derived measure: Percent with frequent mental distress;
SPSS syntax**Computed measure: Percent fair to poor health**
**Physically and mentally unhealthy days, and recent activity limitation days** **(recoding to account for zero days (coded as 88 in BRFSS), missing values, data entry errors/outliers)**
**Activity limitation days** **Note: If physically unhealthy days is zero (0) and mentally unhealthy days is zero (0), the question on activity limitation days (due to poor physical or mental health) is skipped. We impute a zero (0) for this value. Please note original coding for the missing (skipped) value, since it might be coded as a MISSING, SYSMIS, or sometimes as a ".00" value. Imputing zero days is only valid when mentally unhealthy days and physically unhealthy days are both zero.** **The example below assumes SYSMIS displays skipped cases; 88 displays persons asked the question, but who responded zero days; 77 displays persons who were asked the question but were unsure; and 99 displays persons who were asked the question but refused to answer it.**
**Computed measure: Unhealthy days** **(If either value of physically unhealthy days or mentally unhealthy days is missing, this computes the resulting appropriate missing value.)**
**recoding maximum value of SUMDAYS to 30, since 30 days is the logical maximum value of overall unhealthy days; see page 9 of the technical monograph, Measuring Healthy Days (CDC 2000), for additional information on overlap**
**Computed measure: Percent with frequent mental distress**
|
![]() |
![]() |
![]() **SUDAAN code (using SPSS data sets as well as SAS data sets: Check your version of SUDAAN for the version of SAS data set it can read);***Note for SAS and SPSS users:
To account for the complex sample survey design in BRFSS (=WR=sampling with replacement), use the following design and weight variables from, for example, the 2000 BRFSS data set: _STSTR = the sampling stratum and sort the SAS or SPSS data set by the design variables, _STSTR and _PSU, in the SUDAAN NEST statement, in preparation for analysis with SUDAAN. SUDAAN examples: 1. If you were interested in the mean number of physically unhealthy days (PHYSHLTH), mentally unhealthy days (MENTHLTH), unhealthy days (UNHLTH), and activity limitation days (POORHLTH), use the following SUDAAN code:
2. If you were interested in the percentage of persons with fair to poor health (FAIRPOOR), use the following SUDAAN code:
3. If you were interested in the mean number of unhealthy days by sex, income, and age group, you would use the following SUDAAN code:
|
![]() |
|||
![]() |
![]() |
![]() |
![]() |
Privacy Policy | Accessibility This page last reviewed January 03, 2005 United
States Department of Health and Human Services |
![]() |