1 Introduction

Childhood obesity is a worldwide problem and poses long-term health risks. For example, obese children are more likely to remain obese as adults. They also have a higher risk of developing cancer, diabetes, and cardiovascular diseases (WHO 2020). Consequently, obese children incur high healthcare costs which are borne by public payers (Biener et al. 2020). To limit such costs, policy-makers search for measures to curb or even prevent childhood obesity. One possible driver of childhood obesity is the consumption of sugary sodas (James and Kerr 2005; Ludwig et al. 2001) because a large amount of calories is consumed quickly.

A growing number of countries worldwide have introduced taxes on sodas (see Allcott et al. 2019 for an overview). These taxes aim to increase the soda price and reduce soda consumption. However, the empirical evidence for soda taxes is mixed. This finding is not surprising because the amount of the soda tax, the scope of the taxed products, and their respective sugar limits vary from country to country. An unanswered question in this context is how important is the design of the soda tax for its effectiveness? This paper compares two different taxes on sodas in Hungary and France. In 2011, Hungary introduced a broad tax on unhealthy products, which (among other products)Footnote 1 targeted sugar-sweetened sodas. The soda tax rate corresponded to converted 1.83 Eurocents per litreFootnote 2 (Ecorys 2014). One year later, France imposed a soda tax of 7.16 Eurocents per litre which also applied to artificial sweetener (Ecorys 2014). The results suggest a counter-intuitive positive and significant effect of the tax on soda consumption in Hungary. Since the prices of other unhealthy products, like energy drinks, increase as well, the substitution behavior of children could explain this result. Soda consumption is not affected by the tax in France. A reason for this finding might be the low soda tax rate of 7 Eurocents per litre. Children’s body mass index is not affected by the tax in any country.

In the first analysis, I examine the effect of the broad tax on unhealthy products. Hungary forms the treatment group, while neighboring country Croatia, which does not levy such a tax, serves as the control group.Footnote 3 In the second analysis, analysis, I examine the effect of the soda tax. France constitutes the treatment group and Spain forms the control group without a soda tax. Methodologically, I exploit spatial variation of the tax and use a semi-parametric difference-in-differences (DiD) approach to evaluate the policy. This method uses inverse probability weighting (IPW) to control for differences in observable characteristics between the treatment and control group as well as over time. I use data from the cross-national survey Health-Behavior in School-Aged Children (HBSC) which ensures that the same question is asked in each country. This survey is conducted in cooperation with the World Health Organization (WHO) Europe and administered on a quadrennial basis. In the setting of this natural experiment, the year 2010 constitutes the pre-treatment and 2014 the post-treatment period. Furthermore, I use the survey years 2006 and 2010 as pre-treatment years to provide evidence for the parallel trend assumption.

The paper contributes to the literature in three ways: First, it provides evidence of different soda tax designs and their effect on soda consumption as well as BMI. While consumers’ response to a local soda tax has been widely studied (Capacci et al. 2019; Cawley et al. 2019; Falbe et al. 2016; Zhong et al. 2018), it is less clear how important the tax design is. Therefore, this paper examines and compares the effect of a broad tax on unhealthy products, including sodas above a certain sugar content, with a tax targeting only sodas. Second, it is one of the few studies to focus on Europe, as most of the evidence comes from the USA (see, e.g., Falbe et al. 2016; Zhong et al. 2018, 2020). Since Europe has a lower soda consumption than the USA, a soda tax could have a different impact in Europe. Third, it contributes to the evidence of soda taxes on children’s soda consumption and health. The majority of the literature addresses the impact of soda taxes on adults and households (see, e.g., Falbe et al. 2016; Zhong et al. 2018; Fichera et al. 2021; Capacci et al. 2019; Berezvai et al. 2020). However, soda taxes might have a different impact on children than on adults due to their restricted budget. While there is scarce and mixed evidence from the USA (see, e.g., Fletcher et al. 2010;Cawley et al. 2019), it is to the best of my knowledge, the first study examining the effect on children in Europe by using a quasi-experimental approach. Understanding the effects of different soda taxes on soda consumption is important for children’s future health. In particular, soda consumption can increase if several unhealthy products are taxed at different rates. If only sodas are taxed, the tax should be high enough to lead to a decrease in consumption.

The remainder of this paper is organized as follows: In the next section, I give an overview of the existing literature. Afterwards, I provide information about the implementation of the soda tax in France and Hungary. Thereafter, I present the data source, descriptive statistics, and define the subsample. Then, I discuss the empirical strategy and show the results. Finally, I conclude the empirical analysis.

2 Empirical evidence on soda taxes

