Skip to main content

Table 1 Independent variable derivation from survey data

From: The prevalence of underweight, overweight, obesity and associated risk factors among school-going adolescents in seven African countries

Survey question/variable Coding (value coded)* Variable
How old are you? <12– 16 years (coded categorically) Age
What is your sex? Male (1) Sex
  Female (0)  
How tall are you without your shoes on?   Used to calculate BMI
How much do your weight without your shoes on?   Used to calculate BMI
During the past 30 days, how often did you go hungry because there was not enough food in your home? Most of the time/always (1) Food insecurity
Never/rarely/sometimes (0)
During the past 30 days, how many times per day did you usually eat fruit? (examples of fruit provided) 2+ times a day (1) Fruit consumption
Less than 2 times a day (0)  
During the past 30 days, how many times per day did you usually eat vegetables? (examples of vegetables provided) 3+ times a day (1) Vegetable consumption
Less than 3 times a day (0)  
Students who were physically active for a total of at least 60 minutes per day on five or more days during the past seven days Yes (1) Consistently active
No (0)  
Students who went to physical education (PE) class on three or more days each week during this school year Yes (1) PE class
No (0)  
Students who did not walk or ride a bicycle to or from school during the past seven days Yes (1) No walking/biking to school
No (0)  
During the past 30 days, how many times per day did you usually drink carbonated soft drinks, such as Coca-Cola, Sprite, Fanta, Fizzi, Moka, Youki, or tonic? 1+ times a day (1) Less than 1 per day (0) Soft drink
During the past 7 days, on how many days did you eat food from a fast food restaurant, such as [country specific examples]? 3+ days (1) Less than 3 days (0) Fast food
How much time do you spend during a typical or usual day sitting and watching television, playing computer games, talking with friends, or doing other sitting activities such as [country specific examples]? 3+ hours per day (1) Less than 3 hours per day (0) Sitting 3+ hours
Parental Support Index: created by adding the results of the coding below Parental support
During the past 30 days, how often did you parents or guardians check to see if your homework was done? Most of the time/always (1) Parental homework checking
Never/rarely/sometimes (0)
During the past 30 days, how often did your parents or guardians understand your problems and worries? Most of the time/always (1) Parental understanding
Never/rarely/sometimes (0)
During the past 30 days, how often did you parents or guardians really know what you were doing with your free time? Most of the time/always (1) Parental knowledge of activity
  Never/rarely/sometimes (0)  
  1. *Note: STATA uses a code of 0 as the baseline group for binary and categorical variables.