Back to Research

Applied econometrics · Graduate coursework

What can a beverage tax tell us about prices and consumption?

A study of Berkeley's beverage tax, retail prices, and consumption evidence

Graduate econometrics, November 2025Difference-in-differences using 1,961 store observations and 957 regional observations

Editorial photograph of soft drinks on store shelves; illustrative, not part of the Berkeley dataset. The same photograph appears on the project card.

FormatsWeb reading editionPDF: Written analysisGoogle Sheets: Calculations
Contents

The policy question

I began with a question that proved more difficult than comparing prices before and after a tax. When Berkeley's retailers changed their prices, how much of the movement was plausibly attributable to the intervention, and how much might have occurred regardless? To make the inquiry credible, I needed to examine the comparison groups and what their price trajectories suggested about the counterfactual.

In 2015, Berkeley introduced a tax of one cent per fluid ounce on sugar-sweetened beverages. Its immediate mechanism was a change in relative prices; its longer-term purpose was to discourage consumption. Yet a price increase at the register does not, by itself, establish a change in purchasing behavior. Consumers may absorb a higher price, buy less of the taxed product, or substitute alternatives. The original econometrics exercise consequently asked two related questions: whether taxed beverages became more expensive relative to comparable products and places, and whether the evidence established a change in consumption.

I expected at least part of the tax to appear in retail prices, although incidence depends on the responsiveness of buyers and sellers. Since sugary drinks have possible substitutes, the tax could plausibly alter purchasing decisions. A hypothesis, however, is not an observed effect; it becomes useful only when the comparison used to test it is made explicit.

Design and original observations

The first difference-in-differences comparison examined taxable and nontaxable products in Berkeley, using store-level price observations from December 2014 and June 2015. Its counterfactual was the contemporaneous price change for untaxed beverages. The reconstructed workbook contains 1,961 original store observations. Across four store types, the computed differences-in-differences were approximately +0.32, +0.25, -0.96, and +2.38 cents per ounce. Those differences leave open how much of the variation reflects store and product composition, and whether untaxed beverages offer a credible account of the prices that would otherwise have prevailed.

The second comparison used coursework data presented as taxed-beverage prices from Berkeley and surrounding areas. The original PoSD Copy worksheet includes 957 observations, of which 321 were labeled Berkeley and 636 comparison locations. The assignment attributes these observations to a Berkeley study, although I have not independently verified the underlying survey's provenance or sampling design. The analysis assigns a post-treatment indicator to observations after the implementation window and treats the interaction of location and period as the differential price change. The identification assumption is that, without the tax, the treated and comparison areas would have experienced sufficiently similar price trends.

I excluded January and February 2015 from the regional comparison to avoid treating the implementation window as an ordinary before- or after-tax period. The retained observations are organized by location and period in the table below; the separate within-Berkeley analysis compares December 2014 with June 2015.

ComparisonBefore taxAfter taxTotal
Berkeley, taxed beverages213108321
Comparison communities, taxed beverages420216636
Regional sample633324957

Those regional prices are expressed in cents per fluid ounce. By contrast, the consumption findings come from descriptive before-and-after tests reported in the written assignment, whose underlying observations were not available for independent analysis.

What the price reconstruction establishes

In the recovered regional data, the Berkeley mean rose from 8.992 to 11.541 cents per ounce, an increase of 2.549 cents. The surrounding-area mean rose from 8.002 to 8.816 cents, an increase of 0.814 cents. Subtracting the comparison-group change from Berkeley's yields 1.7346 cents per ounce. Rounded to two decimals, this exactly reconciles the 1.73-cent coefficient discussed in the original written assignment.

The assignment reports a p-value of 0.004 for the price regression. That reported value provides evidence against a zero interaction under the stated model, but the present reconstruction does not independently reproduce its standard errors or validate the parallel-trends assumption. Moreover, an estimated differential price increase is not necessarily equal to the amount of statutory tax passed on to consumers. The point estimate is therefore reproducible. Its causal interpretation, however, remains contingent on the regression specification and the credibility of the comparison.

Within-Berkeley price changes by store type

Store type 1+0.322Store type 2+0.252Store type 3-0.963Store type 4+2.382Difference in mean price changes (cents per ounce), with zero at center
Source: the original within-Berkeley calculations, store types 1–4, in the linked workbook. This is a comparison of taxed and untaxed beverage price changes within store types, not the cross-city +1.735¢/oz estimate reported separately below. These descriptive results do not themselves establish causal pass-through.

Reconstructed unweighted price comparison

+1.735¢

Difference between the two groups' mean price changes, per ounce

0.004

Regression p-value reported in the original coursework; not independently replicated

Source: EP 2 Data-1.xlsx, the PoSD Copy sample. The arithmetic is reproducible in the calculation workbook. The reported p-value is attributed to Empirical Project 2-1.docx.

Berkeley and comparison-area prices before and after the tax

048128.9911.54Berkeley8.008.82Non-BerkeleyPre-taxPost-tax
Source: the original regional taxed-beverage records and External DiD tab. Values are unweighted group means in cents per ounce; the difference-in-differences estimate is 1.735 cents per ounce.

The regional difference-in-differences calculation

Beverage prices: the regional comparisonUnweighted two-period comparison from Berkeley and Non-Berkeley regional records: Berkeley 8.992 to 11.541, comparison 8.002 to 8.816. Difference-in-differences equals 1.735 cents per ounce.Beverage prices: the regional comparisonMean taxed-beverage prices · cents per fluid ounce012¢0¢2¢4¢6¢8¢10¢12¢Berkeley8.992¢Before11.541¢AfterΔ 2.549¢Non-Berkeley8.002¢Before8.816¢AfterΔ 0.814¢Difference-in-differences: (2.549 − 0.814) = 1.735¢ per ounceDescriptive unweighted 2×2 estimate. It is not the published study’s adjusted causal coefficient.
The unweighted observed price changes are 2.549 cents per ounce in Berkeley and 0.814 in comparison areas. The difference is 1.735 cents; it is not the published study’s adjusted estimate.
Taxed beveragesBeforeAfterChange
Berkeley8.992¢11.541¢+2.549¢
Comparison communities8.002¢8.816¢+0.814¢
Difference-in-differencesChange in Berkeley minus change outside Berkeley+1.735¢

Consumption and a correction to the original interpretation

The assignment contains four pre/post consumption results supplied as separate t-tests. Taxed-beverage calories declined by 6.4 (p = 0.56), and taxed-beverage volume declined by 24.04 (p = 0.24), neither statistically significant at five percent. Untaxed-beverage volume increased by 57.1 (p = 0.22). Untaxed-beverage calories, however, increased by 31.9, with a reported p-value of 0.04.

The original written answer stated that none of the outcomes were significant, even though the reported calorie test has a p-value below 0.05. I have corrected that inconsistency. Nonetheless, a significant pre/post difference in one untaxed category is not a causal estimate of substitution induced by the beverage tax. The underlying consumption microdata were not supplied, and the tests do not control for other changes. Neither a statistically inconclusive decline nor one significant comparison permits a decisive conclusion about the policy's effect on overall consumption.

Consumption measureBefore-to-after changeReported p-value
Taxed beverage calories−6.40.56
Untaxed beverage calories+31.90.04
Taxed beverage volume−24.040.24
Untaxed beverage volume+57.10.22

Policy implications and limits

My original recommendation considered revising the tax schedule while subsidizing untaxed alternatives. I would retain those proposals as questions worth investigating, particularly where the burden of higher prices is distributed unevenly across households. Yet the recovered observations cannot establish an optimal rate or tell us how consumers would respond to a subsidy. Before advancing either policy, I would want to examine pre-treatment trends, verify the regression and its uncertainty estimates, and obtain consumption records capable of supporting a credible counterfactual.

The companion workbook preserves the store and regional observations, allowing the mean prices and difference-in-differences arithmetic to be inspected directly. I have retained the regression p-value and four consumption tests as results reported in the original assignment, since their underlying inference calculations could not all be reproduced. That limitation narrows the conclusion I can defend: the observed price differential is traceable in the available records, while its attribution to the tax still depends on assumptions that deserve further scrutiny.

Sources: Empirical Project 2-1.docx (original assignment responses and consumption table); EP 2 Data-1.xlsx (store-level and regional beverage prices). Both supplied in the Policy Career Portfolio - School Projects archive. The regional and within-Berkeley observations are shown in the companion calculation workbook. The original assignment's reported p-value has not been independently recalculated.