This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python | |
# -*- coding: utf-8 -*- | |
# | |
# Simple XML validator done while learning the use of lxml library. | |
# -- Juhamatti Niemelä <iiska AT iki DOT fi> | |
import lxml | |
from lxml import etree | |
if __name__ == "__main__": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Multivariate Wald-Wolfowitz test for two samples in separate CSV files. | |
See: | |
Friedman, Jerome H., and Lawrence C. Rafsky. | |
"Multivariate generalizations of the Wald-Wolfowitz and Smirnov two-sample tests." | |
The Annals of Statistics (1979): 697-717. | |
Given multivariate sample X of length m and sample Y of length n, test the null hypothesis: |