In some cases, first-order differencing does not stationarize the time series and therefore the data is differenced another time to generate a stationary time series. Therefore, the second-order differenced time series is generated as follows:
The time series resulting from second-order differencing have N - 2 observations. It is almost never required to perform differencing of order higher than second order.