6.8.5.2.7. statsmodels.sandbox.stats.multicomp.contrast_diff_mean

statsmodels.sandbox.stats.multicomp.contrast_diff_mean(nm)[source]

contrast or restriction matrix for all against mean comparison

Parameters:

nm : int

Returns:

contr : ndarray, 2d, (nm-1, nm)

contrast matrix for all against mean comparisons