O'Reilly logo

Mathematica Data Analysis by Sergiy Suchok

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Checking the degree of sample dependence

In statistical analysis, it is important to understand whether we are dealing with dependent or independent sets of data. This affects the system model building approach, and thus, the forecast quality.

The independence of the two data samples (represented in a vector or matrix form) is carried out with the help of the IndependenceTest function. This function conducts a series of tests to check the main hypothesis H0 to see whether the vectors are independent, and to check the alternative hypothesis HA to see whether the vectors are dependent.

The following tests are conducted:

Test's name

Type of test

Description

"BlomqvistBeta"

Monotonic

This is based on Blomqvist's β

"GoodmanKruskalGamma"

Monotonic, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required