Skip to main content
. 2023 Jun 26;3(6):e0002003. doi: 10.1371/journal.pgph.0002003

Table 1. Variable measurement and coding.

Variable Definition, measurement and coding
Age  A continuous variable. Measured in years.
Sex  Binary variable. Coded 1 if male and 0 if female.
Education Primary education attainment, equivalent to 8 years of schooling, coded 0
Secondary education attainment, equivalent to 4 years of schooling plus any years of schooling post-secondary, coded 1
Marital status  Binary variable. Coded 1 if patient married and 0 if patient not married.
Employment status Categorical variable. Coded 0 if patient not employed, coded 1 if formally or informally employed.
level of care  Binary variable. Code 1 if COVID-19 care was received as an inpatient, 0 if care received as an outpatient
Days ill or off work  Continuous variable. Measured in days.
Co-morbidity  Binary variable. Coded 1 If patient had any morbidity e.g. Diabetes Mellitus, HIV or high blood pressure. Coded 0 otherwise.