You are an analyst at a large commercial bank, and it is a week after the outbreak of the COVID-19 pandemic. Management obviously wants to cut back on lending, however also wants to identify industries where the bank can gain market share.
You suspect that the COVID-19 crisis had a larger negative impact on certain sectors of the economy, particularly energy. Alternatively, other sectors may not have been as adversely impacted. How are you going to test your hypothesis?
You can use any tool you want to calculate abnormal returns. See this Colab notebook for a implementation in Python: