« View all new features in Mathematica 9  previous  |  next 
New in Mathematica 9Enhanced Probability & Statistics

Perform Tests of Independence and Correlation 

A series of factors was measured in 506 Boston suburbs with the intention of determining how these factors are related to home price. Significant correlations among factors such as nitrogen oxide concentration and median home price serve as a reminder that correlation does not imply causation.
In[1]:=
Click for copyable input
X
Out[1]=

Kendall's matrix for the data.

In[2]:=
Click for copyable input
X
Out[2]//MatrixForm=

IndependenceTest suggests home values drop with increasing nitrogen oxide concentrations.

In[3]:=
Click for copyable input
X
Out[3]=

The amount of nitrogen oxide is highly correlated with the level of industrialization.

In[4]:=
Click for copyable input
X
Out[4]=