Home-work 1 : Time series modelling for business
-
Plot the scatter plot for Age & Lung Cap variables from the Lung Cap Data set. (5 marks)
-
Perform simple linear regression on any one of the variables from LungCap Data. Keep the independent variable LungCap as a fixed variable. (5 marks)
-
Prepare a lm() model.
-
Use abline() function to show the linear relationship between the variables.
-
-
Perform multiple regression on LungCap dataset using the dependent variables Age, Height and independent variable as LungCap. (5 marks)
-
Provide a lm() model in the code,
-
Provide with the summary of the model.
-
-
Use mouse.dataset (The dataset in given below, please execute it in R Studio). (5 marks)
mouse.data = data.frame(
size = c(1.4, 2.6, 1.0, 3.7, 5.5, 3.2, 3.0, 4.9, 6.3),
weight = c(0.9, 1.8, 2.4, 3.5, 3.9, 4.4, 5.1, 5.6, 6.3),
tail = c(0.7, 1.3, 0.7, 2.0, 3.6, 3.0, 2.9, 3.9, 4.0))
-
-
Perform multiple regression on the dataset and also provide with the summary output.
-
-
Explain Time series regression models in your own words. (5 marks)
-
Explain correlation and auto-correlation. (5 marks)