J.P. Morgan: Isolate campaign effects via DiD and Instrumental Variables regression. Python, Statsmodels, Scipy, Pandas.
A retail banking institution conducted a series of direct marketing campaigns between 2008 and 2010, reaching customers via phone calls to promote financial products—specifically, term deposits. These efforts generated rich, time-ordered customer-level data now widely used for research and data science education.
As a data scientist at J.P. Morgan working with this campaign data, your objective is to derive meaningful and actionable insights from real-world marketing campaign data. By analyzing client features and campaign history, your findings will help inform strategies to improve customer acquisition, optimize outreach channels, and evaluate campaign effectiveness.
This assignment simulates common analytical challenges in retail banking. You are expected to apply rigorous statistical techniques and causal inference methods to deliver trustworthy insights.
The company is interested in answering the following:
The file bank-additional-full.csv contains anonymized marketing data collected by a Portuguese retail banking institution between May 2008 and November 2010. It includes 41,188 customer records and the following variables:
age – Age of the clientjob – Occupation typemarital – Marital statuseducation – Education leveldefault – Has credit in defaulthousing, loan – Has housing/personal loancontact – Contact communication type (cellular or telephone)month, day_of_week – Timing of last contactduration – Duration of last contact in secondscampaign – Number of contacts during current campaignpdays, previous, poutcome – Previous campaign historyemp.var.rate, cons.price.idx, cons.conf.idx, euribor3m, nr.employed – Socioeconomic indicatorsy – Target: Whether the client subscribed to a term deposit (yes / no)Use the dataset to apply hypothesis testing and causal inference techniques. Your deliverable should include: