RTutor: Gasoline Taxes and Consumer Behavior

[This article was first published on Economics and R - R posts, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

How do consumers react to an increase in gasoline taxes? How much will they drive less? Will they buy more fuel efficient cars? Do tax increases have a stronger impact than gasoline price increases from other sources, like higher oil prices?

In their very interesting article Gasoline Taxes and Consumer Behavior (AEJ Policy, 2014) Shanjun Li, Joshua Linn and Erich Muehlegger study these questions for the US. They go even further and use news data to study in how far higher media coverage is one reason for tax increases to have a higher impact on consumer behavior than price increases from other sources.

As part of her Master Thesis at Ulm University, Melina Klenk has created a very nice RTutor problem set that allows you to replicate key findings of this analysis in an interactive fashion.

Here is one of the many plots that you will generate when working through the problem set:

You can test the problem set online on shinyapps.io

https://melina-kle.shinyapps.io/RTutorGasolineTaxes

or locally install the problem set, by following the installation guide at the problem set’s Github repository:

https://github.com/melinakle/RTutorGasolineTaxes

If you want to learn more about RTutor, try out other problem sets, or create a problem set yourself, take a look at the Github page

https://github.com/skranz/RTutor

or at the documentation

https://skranz.github.io/RTutor

To leave a comment for the author, please follow the link and comment on their blog: Economics and R - R posts.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)