This paper relates to two strands of literature. The first one addresses the impact of a soda tax on adults or households in different countries and several US jurisdictions. For example, Falbe et al. (2016) focus on poorer districts in North California and study the effect of a converted 31 Eurocents per litreFootnote 4 soda tax in Berkeley in 2015, compared to similar areas without such a tax in Oakland and San Francisco. They find a decrease in soda consumption by 21% after the tax implementation and an increase in water consumption by 63%. In the US state Philadelphia, the soda tax amounts to converted 49 Eurocents per litreFootnote 5 in 2017. Zhong et al. (2018) find that Philadelphians, compared to citizens of close and similar cities without such a tax, drink 40% fewer sodas directly after the tax implementation, yet the effect diminishes 1 year later (Zhong et al. 2020). However, Wilson and Hogan (2017) criticize that the soda tax can be easily circumvented, if the tax is implemented very locally, such as in a particular city. For this reason, Wilson and Hogan (2017) caution against over-interpreting the results of these studies.

Several European countries have recently implemented a soda tax. For example, Fichera et al. (2021) study the impact of a soda tax in Catalonia, a region of Spain, in 2017. They find that taxed sodas with a sugar level over a certain threshold are substituted by untaxed sodas with a lower sugar level. All in all, 2.2% less sugar is consumed. In the neighboring country Portugal, both sodas with less and much sugar are taxed since 2017. Gonçalves and Pereira dos Santos (2020) examine the quantity of consumed sodas and find only limited evidence of the effectiveness of the soda tax. Although the consumption of sodas with less sugar decreased, the amount of sodas consumed with high levels of sugar did not.

The soda tax policies of France and Hungary are studied in this paper. The literature based on France reports a pass-through of the soda tax to the consumer between 39% (Etilé et al. 2018) and 100% (Capacci et al. 2019; Berardi et al. 2016). Capacci et al. (2019) analyze the number of purchased sodas at the household level in France compared to close regions in Italy. They apply a differences-in-differences approach and find a very small but imprecisely estimated decrease in soda consumption and explain their result with the low soda tax level. Biró (2015) evaluates the effect of the unhealthy product tax in Hungary but sodas are excluded from the analysis due to data restrictions. Kurz and König (2021) examine both the soda tax in France and the PHPT in Hungary using data on purchased sodas and apply a synthetic control group analysis. The findings directly after the implementation of the taxes suggest a slight decline in soda consumption in France and in Hungary. In the long term, however, the PHPT in Hungary lead to an increase in soda purchases. A consumption analysis by Berezvai et al. (2020) confirms this counterintuitive result.

The second strand of literature discusses the effect of the soda tax on children’s and adolescents’ outcomes. The evidence is mixed: Fletcher et al. (2010) finds a small decline in soda consumption of children and adolescents due to the implementation of a soda tax across all US states, which had an average soda tax between 1.5 and 2.3%. In contrast, (Sturm et al. 2010) ascertain that a low soda tax (\(\le \) 4%) has neither an effect on soda consumption nor on obesity rates of children in the US states. In Philadelphia, a tax of converted 49 Eurocents per litreFootnote 6 does not affect children’s soda consumption (Cawley et al. 2019). However, subgroups like overweighted children, children from families with low incomes (Sturm et al. 2010) or children with a high soda consumption prior to the reform (Cawley et al. 2019) are more likely to react to a soda tax. Regarding the effect of the soda tax on BMI, Powell et al. (2009) find no significant change among adolescents in different US states. In Mauritius, a soda tax does neither affect the consumption nor the BMI of young people, but decreases soda consumption among boys (Cawley et al. 2022). A price war among the manufactures in Peru lead to a reduction of soda prices at the end of the nineties, which increased the obesity rate among children (Ritter 2018). Regarding Europe, there is little evidence for children’s and adolescent’s outcomes. Dubois et al. (2020) simulate the effect of the soda tax on consumption behavior “on-the-go” in the UK. They found that 13–21 year olds reduced their consumption the most.

3 Institutional background: soda taxes

Soda taxes represent a policy tool to combat sugar intake on a country and local level. Several US cities, as well as various countries, have implemented a tax on sugar-sweetened sodas in recent years (Allcott et al. 2019). The first two countries which imposed a soda tax in Europe were Finland in 1940 followed by Norway in 1981 (Asen 2019).

