Scenario: Asummes I am a Data Scientist working for a consulting firm.One of my colleges from the AUditing department has asked me to help them assess the financial statement of organisation X.
It has been supplied with two vectors of data: monthly revenue and monthly expenses for the financial year in question.Your task is to calculate the following financial metrics:
- Profit for each month
- Profit after tax for each month (the tax rate is 30%)
- Profit margin for each month - equals to profit after tax divided be revenue
- good months - where the profit after tax was greater than the mean for the year
- bad months - where the profit after tax was less than the mean for the year
- the best month - where the profit after tax was max for the year
- the worst month - where the profit afater tax was min for the year