cigDemand | R Documentation |
Balanced panel dataset on annual cigarette consumption in the US for the 48 continental states in the years 1985 until 1995. The dataset is available from \insertCiteStock2003;textualpdynmc and used in \insertCiteSW2019;textualpdynmc and \insertCiteFriPuaSch2022;textualpdynmc. Gratitude is owed to Jonathan Gruber of MIT for providing the data.
data(cigDemand)
A dataset with 528 rows and 9 variables containing:
state
year
consumer price index (US)
state population
number of cigarette packs sold per capita and year
state personal income (total, nominal)
average federal, state, and local excise taxes on cigarettes for fiscal year in cents per pack
average price during fiscal year in cents per pack (including sales taxes)
average excise tax for fiscal year in cents per pack (including sales taxes)
## Not run:
data(cigDemand, package = "pdynmc")
packs <- cigDemand$packpc
tax <- cigDemand$tax
\donttest{plot(y = packs, x = tax)}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.