Thirty years after Norway, Hungary levied a “Public Health Product Tax” (PHPT) on salted snacks, condiments, flavored alcohol, fruit jams, confectionery, energy drinks, and also on sugar-sweetened beverages (Ecorys 2014). Every product category reveals a different tax level, even among the sugar-containing beverages exist differences: Syrups are taxed by 200 Hungarian Forint (HUF)Footnote 7 per litre, whereas other sugar-sweetened sodas are taxed by 7 HUFFootnote 8 per litre. Additionally, the original tax level for sodas amounted to 5 HUF in 2011 and was increased to 7 HUF in 2012 (Biró 2015). This soda tax only affects sodas exceeding a sugar content of 8 gs per 100 mls, sodas with less sugar are not taxed. To make this threshold more apparent, an original Coca-Cola contains more than 10 gs of sugar per 100 mls.Footnote 9 Some sugared drinks like juices with more than 25% of fruit content were not taxed. The reason for the implementation of this tax was a public health crisis (WHO 2015). Non-communicable diseases have been a widespread cause of premature death, whereby the main risk factor was unhealthy diet (Institute for Health Metrics and Evaluation 2010). One year prior to the implementation of the health policy, the share of overweight adultsFootnote 10 amounted to 61.7% (WHO 2017c) which exceeded the European average of 58.7% (WHO 2017d). Likewise, the share of obese adults was higher (25.3%) (WHO 2017a) than the European average (22.3%) (WHO 2017b).

According to the law, the consumer bears the tax burden, by paying retail price including the soda tax (Ecorys 2014). To answer the question whether the soda tax was passed through to the consumer, I tracked the development of the annual average price of 1.75 ls of Coca-Cola. Table 8 in the Appendix reports a price increase of Coca-Cola from the soda tax implementation in 2011 onwards. With this data at hand, I calculated the yearly price increase and the price index based on the previous year. The price of 1.75 ls of Coca-Cola rose from the pre-treatment year 2010 to the implementation year 2011 by 21 HUF. To see whether the price increase was driven by inflation or the soda tax, I compared the Coca-Cola price index with the consumer price index (CPI) of non-alcoholic beverages. The price of Coca-Cola increased more than the price of non-alcoholic beverages in general, which points to the pass-through of the soda tax. In 2012, the tax was slightly raised from 5 HUF to 7 HUF per litre and comparing the two different price indexes shows an even greater difference than in the year before. The price indexes started to converge in the year 2013 and approximated each other in 2014.

A beverage tax was implemented in France in January 2012 and it was originally intended to apply to sugar-sweetened sodas only. However, this was, according to Ecorys (2014), not possible, because the customs codification classifies sodas with added sugar and sweetener into the same category. Whereas Le Bodo et al. (2019) reports that sodas with artificial sweeteners were included in the tax to generate higher tax revenues for the farm sector. Consequently, both kinds of sodas are taxed, independently of their quantity of sugar or sweetener. The tax increased over time from 7.16 Eurocents per litre in 2012, to 7.31 Eurocents in 2013, and reached 7.45 Eurocents in 2014 (Ecorys 2014). The aim of the soda tax is twofold: Firstly, it is designed to collect additional revenue for the health (Ecorys 2014) and farm sector Le Bodo et al. (2019). Secondly, the soda tax is supposed to reduce the obesity rate among French citizens (Ecorys 2014). One year prior to the implementation of the health policy, France revealed a share of overweight adults exceeding the European average by almost 2 percentage points (WHO 2017c, d). Every fifth adult had a BMI equal to or over 30 which indicates obesity among the WHO definition, yet the share of obese adults in France is lower than the European average (WHO 2017a, b). Moreover, the National Nutrition and Health Programme 2011 formulated the goal to decrease the share of children drinking more than half a glass of soda a day by at least a quarter in the following 5 years (Ministère du Travail and de l’Emploi et de la Sante 2011). The discussion about the implementation of the soda tax lasted from 2005 to 2011. In August 2011 the tax was decided unexpectedly, the implementation followed five months later (Le Bodo et al. 2019). The pass-through of the soda tax to the consumer is reported between 39% (Etilé et al. 2018) and 100% (Capacci et al. 2019; Berardi et al. 2016).

Table 1 Comparison of taxes in Hungary and France

Table 1 highlights the main differences in the taxes in Hungary and France. Hungary’s Public Health Product Tax includes a bunch of unhealthy products and not only sodas. However, exclusively sugar-sweetened sodas exceeding the threshold of 8 g sugar per 100 mls are taxed, whereas sodas with less sugar or artificial sweetener are exempt from the tax. France taxes sugar-sweetened soft drinks (regardless of sugar content) and soft drinks with artificial sweeteners. The tax level is different among the countries, yet both countries raised the tax after implementation.

