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.
| Comparison | Before tax | After tax | Total |
|---|---|---|---|
| Berkeley, taxed beverages | 213 | 108 | 321 |
| Comparison communities, taxed beverages | 420 | 216 | 636 |
| Regional sample | 633 | 324 | 957 |
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.
Do the comparison groups follow similar trends?
My original assignment also asked whether Berkeley's beverage prices followed a comparable course to those in nearby communities before the tax. I recovered the complete monthly series from the original PoSD worksheet: 2,696 observations between January 2013 and February 2016, divided into taxed and untaxed beverages in Berkeley and outside the city. The chart below shows the four unweighted monthly price averages. It retains January and February 2015 to make the implementation window visible, even though those months were excluded from the separate difference-in-differences calculation.
Beverage prices across four groups, 2013–2016
Before the tax, prices for taxed beverages were generally higher in Berkeley, while both sets of taxed-beverage prices fluctuated. Their average monthly gap was approximately 0.97 cents per ounce during 2013–2014, although it varied considerably by month. That pattern makes the surrounding communities a plausible group to investigate, but does not establish that Berkeley's prices would have followed the same trajectory without the tax. The figure is a descriptive diagnostic, not a statistical test of parallel trends.
The original exercise also compared neighborhood characteristics. Median household incomes were relatively close ($86,462 in Berkeley and $84,411 outside), but the share of residents aged 25 and older with a bachelor's degree or higher differed markedly: 71.0% versus 50.8%. Poverty rates also differed, at 14.4% and 11.7%, respectively. These differences do not automatically disqualify a comparison group. They do, however, caution against assuming equivalent purchasing behavior or common price trends on the strength of demographic similarity alone.
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
Reconstructed unweighted price comparison
Difference between the two groups' mean price changes, per ounce
Regression p-value reported in the original coursework; not independently replicated
Berkeley and comparison-area prices before and after the tax
The regional difference-in-differences calculation
| Taxed beverages | Before | After | Change |
|---|---|---|---|
| Berkeley | 8.992¢ | 11.541¢ | +2.549¢ |
| Comparison communities | 8.002¢ | 8.816¢ | +0.814¢ |
| Difference-in-differences | Change 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 measure | Before-to-after change | Reported p-value |
|---|---|---|
| Taxed beverage calories | −6.4 | 0.56 |
| Untaxed beverage calories | +31.9 | 0.04 |
| Taxed beverage volume | −24.04 | 0.24 |
| Untaxed beverage volume | +57.1 | 0.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.