smoothing

  1. P

    Brownian motion around a sinusoid.

    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...
  2. I

    Fix holes in the sales history for forecast preperation

    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...
  3. F

    Local polynomial regression

    Hi, 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) loess.model hat <- predict(loess.model) lines(Dataset$X[order(Dataset$X)], hat[order(Dataset$X)], col="red")...