In Hungary, certain regulations were implemented in January 2015 to enforce health requirements for food and beverage offerings in public canteens (Biró 2015). These regulations aimed to ensure compliance with specific health standards, including the prohibition of sugared soft drinks. It is important to note that the effective date of these regulations occurred after the time period covered by the empirical analysis, and therefore, they do not have any impact on the empirical results. Furthermore, a regulation was implemented in 2012 to promote overall health improvements in schools, including the provision of healthy food, although the regulation did not offer any specific guidance (Biró 2015). Therefore, the implementation of the regulation can vary greatly from school to school.

In France, there were several policies prior to the time period covered by the empirical analysis implemented. For example, nutritional guidelines have been in place for the entire public catering sector since 2001 (Vieux et al. 2018). Additionally, vending machines were banned in schools since 2005 (Capacci et al. 2018). The nutritional guidelines were replaced by mandatory regulations regarding the school meals in 2011 (Vieux et al. 2018), but sodas were not prohibited (European Commission 2015).

4 Data

I use data about the health behavior in school-aged children (HBSC) to undertake a cross-country comparison. This survey is conducted in cooperation with the World Health Organization (WHO) Europe on a quadrennial basis since 2001. The advantage of this survey is the use of the same questionnaire in each country. The school-aged children are asked about the frequency of their soda consumption. The exact question is: “How many times a week do you usually eat or drink Coke or other soft drinks that contain sugar?” The possible answers are presented as the following 7-point scale: (1) “never”, (2) “Less than once a week”, (3) “Once a week”, (4) “2–4 days a week”, (5) “5–6 days a week”, (6) “Once daily” to (7) “More than once daily”. The HBSC data do not provide any information about where the children get or buy the sugar-sweetened sodas. There are restrictions on sodas in both treatment countries. In France, vending machines have been banned in schools since the 2005 school year (more than 6 years prior to the pre-period in this study), see Capacci et al. (2018). In Hungary, the Office of the Hungarian Chief Medical Officer issued a recommendation on nutrition standards in public (school) catering in 2011, stating that sugary drinks should be avoided (Hungarian Chief Medical Officers Office 2011).

Another section in the survey addresses body measures like children’s height and weight. Based on this information, the body mass index (BMI) is calculated and reveals whether a child is overweight. The random sampling is made class-wise which implies a repeated cross-sectional design.

Regarding the sample restriction, I excluded pupils with missing observations in the dependent variable like soda consumption and body mass index. In the survey year 2006 is no information about the BMI available, so I calculate it by the following formula \(\text {BMI} = \text {bodyweight}/\text {(body height in m)}^2\).Footnote 11 Furthermore, I have excluded children with missing information about their age, sex, TV consumption on weekdays, and having their own bedroom. Moreover, observations are excluded from the sample that do not inform about the number of computers in the household, ownership of a car, family wealth, and whether the mother or the father lives in the main home.

A suitable control group for the treatment group is one that closely resembles it in all relevant aspects except for the presence of the implemented policy. By employing this approach, we can attribute the observed changes in the outcome variable to the specific policy implemented in the treatment group (Taillie et al. 2017). To note in this context is that soda consumption increases in wealth in Eastern European countries, whereas it decreases in Western European countries (Vereeckenet al. 2005). Therefore, I use a resembling neighboring country, without a soda tax as a control group. It is important to find a similar neighboring country for the treated country to reduce the likelihood of confounding factors influencing both countries simultaneously.

Both country pairs (Hungary and Croatia and France and Spain) show comparable socio-economic conditions and health indicators. Table 10 in the Appendix presents an overview of relevant country-specific characteristics. For example, both country pairs reveal a similar share of overweighted children and adolescents 1 year prior to the implementation of the tax on sodas in Hungary and Croatia (22% and 21%) as well as in France and Spain (28% and 30%) (WHO 2017e). This similarity indicates that both country pairs may face similar challenges regarding diet, nutrition, and health outcomes related to excess weight. Therefore, using these neighboring countries as a control group can help isolate the effect of the soda tax specifically, without the confounding effects of drastically different obesity rates. Furthermore, it existed a similar level of soda consumption in Hungary and Croatia (Table 9, Panel A) as well as in France and Spain (Table 9, Panel B) before the implementation of the taxes. Hence, both country pairs were subject to similar underlying factors affecting consumer behavior in this regard. Additionally, the two country pairs rank similarly in terms of the Human Development Index (HDI), see (Table 10 in the Appendix). The HDI takes into account factors such as life expectancy, education, and income, providing a comprehensive measure of human development. Similar HDI rankings indicate that both countries have achieved similar levels of overall development and well-being. Therefore, similar HDI rankings suggest comparable socio-economic conditions between the treatment and control countries. Comparable socio-economic conditions are important because they can affect various aspects related to soda consumption, such as purchasing power, consumer behavior, and health outcomes. Furthermore, similar HDI rankings indicate that the country pairs may have similar governance structures, institutional frameworks, and policy environments, which can influence the implementation and effects of a soda tax.

As Table 2 shows, Hungary has implemented the tax in 2011 and France followed 1 year later, yet the data is available every 4 years. Therefore, the survey year 2010 constitutes the pre-treatment period and 2014 the post-treatment period. In the treatment as well as in the control group are 11–15 years old surveyed pupils.

Table 2 Treatment and control groups

Table 3 reports the descriptive statistics for the treated children living in France and the untreated children living in Spain separately. For either group, the mean and the standard deviation (SD) of the variables are provided. The last two columns contain the mean differences across groups as well as the p values. In France, the share of boys and girls in the survey is almost balanced and children are on average 13.5 years old. The children watch on average 2 h TV on a weekday and the majority has their own bedroom. Most children live together with their mother and father at home. The family posses on average 1.7 cars and 2.3 computers, and reports well-being between “quite well off” and “average”. All these before mentioned control variables are statistically significantly different across children in France and Spain. The lower part of Table  3 presents the descriptive of the outcome variables. The frequency of consumed sodas is measured as a categorical variable, a value of four corresponds to a soda consumption on 2–4 days a week. A body mass index (BMI) of 19 is within the normal range.Footnote 12 The mean differences of the two outcome variables are statistically significant between children in France and Spain. Regarding the sample size, 8821 children participated in the survey in France and 9744 children participated in Spain which sums up to 18,565 observations in total.

Table 3 Descriptive statistics: Soda tax
Table 4 Descriptive statistics: Public Health Product Tax

Table 4 reports the descriptive statistics for the second country-pair. Children living in Hungary belong to the treatment group and children living in Croatia form the control group. TV consumption is slightly higher among the children in Croatia and it is more likely that the father lives in the main household in Croatia. Families in Croatia have a higher probability to have more than one car in comparison to families in Hungary, whereas children in Hungary are more likely to have their own bedroom. The number of computers at home is slightly higher in Hungary than in Croatia, whereas the families in Croatia score higher in being well off. Children in Hungary consume slightly more frequently sodas than children in Croatia. The BMI is slightly higher in Croatia than in Hungary. There are 7544 treated children in Hungary and 9919 non-treated children in Croatia, so 17,463 children in total.

5 Econometric approach

In this section, I discuss the difference-in-differences (DiD) strategy for identifying the Average Treatment Effect on the Treated (ATET) (see e.g., Lechner 2010), i.e., on children living in Hungary or France in 2014. The potential outcome Y (e.g., frequency of consumed sodas) depends on the time period \(t \in \{0, 1\}\) and the potential treatment state \(d \in \{0, 1\}\). The notation \(Y_{t}^{d}\) indicates the potential outcome in the potential treatment state d and in time period t. For example, the potential outcome of the treatment group (\(d = 1\)) in the pre-treatment period (\(t = 0\)) is represented by \(Y^{1}_{0}\). This notation facilitates to state the identifying assumptions of the DiD framework, see Lechner (2010).

The first assumption, formulated in equation 5.1, requires the exogeneity of the covariates (X). This assumption would be violated if the soda tax affects the characteristics of the children or the household. Time-independent covariates, like gender, cannot be affected by the soda tax because they are constant over time. Time-dependent variables may be affected by the treatment, especially if these variables are measured after the implementation of the soda tax. Since I use repeated cross-sections, the covariates are measured in 2014, whereas the soda tax is in force since 2011 or 2012 respectively. However, it is rather unlikely that the soda tax affects, for example, children’s TV consumption or whether the mother lives at the main home or not.

$$\begin{aligned} \begin{array}{l} X^{1}=X^{0}=X; \; \forall x \in \chi . \end{array} \end{aligned}$$
(5.1)

The main identifying assumption in the context of DiD is the common trend assumption, formally stated in Eq. 5.2. Intuitively speaking, the soda consumption and the BMI of children living in Hungary and Croatia, would follow the same time trend in the absence of the soda tax.Footnote 13 For this reason, I need to control for child and household covariates that would lead to different time trends. For example, soda consumption increases with the age of the child (Grimm et al. 2004), such that the time trend differs between older and younger children. Another example represents children from low-income families which might have fewer available pocket money in time of an economic crisis. I provide a placebo test conditional on covariates using unaffected periods in Table 6 in Sect. 6 to support this assumption.

$$\begin{aligned} \begin{array}{l} E[Y^{1}_{0}|X=x, D=1] - E[Y^{0}_{0}|X=x, D=1] \\ =E[Y^{1}_{0}|X=x, D=0] - E[Y^{0}_{0}|X=x, D=0]\\ =E[Y^{1}_{0}|X=x] - E[Y^{0}_{0}|X=x]; \; \forall x \in \chi . \end{array} \end{aligned}$$
(5.2)

A further assumption rules out an anticipatory effect (\(\theta \)) of the policy in the pre-treatment period \((t = 0)\) as formulated in Eq. 5.3. Accordingly, children in the treated countries Hungary and France must not anticipate the effect of the soda tax in 2010, i.e., they must not change their soda consumption prior to the implementation of the tax. Since the tax was discussed from 2005 to 2011 in the parliament in France, it might have raised the awareness of unhealthy beverages among French children. As a result, I may underestimate the impact of the soda tax. Conversely, the knowledge of this proposed tax could also have influenced consumers to stock up on sodas before the tax was introduced. However, I focus on school-age children who possess only their limited pocket money, so this caveat is unlikely. Additionally, the decision to pass this law was unexpected and the implementation time of five months was rather short (Le Bodo et al. 2019). In Hungary, the law was passed one and a half months before it came into force (Ecorys 2014), which represents even a shorter period for anticipatory behavior.

$$\begin{aligned} \begin{array}{l} \theta _{0}(x)= 0; \; \forall x \in \chi . \end{array} \end{aligned}$$
(5.3)

The last assumption is known as the common support assumption and is formulated in Eq. 5.4. It demands that for each child in Hungary in 2014, another child exists with the same characteristics in the following three groups: (i) Hungary in 2010, (ii) Croatia in 2010, and (iii) Croatia in 2014.Footnote 14 Under assumptions 5.15.4, the ATET is identified.

$$\begin{aligned} \begin{array}{l} P[TD=1|X=x, (T,D) \in {(t,d), (1,1)}]< 1; \\ \; \forall (t, d) \in \{(0,1), (0,0), (1,0)\}; \;\forall x \in \chi . \end{array} \end{aligned}$$
(5.4)

A standard DiD approach models a linear relationship between the policy and the outcome, in this case, the outcome variable is continuous. The variable “Frequency of sodas” is measured as a categorical variable in the HBSC dataset. Therefore, this variable is a limited dependent variable, implying a non-linear relationship between the policy and the outcome. However, considering the non-linearity may lead to the violation of the identifying assumption of the DiD, the common trend assumption (Lechner 2010). To deal with this issue, I use a semi-parametric approach with a modified common trend assumption to model the relationship in a more flexible way than a parametric approach.

Equation 5.5 describes the identification of the semi-parametric ATET based on inverse probability weighting (Huber 2019). The outcome variable Y is multiplied by an inverse probability weight, where \(\Pi \) gives the share of treated observations in the post-treatment period and \(\rho _{d,t}(X)\) is the probability of being in the treatment state d and in the time period t, conditional on covariates X. This propensity score is estimated by probit.

$$\begin{aligned} \begin{array}{l} E\left[ \left\{ \frac{DT}{\Pi }- \frac{D(1-T)\rho _{1,1}(X)}{\rho _{1,0}(X)\Pi }- (\frac{(1-D)T\rho _{1,1}(X)}{\rho _{0,1}(X)\Pi })-\frac{(1-D)(1-T)\rho _{1,1}(X)}{\rho _{0,0}(X)\Pi }) \right\} Y \right] ,\\ where\ \Pi = Pr(D=1, T=1),\ \rho _{d,t}(X)=Pr(D=d, T=t|X). \end{array} \end{aligned}$$
(5.5)

To ensure that the common trend assumption holds, I include the following covariates (X) in the estimation: On the individual level, I control for age and sex of the child, because older children reveal a different soda consumption than younger children and boys differ in their consumption behavior from girls (Vereecken et al. 2005). Since TV consumption was associated with soda consumption (see Andreyeva et al. 2011; Gebremariam et al. 2017; Grimm et al. 2004; Vereecken et al. 2006), I control for television consumption on a weekday. On the household level, I take into account several characteristics: Firstly, I control for the household structure, in particular, whether the mother or the father lives in the same household as the child. Secondly, I control for the wealth of the family, because it is associated with different soda consumption levels (Drewnowski et al. 2019). I use the following proxies for family’s wealth: Ownership of a family car, number of computers in the household, well-off of the family, a dummy indicating whether the child has his/her own bedroom. Furthermore, soda consumption increases with wealth in Eastern European countries, whereas it decreases in Western European countries (Vereecken et al. 2005). Country-specific characteristics, like the growth of the Gross Domestic Product (GDP), may affect the soda consumption of its inhabitants and thus bias the results. Controlling for country-specific covariates could serve as a solution for this problem, yet this is not possible because of the multi-collinearity with the treatment. Therefore, I inspect the GDP growth of each country pair in Sect. 6.

