View correspondence_analysis.py
import numpy as np | |
def correspondence_analysis(x): | |
"""Correspondence Analysis on frequency table x | |
as described in Härdle & Simar (2012) "Applied Multivariate Statistical Analysis" | |
Parameters | |
---------- | |
x : np.ndarray | |
n-by-m table of counts or frequencies of m categories in n samples | |