Introduction

Cognitive development is the growth and maturation of thought processes [1]. One of the most employed approaches to understand cognitive development is those explored by Piaget [2], which defined cognitive development as a continuous process starting with the sensorimotor stage (birth to approximately 2 years of age) and ending with the formal operation stage (around 11 and 20 years of age). These periods of time are indicative, and one of the most interesting periods is the formal operations stage (7–11 years of age) when children are less egocentric and more focused on tasks and capable of solving complex problems [2, 3]. Socioeconomic position (SEP) amplifies differences in child cognitive development [4] and has been traditionally measured via social class, education level, or/and employment status [5].

The political agenda of the European Union (EU) has provided the At Risk of Poverty or Social Exclusion (AROPE) rate [6], a useful multidimensional tool to compare cohort samples consisting of the general population of European countries. However, the AROPE indicator includes self-reported family income, which could lead to biased responses [7]. Family income is not easy to measure, and the total income of a family should be considered only after tax deductions and social transfers standardised by household size and composition (total disposable income) [8]. Total disposable income varies among households, and its calculation could be useful to estimate family investment. The Equivalised Household Income Indicator (EHII) [9] overcame some of the difficulties deriving from total disposable income with data from the European Statistics on Income and Living Conditions (EU-SILC) [10] and the characteristics of the study participants.

In addition to the potential effects of SEP, events occurring within the family context could influence cognitive development [11]. The ecological systems theory [12] delves into family context and its effect on child development. This theory emphasises the interactive nature of child development that takes place based on regular relations with a consistent pattern and describes several nested layers around the child. The outer layer (exosystem) is where a society’s political, social, and economic characteristics are placed. Between the outer layer and the child, there are smaller systems (microsystems, such as family, friends, and school, among others) and the bonds between them (mesosystem), which jointly condition the effect of external layers [11, 12] on cognitive development.

Families with greater social vulnerability (those with less income, lower social class, or education) spend less time and resources on their children’s education, engage in fewer activities [13], and provide less and poorer cognitive and socioemotional scaffolding [14]. Scaffolding is defined as the intentional guidance and support offered by parents to their children in a specific task adjusting to their level of development [15]; a lack of sensitive scaffolding may result in a less stimulating context for cognitive development [16,17,18,19]. This family dynamic and the perception of the quality of the neighbourhood wherein the family is located [17, 20] are considered family investments [19]. Parents also establish practices to foster the child’s socioemotional scaffolding, which is conceptualised as the ability to apply the knowledge, attitudes, and skills necessary to understand and regulate emotions and set and achieve positive personal and academic goals [21]. It is crucial for critical brain development and emerging cognitive ability [22, 23].

Economic resources and cognitive and socioemotional scaffolding are transmitted through parenting (the attitudes and practices that parents deploy to care for their children) [20, 24, 25]. Parenting is influenced by perceptions and beliefs about parenting itself [24, 26] and the level of parental stress [27, 28]. Both factors seem to be involved in the family stress model, which shows that more stressed parents have greater difficulties in providing good-quality cognitive and socioemotional scaffolding [29] and, subsequently, promoting cognition [28].

In previous works, we explored SEP indicators (parental social class, education, and employment) and their relation to child cognitive development at 5 years of age [30], and also the effect of AROPE and family context on children’s mental health [7]. However, up to date, no study has compared classic SEP indicators (social class, parental education, and employment), the EU AROPE, and the EHII exploring their individual effect on child cognition, in a family context model. The aim of this work is novel and fourfold: (a) to assess the relationship of indicators reflecting different facets of SEP and cognitive development in formal operations stage (at 7 and 11 years of age) in the Gipuzkoa and Valencia cohorts, respectively; (b) to analyse the association between SEP indicators and family context; (c) to analyse the relationship between family context and cognitive development; and (d) to estimate the potential mediating role of family context in the relationship between SEP and cognitive development.

Methods

Study design and population