For the estimation, I use the didweight command of the causalweight package in R, with the default number of bootstrap replications of 1999 to calculate the standard errors, and the default trimming rule of 0.05 to drop observations with an extreme propensity score from the sample. Since the didweight command is designed for one pre- and one post-treatment-period, I use the survey years 2010 and 2014 in the estimation. Several pre-treatment years are available to test the parallel trend assumption. I use the survey years 2006 and 2010 and run the estimation with a fake treatment in the latter.

6 Results

This chapter provides the estimated results as well as the sensitivity analysis. Table 5 presents the conditional difference-in-differences estimates. The standard errors are estimated by bootstrap and the p values are obtained from t-tests. Panel A reports the effect of the policy package in Hungary, whereas Croatia constitutes the control group. The findings point at the first glance to a counter-intuitive positive and significant (\(p < 0.01\)) effect of the tax on consumption behavior among school-aged children.Footnote 15 Since a range of products is taxed, the substitution of sugar-sweetened products might drive this result. For example, a survey among adults who changed their nutritional behavior due to the PHPT suggested that 52% substituted energy drinks with sodas (Martos et al. 2016), which might be driven by the higher tax on energy drinks.Footnote 16 Another reason for this counter-intuitive result might be that some manufacturers circumvent the soda tax by decreasing the sugar content below the threshold of 8 gs per 100 mls. A study by the National Institute for Health Development (OEFI) 2013 suggests that about 40% of manufacturers whose products were affected by the cross-product PHPT changed their production formulas to avoid taxation. Another driver of this result might be the relatively stronger GDP growth in Hungary compared to Croatia (see Fig. 1 in the Appendix) and stronger income growth due to minimum wage increases in Hungary, i.e., children in Hungary could spend more money for sodas.Footnote 17 However, Berezvai et al. (2020) analyzed the purchasing behavior of Hungarians after the introduction of the tax and find an increase in purchased sodas among Hungarian households. The result might also be affected by the decrease in the inflation rate in Hungary (Fig. 2 in the Appendix) and the decrease unemployment rate in Hungary (Fig. 3 in the Appendix).

The second outcome, children’s BMI, is not affected by the tax in Hungary. Panel B in Table 5 reports the effects of the soda tax on the frequency of sugar-sweetened soda consumption and the BMI for French children (treated) and Spanish children (untreated). The effects have the expected negative sign but are insignificant. This result is consistent with analyses of large quantities of sodas purchased at the aggregate level such as households (Capacci et al. 2019) and industry (Kurz and König 2021), which find only a small and imprecisely estimated decrease in sodas purchased. But Fig. 4 shows larger GDP growth in Spain than in France over time which might affect the result. Figures 5 and 6 in the Appendix show the development of the inflation and unemployment rate in France.

Table 5 Conditional difference-in-differences results

A downside of non-clustered standard errors in a DiD setting is the possibility of underestimating the standard errors (Bertrand et al. 2004). To check whether the empirical results in Table 5 are robust, I have re-estimated the results with clustered standard errors. The most conservative approach would be to cluster standard errors on an aggregate level. However, it is not possible to cluster on the country level in this setting, because of the small number of treated countries. Whenever cluster bootstrap does not draw the treatment group, the procedure does not work. Hence I cluster on the next lowest level which has variation in the data: the school-year level. Table 11 in the Appendix shows that the clustered standard errors are almost equal to the robust standard errors in Table 5.

The identifying assumption of the DiD approach is the parallel trend assumption, implying that, conditional on the covariates, the treatment and control group follow the same time trend in the absence of the treatment. This assumption is not testable, yet it is possible to conduct a placebo test to support this assumption: I use the two pre-treatment periods 2006 and 2010 and pretend that in the latter a ’fake treatment’ was implemented. Table 6 reports large p values in both panels, which supports the parallel trend assumption. Event study graphs are another useful tool and a more demanding test to inspect the parallel trend assumption. Figure 7 in the Appendix displays the group-time average treatment effects for each outcome and country pair in the years 2010 and 2014. The year 2006 serves as a reference period. Hungary implemented the soda tax in 2011 and France in 2012. Hence, the pre-treatment period is measured one (two) year(s) before treatment in Hungary (France) and the post-treatment period three (two) years after the treatment in Hungary (France). The dots represent the point estimates and the bands correspond to the pointwise 95% confidence intervals based on the multiplier bootstrap. Figure 7 shows that the group-time average treatment effects of the soda tax on the frequency of soda consumption and on the BMI in the pre-treatment year are close to zero and statistically insignificant at any conventional level. This finding reassures the validity of the parallel trend assumption.

