Checking if a time series is homogenous with an homogeneity test in XLSTAT-Time

Dataset for Homogeneity tests for time series XLS39.0 KB

Tutorial video
Homogeneity tests for time series is part of: Download Trial version More details See users' feedback
  • Time Time series analysis software

  • System configuration

    • Windows:
      • Versions: 9x/Me/NT/2000/XP/Vista/Win 7
      • Excel: 97 and later
      • Processor: 32 or 64 bits
      • Hard disk: 150 Mb
    • Mac OS X:
      • OS: OS X
      • Excel: X, 2004 and 2011
      • Hard disk: 150Mb.

Benefits

  • Easy and user-friendly
    Easy and user-friendly XLSTAT is flawlessly integrated with Microsoft Excel which is the most popular spreadsheet worldwide. This integration makes it one of the simplest available tools to work with as it utilizes the same philosophy as Microsoft Excel. The program is accessible in a dedicated XLSTAT tab. The analyses are grouped into functional menus. The dialog boxes are user-friendly and setting up an analysis is straightforward.
  • Data and results shared seamlessly
    Data and results shared seamlessly One of the greatest advantages of XLSTAT is the way you can share data and results seamlessly. As the results are stored in Microsoft Excel, anyone can access them. There is no need for the receiver to have an XLSTAT license or any additional viewer which makes your team-work easier and more affordable. In addition, results are easily integrable into other Microsoft Office software such as PowerPoint, so that you can create striking presentation in minutes.
  • Modular
    Modular XLSTAT is a modular product. XLSTAT-Pro is a core statistical module of XLSTAT which includes all the mainstream functionalities in statistics and multivariate analysis. More advanced features contained in add-on modules can be added for specific applications. This way you can adapt the software to your needs making the software more cost-efficient.
  • Didactic
    Didactic The results of XLSTAT are organized by analysis and are easy to navigate. Moreover useful information is provided along with the results to assist you in your interpretation.
  • Affordable
    Affordable XLSTAT is a complete and modular analytical solution that can suit any analytical business needs. It is very reasonably priced so that the return of your investment is almost immediate. Any XLSTAT license comes with top level support and assistance.
  • Accessible - Available in many languages
    Accessible - Available in many languages We have ensured XLSTAT is accessible to everyone by making the program available in many languages, including Chinese, English, French, German, Italian, Japanese, Polish, Portuguese and Spanish.
  • Automatable and customizable
    Automatable and customizable Most of the statistical functions available in XLSTAT can be called directly from the Visual Basic window of Microsoft Excel. They can be modified and integrated to more code to fit to the specificity of your domain. Adding tables and plots as well as modifying existing outputs becomes easy. Furthermore, XLSTAT includes some special tools on the dialog boxes to generate automatically the VBA code in order to reproduce your analysis using the VBA editor or to simply load pre-set settings. This effortless automation of routine analysis will be a huge time saver on your part.

Dataset for the homogeneity test of a time series

An Excel sheet with both the data and the results can be downloaded by clicking here.

Data are measures of the flow of a river taken every day during one month (30 measures). Our goal is to check if this time series is homogenous.

Homogeneity tests of a time series

Homogeneity tests involve a large number of tests for which the null hypothesis is that a time series is homogenous between two given times. The variety of the tests comes from the fact that there are many possible alternative hypotheses: change in distribution, changes in average (one or more times) or presence of trend.

The tests presented in this tool correspond to the alternative hypothesis of a single shift. For all tests, XLSTAT provides p-values using Monte Carlo resamplings. Exact calculations are either impossible or too costly in computing time.

Setting up a homogeneity test of a time series

After opening XLSTAT, click the Time button in the ribbon and select Homogeneity tests (see below).

hom1.gif

Once you've clicked on the button, the dialog box appears.

Select the data on the Excel sheet. You have to select the time series “flow”.

As we selected the column title for the series, we leave the option Series labels activated. The dates are in the first column, they correspond to days of the month.

Four tests can be applied: The Pettitt's test, Alexandersson’s SNHT test, Buishand’s test and von Neumann’s ratio test. hom2.gif

In the Options tab, we select Shift <> 0 as alternative hypothesis. It means that there is a shift between two parts of the time series.

hom3.gif

Once you have clicked on the OK button, the computation starts.

Interpreting the results for a homogeneity test of a time series

The results start with the basic statistics associated to the time series.

Then, the results of the first test are displayed. The Pettitt's test is a nonparametric test that requires no assumption about the distribution of data. The Pettitt's test is an adaptation of the rank-based Mann-Whitney test that allows identifying the time at which the shift occurs.

hom4.gif

The p-value shows that the null hypothesis is rejected; we can conclude that there is a shift between two parts of our time series. The associated plot confirms this result.

hom5.gif

The SNHT test (Standard Normal Homogeneity Test) is usually applied to a series of ratios that compare the observations with an average. The ratios are then standardized. The null hypotheses is: H0: The obtained ratios follow a N(0,1) distribution.

Since the p-value is very small, we reject the null hypothesis and thus conclude that there exists a shift in the time series. This result confirms the result of the first test.

hom6.gif

The Buishand’s test (1982) can be used on variables following any type of distribution. It is based on the null hypothesis: H0: The T variables follow one or more distributions that have the same mean. Since the p-value is very small, this hypothesis is rejected and the alternative hypothesis will be: there exists a time t from which the variables change of mean.

hom7.gif

Finally, the von Neumann ratio is based on the sum of the squares differences between each pair of following time measures. The mean of this ratio is equal to 2 when the average of the time series is constant. The p-value is equal to 0,002, which leads us to reject the null hypothesis of homogeneity of the time series. This also confirms the preceding results.

hom8.gif

We have shown with these test that there exists a shift in the flow of the river that happens at the 15th day of the month.