Site icon R-bloggers

RTutor: Does Bank Lending Increase Before Elections?

[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.

Assume you are an incumbent local politician that can exert certain control on your local public savings bank. Would you try to increase lending before local elections to polish economic performance?

In their great article Electoral Cycles in Savings Bank Lending (JEEA, 2017) Florian Englmaier and Till Stowasser explore the degree of such electoral lending cycles using detailed German data and non-public banks as a control group. They also study related questions: For example, it does matter whether the election was fairly contested or not.

As part of his Master Thesis at Ulm University, Markus Reichart has created a very nice RTutor problem set that allows you to replicate key findings in an interactive fashion. He puts great emphasis in explaining in detail the underlying difference-in-difference structure that is fairly complex in the final analysis and also adds a nice own analysis about the role of the financial crisis. Like in previous RTutor problem sets, you can enter free R code in a web-based shiny app. The code will be automatically checked and you can get hints how to proceed.

You can test the problem set online on shinyapps.io

https://markusreichart.shinyapps.io/RTutorElectionsAndBankLending

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

https://github.com/mareichart/RTutorElectionsAndBankLending

Here is a screenshot of one of the plots you generate in the problem set:

(Yes, part of the problem set is a discussion of the parallel trends assumption. While one surely would not mind a bit more parallel development in the shown plot, the final regressions do add additional control variables. Also trends look more parallel if averaged across states.)

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.