The INMA study is a Spanish population-based mother-and-child multicentre cohort study set up in 2003 and composed of seven cohorts (Ribera d’Ebre, Granada, Menorca, Valencia, Sabadell, Asturias, and Gipuzkoa). Our study uses data from INMA Valencia and Gipuzkoa. Recruitment and subsequent procedures are described elsewhere [31]. Pregnant women were recruited during their first prenatal visit to their reference hospital before week 13 of gestation. The inclusion criteria were at least 16 years of age, 10–13 weeks of gestation, singleton pregnancy, intention of undergoing follow-up and delivery at their reference centre, and no communication impediment. In total, 855 women from Valencia (between November 2003 and June 2005) and 638 from Gipuzkoa (May 2006–February 2008) were recruited. Follow-up visits and sample evolution are described in Fig. 1. Cohorts were approved by local institutional ethical review boards, and participants gave their consent. This study conforms to the principles embodied in the Declaration of Helsinki.

Fig. 1
figure 1

Numerosity and follow-up visits

Exposure variables

Standard measurements of socioeconomic position

Education level, social class, and employment status were collected by interviewer at pregnancy for both parents who agreed to participate. The choice of these variables was based on the typical recommendations for measuring socioeconomic position in birth cohort studies [5]. The employment of these variables is shared by most epidemiological studies, which allows comparability with the present work. No single-parent family was declared during pregnancy.

Education level was defined as the highest level completed and classified with the International Standard Classification of Education 1997 (ISCED-97): up to primary (2C)/secondary (2A, 2B)/university (3 or higher). A combined variable for education of both parents was created based on if they were highly educated (having a university degree): (i) both parents, (ii) one, and (iii) none.

Social class was defined using an adaptation of the National Occupations Classification update (CNO-94) [32]. If a parent was unemployed when interviewed, the most frequent occupation of the last 10 years was considered. A combined variable for social class was elaborated, considering the highest social class of both parents, with the following categories: (i) highest (I + II), (ii) middle (III), and (iii) lowest (IV + V). For mediation analyses, to allow comparisons, the first and second categories were collapsed and compared to the lowest social class, which was equivalent to manual workers.

Employment status was defined as being employed, unemployed, or other situations (e.g. homemaker, student, retired). A combined variable for employment status of both parents was elaborated according to whether both were working or not.

The equivalised household income indicator (EHII)

The EHII is a socioeconomic indicator available for several birth cohort study members of the EU Child Cohort Network [33] and is a measure of total disposable household income—the sum of personal and household income of all the members of the household minus taxes—standardised for household size and composition. The EHII is an estimation of the standardised (for household size and composition) total disposable household income, obtained using EU-SILC data of 2011 and INMA data [9]. It was calculated for the pregnancy period and categorised according to the tertile of the 2011 Spanish EU-SILC [10] distribution of the equivalised total disposable income as (i) highest, (ii) middle, and (iii) lowest.

AROPE indicators

AROPE indicators were adopted by the European Union to monitor situations of extreme deprivation such as poverty and social exclusion. These indicators were employed in the present analysis to allow comparisons with classical indicators but also with EU-SILC statistics on AROPE [34] and to check if critical socioeconomic situations in middle childhood had an effect on cognitive development. They were assessed by structured questionnaires self-completed by parents in the 7- and 11-year follow-up visits of the Gipuzkoa and Valencia cohorts, respectively. Three dichotomous sub-indicators were calculated for each household [35], classifying them as at risk (vs. no risk) according to the following criteria:

  1. 1.

    Low work intensity (LWI): working < 20% of available hours of their working-age members the last year

  2. 2.

    Risk of poverty (RP): having < 60% of Spanish median income per consumption unit in the previous year

  3. 3.

    Risk of material deprivation (MD): lacking ≥ 3 necessary items from a list of 9 [30]

At Risk of Poverty or Social Exclusion (AROPE) [34] were those households fulfilling at least one of the three previous sub-indicators (LWI, RP, or MD).

Outcome variable

A computerised version of Raven’s Coloured Progressive Matrices [36] was applied by a trained professional when children were aged 7 years in Gipuzkoa, and 11 in Valencia. It is a non-verbal assessment of fluid intelligence for people over 5 years of age and contains 36 items. Each item is an abstract pattern with a missing piece, the task consists of pinpointing the relationship between the elements of the system and solving the proposed problem [37]. It has strong construct validity and high discriminant validity [38]. In this analysis, we employed the number of items correctly answered by each participant (range 0–36).

Potential mediators

At the follow-up visits of 7 (Gipuzkoa) and 11 years of age (Valencia), parents answered the Haezi-Etxadi Family Assessment Scale 7–11 (HEFAS 7–11) questionnaire, a self-reported measurement of family context and parenting skills. An exploratory and confirmatory factor analysis was performed including participants from both cohorts and five subscales were defined: promotion of cognitive and linguistic development (1. Cognitive), promotion of social and emotional development (2. Emotional), organisation of the physical environment and social context (3. Organisation), parental stress and conflict (4. Stress), and parental profile fostering child development (5. Parenting) (see Supporting Information Table 1 for further information). The subscales have good internal consistency, are independent between them, and assess a wide range of family context and parenting variables in 85 Likert-type items. Weighted scores were employed (ranges 16.76–100) for comparisons; higher scores imply higher quality of family context [39].

Table 1 Descriptive analysis of exposures, confounders, outcome, and potential mediators, stratified by cohort

Confounders

A full set of a priori confounders was considered for fully adjusted models: maternal parity, maternal history of pre-pregnancy anxiety or depression (reported by the mother as having a previous diagnosis), parental country of origin, and age were reported in pregnancy and collected in a questionnaire by a trained interviewer. Maternal intelligence was measured with the similarities subtest of the Wechsler Adult Intelligence Scale (WAIS-III) when the child was 5 years old [40]. Other family variables were collected by questionnaire at different time points, including main care provider (child age: 2 years), number of siblings (4–5 years), and maternal cohabitation (7–11 years).

Analysis

For descriptive analyses, frequencies and percentages were used for categorical variables, while means and standard deviations were used for continuous variables. The present analysis was planned in two parts: regression models and mediation analysis. Regression models explored the following three associations: (a) SEP-cognitive development, (b) SEP-family context, and (c) family context-cognitive development. Linear regression models were employed, considering that our response variable and mediating variables were continuous variables. An analysis of the residuals was carried out, and it was observed that the assumptions were met to apply a linear regression. To assess the SEP-cognitive development relationship, three models were developed: (i) minimally adjusted for age, sex, and cohort; (ii) fully adjusted for confounders collected in pregnancy and maternal intelligence; and (iii) sensitivity analysis performed only for AROPE indicators was additionally adjusted for main care provider, number of siblings, and maternal cohabitation. To assess the associations of SEP-family context and family context-cognitive development, models were adjusted for confounders measured during pregnancy and maternal intelligence.

Mediation assessment was performed following the theoretical framework described by Bronfenbrenner [12] and further adapted to public health context by Pearce and collaborators [11]. According to this framework, SEP may have an effect on family context, and this environment may, in turn, have an effect on child development. Considering this, we employed a counterfactual mediation approach using the imputation method. Assumptions in our model are those standard of the counterfactual mediation approach [41, 42]. In Fig. 2 the directed acyclic diagram (DAG) describes the causal model, in which exposure (SEP), mediator (family context), and outcome (cognitive development) are drawn in squares, and direct and mediating pathways in bold arrows. Confounders are represented in circles, and their relation to the principal variables is pictured in plain arrows. Determinants of the outcome (sex and age) are placed in rounded squares and their relation to the outcome is specified in white arrows. Natural conditional effects were provided for single (using only one subscale at a time as a mediator for each model) and multiple mediator models (modelling multiple subscales at the same time). Mediation was further adjusted for the confounders of the fully adjusted models.

