Skip to main content

Table 4 Assignment of independent variable

From: The influence of hypoglycemia on the specific quality of life in type 2 diabetes mellitus: a comparative cross-sectional study of diabetics with and without hypoglycemia in Xi’an, China

Independent variable Assignment
Sex Male = 1; Female = 2
Age  ≤ 20 = 000; 21–40 = 001; 41–60 = 010; ≥ 61 = 100
Education background Primary school or below = 000; Junior high school = 001; Senior high school = 010; Bachelor degree or above = 100
Marital status Unmarried = 00; Married = 01; Divorce or bereavement = 10
Living conditions Live alone = 000; Live with spouse = 001; Live with children = 010; Other = 100
Duration of diabetes  ≤ 3 = 000; 4–5 = 001; 6–10 = 010; ≥ 11 = 100
Monthly income per capita in family  ≤ 3000 = 00; 3001–5000 = 01; ≥ 5001 = 10
Frequency of weekly exercise No exercise = 000; 1–2 times / week = 001; 3–5 times / week = 010; Exercise every day = 100
Frequency of hypoglycemia 1–2 times / 6 months = 00; 3–6 times / 6 months = 01; More than 6 times / 6 months = 10