I wish to model arrivals of people into a healthcare queue. The methods I have studied involve assuming that the arrival rate is constant - but the data clearly show this is not true, it shows a sinusoidal pattern.
I was thinking of fitting a sinusoid to the data (using least squares), then...
I have to forecast about +/- 700 products for my company and I am planning on using some kind of smoothing method like Holt-Winter. The problem i have, is that the history has "holes" in it, meaning there are dips in the sales history due to out of stock situations. Before i can calculate a...
I have "smoothed" rather than using a linear line between X and Y.
My R code is the following :
# Loess model
plot(Y ~ X)
loess.model <- loess(Dataset$Y ~ Dataset$X)
hat <- predict(loess.model)
lines(Dataset$X[order(Dataset$X)], hat[order(Dataset$X)], col="red")...