Table 6 Unaffected periods

As a robustness test, I use another neighboring country as an alternative control group in each panel: I substitute Croatia with Slovakia and Spain with Switzerland. Tables 12 and 13 in the Appendix report the descriptive statistics of the children and the household for these groups. Table 14 in the Appendix shows the placebo test of the unaffected periods for Hungary and Slovakia (Panel A) and France as well as Switzerland (Panel B) separately. It suggests that the parallel trends assumption holds for both Panels, except for the outcome variable BMI in Panel AFootnote 18. Finally, Table 7 reports the results for robustness test. Even if the control group changes I find a highly statistically significant positive effect on the frequency of consumed sodas in HungaryFootnote 19,Footnote 20. In France, the results on the soda consumption and the BMI have a negative sign, yet they are insignificant as in the main results in Table 5. Figures 8 and  9 in the Appendix report a parallel GDP growth of each country pair prior to the measured effect in 2014. Therefore, GDP growth can be excluded as a driver for the increase in soda consumption in Hungary.

Table 7 Robustness test

One concern with using the difference-in-differences approach might be compositional changes in the population, such that the treatment and control group are not stable over time. However, it seems very unlikely and a disproportionate effort for families to move from Hungary to Croatia to circumvent the PHPT of 2.4 Eurocents per litre. A second concern with using a neighboring country as a control group might be the presence of spill-overs. Residents living close to the boarder region might start cross-border shopping after the implementation of the tax. The existence of spillover effects seems to be ruled out, as the price level in Croatia is more expensive than in Hungary, see eurostat (2022).

Boys and girls may react differently to a tax on sodas, see e.g. Cawley et al. (2022). Tables 23, 24, 25 and 26 in the Appendix show no gender-specific statistically significant change in the frequency of lemonade consumption due to the tax. Teenagers receive more pocket money and may therefore respond differently to a tax on sodas than younger children. Tables 27, 28, 29 and 30 in the Appendix tend to suggest that teenagers (13–15 years) might be more responsive to a drink tax than younger children (11 and 12 years).

7 Conclusion

This paper examines the effect of two different health policies on sugar-sweetened soda consumption behavior and body mass index (BMI) of school-aged children in Europe. Hungary has implemented a Public Health Product Tax (PHPT) on several unhealthy products, including sugar-sweetened sodas, in 2011, while France only taxes sodas, containing sugar and artificial sweetener, since 2012. Methodologically, I apply a difference-in-differences (DiD) approach to evaluate this natural experiment and use neighboring countries without such a soda tax as a control group. I analyze the effect in Hungary and France separately, because of the different policy designs. Since the frequency of soda consumption is measured by a categorical scale, I use a semi-parametric method to estimate the effect in a flexible way. To the best of my knowledge, this is the first paper analyzing the impact of two different soda taxes on the consumption and health of school-aged children.

The results suggest that the PHPT had a statistically significant effect (\(p < 0.01\)) on soda consumption of school-aged children in Hungary, yet the sign is unexpectedly positive. This finding is in line with the study of Berezvai et al. (2020). An explanation for this counter-intuitive result might be the substitution behavior among children, as the price of other unhealthy products, such as energy drinks or syrups, are taxed even higher. Furthermore, some manufacturers changed their production formulas such that their products were not affected by PHPT. In France, the soda consumption of school-aged children is not affected by the soda tax. This result is in line with the analyses of Capacci et al. (2019) and Kurz and König (2021), who use soda sales data at a more aggregated level and find a very small, but not robust effect on the quantity of purchased sodas. Capacci et al. (2019) explain this finding by the very low tax level of 7.16 Eurocents per litre.

Moreover, I analyse the effect on children’s BMI and find neither in France nor in Hungary a statistically significant effect. This finding is consistent with Powell et al. (2009) who analyses the effect of soda tax on BMI among adolescents. Regarding the sensitivity analysis, I run a placebo test with two unaffected periods. The results suggest an insignificant effect, which supports the parallel trend assumption. The results are robust to an alternative control group.

Consequently, policy makers should think carefully about the design and the tax rate before implementing a soda tax. The availability of data about children’s quantity of soda consumption would help to estimate the effect of the soda tax in a more precise way.