In languages other than Mathematica (especially R) if you want to do any time series analysis, you must always difference the series according to some feature of the series in order to satisfy at least weak stationarity. This is especially relevant in cases where you need to remove some kind of trend.
Here's some code which generates a time series, applies an arbitrary trend and does a quick model fit. It seems to work and if you checkout the plot, it seems to be applying the trend correctly.
monthlyObservations = TimeSeries[
WeatherData["KORD",
"Temperature", {{2008, 1, 1}, {2014, 12, 31}, "Month"}]];
trendAdded =
TimeSeries[
MapThread[#1 + #2 &, {monthlyObservations["Values"],
Range[10, 20 - 10/84, 10/84]}]
];
It does appear to difference the data to remove trend, fit a model and then forecast correctly. My question is - how can I see what type of differencing it is using? Is there any way that I can control the type/size of the differencing (ie 1 day difference versus more days?)
I've scoured the documentation and perhaps I've missed it but I haven't yet found a spot where Wolfram explains exactly what kind of magic differencing technique they are doing here. There are a few other StackExchange threads where this is mentioned but nothing about to see what it's doing. Is there some parameter I can look at to see the technique? Thanks!