1 Introduction

The nutritional status of a child is an integral part of his physical and mental well-being (Idris et al. 2013). The nutritional status of children is particularly important because it has both short and long-term effects on the well-being of the populations and the socio-economic development of the society. Severe malnutrition in early childhood often leads to deficient in cognitive development, school achievement, economic productivity in adulthood, maternal reproductive outcome and undue pressure on health care system (De Onis and Branca 2016; Dewey and Begum 2011; Black et al. 2013).

Malnutrition among children is one of the most important causes of morbidity and mortality in the world. Nearly half of all deaths in children under 5 are attributed to under nutrition (UNICEF 2018). Previous studies revealed that under nutrition in the aggregate including fetal growth restriction, stunting, wasting and deficiencies of vitamin and zinc along with suboptimum breastfeeding is a cause of 3.1 million child deaths annually or 45% of all child deaths in 2011 (Black et al. 2013). Report by World Health Organisation (WHO) revealed that 47 million children under 5 years of age are wasted, 14.3 million are severely wasted and 14.4 million are severely stunted, while 38.3 million are obese (WHO 2021). In Nigeria, an estimated 2 million children suffer from severe acute malnutrition (SAM) in 2018 (UNICEF 2018). Moreover, Nigerian has the second highest burden of stunted children in the world, with a national prevalence rate of 32% of children under five (UNICEF 2018).

Understanding the severity of child nutritional status permits appropriate and adequate interventions in management of and addressing the issue of child malnutrition. According to WHO (WHO, 2020), malnutrition is a group of conditions in children and adults generally related to poor quality or insufficient quantity of nutrient intake, absorption or utilization. Generally, malnutrition is classified into protein-energy malnutrition resulting from deficiencies in any or all nutrients; and micronutrient deficiency resulting from a deficiency of specific micronutrients. Protein-energy malnutrition in children comes in three forms: (i) Chronic malnutrition which is a measure of height-for-age otherwise known as stunting (too short for height), (ii) Acute malnutrition which is a measure of weight-for-height known as wasting (too thing for height), and (iii) Chronic and/or acute malnutrition referred to as underweight (too thing for age) which is a measure of weight-for-age. Stunting has been found to be as a result of inadequate nutrition over a long period of time leading to retardation in linear growth. On the other hand, acute malnutrition was found to be associated with inadequate nutrition leading to rapid weight loss or failure to gain weight proportionately to height (LSHTM 2009). This has also been linked to recent episodes of some common diseases such as diarrhoea, cough, fever and acute respiratory infection among children under five especially in developing countries and in sub-Saharan Africa in particular. On the other hand, underweight is believed to result from either stunting or wasting or even both.

A number of risk factors including infection, poor environmental condition, food insecurity, recurrent acute illness, birth order, family size, demography and socio-economic factors have been previously shown to be associated with malnutrition (Ansuya et al. 2018; Ajao et al. 2010; Balogun and Yakubu 2014; Abidoye and Ihebuzor 2001; Akombi et al. 2017b). Malnutrition was found to be higher among children living in households with more sibling and inappropriate feeding practices (Abidoye and Ihebuzor 2001; Ajao et al. 2010; Balogun and Yakubu 2014). Low birth weight (LWB) is another predictive factor that is found to be associated with malnutrition (Ansuya et al. 2018). In their study, Fagbamigbe et al. (2020) showed that children with LBW and male infants are more likely to have severe acute malnutrition. A LBW baby is prone to growth failure during infancy and early childhood. Linear growth retardation in young children, on the other hand, is an indicator of chronic under nutrition and it provides an accurate marker of inequality in human development (De Onis and Branca 2016).

Although the prevalence of child malnutrition is relatively well documented, evidence on the geographical variation, bio-demographic factors affecting children malnutrition in Nigeria is limited especially considering the severity of the three anthropometric indices. Moreover, estimates derived from survey data can be affected by sample sizes taken from the different locations, and the effects of explanatory variables have not been taken into account. Model-based estimation however has a mechanism of borrowing strength from neigbouring locations to improve local estimates especially in places with relatively few observations. Previous efforts in predicting malnutrition in Nigeria have focused on ecological and areal data analysis (Balogun and Yakubu 2014; Abidoye and Ihebuzor 2001; Ajao et al. 2010). These methods give mean estimates at district level but do not capture the variability of prevalence that occurs within regions. For few that have used the Nigeria Demography Health Survey (NDHS) data, spatial effects among regions were not considered (Adekanmbi et al. 2013; Akombi et al. 2017a, b). In this study, we used Bayesian multilevel structured geo-additive models to determine how well background characteristics, socio demographic and bio-demographic covariates, as well as, trend in years determine the nutritional status of children in Nigerian. The multilevel modelling technique accounts for the hierarchical structure of the data and correct the estimated standard errors to allow for clustering of individuals within areas (Goldstein 2003).

Data and methods are presented in Sect. 2 while Sect. 3 presents the Statistical analysis with Data Analysis presented in Sect. 4. Results and discussions are presented in Sect. 5 with some concluding remarks.

2 Data and methods

Variables of interest were extracted from the Child Recode data of the 2003, 2008, 2013 and 2018 Nigeria Demographic and Health Survey (NDHS). Demographic and Health Survey (DHS) is conducted in many developing countries by The DHS Program (www.dhsprogram.com) to provide cross-sectional information on demographic and health indicators including information about maternal and child health (including their nutritional status), fertility and family planning; knowledge and current use of contraceptive methods as well as sexually transmitted diseases. The survey is designed to provide this information at national and regional level; urban and rural areas and also at state (district) level. The standard methodology with which the surveys are being carried out permits comparisons of indicators across years and the countries where it is conducted. The datasets used in this study allow us to examine trend in child nutrition in Nigeria between 2003 and 2018. (NPC [Nigeria] and ORC Macro 2004; NPC [Nigeria] and ICF Macro 2009, 2014; NPC [Nigeria] and ICF 2019). Understanding trend on child nutritional status has become an important tool that can aid the achievement of the relevant Sustainable Development Goal indicators.

The sampling frame used for the surveys were based on the Population and Housing Census of the Federal Republic of Nigeria conducted in 1991 and 2006. The primary sampling unit (PSU) referred to as cluster for the survey was defined on the basis of enumeration areas (EAs) from the census frames. The NDHS samples were based on a two-stage stratified design. At the first stage, a number of clusters were selected from the list of enumeration areas while households to participate in the survey were selected at the second stage. One of the eligibility criteria for women component of the survey is that female respondents must be in the age range 15–49 years. The response rates from the eligible women were 95.4, 96.5, 97.7 and 99.3% in 2003, 2008, 2013 and 2018 respectively. Of these women, questions on child health, morbidity and mortality were asked from those who have given birth in the five years preceding each survey years. In 2003, data were obtained on 6029 children, 2008 on 28,647 children, 2013 on 31,482 children and 2018 on 33,924 children from their mothers.

Three anthropometric indicators: height-for-age, weight-for-height and weight-for-age are commonly used in measuring child nutritional status. These can be expressed in standard deviation units (Z-scores) from the median of the reference population in accordance with the WHO Child Growth Standards (WHO Multicentre Growth Reference Study Group 2006). A child with a Z-score (from any of these three anthropometric indices) lower than \(-\)2.0 is considered to be malnourished.

2.1 Dependent variables

Stunting or short height-for-age is a sign of chronic undernutrition that reflects failure to receive adequate nutrition over a long period of time. The underlying causes of stunting are inadequate nutrition from food with nutrients that can promote growth. It could also be a possibility of recurrent infections or chronic diseases that can cause poor nutrient intake and absorption. Wasting on the other hand is referred to as low weight-for-height, a measure of acute undernutrition and represents the failure to receive adequate nutrition in the period immediately before the survey. Wasting may result from inadequate intake of food or from a recent episode of illness or infection causing weight loss. Severity of malnourishment goes a long way to depict the health outcome among under five children and their mothers.

Analysing data on nutritional status of children under five can indeed be motivated by taking cognizance of the fact that such outcomes can be classified based on the level of severity in accordance with the WHO standard definition. In this paper, the analyses considered ordinal categorical outcomes for stunting, wasting and underweight based on severity of the nutritional status in accordance with WHO definition of anthropometric indices (AI) of \(< -3.0\) (severe stunting/severe wasting/severe underweight), \(-3.0 \le\) Z-score \(< -2.0\) (as moderate stunting/wasting/underweight) and Z-score \(\ge 2.0\) (as normal). This can be represented through the variable \(Y_{ik}\) as follows:

$$\begin{aligned} Y_{ik} = {\left\{ \begin{array}{ll} 1: &{}\text {if } \text {Z-score}< -3.0 \text { SD(Severely stunted)}\\ 2: &{}\text {if } -3.0 \le \text {Z-score} < -2.0 \text { SD(Moderately stunted)}\\ 3: &{}\text {if } \text {Z-score} \ge 2.0 \text { SD(Normal)} \end{array}\right. } \end{aligned}$$
(1)

The same holds for wasting and underweight. A model that takes cognizance of this ordering is desirable. Interestingly, modelling children nutritional status rarely consider severity of malnourishment using the ordinal level outcome variable at a complex level that accounts for trend, linear fixed effects, spatial variations, nonlinear effects of metrical covariates and incorporation of random effect model which accounts for any possible unobserved heterogeneity that may exist in the data. Our approach takes credence from the flexibility of the Markov chain Monte Carlo (MCMC) sampling techniques that are incorporated into BayesX – a software for structured additive regression models (Belitz et al. 2015).

2.2 Independent variables

The independent variables explored in this study are classified under three broad categories. These are background characteristics, socio-demographics and bio-demographics (which are health related). Also, dummy variables were created that indicate the year of the surveys in order to measure any possible trend between 2003 and 2018 during which the four waves of NDHS were conducted. Table 1 presents details of the covariates explored.

3 Statistical analysis

3.1 Modelling

Suppose \(Y_{ik}\) is a random variable that indicates the nutritional status of a child as described in Eq. 1. The subscripts i and k indicate the response from the ith child living in the kth state. Consider the regression problem with \(Y_{ik}\) as outcome variable on a set of covariates of different nature given as \((Y_{ik}, X_i, Z_i, S_i, V_i)\). The intention is to explore the dependence of \(Y_{ik}\) being an ordinal categorical variable on \(X_i\) as metrical covariates consisting of mother’s age at birth of child, age of mother at first marriage/cohabitation, body mass index (BMI) of mother, and the current age of child; \({Z_i}\) as a vector of all categorical covariates; \({S_i}\) as the spatial covariate \(S_i \in \{1,2, \cdots , 37 \}\) and a further component \(V_i\) as random effects for cluster and household number where the child lived. The random effects are to explore any unobservable covariate and incorporated to assess the hierarchical nature of the data. As described in Fahrmeir and Tutz (2001), such a multi-categorical regression model can be motivated through latent variables such that the response variable y (for simplicity) is observed as an ordered categories \(1, \cdots , k\). It is postulated that y is a categorized version of a latent variable

$$\begin{aligned} U=\eta + \varepsilon \end{aligned}$$
(2)

obtained through the threshold mechanism

$$\begin{aligned} y=r, \quad \theta _{(r-1)}<U<\theta _r, \quad r = 1, \cdots , k \end{aligned}$$

with thresholds \(-\infty = \theta _0< \cdots < \theta _k =\infty\). The error term \(\varepsilon\) is assumed to have a distribution function F, and hence, it follows that y obeys a cumulative model

$$\begin{aligned} p(y\le r | \eta )= F(\theta _{r-n}), \end{aligned}$$
(3)

where \(\eta\) is the multilevel structured additive predictor which can be specified for a particular child i as

$$\begin{aligned} \eta _i = f(x_i) + f_{spat} (s_i) + \beta z_i + v_i \end{aligned}$$
(4)

From Eq. 4, \(f(x_i)\), \(f_{spat}(S_i)\), \(\beta\) and \(v_i\) represent the unknown smooth nonlinear effects of vector of metrical covariates X, the spatial effect, vector of the linear parameters for the categorical covariates and \(v_i\) is the component for the random effects respectively. To enhance identifiability, functions are centred about zero, and by implication the linear parameters includes an intercept term \(\beta _0\).

In assessing the severity of the nutritional status of the children as in our case study, each of the three AIs indicators is considered to have a three-level ordered categorical version of the latent continuous variable U described in Eq. 2. Consequently, \(\varepsilon\) is assumed to have a standard normal distribution function, that is,

$$\begin{aligned} p(y\le r | X, S, Z, v)= \Phi (\theta _r-\eta ) \end{aligned}$$

thus, yielding a cumulative probit model. Taking credence from Edwards and Thurstone (1952), cumulative models based on category boundaries or threshold techniques are well used in ordinal regression. The use of this approach for ordered outcome was documented in Adebayo (2004) in exploring geographical variations in childhood breastfeeding initiation in Nigeria.

3.2 Bayesian inference

Parameter estimation was based on Bayesian techniques that rely on MCMC samples. Consequently, all the unknown functions and parameters were considered as random variables and assigned appropriate prior distributions as follows: Non-informative independent diffuse priors were assigned to the parameters of the linear fixed effects of the categorical variables so that the estimation can be data driven like in the classical approach. For the nonlinear effect of the metrical covariates, Bayesian P-splines prior as discussed in Lang and Brezger (2004) and Brezger and Lang (2006) was assumed. This entails the estimation of the function f as a linear combination of B-splines basis function

$$\begin{aligned} p(Z)=\displaystyle \sum _{i=1} m \alpha _iB_i(Z) \end{aligned}$$

where \(B_i(Z)\) are B-splines. The coefficients \(\alpha _i\) are defined to follow a first or second order Gaussian random walk smoothness priors. A Gaussian Markov random field prior as proposed by Besag et al. (1991) and Fahrmeir and Lang (2001) was assumed for the geographical effects \(f_{spat}(s), s=1, \cdots , 37\). This is an extension of first-order random walk prior to two dimensional spatial arrays as discussed in (Rue and Held 2005). A possibility is to split the spatial effect into structured and unstructured as shown in these applications. In that case, Eq. 4 becomes

$$\begin{aligned} \eta _i = f(x_i) + f_{str} (s_i) + f_{unstr} (s_i) + \beta z_i + v_i \end{aligned}$$

The unstructured term together with the random component, \(v_i\) are considered as independent and identically distributed. The amount of smoothness in the nonlinear and spatial effects are controlled by some variance parameter for example, \(\zeta ^2\), which can be simultaneously estimated with all the unknown smooth functions by assigning a highly dispersed but proper hyperprior such that \(\zeta ^2\sim IG(a,b)\). Commonly considered hyperparameters are \(a=1\) and \(b=0.005\) or \(a=b=0.001\) (Brezger et al. 2008). However, in addition to the above, we performed some sensitivity analysis by varying the choices using \(\hbox {a}=0.001\), \(\hbox {b}=0.001\); \(\hbox {a}=0.0001\), \(\hbox {b}=0.0001\); \(\hbox {a}=0.01\), \(\hbox {b}=0.01\). The results show indistinguishable differences.

Posterior samples are drawn from the full conditionals of single or block of parameters given the rest and the data through the efficient MCMC simulations. Additional parameters U of the continuous latent variable are included in the posterior analysis of the cumulative probit model.

For the cumulative probit models, the posteriors can be based on

$$\begin{aligned} p(f,f_{spat},\tau ,\beta ,U|y)\propto p(v|U) p(U|f,f_{spat},\beta ) p(f,f_{spat}|\tau )p(\tau )p(\beta ) \end{aligned}$$
(5)

Details of the sampling schemes are discussed in the manual of BayesX (Brezger et al. 2008). The end results of the posterior given in Eq. 5 have unknown distributions which permits the use of a Gibbs sampling procedure for the MCMC simulations with efficiency guaranteed by Cholesky decomposition for band matrices (Rue 2001).

Table 1 Description of variables explored in data analyses

4 Data analysis and results

4.1 Data analyses

Data analyses were carried out in line with WHO indicators for measuring child nutritional status. In order to be able to explore any possible trend in child nutritional status for Nigeria, a merged dataset was created from 2003, 2008, 2013 and 2018 NDHS. In total, 57,897 children with complete information on the variables of interest were included in data analyses from the four waves of the surveys after data cleaning. In line with Eq. 4, models with predictor \(\eta\) were fitted for each of the three AIs. The variables were included in phases from simple to complex ones in order to assess the gains of modelling based on subsets of the variables. The complete model was specified as follows:

$$\begin{aligned} \eta _{ijk}= & {} time_{2008}+time_{2013}+time_{2018}+ \displaystyle \sum _{j=1} p f_{ijk}+f_{spat}(s_i)\nonumber \\{} & {} +male*f_{spat}(s_i)+Z_{ijk}\beta + v_{ij} \end{aligned}$$
(6)

The variables \(time_{2008}\), \(time_{2013}\) and \(time_{2018}\) are dummies created for the years 2008, 2013 and 2018 respectively with 2003 set as the reference category.

Further information on the modeling technique and other possible terms that can be considered beyond those included in this study are explained in Fahrmeir et al. (2013) In general, our model building was based on the following concepts:

$$\begin{aligned} \begin{aligned} M_0: \quad \eta _{ijk}&=time_{2008}+time_{2013}+time_{2018}\\ M_1: \quad \eta _{ijk}&=M_0+f_{str}(s_i) \\ M_2: \quad \eta _{ijk}&=M_1+\text {Background characteristics (column 'b' of Table}~1)\\ M_3: \quad \eta _{ijk}&=M_2+\text {Socio-demographic (column 'c'of Table}~1)\\ M_4: \quad \eta _{ijk}&=M_3+\text {Bio-demographics (column 'd' of Table}~1)\\ M_5: \quad \eta _{ijk}&=M_4+ r_{ij} \text { random effects of Ethnicity and Cluster Number } \& \text { unstructured spatial effect}\\ M_6: \quad \eta _{ijk}&=M_5+urban*f_{spat}(S) \\ \end{aligned} \end{aligned}$$

The interaction term in \(M_6\) is a form of a geographically weighted term that allows to assess the varying effect of living in an urban area across the states.

4.2 Results

Based on the DIC as shown in Table 4, model with the predictor \(M_6\) turns out to be the best parsimonious; hence findings based on this model shall be presented and discussed. However, we shall compare the results of the spatial effects for model \(M_1\) with the aim of understanding how much of the spatial effects can be accounted for by the inclusion of different sets of covariates. First, results of the bivariate analysis are presented in Table 2. From the bivariate analyses, findings show a significant association between chronic malnutrition (i.e. stunting) and year of study. A reasonable decline in severe chronic malnutrition from 19 percent to 13 percent between 2003 and 2018 was significantly evident. There seems to be no significant drop in moderate chronic malnutrition during the same time frame. Regarding severe acute malnutrition (wasting), findings show significant association with year of study. Findings on combination underweight (chronic and acute malnutrition) also exhibit a significant decline across the study time frame. Mother’s age at birth, literacy status, educational attainment of mothers, household wealth status and geographical locations are significantly associated with the child’s nutritional status. Children of fifth birth order, from multiple births, born to mothers who did not receive assistance at birth and delivered at somewhere different from hospital are more likely to be severely stunted, wasted or underweight. Astonishingly, both chronic and acute malnutrition (and in turn both i.e. weight–for–age) are associated with underweight mothers.

Results for the linear fixed effects with predictor in model \(M_6\) are presented in Table 3. The Table presents estimates of the posterior means and the corresponding 95% credible intervals. Theta 1 and Theta 2 included in the Table are the threshold parameters of the ordinal response variable that represents the cut-off points for the severity of malnutrition (Brezger et al. 2008). In interpreting the estimates from the cumulative probit model, positive estimates imply the AI indicator for the children tends towards the normal category and hence, the children would be less likely to have suffered from malnutrition but the reverse is the case for negative estimates. The findings indicate that compared with the base year, i.e. 2003, the children were less likely to have been stunted in 2013 and in 2018 and the estimates are significant. Male children were more likely to have been stunted when compared with female children. Children whose mothers attained at least primary level of education and those from at least poorer households were less likely to have been stunted when compared with those whose mothers had no education and from the poorest households respectively. Children from households that source water from protected sources, those with improved toilet facilities, those from Christian religious groups, those whose deliveries took place in hospital, whose mothers were working at the time of the survey, and those who were of large size at birth were less likely to have been stunted when compared with their respective reference categories. However, children from the North West region, those of first or second to fourth birth order, those whose mothers had at least one ante natal care attendance, those who were of small size at birth and those that had diarrhoea in the two weeks before the survey were more likely to have been stunted. Estimates for the other categories are not significant.

Estimates for wasting in Table 3 shows that compared with year 2003, the chances of being wasted were higher in 2008 and in 2013 but significantly lower in 2018. Children whose mothers attained higher level of education were less likely to have been stunted when compared with those who mothers had no education but estimates for the other levels of education are not significant. Children of first or second to fourth birth and those who were of large size at birth were less likely to have been wasted when compared with their respective reference categories. On the other hand, children who reside in urban areas, those from the North West region, those whose mothers attended ante natal care only once, and those who had fever in the two weeks before the survey were more likely to have been wasted. Regarding underweight, children whose mothers attained at least primary level of education, those of Islamic or Christian religion, those from at least poorer households, those whose mothers had hospital delivery and those who were of large size at birth were less likely to have been underweight but male children, those from the North West region, those whose mothers were assisted during birth, those whose mothers had at least one ante natal care attendance, children who were of small size at birth and those who had diarrhoea or fever in the two weeks before the survey were more likely to have been underweight. All other estimates are not significant.

Findings on the nonlinear effects of the metrical covariates of mother’s age at marriage and mother’s age at birth (reported in years), mother’s BMI, and child’s age reported in months on stunting, wasting and underweight for model \(M_6\) are presented in Figs. 1, 2 and 3. The estimated nonlinear effects of the metrical covariates for stunting are presented in Fig. 1a–1d. The findings for age at marriage indicate that the children became more stunted with mother’s age at marriage up to around age 18 years from where the likelihood of being stunted reduces till around age 34 years at marriage. For mother’s BMI, the results show that the likelihood that children would be stunted reduces with increase in mother’s BMI. The same holds for mother’s age at birth of the child though the decline in this case was not as sharp as the case of BMI. As for the age of the child, the results show that from age 0 to around age 20 months, the children became stunted as they grow older after which a somehow sinusoidal pattern was observed. Regarding wasting (Fig. 2a–2d), the findings indicate that the likelihood that a child will be wasted increases with advancement in mother’s age at first marriage but reduces with mother’s BMI up to around 40 kg/m2 from where the chances increase. Child’s age presents a U shape in the first two years of life indicating that between birth and age 15 months, the children had high chances of being wasted but this reduces afterward. Mother’s age at birth of the child shows that the children born to women below age 20 years have less chances of being wasted followed by a kind of stable pattern till around age 40 years. Estimates for underweight (Fig. 3a–3d) shows that with mother’s age at marriage, the chances of the child being underweight are some who stable through the ages while, like for wasting, underweight reduces with mother’s BMI up to around 40 kg/m2. The result for child’s age follows the pattern obtained for stunting revealing that the level of underweight increases sharply with advancement in age but with a flat pattern between ages 13 and 27 months followed by a slight rise. Mother’s age at birth shows that up to around age 20 months, the chances of being underweight reduces followed by a flatten pattern till around age 30 months.

Fig. 1
figure 1

Nonlinear effects of a Respondent’s age at marriage, b Respondent’s Body Mass Index, c Child’s Age and d Mother’s age at the birth of child for Height-for-Age (Stunting)

Fig. 2
figure 2

Nonlinear effects of a Respondent’s age at marriage, b Respondent’s Body Mass Index, c Child’s Age and d Mother’s age at the birth of child for Weight-for-Height (Wasting)

Fig. 3
figure 3

Nonlinear effects of a Respondent’s age at marriage, b Respondent’s Body Mass Index, c Child’s Age and d Mother’s age at the birth of child for Weight-for-Age (Underweight)

Fig. 4
figure 4

Maps of Nigeria showing the estimates of the spatial effects for height-for-age (Stunting) from \(M_1\) indicating: a Unstructured effect, b its location of the corresponding 95% credible intervals, c structured effect, d its location of the corresponding 95% credible intervals, e sum of structured and unstructured, and f its location of the corresponding 95% credible intervals

Fig. 5
figure 5

Maps of Nigeria showing the estimates of the spatial effects for weight-for-height (wasting) from \(M_1\) indicating: a Unstructured effect, b its location of the corresponding 95% credible intervals, c structured effect, d its location of the corresponding 95% credible intervals, e sum of structured and unstructured, and f its location of the corresponding 95% credible intervals

Fig. 6
figure 6

Maps of Nigeria showing the estimates of the spatial effects for weight-for-age (underweight) from \(M_1\) indicating: a Unstructured effect, b its location of the corresponding 95% credible intervals, c structured effect, d its location of the corresponding 95% credible intervals, e sum of structured and unstructured, and f its location of the corresponding 95% credible intervals

Results of the spatial effects for the three indicators obtained from model with predictor M1 are presented in Figs. 4, 5 and 6. The coloured maps are the posterior spatial effects while the maps in white, gray and black are those for the locations of the 95% credible intervals which are used in deciding the significance of the spatial effects. White colour signifies significantly higher estimate (the 95% credible interval strictly lie on the positive side), black colour signifies significantly lower estimate (the 95% credible interval strictly lie on the negative side), while estimates for states shaded in gray colour are not significant (the 95% credible interval include zero). The left panels for all the plots are the unstructured random effects while the structured spatial effects are presented in the right panels. Whereas the estimates for the unstructured random effects are not significant for all the indicators, the structured effects that take the neighbourhood structure of the states into account present a north–south divide for the three indicators. For stunting, lower estimates were obtained virtually in all the northern states; indicating that children from such states have significantly higher chances of being stunted. It is noteworthy that none of the states in any of the three southern regions has significantly higher chances of the children being stunted. Specifically, children from all the states in the North West geopolitical zone (Sokoto, Kebbi, Zamfara, Kaduna, Kano, Jigawa, and Katsina); in Borno, Yobe, Bauchi, Gombe, and Taraba in the North East zone; Niger, and Plateau in the North Central were more likely to have been stunted. On the other hand, except for Adamawa, Kwara, Nasarawa and Oyo states whose estimates are not significant, children from all the other states were less likely to have been stunted.

Estimates of spatial effects for wasting (Fig. 5c and  5d)) show that children from Kebbi, Sokoto, Borno, Yobe, Adamawa, Bauchi, Jigawa, Kano, Katsina and Kaduna were more likely to have been stunted but those from Ondo, Ekiti, Kogi, Benue, Enugu, Ebonyi, Abia, Bayelsa and Rivers were less likely. Results for underweight are similar to those for stunting showing that except for Taraba, Plateau, Nasarawa and Kwara (in the north), and Oyo and Ogun states where the estimates are not significant, children from all the other northern states were more likely to have been underweight but those from the other southern states were less likely.

Fig. 7
figure 7

Maps of Nigeria showing the estimates of the spatial effects for height-for-age (stunting) from \(M_6\) indicating: a Unstructured effect, b its location of the corresponding 95% credible intervals, c structured effect, d its location of the corresponding 95% credible intervals, e sum of structured and unstructured, and f its location of the corresponding 95% credible intervals

Fig. 8
figure 8

Maps of Nigeria showing the estimates of the spatial effects for weight-for-height (wasting) from \(M_6\) indicating: a Unstructured effect, b its location of the corresponding 95% credible intervals, c structured effect, d its location of the corresponding 95% credible intervals, e sum of structured and unstructured, and f its location of the corresponding 95% credible intervals

Fig. 9
figure 9

Maps of Nigeria showing the estimates of the spatial effects for weight-for-age (underweight) from \(M_6\) indicating: a Unstructured effect, b its location of the corresponding 95% credible intervals, c structured effect, d its location of the corresponding 95% credible intervals, (e) sum of structured and unstructured, and f its location of the corresponding 95% credible intervals

Fig. 10
figure 10

Map of spatially varying effect of urban based on model \(M_6\) for a stunting b its location of the 95% credible intervals; c wasting d its location of the 95% credible intervals; e stunting f its location of the 95% credible intervals

In comparison to model \(M_1\), estimates of the spatial effects of model \(M_6\) which is the model with the least DIC and supposedly the most parsimonious one, findings of the spatial effects show considerable difference compared with model \(M_1\) (Figs. 7, 8 and 9). By implication, adjusting for the sets of covariates as described earlier has helped in explaining some geographical variations in child malnutrition in Nigeria. For instance, Kwara state that has insignificant spatial variations in model \(M_1\) now turns out to be significantly associated to be stunted. Again, under five children Sokoto, Zamfara and Adamawa states that were associated to be stunted are now significantly associated with better height-for-age (normal). Apart from Kebbi state in North West and Bauchi, Gombe and Yobe states in North East that are still significantly associated with stunted children even after controlling for various covariates, the significantly negative effects that was obvious in model \(M_1\) have now become insignificant. On wasting, inclusion of different sets of covariates in model\(M_6\) has reduced the geographical variations in estimates of wasting. While Zamfara state with insignificant spatial variation in model \(M_1\) became positively significant, the negatively significant effect in model \(M_1\) are now insignificant in Sokoto, Katsina, Kaduna and Jigawa states in North West, Adamawa and Gombe states in North East. The findings show insignificant estimates in all the states in southern part apart from Bayelsa and Ebonyi states with significantly better nourished children according to weight-for-height. The results of spatial effects for underweight as presented in Fig. 9 for model \(M_6\) compared with that in Fig. 6 for model \(M_1\) present a somewhat different results. Taraba state with insignificant spatial effect in model \(M_1\) is now associated with improved child malnutrition status based on weight-for-age index. Similarly Zamfara state with significantly poor nutritional status based on weight-for-age index now has significantly improved status. Only children from Bauchi and Yobe states in North East, and Kebbi in North West as well as Niger state in North Central are still significantly associated with poor nutritional status according to weight-for-age.

