california_prop99: California proposition 99

california_prop99R Documentation

California proposition 99

Description

A dataset containing per-capita cigarette consumption (in packs). In year 1989 California imposed a Tobacco tax. The column treated is 1 from then on for California.

Usage

data(california_prop99)

Format

A data frame with 1209 rows and 4 variables:

State

US state name, character string

Year

Year, integer

PacksPerCapita

per-capita cigarette consumption, numeric

treated

the treatmed indicator 0: control, 1: treated, numeric

Source

Abadie, Alberto, Alexis Diamond, and Jens Hainmueller. "Synthetic control methods for comparative case studies: Estimating the effect of California’s tobacco control program." Journal of the American statistical Association 105, no. 490 (2010): 493-505.

Examples


# Load tobacco sales in long panel format.
data("california_prop99")
# Transform to N*T matrix format required for synthdid,
# where N is the number of units and T the time periods.
setup <- panel.matrices(california_prop99)



synth-inference/synthdid documentation built on Jan. 26, 2024, 7:21 a.m.