Data Analytics Assignment 1
Data Analytics Assignment 1
Data Analytics Assignment 1
BFT - 6
(Deepening Specialisation 2: Apparel Production Management)
Assignment:
Using data collection methods and applying principles of statistics carry out the following:
Identify problems faced in industrial engineering and collect appropriate data.
Use any one of the following methods in Principle of Forecasting:
Time Series
Solution:
ag<-covid19.data(case='aggregated')
tsc<-covid19.data(case = 'ts-confirmed')
#summary
report.summary(Nentries=10 , graphical.output = F)
- We will be able to see graphs and charts on the right side under plots , upon
zooming we observe :
● We see that the range of dates is from : january 2020 to april 2022 , it is for top 10
countries .
● The pie chart and bar graph show the countries with the confirmed cases and death
cases respectively.
● While Us has the highest no. of confirmed cases , Turkey has the least .
● For death cases , the US is again the highest but France is the lowest .
#growth rate
growth.rate(tsc, geo.loc = 'india')
We can see that we get 2 plots , on the top , y has 2 axis ,one in regular and other in log
scale , what we can observe from here is that during the second lockdown the cases were
increasing more rapidly than before the first lockdown .
At the bottom we have the growth rate as a part of log scale .
- Now let us extract one more time series data , for all the cases and we save it into
tsa - the name of dataframe.
tsa<-covid19.data(case = 'ts-ALL')
#TOTALS PLOT
totals.plt(tsa)
#live map
live.map(tsa)
By clicking on the viewer and scrolling on the particular countries we can see the no. of
cases .
- One of the model that is popular among the researchers working on covid 19 data is
called as SIR model . This groups the people into 3 categories , in the first category
we have
#sir model
generate.SIR.model(tsc, 'india',tot.population = 1383000000)