Perform Tests of Independence and Correlation

A series of factors were 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[56]:=
Click for copyable input
In[56]:=
Click for copyable input
Out[59]=
Kendall's matrix for the data:
In[17]:=
Click for copyable input
Out[17]//MatrixForm=
IndependenceTest suggests home values drop with increasing nitrogen oxide concentrations:
In[18]:=
Click for copyable input
Out[18]=
The amount of nitrogen oxide is highly correlated with the level of industrialization:
In[19]:=
Click for copyable input
Out[19]=
New to Mathematica? Find your learning path »
Have a question? Ask support »