Question
FINANCIAL STATEMENT ANALYSIS with R programming: Scenario: You are a Data Scientist working for a consulting firm. One of your colleagues from the Auditing department
FINANCIAL STATEMENT ANALYSIS with R programming:
Scenario: You are a Data Scientist working for a consulting firm. One of your colleagues from the Auditing
department has asked you to help them with financial statement of their organization.
You have been supplied with two vectors of data: monthly revenue and monthly expenses for the financial
year in question.
revenue in 12 months (14574.49, 7606.46, 8611.41, 9175.41, 8058.65, 8105.44, 11496.28, 9766.09,
10305.32, 14379.96, 10713.97, 15433.50)
expenses
in 12 months (12051.82, 5695.07, 12319.20, 12089.72, 8658.57, 840.20, 3285.73, 5821.12,
6976.93, 16618.61, 10054.37, 3803.96)
> profit<- revenue - expenses > profitAfterTax<- profit - profit *0.3 > profitMargin<- round(profitAfterTax / revenue, 2) * 100 > meanthisyear<-mean(profitAfterTax) > GoodMonths<- profitAfterTax > meanthisyear > BadMonths<- profitAfterTax < meanthisyear > BestMonth<- max(profitAfterTax) > WorstMonth<- min(profitAfterTax)
=============================
Q: compute anything else which is not listed above and round() mean() max() min() for
10 Bonus Points (like plots, or any other function)
------------------------------------------------------------------------------------------------------------
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started