Skip to main content

Socio-economic and demographic impacts on the full awareness of the methods for controlling/preventing the spread of COVID-19 among social media users in some African countries at the onset of the pandemic



In Africa, most countries continue to battle COVID-19 with cases of newly infected still being recorded. In this note, we investigate how socioeconomic and demographic factors affected individuals awareness on the methods for controlling/preventing the spread of COVID-19 in some parts of Africa at the onset of the pandemic.


Based on regression modelling, we find that having full awareness does not depend on religious affiliation. Men, urban dwelling, holding bachelors or higher degrees, operating multiple social media accounts or being employed are associated with having full awareness of the recommended practices for the prevention and control of COVID-19 at the early stage of the pandemic. No occupation, business or older people are associated with not having full awareness.


The COVID-19 pandemic sparked a global health crisis as well as human tragedy in most countries of the world. The pandemic commenced in Wuhan (China) and spread to America, Europe, and other parts of the world. Scientists worldwide scrambled to find a vaccine for this novel coronavirus. While this was ongoing globally, different countries adopted different mitigation measures recommended by the World Health Organization (WHO) to influence the course of the COVID-19 pandemic. Some of these measures included isolating people who contracted the virus, tracing and quarantining their contacts, social distancing, and practicing good hygiene (WHO 2019; [3]; UN News 2020; [5,6,7,8,9]). Remarkable among these measures is “social distancing” whose goal is to slow down the outbreak dynamics to avoid putting much pressure on an already strained health care system. By social distancing, the pandemic curve was shown to reduce drastically (Flatten the COVID-19 curve.

However, as noted by Miller et al. [14], the impact of this pandemic hit virtually all the countries with wildly different levels of severity perhaps due to variations in cultural norms, heath care system as well as alleviation endeavours. For example, social distancing and many public institutions’ closure present major challenges to engagement and society in many poor countries. This pandemic’s economic impact could skyrocket food insecurity in low income countries, which would likely increase vulnerability to disease (World Food Program WFP [22]).

Prior to COVID-19, severe food insecurity was most prevalent in Africa with more than 200 million hungry people (Food and Agriculture Organization- FAO [10]). The continent recorded her first case of the virus on the 14th of February 2020 in Egypt, followed by Algeria and Morocco. Since then, other countries have registered numerous cases and fatalities. As of 11 May 2020, there were more than 63,000 confirmed cases, 2290 deaths, and 21,837 recoveries, cutting across the entire continent with Lesotho the only country holding out [1]. South Africa is the most affected country in the region, with over 10,000 cases. However, these figures may not be a true reflection of the situation on the ground presently, given the large gap in testing rates between countries. Innovative measures are required to prevent the entire continent from becoming hot spots of COVID-19.

Therefore, at the early stage of the pandemic, to significantly and effectively slow down the spread of the virus in Africa, it was crucial that everyone observed the necessary precautionary measures. As such, scaling-up COVID-19 awareness and the methods for control/prevention by appropriate authorities were very important. However, mediating factors such as socioeconomic and demographic characteristics are inherent to the decision-making process of COVID-19 measures. Thus, the study these factors is important [3, 6, 7].

The purpose of this note is to investigate how socioeconomic and demographic factors affected the full awareness of the methods for controlling/preventing the spread of COVID-19 in some parts of Africa at the early stage of the pandemic. The findings in this note will help policymakers to: make informed, evidence-based decisions as the COVID-19 pandemic evolves from both practical and economic perspectives; understand some uncertainties associated with this virus (for example, factors that explain the regional differentials in population vulnerability); prepare for future pandemics. This note includes the materials and methods section; results, discussion and conclusions section; section on limitations.

Main text

Materials and methods

Let Y denote a Bernoulli random variable, we can refer Y as an outcome/response variable. Let X denote the independent/predictor variable, X could either be a numeric or a categorical variable. Then, the logistic regression model with a logit link (which is a natural model for this kind of response variable) can be specified as

$$\begin{aligned} {} & y_i = \pi ( x_i ) +\xi _i\sim {\text{Binomial}} ( 1, \pi ( x_i ) ) ,\\ & \log \left[ \frac{\pi ( x_i) }{1 - \pi ( x_i) }\right] = \beta _0+\beta _1x_{1, i}+\beta _2x_{2, i}+\cdots +\beta _px_{p, i}, \ i=1,2,\ldots ,n, \end{aligned}$$

where \(\pi ( x_i ) = {\text{Pr}} \left( Y_i=1|X=x_i\right)\) is the conditional probability of the outcome \(y_i\) given the predictor \(x_i\), \(\beta\)s denote the model parameters, p denotes the number of predictors, n denotes the sample size, and \(\xi\)s represent the error terms. For detailed information on the logistic regression model, we refer to Hosmer et al. [12]. The fitting of the model was performed by the ‘glm’ function in the ‘stat’ package of \(\textsf {R}\) (\(\textsf {R}\) Core Team [17]).

Fig. 1
figure 1

Correlation matrix for the predictors

We need data on X and Y. Africa is a large continent; so, there will be an enormous financial involvement in hiring ad-hoc staff, travelling from one African country to another, accommodation and additional constraints. To circumvent these limitations, we solicited social media users to complete questionnaires online on Facebook, WhatsApp, Twitter and Instagram. Only people domiciled in Africa at the time of the survey were eligible to participate. The minimum age of consent varies across Africa in the range 12–18 (; only data involving participants aged 18 or above were considered for analysis. At the end of the data collection exercise, we received 537 (n) duly completed questionnaires. The data collection took place between 07-04-2020 and 28-06-2020. To avoid the issue of missing data, we ensured that all questions in the questionnaire were made mandatory for the respondents to answer, so that only duly completed questionnaires can be submitted. Several mandatory questions take about 8 minutes to answer; so, we believe that only genuine and dedicated respondents can endure to complete the questionnaires, guaranteeing the validity and reliability of the responses. The African nations that were represented in the survey are (number of participant(s) in parenthesis): Benin Republic (1), Burkina Faso (2), Burundi (1), Cameroon (27), Congo (3), Gambia (1), Ghana (21), Kenya (7), Nigeria (436), Rwanda (2), Senegal (22), South Africa (3), Sudan (3), Togo (4), Uganda (2), and Zambia (2). The responses from the questionnaire are summarized in Additional file 1.

There are numerical and categorical responses from the questionnaire. We coded the binary categorical responses as follows: Awareness level (0 for no full awareness and 1 for full awareness); Gender (0 for female and 1 for male); Location (0 for rural and 1 for urban). We used the dummy variable encoding method for other categorical responses taking more than two levels (education attainment, occupation, and religion). We take Awareness as the outcome variable Y and remaining as predictor variables X.

Multicollinearity is a prominent problem in regression analysis, see Alin [2]. To build a model that is void of multicollinearity, only uncorrelated predictors should be included. For the selection of predictors, we use the correlation coefficient (\(\rho\)) matrix in Fig. 1; for any two predictors having a significant correlation, only one of them is included in the model. If \(|\rho |<0.3\), we say that the correlation is negligible, see Mukaka [16]. From Fig. 1, we see that Christianity and Islam are negatively correlated (\({\widehat{\rho }}=-0.775\)); business is negatively correlated with no occupation (\({\widehat{\rho }}=-0.478\)); MSc degree, diploma certificate and secondary school are negatively correlated with BSc degree (\({\widehat{\rho }}=-0.444\), \({\widehat{\rho }}=-0.433\) and \({\widehat{\rho }}=-0.367\), respectively); traditional worshipping and Christianity are negatively correlated (with \({\widehat{\rho }}=-0.361\)); Christianity and no religion are negatively correlated (\({\widehat{\rho }}=-0.318\)). Thus, we do not include Christianity, business, diploma certificate, no religion and no occupation variables in the model. Finally, we use the variance inflation factor (VIF) to measure the strength of correlation between the selected predictor variables in the regression model. The outcome is listed in Table 1. All the VIF values in Table 1 are \(<5\); thus, they do not raise any alarm against multicollinearity.

Results, discussion and conclusions

The fitted model in Table 1 gave a residual deviance of 440.80 with 521 degrees of freedom and an associated \(p-\)value of \(0.9953915(>0.10)\). This indicates no significant evidence against the fitted model. The McFadden pseudo R-squared value of the fitted model is 0.1205170, indicating a decent fit.

In the model building process, the logistic regression model with an intercept was initially fitted to the data; but, some of the predictors that were statistically significant in the refined model without intercept in Table 1 turned out to be insignificant. This goes to show that some of the insignificant terms in the model could actually be significant in the absence of other terms due to confounding. So, we carried out a deviance analysis with predictors sequentially included in the model. The analysis of deviance in Table 2 reveals that age, location, and BSc degree are statistically significant at 0.10% level of significance; gender and being employed are statistically significant at 1.0% level of significance; number of social media accounts is statistically significant at 5.0% level of significance; MSc degree, African traditional worshipping and Buddhism are statistically significant at 10.0% level of significance; other predictors are not statistically significant at any level of significance. Hence, age, location, BSc degree, gender, employment, and the number of social media accounts are the most significant predictors for the level of awareness.

From the odds in Table 1, we can observe that for each one-unit increase in age the odds of full awareness is likely to decrease by \(9.9\times 10^{-1}\), supporting previous research by Willems and Mano [20]; being a male is likely to increase the odds of full awareness by 1.7644, not supporting previous research by Modi et al. [15]; living in a city will likely increase the odds of full awareness by 1.7121; having a BSc degree is likely to increase the odds of full awareness by 2.1268; being employed is likely to increase the odds of full awareness by 3.4008, suggesting that adequate sensitization about this pandemic was carried out in various government ministries and agencies, industries, and private cooperate organizations during the outbreak. Each one-unit increase in the number of social media accounts is likely to increase the odds of full awareness by 1.0908. Furthermore, people whose occupation is business were not expected to have full awareness, suggesting that there could be a high risk of COVID-19 contraction within different business facilities and environments since their owners/operators were less likely to ensure full compliance of the COVID-19 control and prevention protocols.

Table 1 Fitted logistic regression model
Table 2 Analysis of deviance for the logistic regression model fitted with predictors added sequentially

However, this study suggests that extensive sensitization was needed at the onset of this pandemic in Africa, particularly among different trade unions, to improve members’ awareness of the recommended practices for controlling and preventing the spread of COVID-19. Africa is arguably the most religious continent in the world (see Huffpost [13]). As such, huge progress could have been made on the prevention and control of COVID-19 if religious leaders were encouraged to take the responsibility of educating and sensitizing their members on the prevention and control routines for the COVID-19 pandemic whilst the development, approval by the appropriate regulatory agencies and the distribution of the vaccine were underway.


This study has limitations. First, it employed a convenience sampling technique with clear drawbacks. Second, it only involved social media users in some African countries. Given the poverty level in Africa, not everyone can afford the luxury of the internet on mobile devices to participate in this study. Thirdly, given that the majority of the participants are from Nigeria, the findings cannot be generalized to the whole of Africa. Lastly, this study involved multilingual participants, most of whom are citizens of some non-Anglophone countries. The majority could not participate because, the research instrument was only in the English language. Based on these limitations, future studies should consider:

  1. 1)

    Using a probability sampling technique;

  2. 2)

    Allowing participants from other groups instead of just social media users;

  3. 3)

    Using a study design that can boost the participation of eligible individuals in all the African countries;

  4. 4)

    The use of different language translations for the research instrument to encourage extensive participation.

All these improvements would ultimately result in larger sample sizes and facilitate the study’s findings’ statistical generalizability for the whole of Africa.

Availability of data and materials

The survey questionnaire, data and the \(\textsf {R}\) code used for the analysis can be obtained from the authors.


  1. Africa Center for Strategic Studies, Mapping risk factors for the spread of COVID-19 in Africa. Infographic, April 3, 2020.

  2. Alin A. Multicollinearity. Wiley Interdiscip Rev Comput Stat. 2010;2:370–4.

    Article  Google Scholar 

  3. Anderson R, Heesterbeek H, Klinkenberg D, Hollingswort T. How will country-based mitigation measures influence the course of the COVID-19 epidemic? Lancet. 2020;395:931–4.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  4. Duerksen M. Innovations needed to prevent COVID-19 from catching fire in African cities. Africa Center for Strategic Studies-Spotlight 2020. Accessed 9 Apr 2020.

  5. European Centre for Disease Prevention and Control. Guidelines for the use of non-pharmaceutical measures to delay and mitigate the impact of 2019-nCoV. ECDC Technical Report, Stockholm-2020a 2020. Accessed 24 Sep 2020.

  6. European Centre for Disease Prevention and Control. Outbreak of novel coronavirus disease 2019 (COVID-19): Increased transmission globally – fifth update. ECDC Rapid risk assessment, Stockholm-2020b 2020. Accessed 3 Mar 2020.

  7. European Centre for Disease Prevention and Control. Novel coronavirus disease 2019 (COVID-19) pandemic: Increased transmission in the EU/EEA and the UK-sixth update. ECDC rapid risk assessment, Stockholm-2020c 2020. Accessed 12 Mar 2020.

  8. European Centre for Disease Prevention and Control. The use of evidence in decision making during public health emergencies. ECDC Technical Report; Stockholm-2019 2020. Accessed 12 Mar 2020.

  9. European Centre for Disease Prevention and Control. Considerations relating to social distancing measures in response to COVID-19 – second update. ECDC Technical Report; Stockholm-2020d 2020. Accessed 12 Mar 2020.

  10. FAO IFAD UNICEF WFP WHO. The state of food security and nutrition in the world 2017. Building resilience for peace and food security. Rome, FAO 2017. Accessed 19 Apr 2020.

  11. Ghebreyesus TA. COVID-19: ‘Top priority’ must be on containment 2020. Accessed 2 Mar 2020.

  12. Hosmer DW Jr, Lemeshow S, Sturdivant RX. Applied logistic regression. New York: Wiley; 2013.

    Book  Google Scholar 

  13. Huffpost. Religion news service 2011. Accessed 12 Aug 2020.

  14. Miller A, Reandelar MJ, Fascglione K, Roumenova V, Li Y, Otazu GH. Correlation between universal BCG vaccination policy and reduced morbidity and mortality for COVID-19: Epidemiological study. Medrxiv the preprint server for health sciences 2020. Accessed 27 June 2020.

  15. Modi PD, Nair G, Uppe A, Modi J, Tuppekar B, Gharpure AS, Langade D. COVID-19 awareness among healthcare students and professionals in Mumbai metropolitan region: a questionnaire-based survey. Cureus. 2020;12:e7514.

    PubMed  PubMed Central  Google Scholar 

  16. Mukaka M. Statistics corner: a guide to appropriate use of correlation in medical research. Malawi Med J. 2012;24:69–71.

    CAS  PubMed  PubMed Central  Google Scholar 

  17. R Core Team (2020) R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna.

  18. Smith S. Managing health and economic priorities as the COVID-19 pandemic spreads through Africa. Africa Center for Strategic Studies-Spotlight 2020. Accessed 30 Mar 2020.

  19. WHO. Novel coronavirus(2019-nCoV). World Health Organization Situation Report - 8 2020. Accessed 24 Mar 2020.

  20. Willems W, Mano W. Everyday media culture in Africa: audiences and users. London: Routledge; 2019.

    Google Scholar 

  21. Williams W. COVID-19 and Africa’s displacement crisis. Africa Center for Strategic Studies-Spotlight 2020. 25 Mar 2020.

  22. World Food Programe USA. The economic impact of coronavirus could worsen food security for the world’s hungry people. World Food Programme Blog and News 2020. Accessed 11 May 2020.

Download references


The authors thank the Editor and the referee for careful reading and comments which greatly improved the paper.

Author information

Authors and Affiliations



IEO conceived the study; IEO, EA and CGA collected the data and performed the analysis; IEO, EA, CGA and SN drafted and approved the paper. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Saralees Nadarajah.

Ethics declarations

Ethical approval and consent to participate

The authors adhered to the ethics of conducting social and health research. The research protocol was approved by the Research Committee (RC) of the African Institute for Mathematical Sciences, Senegal. The research questions were non-sensitive and completely anonymized; the participants were non-vulnerable individuals, and participation was strictly voluntary and did not induce any undue psychological stress or anxiety. All the participants ticked a mandatory box to confirm their consent to participate in the survey before they were allowed to complete the questionnaire.

Consent for publication

Not applicable.

Competing interests

The authors do not have any competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Okorie, I.E., Afuecheta, E., Alaebo, C.G. et al. Socio-economic and demographic impacts on the full awareness of the methods for controlling/preventing the spread of COVID-19 among social media users in some African countries at the onset of the pandemic. BMC Res Notes 14, 331 (2021).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: