Permalink
Browse files

Changed maxiter and tolerance for _modif_newton

  • Loading branch information...
j-grana6 committed Jul 6, 2012
1 parent ebac685 commit d99b0a7b43b2b38d461eb26180684a218b495b7f
Showing with 2 additions and 2 deletions.
  1. +2 −2 statsmodels/emplike/descriptive.py
@@ -139,8 +139,8 @@ def _modif_newton(self, x0):
grad = lambda x0: - (self._get_j_y(x0.T)[0]).T * \
(self._get_j_y(x0.T)[1])
hess = lambda x0: (self._get_j_y(x0.T)[0]).T * (self._get_j_y(x0.T)[0])
- kwds = {'tol': 1e-8}
- res = _fit_mle_newton(f, grad, x0, (), kwds, hess=hess, maxiter=50, \
+ kwds = {'tol': 1e-10}
+ res = _fit_mle_newton(f, grad, x0, (), kwds, hess=hess, maxiter=20, \
disp=0)
return res[0].T

0 comments on commit d99b0a7

Please sign in to comment.