Example of Difference

The following example shows how to calculate the differences between data values of a time series.

  1. Open the sample data, UtilityUsage.MTW.
  2. Open the Difference dialog box.
    • Mac: Statistics > Time Series > Difference
    • PC: STATISTICS > Graphs and Calculations > Difference
  3. In Variable, enter Electric Charges.
  4. Click OK.

Results

Column C2 contains the differences between consecutive values in the electric charges column.

C1 C2
Electric Charges Difference 1 of Electric Charges
1264 *
1150 -114
1384 234
1651 267
1374 -277
... ...
By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy