This section contains materials on how to use the Phi_K correlation analysis code. There are additional side notes on how certain aspects work and where to find parts of the code. For more in depth explanations on the functionality of the code-base, try the API docs.

The tutorials are available in the python/phik/notebooks directory. We have:

  • A basic tutorial: this covers the basics of calculating Phi_K, the statistical significance, and interpreting the correlation.
  • An advanced tutorial: this shows how to use the advanced features of the PhiK library.
  • A spark tutorial: this shows how to calculate the Phi_K correlation matrix for a spark dataframe.

You can open these notebooks directly: