Added sample patch. See the pull request at Statsmodels/statsmodels#817