6.8.2.1.1. statsmodels.sandbox.stats.contrast_tools.contrast_all_one

statsmodels.sandbox.stats.contrast_tools.contrast_all_one(nm)[source]

contrast or restriction matrix for all against first comparison

Parameters:

nm : int

Returns:

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

contrast matrix for all against first comparisons