![]() (31 THRU HIGHEST=SYSMIS)(ELSE=Copy) INTO MENTR. VARIABLE LABELS PHYSR ‘physically unhealthy days’. (31 THRU HIGHEST=SYSMIS)(ELSE=Copy) INTO PHYSR. **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)** VARIABLE LABELS FAIRPOOR ‘percent fair poor’. (MISSING=SYSMIS)(1 thru 3=0) (4 thru 5=100) (ELSE=SYSMIS) INTO FAIRPOOR. Use self-rated health variable (GENHLTH) recode into 2 categories: (1) excellent, very good, good (2) fair, poor* **Computed measure: Percent fair to poor health** Label frqmentd=”Percent with frequent mental distress” * Derived measure: Percent with frequent mental distress Label unhealth=”# Unhealthy days in past 30 days” ![]() Then unhealth=min(30,sum(physhlth,menthlth)) Īrray qoldays physhlth menthlth poorhlth * then change (impute) the number of recent activity limitation days to zero days. * if the number of recent activity limitation days is missing (skip pattern), * if the number of mental health days not good equals zero, and * If the number of physical health days not good equals zero, and * Convert values of 88 to zero and out-of-range values to missing. Physically and mentally unhealthy days and recent activity limitation days Label fairpoor=”Percent fair->poor self-rated health” (including the derived measure of percent fair->poor self-rated health) Unhealthy days (sum of physically and mentally unhealthy days not to exceed 30 days).Self-rated health (including the derived measure of the percent of persons with fair to poor self-rated health).Below are SAS, SPSS, and SUDAAN syntax to appropriately recode and/or create the following Healthy Days variables:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |