The variables included in the “md.pattern” function were age, education, systolic blood pressure, diastolic blood pressure, BMI, waist circumference, hip circumference, total cholesterol, HDL cholesterol, LDL cholesterol, triglycerides, diabetes, depression, hearing impairment, current smoking, current alcohol, and APOE ε4. The gene discussed is APOE; the disease is major depressive disorder.