Findings from the geographically weighted component of model \(M_6\) reveal no spatial variability in children height-for-age but for weight-for-height and weight-for-age. Figure 10a–f presents findings on geographically varying effect of urbanization. Generally urbanization has negative impact on children’s weight-for-height in the country but only in Oyo and Kano states with regards to child’s nutritional status based on underweight.

5 Discussion of results and conclusion

5.1 Discussion

Malnutrition has continued to remain a major public health issue in Nigeria and young children remain the major victims. Its determinants interact at different degrees to affect these children. Understanding the severity of malnutrition in children will to a large extent assist policy makers in designing appropriate intervention strategies. Policies premised on this will also enhance effective utilization of the scarce resources especially in the era of economic meltdown and global pandemic of corona virus that has raged devastating effect on the global communities. Benefits of proper and appropriate infant and youth feeding practices include but not limited to immune boosting to be able to fight several infectious diseases including the dreaded corona virus. Thus, it is important, for programmatic purposes, to continue to identify the important risk factors and geographical variations especially in a country with massive variations in cultural belief and socioeconomic status of its populace. This study, therefore, analyses undernutrition indicators among young children in Nigeria pooling data from four waves of the NDHS. The rationale was to identify spatial locations with high and low risks of malnutrition and to quantify the variations among important determinants in Nigeria. Using a cumulative probit model that extends the predictor to account for different categories of variables, the study identified striking north–south divide in the three nutritional indicators indicating that children from virtually all the northern states of Nigeria have higher chances of suffering from malnutrition. A programme to address the nutritional imbalance needs to take to account the wide variations in its design.

