SciPy

scipy.stats.glm

scipy.stats.glm(*args, **kwds)[source]

glm is deprecated! glm is deprecated in scipy 0.13.0 and will be removed in 0.14.0. Use ttest_ind for the same functionality in scipy.stats, or statsmodels.OLS for a more full-featured general linear model.

Calculates a linear model fit ... anova/ancova/lin-regress/t-test/etc. Taken from:
Returns :statistic, p-value ???