Skip to content

Commit

Permalink
Merge 53a3518 into c99558b
Browse files Browse the repository at this point in the history
  • Loading branch information
josef-pkt committed Jan 31, 2018
2 parents c99558b + 53a3518 commit c3044e5
Show file tree
Hide file tree
Showing 6 changed files with 672 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ def get_data_files():
# temporary, until moved:
package_data.update({"statsmodels.sandbox.regression.tests" :
["*.dta", "*.csv"]})
package_data.update({"statsmodels.miscmodels.tests" : ['*.csv']})

#TODO: deal with this. Not sure if it ever worked for bdists
#('docs/build/htmlhelp/statsmodelsdoc.chm',
Expand Down
5 changes: 4 additions & 1 deletion statsmodels/base/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,10 @@ def fit(self, start_params=None, method='nm', maxiter=500, full_output=1,
method=method, maxiter=maxiter,
full_output=full_output,
disp=disp, callback=callback, **kwargs)
genericmlefit = GenericLikelihoodModelResults(self, mlefit)

results_class = getattr(self, 'results_class',
GenericLikelihoodModelResults)
genericmlefit = results_class(self, mlefit)

#amend param names
exog_names = [] if (self.exog_names is None) else self.exog_names
Expand Down

0 comments on commit c3044e5

Please sign in to comment.