Evidently, significant spatial variations and trend were noticed on the three anthropometric indices among under five children in Nigeria. While some of these variations can be explained by the included covariates, it is still obvious that there are some residual spatial variations. The observed variations in the malnutrition indicators point to the existence of other important factors not covered by the survey that drive the nutritional status of children at different locations in the country. For instance, studies have revealed that there are cultural and religious beliefs in parts of the country that limit the freedom of women, who are the major care givers for children, on issues that have to do with taking decisions regarding their health and those of their children (Babalola and Fatusi 2009; Gayawan 2014). A 2015 report has it that two out of every three cases of acute malnutrition in northern Nigeria are unable to access treatment (ACF International and Nigeria 2015). Further, management services of acute malnutrition are unevenly spread across the country with some states offering the services in only half of the Local Government Areas particularly those concentrated in urban areas while the rural areas, where the majority of the populace reside, are left without the services (ACF International and Nigeria 2015). Also, a decomposition analysis of some determinants of malnutrition among young children in northern Nigeria and other parts of the country found that the effects of the same determinants act in different form in accelerating or retarding the linear growth of the young children thus highlighting the heterogeneous impact of the determinants (Amare et al. 2018). Consequently, a local solution that fits the specific needs of each part of the country needs to be designed in addressing the issue of malnutrition among children as, with existing evidence, solutions that work on southern part of the country, for instance, may not be appropriate if replicated in northern states.

