H i ,
I have created a file Usage1.csv in the workdirectory.
So far I have the following code
load raw data
Usage <- read.csv("Usage1.csv", header = TRUE)
table(Usage$No1)
install.packages("ggplot2")
install.packages(stringr)
library(ggplot2)
Holt-Winters exponential smoothing with alpha,trend (beta) and gamma( mulitplicative seasonal components.)
Smoothing parameters:
alpha: 0.413418
beta : 0
gamma: 0.9561275
my data looks as follows:
is my code correct?
I need it to read the file Usage1.csv in the workdirectory.
then, it should calculate a rolling alpha,beta and gamma per average of every 5 observations and provide me a forecast of the sales + its alpha,beta and gamma.for the forecasted sales
I am not sure if Studio can do all this.
cheers