Displaying 1 result from an estimated 1 matches for "nybirths".
Did you mean:
births
2012 Dec 04
4
partial analisys of a time series
...nt to analyze separately the months of a time series. In other words, I
want to plot and fit models for each month separately.
Taking the example of
http://a-little-book-of-r-for-time-series.readthedocs.org/en/latest/src/timeseries.html
births <- scan("http://robjhyndman.com/tsdldata/data/nybirths.dat")
birthstimeseries <- ts(births, frequency=12, start=c(1946,1))
birthstimeseries
plot.ts(birthstimeseries)
birthstimeseriesHW <- HoltWinters(birthstimeseries)
plot(birthstimeseriesHW)
How to proceed the plotting and HoltWinters smoothing considereing only
Januarys, Februarys, etc. s...