ENH: Add t-test from descriptive stats function.

Refactoring that allows for the user to calculate the descriptive statistics. See https://github.com/statsmodels/statsmodels/issues/1843