Fig. 2
figure 2

Directed acyclic graph for socioeconomic position, family context, and cognitive development

In all analyses, we explored the potential modification effects by sex and cohort; however, we did not find interactions by any of these variables. Missing data at baseline were treated using a complete case approach. To handle sample attrition, we used the inverse probability of participation weighting method. In particular, we fitted a logistic regression model with participation at follow-up as dependent variable and family social class, family education level, family employment status, family structure, equivalized household income indicator, child’s sex, maternal country of origin, parity, maternal age, smoking status at pregnancy, and maternal history of anxiety or depression as predictors of participation and derived the propensity stabilized weights. We then performed weighted regressions to derive the associational estimates of interest. Statistical analyses were performed with IBM SPSS Statistics (v.26), R and RStudio (v.4.1.3 and 2022.02.3 + 492, respectively), using the MASS, haven, foreign, ggplot2, and medflex packages. Figures 1 and 2 were designed with draw.io.

Results

Descriptive analysis

The study sample included 394 and 382 children from Gipuzkoa and Valencia, respectively. Regarding SEP indicators (Table 1), the family social class distribution was different across cohorts, with half of the Gipuzkoa sample being in the highest social class, while for Valencia, this category represented 30%. Regarding education, the most frequent situations were only one highly educated parent in Gipuzkoa (43%) and none in Valencia (61%). In most cases, both parents were employed. Families were mostly classified as being in the highest or middle tertile of the EHII, with few presenting AROPE. Considering all these socioeconomic characteristics, Valencia had a more deprived profile than Gipuzkoa.

Maternal intelligence was similar in both cohorts; most families were biparental, from parents born in Spain and mothers with no previous history of maternal depression (94.5%) or anxiety (91.5%). Most parents were 30–35 years old during pregnancy and, also, in most cases, participant children were the firstborns of two siblings. The most frequent main care provider was the mother, and 51% of children were female (Table 1). Considering cognitive development, cohorts presented similar mean values. Most of the HEFAS 7–11 scores differed between cohorts, with the Valencia cohort presenting higher mean scores (richer family context) (Table 1).

SEP and cognitive development

The relationships between SEP indicators and Raven’s CPM are represented in Fig. 3 and Supporting Table 2. Family social class (B[95%CI]) (middle vs. highest: − 0.05 [− 0.82, 0.73]), (lowest vs. highest: − 0.86 [− 1.53, − 0.18]), family education (one vs. both highly educated: − 1.08 [− 1.94, 0.22]), (none vs. both highly educated: − 0.96 [− 1.79, − 0.13]); and EHII (middle vs. highest: − 0.35 [− 0.98, 0.29]), (lowest vs. highest: − 1.00 [− 2.14, 0.14]) presented a social gradient in the minimally adjusted models, showing lower cognitive scores in more socioeconomically deprived families. Having at least one parent unemployed was also linked to lower cognitive scores. AROPE, risk of poverty or material deprivation showed a similar negative association although with 95%CI crossing the null value. The adjustment for confounders reduced the magnitude of the associations; however, the direction did not change for most SEP exposures, while for AROPE and risk of poverty were close to 0. In the adjusted models, the association of material deprivation remained similar to the minimally adjusted models. Sensitivity analyses did not greatly change the results for AROPE indicators when compared to the fully adjusted models. No modification effect of sex or cohort was found.

Fig. 3
figure 3

Minimal, adjusted, and sensitivity models

Table 2 Natural conditional effects for mediation models

SEP and family context

Figure 4 and Supporting Table 3 show the relationship between SEP indicators and family context. Subscale 1. Cognitive presents similar trends to those observed for cognitive scores, being inversely related to most SEP indicators, including family social class (middle vs. highest: − 2.91 [− 5.37, − 0.45]), (lowest vs. highest: − 4.79 [− 7.07, − 2.51]). There were no associations with SEP in the case of Subscales 2. Emotional and 3. Organisation. For Subscale 4. Stress, all SEP indicators show that more deprived families reported lower family context scores. This was particularly clear for EHII (middle vs. highest: − 1.45 [− 3.19, 0.28]) (lowest vs. highest: − 3.88 [− 7.10, − 0.66]), AROPE (− 2.22 [− 4.68, 0.25]), risk of poverty (− 2.87 [− 5.60, − 0.14]), low work intensity (− 6.24 [− 10.39, − 2.09]), and material deprivation (− 4.12[− 7.82, − 0.41]). The negative associations of all SEP indicators were particularly strong with Subscale 5. Parenting.

Fig. 4
figure 4

Sep relation to HEFAS 7–11

Family context and cognitive development

Figure 5 shows the relation between HEFAS 7–11 and Raven’s CPM. Subscales. 1. Cognitive (0.03 [0.00, 0.05]), 4. Stress (0.03 [− 0.01, 0.06]), and 5. Parenting (0.05 [0.02, 0.09]) were more strongly associated with Raven’s CPM, and Subscales 2. Emotional and 3. Organisation did not show an association with child cognition.

Fig. 5
figure 5

HEFAS 7–11 subscales and Raven’s CPM

Mediation analysis

For mediation analysis, we selected the SEP indicator presenting the strongest association with cognitive development (family social class), and as mediators, the family context subscales associated to family social class and cognitive development (see Figs. 3 and 4 for more detail: Subscales 1. Cognitive, 4. Stress, and 5. Parenting). Natural conditional total, direct, and indirect effects are described for single and multiple mediations in Table 2. In the single mediation analysis, Subscale 1. Cognitive, presented the following estimates: direct effect was (B [95%CI]) (− 0.62 [− 0.96, 0.71]), and indirect effect was (− 0.06 [− 0.16, 0.03]). This subscale alone mediated up to 9.2% of the relationship between social class and Raven’s CPM. The single mediation for Subscale 4. Stress presented similar estimates (indirect effect (− 0.08 [− 0.19, 0.08])), mediating 5.8% of the SEP-child cognition effect. The percentage total effect of family social class on child cognition mediated by Subscale 5. Parenting was 19.8% (indirect effect (− 0.14 [− 0.29, -0.03])). The indirect joint effect with all three Subscales considered was (− 0.18 [− 0.40, − 0.03]), mediating 24.3% of the total effect. In all analyses, we explored the potential modification effects by sex and cohort, however, we did not find interactions by any of these variables.

Discussion

This study explored the role of diverse SEP indicators in child cognitive development, considering standard measurements (such as social class, education, and employment), AROPE, and EHII. We further examined the role of family interactions as potential mediators between SEP and child cognitive development. Overall, we observed an inverse association between socioeconomic deprivation and cognitive development. The most consistent associations were observed for family social class. In addition, our findings suggest that in the relation between SEP and cognitive development, family context might play a relevant role. This mediation was especially strong in the case of parenting, and we found that cognitive scaffolding, parental stress, and parenting could jointly mediate 24.3% of this relationship.

We first aimed to assess the relationship between SEP indicators and cognitive development. Children from more economically deprived backgrounds scored lower in cognitive development. This was particularly evident for family social class, parental education, and employment, as well as for EHII, while for AROPE, the lower cognitive development scores presented a 95%CI crossing the null value. A Chinese work also separately explored different ways of measuring SEP, finding that they were directly related to cognitive development. However, among all SEP indicators examined, only education and occupation status (and not income) remained associated with child cognitive development when a family investment mediation path was tested [20]. Another very recent work from ABCD study analysing interactions between the environment, brain, and cognition and behaviour in children tested the effect of several predictors (more than 40 comprising several areas) and found that family income and caregiver education presented the greatest influence on brain’s functional network connectivity. This was especially important in hippocampus and thalamus, which are involved in long-term memory and perception-cognition processes, respectively, and therefore, the consolidation of cognitive development [43]. A recent study with US sample, presented a strong positive association of SEP and cognition, and almost a null effect of social mobility on cognitive development [44]. The most feasible explanation for this is known as the latency model, this is that the exposure to low SEP in critical windows of development could impair cognitive functioning [45].

