* stata_codebook.do: attaches long-form notes to the .dta files (run it once in Stata). * Generated by build_data_dictionary.py; do not edit this file by hand. * Dataset: smoking_sc.dta use "smoking_sc.dta", clear label data "Cigarette sales and covariates: 39 US states x 31 years (1970-2000)" note _dta: State panel of Abadie, Diamond, and Hainmueller (2010), from quarcs-lab/data-open (isds/smoking_sc.dta). California adopts Proposition 99 in 1989, and the other 38 states form the donor pool. This file stores the state name as text, while the original file stores a labeled numeric code with California = 3. note state: Name of the US state. California is the treated state, and the other 38 states form the donor pool. Construction: The original .dta file stores a numeric code with value labels in alphabetical order (1 = Alabama, 3 = California, 39 = Wyoming). The CSV keeps the label text. Source: ADH (2010), via quarcs-lab/data-open. note year: Calendar year of the observation. Proposition 99 takes effect in 1989, so 1970-1988 is the pre-treatment period and 1989-2000 the post-treatment period. Construction: Stored as a float in the original .dta file and as an integer in the CSV. Units: calendar year. Source: ADH (2010), via quarcs-lab/data-open. note cigsale: Annual cigarette sales per capita, in packs, and the outcome of the analysis. The series divides the tax-paid sales of cigarette packs in a state by its population (Appendix A of ADH 2010). Construction: Original .dta label: cigarette sale per capita (in packs). The post compares California with its synthetic control on this variable in every year. Units: packs per capita (annual). Source: Orzechowski and Walker (2005), via ADH (2010) and quarcs-lab/data-open. note lnincome: Natural logarithm of GDP per capita in the state, as the original .dta label and Table 1 of ADH (2010) describe it. The text and Appendix A of ADH (2010) call it per capita state personal income (logged), converted to 1997 dollars with the Consumer Price Index. Construction: Original .dta label: log state per capita gdp. The post averages it over 1980-1988 as a predictor. Units: log of 1997 dollars per person. Source: Bureau of the Census, United States Statistical Abstract, via ADH (2010) and quarcs-lab/data-open. note beer: Per capita consumption of malt beverages, in gallons. The data start in 1984, so the 1980-1988 average in the post rests on 1984-1988 alone. Construction: Original .dta label: beer consumption per capita. ADH (2010) also average it over 1984-1988 (notes to Table 1). Units: gallons per capita. Source: Beer Institute, via ADH (2010) and quarcs-lab/data-open. note age15to24: Share of the state population aged 15 to 24, stored as a fraction between 0.129 and 0.204 (mean 0.175). The original label calls it a percent, and Table 1 of ADH (2010) reports it in percent, so multiply it by 100 to compare. Construction: Original .dta label: percent of state population aged 15-24 years. The post averages it over 1980-1988 as a predictor. Units: fraction (0-1). Source: US Census Bureau, via ADH (2010) and quarcs-lab/data-open. note retprice: Average retail price of a pack of cigarettes, in cents, including state sales taxes where applicable. Appendix A of ADH (2010) converts income to 1997 dollars but mentions no such conversion for this price. Construction: Original .dta label: retail price of cigarettes. The post averages it over 1980-1988 as a predictor. Units: cents per pack. Source: Orzechowski and Walker (2005), via ADH (2010) and quarcs-lab/data-open. save "smoking_sc.dta", replace