Skip to content

Instantly share code, notes, and snippets.

@jacoblevine
jacoblevine / correspondence_analysis.py
Last active Jan 11, 2018
Correspondence Analysis
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
You can’t perform that action at this time.