Different socioeconomic indicators present facets of overall socioeconomic well-being and thus could have diverse effects on cognitive development. For example, employment status affects income but also time, lifestyle, and engagement in unhealthy habits [5]. Occupational social class may define the time schedule [32], risk exposures, ease of reconciling family and work life, and social prestige [46] and provide a chance of ranking individuals according to their income [32]. Total disposable household income, a direct measure of material resources, was estimated via the EHII, which showed associations similar to those of family social class, both with cognitive development and family context. AROPE allows us to compare participants with the general population periodically monitored by this index [34]. In the present work, we adjusted our analyses for a priori confounders associated with AROPE in a previous work [35], and which could be overshadowing the effect of AROPE. It is noteworthy that AROPE and child cognitive development were measured cross-sectionally and, as noted by some previous works, SEP is less associated with cognitive development [19, 20] if measured during childhood instead of pregnancy.

Furthermore, parental education, a measure of intellectual resources, was shown to be positively related to cognitive and language development [47]. It is not easy to disentangle the independent effect of each component of socioeconomic well-being as they tend to be highly correlated, providing slightly different facets of the same concept. We were also not able to clearly discern between the role of material and intellectual resources; however, given the consistent direction and magnitude of estimates for different SEP indicators, our results suggest that both types of resources are considered proxies of family investment and seem to play a role in child cognitive development [48].

Our second objective was to analyse the relationship between SEP indicators and family context. We observed that all SEP indicators considered were strongly associated with some family context subscales, finding that poorer SEP related to a less positive family context (less stimulating cognitive and linguistic context, higher stress and conflict, and less parental promotion of child development). A recent publication also found similar results, with better cognitive development as socioeconomic status increased [49]. Previous works observed that more highly educated parents provide contingent scaffolding [14]. A work examining the association of several SEP indicators with attitudes towards parental scaffolding (provision of materials, organised activities, helping with homework) also found a positive association [20]. Parental stress has also been previously linked to scarcity of resources [28]; one example is a research finding that past, but not current material hardship, increased stress, decreased couple relationship quality, and could provoke further generalised anxiety disorders [50]. Parents with a better SEP are considered to be more aware and involved in their children’s development [26]. A very recent study considering potential factors related to SEP and cognitive development observed that parents with higher education valued the efforts of their children more and believed in the importance of education [51]; this trend was also suggested by our analyses.

Our third aim was to evaluate the relationship between family context and cognitive development, and our fourth objective was to estimate the potential mediating role of family context in the association between SEP and cognitive development. In our work, family context played an important role in the relationship between social class and cognitive development. Cognitive and linguistic development, parental stress and conflict, and parental profile fostering child development appeared to be related to socioeconomic factors. These aspects of family interactions mediated around one fourth of the total effect of SEP on child cognitive development. In general terms, both family social class and family context were related separately to cognitive development. We also found that family social class was related to family context. We also found that parenting profile fostering child development, and the total joint mediation model, played an important role in the SEP-cognitive development association.

Other works assessing the effect of factors related to family context. In this way, a work with Italian sample discovered that home environment mediated the effect of SEP in cognitive development. Similarly, a recent publication found that family context and child’s assistance to nursery fully explained the effect of socioeconomic status on cognitive development [49]. Some works found some characteristics of family context, such as parental cognitive scaffolding (reading together, helping with homework, explaining the meaning of words, among others)[52] to mediate the effect of SEP on cognition. A systematic review indicated that scaffolding mediated the effect between poverty and cognitive development [53], and a study focused on income-to-needs ratios found that cognitive scaffolding mediated some of the effects of two SEP measures on cognitive functions [54]. A work from the Millennium cohort found that activities such as reading to children mediated the effect of economic deprivation on cognitive development [55]. Finally, another work, found that economic status, parental education, and employment were all positively associated with the provision of cognitively stimulating materials at home, and this factor was in turn related to cognitive ability [20]. Most of these works were carried out with younger samples than ours, and perhaps, provision of this stimulation could be more relevant for cognitive development at early rather than at middle childhood. In addition, this could also explain that this association was not strong in our analyses.

The family stress model seems to be related to child development [20, 28, 53]. Two previous studies found that stress did not mediate the effect of SEP on cognitive development [16, 47], however, one study reported mediation when considering linguistic development as the outcome [47]. An Australian work found that stress influences cognitive outcomes but that it might be less relevant than for non-cognitive outcomes. In the association between SEP and cognitive development, stress mediated 5–10% of the effect [52]. In our case, this association was not as strong as we expected, but it still mediated a similar share of the effect (5.8%) in comparison to the Australian publication.

Parenting profile fostering child development is the knowledge, beliefs, attitudes, and practices regarding child development and parenting. A systematic review of mediators of the relationship between poverty and cognitive development argued that the effects of poverty on cognitive development could be mitigated through parenting [53]. The mother–child relationship was found to mediate the effect of economic deprivation on child cognitive development in the Millennium cohort [55].

Similarly to our multiple mediation analysis, a German study analysed the effect of income and net worth on cognitive development, jointly considering several potential mediating factors: neighbourhood quality, educational norms and aspirations, mother–child interaction quality, family investment, and parental stress. They found that family investment, measured as the provision of materials and activities, was the most relevant factor in the mediation path [16], while in our analyses, the most important mediating factor was parenting profile fostering child development.

The present work has several limitations. Firstly, all cohort studies, especially those with long follow-ups, present sample attrition. In fact, our analysis sample was 58% of the initial sample and differed from the baseline sample (Spanish parents with a higher education level and social class were more frequent in the analysis sample). For this reason, we employed inverse probability weighting to adjust by potential sample attrition. Secondly, some of the exposure-outcome associations were estimated from cross-sectional data. In the mediation analysis, we hypothesised that family interactions and context are likely to precede cognitive functioning; however, the temporal relationship between the two cannot be established with certainty.

Our study also possesses several strengths: we considered a full range of variables from diverse follow-ups, collected mostly in a prospective manner. We considered different SEP indicators, which could reflect various socioeconomic dimensions and their effects on cognitive development and family context. We used HEFAS 7–11, which provides a full landscape of family context including contextual and interactive variables that are rarely available with such detail. In addition, we used an unbiased measurement of cognitive development based on a traditional and strong conception of cognition, which considers non-verbal visual stimuli to estimate a child’s deduction ability. Finally, this work employed data from children aged between 7 and 11 years, covering middle childhood, and from areas of diverse economic levels, providing additional robustness to our work.

Two groups of possible mechanisms of action and recommendations are feasible in this context. The first group should focus on direct mechanisms that education and economic policymakers should take into consideration: we have observed the impact of low SEP in cognitive development; for this reason, we recommend policies to improve SEP indicators in the population, for example, promoting free public and quality education, providing a minimum income to live with dignity, and improving public employment services, among others. We also have observed that better parenting skills and stimulation were related with higher cognitive performance. For this reason, the second group of actions, which are indirect mechanisms, should be focused on positive parenting. Practitioners should jointly work with teachers and educational psychologists to provide a safe space to ask doubts about development and upbringing. This could be realized with periodic open forums that locally respond to parent’s petitions, but one the most common tools employed are the positive parenting programmes, which supply parents with knowledge about child development, help them to manage stress, and encourage them to engage in high-quality parent–child interactions.

In conclusion, we found that different SEP indicators suggest that more socially deprived families have children with lower cognitive development, and in the case of family social class, this association had an important impact on both family context and cognitive development. These findings could be useful for both implementing equalising policies and fostering positive parenting. Future analyses could deepen in the explored relationship employing second-order factors from family context to allow interpretation of parenting processes.