Publications by Farhana Zahir
Data624 hw2
Textbook: Hyndman, R.J., & Athanasopoulos, G. (2018) Forecasting: principles and practice, 2nd edition, OTexts: Melbourne, Australia. # Load packages library(fpp2) library(tidyverse) library(gridExtra) Exercise 3.1 For the following series, find an appropriate Box-Cox transformation in order to stabilize the variance. usnetelec usgdp mcopper...
3368 sym R (4002 sym/20 pcs) 8 img
Data624 hw1
Textbook: Hyndman, R.J., & Athanasopoulos, G. (2018) Forecasting: principles and practice, 2nd edition, OTexts: Melbourne, Australia. Exercise 2.1 : Use the help function to explore what the series gold, woolyrnq and gas represent. # load packages library(fpp2) library(ggplot2) help(gold) Description Daily morning gold prices in US dollars. 1 ...
5491 sym R (10103 sym/51 pcs) 32 img
Data624 hw3
Textbook: Hyndman, R.J., & Athanasopoulos, G. (2018) Forecasting: principles and practice, 2nd edition, OTexts: Melbourne, Australia. #Load packages library(fpp2) library(scales) library(ggplot2) library(seasonal) # for X11 library(gridExtra) Exercise 6.2 a. Plot the time series of sales of product A. Can you identify seasonal fluctuations ...
2708 sym R (2526 sym/12 pcs) 11 img
Data624 Exponential Smoothing
Textbook: Hyndman, R.J., & Athanasopoulos, G. (2018) Forecasting: principles and practice, 2nd edition, OTexts: Melbourne, Australia. What is Exponential Smoothing Exponential smoothing is forecasting of future observations using weighted averages of past observations, with the weights decaying exponentially as observations recede further into t...
14880 sym R (16505 sym/58 pcs) 20 img 1 tbl
Data624 hw4
Textbook: Max Kuhn and Kjell Johnson. Applied Predictive Modeling. Springer, New York, 2013. # Required R packages library(mlbench) library(tidyverse) library(GGally) library(caret) library(VIM) library(rcompanion) library(corrplot) library(e1071) library(naniar) Exercise 3.1 The UC Irvine Machine Learning Repository contains a data set...
4699 sym R (10641 sym/33 pcs) 9 img
Data624 hw5
Textbook: Hyndman, R.J., & Athanasopoulos, G. (2018) Forecasting: principles and practice, 2nd edition, OTexts: Melbourne, Australia. #Load packages library(tidyverse) library(fpp2) library(kableExtra) Exercise 7.1 Consider the pigs series — the number of pigs slaughtered in Victoria each month. a) Use the ses() function in R to find the op...
5916 sym R (10473 sym/59 pcs) 14 img 5 tbl
Data624 hw6
Textbook: Hyndman, R.J., & Athanasopoulos, G. (2018) Forecasting: principles and practice, 2nd edition, OTexts: Melbourne, Australia. #Load packages library(tidyverse) library(fpp2) library(urca) Exercise 8.1 Figure 8.31 shows the ACFs for 36 random numbers, 360 random numbers, and 1,000 random numbers. a. Explain the differences among these ...
9855 sym R (10537 sym/96 pcs) 40 img
Data624 Project1
Part A ATM Problem In part A, I want you to forecast how much cash is taken out of 4 different ATM machines for May 2010. The data is given in a single file. The variable ‘Cash’ is provided in hundreds of dollars, other than that it is straight forward. I am being somewhat ambiguous on purpose to make this have a little more business feeling...
7472 sym R (17515 sym/158 pcs) 50 img 1 tbl
Data624 hw7
Textbook: Max Kuhn and Kjell Johnson. Applied Predictive Modeling. Springer, New York, 2013. #Load packages library(tidyverse) library(AppliedPredictiveModeling) library(caret) library(elasticnet) library(glmnet) library(kableExtra) library(corrplot) library(VIM) library(RANN) Exercise 6.2 (a) Start R and use these commands to load the...
5342 sym R (30328 sym/65 pcs) 10 img 1 tbl
Data698 Project
Can Macroeconomic factors predict stock market returns? A case of listed financial stocks on the Dhaka Stock Exchange Introduction Both asset managers and academicians have resorted to chalk out the factors highly correlated with stock market growth in their research. The business value of such research is immense, from decisions in asset alloca...
19989 sym R (43305 sym/158 pcs) 46 img 3 tbl