It is not a gainsaying that maternal educational attainment plays a vital role in enhancing both maternal and child’s health as obtained from the three indicators considered. Educated women would understand the proper preventive and curative measures for their children, and where the needs arises, they would be in better position to express the needs of their children to medical experts than the uneducated women would do. This findings show consistency with several studies from other developing countries (Yadav et al. 2015; Pongou et al. 2006). Fagbamigbe et al. (2020) emphasized the effect of decomposition of educational inequalities in their study on severe acute malnutrition. The same explanation could hold for children from wealthy households as this offers adequate resources to cater for the needs of the children even though our findings show that children from wealthy households are associated with improved nutritional status of height-for-age and weight-for-age but not for weight-for-height. We also found children of working-women to be less likely to be stunted. These findings strengthen the need for women empowerment as a means of ensuring the wellbeing of their children since they are the ones often in custodians of their kids.

While the positive effect of parity or birth order was significant on wasting, reverse is the case for stunting and underweight. Multiple children at birth are negatively associated with the three anthropometric indices. Direct association was evident on child’s weight at birth with stunting. While children born as larger than average at birth are associated with improved nutritional status, their counterparts born as smaller than average are known to have worse nutritional status or malnourished. Analysis of DHS data from Zimbabwe and Malawi has provided evidence that the growth of low birth weight babies are well behind those of normal weight babies and that significant length difference are obvious at about twelve months of age (Mbuya et al. 2010; Ntenda 2019). In Indonesia, low birth weight was found to be the most dominant predictor associated with stunting (Aryastami et al. 2007). Episodes of diarrhoea and fever two weeks prior the survey are negatively and significantly associated with nutritional status. While children with diarrhoea are more likely to be stunted and underweight, those who had fever within the same time frame are likely to be wasted and underweight. Episode of illnesses definitely affects nutritional intake of children. The synergies between illnesses and nutrition are such that appetite for nutrition is supressed when a child suffers from an illness and nutritional deficiency, on the other hand, increases the child’s susceptibility to illness. Thus, preventive measures such as immunization and sanitation need to be reinforced in the country while health institutions are strengthened throughout the country to be able to cater for the needs of the populace particularly young children and pregnant women.

The study found younger age at marriage/cohabitation particularly below 18 years of age to be associated with stunted children. This finding might be expected because young mothers often lack the requisite knowledge of child care practices. A study in Ghana found that children of teenage mothers were about 8 times more likely to be stunted and 13 times more likely to be underweight when compared with those of adult mothers (Wemakor et al. 2018). Thus, it is imperative to reinforce the implementation of Child Right Act in order to further prevent teenage childbearing while children of teen mothers should be identified and assisted with nutritional and health interventions. The deteriorating nutritional status of the children as the advance in age could be associated with weaning and introduction of supplementary foods. Some of these foods are prepared in unhygienic conditions and since the immune systems of these children are still tender, they tend to be susceptible to various infections which subsequently reduce their food intake (Gayawan et al. 2019).

5.2 Conclusion

We employed multilevel structured additive regression to model the severity of malnutrition in Nigeria with the aim of understanding possible associated risk factors. Data from the Nigeria Demographic and Health Survey of 2003, 2008, 2013 and 2018 are used with the aim of understanding any spatio-temporal variations that may be present. The multilevel approach revealed that there are still some unexplained heterogeneity in understanding child nutritional issues in Nigeria. Findings from this study show that there are some puzzles to be unravelled as regards child malnutrition in Nigeria especially as the variations across the states persist after accounting for some observed variables. It is anticipated that further research beyond cross-sectional study may be employed to unravel the puzzle. Nigeria needs to intensify its efforts at ensuring that the SDGs 2 and 3 on child nutrition and health are accomplished. Knowing fully that malnutrition is one of the leading causes of childhood death and has permanent consequences for cognitive development, school attendance, economic productivity in adulthood and maternal reproductive outcome. Developing state-specific interventions should be given consideration since there still exists strong spatial correlations of associated risk factors of under five malnutrition. This can assist in prudent utilization of the scarce resources more importantly that the country depends mostly on donor-funded projects.

Table 2 Results of bivariate analyses of the dependent variables and the covariates using Pearson chi-square p-values
Table 3 Posterior means and 95% credible intervals for the estimated covariates for stunting and underweight for model \(M_6\)
Table 4 Model diagnostics