author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
641,971
16.05.2015 08:47:47
14,400
dc5c9a0297b0c1671c73df7731808e7ad8e4d91d
ENH/BUG: `_fit_zeros` copy cov_type information to returned results
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -617,6 +617,10 @@ class LikelihoodModel(Model):\nif hasattr(res_constr, 'cov_params_default'):\nres._results.cov_params_default = np.zeros((k_params, k_params))\nres._results.cov_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/BUG: `_fit_zeros` copy cov_type information to returned results
641,971
24.05.2015 21:45:47
14,400
367a4b672d6be21acb0118267fb6d7b820ff23c0
ENH: add restriction matrix to SCADSmoothed (experimental)
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalties.py", "new_path": "statsmodels/base/_penalties.py", "diff": "@@ -210,7 +210,7 @@ class SCADSmoothed(SCAD):\n\"\"\"\n- def __init__(self, tau, c=3.7, c0=None, wts=None):\n+ def __init__(self, tau, c=3.7, c0=None, wts=None, restriction...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add restriction matrix to SCADSmoothed (experimental)
641,971
28.05.2015 12:48:38
14,400
7938389ae8b7bdfcbf42701a35eac83b70458427
ENH: SCADSmoothed add linear restriction
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalized.py", "new_path": "statsmodels/base/_penalized.py", "diff": "@@ -103,7 +103,11 @@ class PenalizedMixin(object):\nhess = super(PenalizedMixin, self).hessian(params)\nif pen_weight != 0:\n- hess -= np.diag(pen_weight * self.penal.deriv...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: SCADSmoothed add linear restriction
641,971
01.05.2018 11:25:39
14,400
8eef8285a49915c3541e03d3ecd587f560874930
TST: adjust test for refactoring changes and precision issues
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/tests/test_generic_methods.py", "new_path": "statsmodels/base/tests/test_generic_methods.py", "diff": "@@ -251,7 +251,8 @@ class CheckGenericMixin(object):\nif (isinstance(self.results.model, (sm.GEE))):#, sm.OLS, sm.WLS))):\nraise SkipTest\n-...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: adjust test for refactoring changes and precision issues
641,971
01.05.2018 11:26:58
14,400
7f33d630538eb97ea93da6143c8f675b55914ac3
TST: work around transformed start_params for NegativeBinomial
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/tests/test_generic_methods.py", "new_path": "statsmodels/base/tests/test_generic_methods.py", "diff": "@@ -34,6 +34,7 @@ class CheckGenericMixin(object):\ncls.exog = x\ncls.xf = 0.25 * np.ones((2, 4))\ncls.predict_kwds = {}\n+ cls.transform_in...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: work around transformed start_params for NegativeBinomial
641,971
01.05.2018 14:44:20
14,400
cbb3f857e3610efa33a8160836704cef57358660
BUG rename scoreobs -> score_obs
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalized.py", "new_path": "statsmodels/base/_penalized.py", "diff": "@@ -74,11 +74,11 @@ class PenalizedMixin(object):\nreturn sc\n- def scoreobs(self, params, pen_weight=None):\n+ def score_obs(self, params, pen_weight=None):\nif pen_weight...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG rename scoreobs -> score_obs
641,971
01.05.2018 22:00:20
14,400
86a9018e1e13e9cfee6d28ba88d6eb6528f4281c
ENH/TST: add GLMPenalized test cases, basic
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalized.py", "new_path": "statsmodels/base/_penalized.py", "diff": "@@ -74,11 +74,11 @@ class PenalizedMixin(object):\nreturn sc\n- def score_obs(self, params, pen_weight=None):\n+ def score_obs(self, params, pen_weight=None, **kwargs):\nif...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/TST: add GLMPenalized test cases, basic
641,971
02.05.2018 00:30:23
14,400
9089b7ac908e6546e0c47a35eb41e46826281af1
TST: GLM Poisson compated to discrete Poisson
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/tests/test_penalized.py", "new_path": "statsmodels/base/tests/test_penalized.py", "diff": "@@ -139,7 +139,7 @@ class TestPenalizedGLMPoissonOracle(CheckPenalizedPoisson):\ncls.res2 = modp.fit()\nmod = GLMPenalized(y, x, family=family.Poisson()...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: GLM Poisson compated to discrete Poisson
641,971
05.05.2018 10:24:13
14,400
d8e40d2463929987ef17a68ac85e2f110a09d8a7
BUG/ENH/TST: fix count model predict default closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/tests/test_generic_methods.py", "new_path": "statsmodels/base/tests/test_generic_methods.py", "diff": "@@ -224,13 +224,13 @@ class CheckGenericMixin(object):\nassert_allclose(res1.resid, res2.resid, rtol=1e-10)\nex = self.results.model.exog.me...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/ENH/TST: fix count model predict default closes #4595
641,971
07.05.2018 12:13:56
14,400
d45786dc2f713abffcf4b515a664134eca4542b7
REF: add `**kwds` to PenalizedMixin
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalized.py", "new_path": "statsmodels/base/_penalized.py", "diff": "@@ -8,6 +8,7 @@ License: BSD-3\nimport numpy as np\nfrom ._penalties import SCADSmoothed\n+from statsmodels.tools.numdiff import approx_fprime_cs, approx_fprime\nclass Pena...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: add `**kwds` to PenalizedMixin
641,971
09.05.2018 11:06:23
14,400
e733e049e21347453b39ae6083fc625b506a9397
TST: test_penalized: add GLMLogit and GLMGaussian for Oracle case
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/tests/test_penalized.py", "new_path": "statsmodels/base/tests/test_penalized.py", "diff": "@@ -324,7 +324,7 @@ class TestPenalizedPoissonOraclePenalized2HC(CheckPenalizedPoisson):\nassert_allclose(res1.bse[:self.k_nonzero], bse, rtol=5e-6)\n-#...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: test_penalized: add GLMLogit and GLMGaussian for Oracle case
641,971
09.05.2018 15:51:24
14,400
c26dbfc67aab838cf952da60d4f2376ff1e9f4e5
TST: test binomial count, numdiff for score and hessian
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/tests/test_penalized.py", "new_path": "statsmodels/base/tests/test_penalized.py", "diff": "@@ -13,6 +13,7 @@ from statsmodels.genmod.generalized_linear_model import GLM\nfrom statsmodels.genmod.families import family\nfrom statsmodels.base._pe...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: test binomial count, numdiff for score and hessian
641,971
09.05.2018 17:29:41
14,400
d24a9ef518ce25a3702b3834936df01da7f37add
BUG fix bug in penalized hessian and score_numdiff with tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalized.py", "new_path": "statsmodels/base/_penalized.py", "diff": "@@ -63,7 +63,7 @@ class PenalizedMixin(object):\nreturn llf\n- def score_numdiff(self, params, pen_weight=None, method='cs', **kwds):\n+ def score_numdiff(self, params, pen...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG fix bug in penalized hessian and score_numdiff with tests
641,971
15.05.2018 11:31:33
14,400
97cd6d648fea8a274619393f6ddf4460886670eb
ENH/TST: trim option, also for GLM, add and adjust unit tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalized.py", "new_path": "statsmodels/base/_penalized.py", "diff": "@@ -144,11 +144,13 @@ class PenalizedMixin(object):\n# note boolean check for \"is False\" not evaluates to False\nreturn res\nelse:\n+ if trim is True:\n+ trim = 1e-4 # tr...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/TST: trim option, also for GLM, add and adjust unit tests
641,971
17.05.2018 11:28:15
14,400
412bf826c3491ffaf9433147c61fae1c3f23b143
REF/CLN: keyword name change and partial cleanup
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalized.py", "new_path": "statsmodels/base/_penalized.py", "diff": "@@ -13,33 +13,43 @@ from statsmodels.tools.numdiff import approx_fprime_cs, approx_fprime\nclass PenalizedMixin(object):\n\"\"\"Mixin class for Maximum Penalized Likelihood...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/CLN: keyword name change and partial cleanup
641,971
17.05.2018 11:31:11
14,400
2509eeafc7d4a6e9829d0c4064c86cde7185a8d0
ENH: add L2 Penalty class, tests compare with TheilGLS
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalties.py", "new_path": "statsmodels/base/_penalties.py", "diff": "@@ -93,6 +93,29 @@ class L2(Penalty):\nreturn 2 * self.wts * self.alpha * params\n+class L2Univariate(Penalty):\n+ \"\"\"\n+ The L2 (ridge) penalty applied to each paramete...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add L2 Penalty class, tests compare with TheilGLS
641,971
17.05.2018 12:23:53
14,400
69d5f2f31f13f478b2816b6e736d055f8796de8e
REF: switch to NonePenalty by default
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalized.py", "new_path": "statsmodels/base/_penalized.py", "diff": "@@ -7,7 +7,7 @@ License: BSD-3\n\"\"\"\nimport numpy as np\n-from ._penalties import SCADSmoothed\n+from ._penalties import NonePenalty\nfrom statsmodels.tools.numdiff impo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: switch to NonePenalty by default
641,971
17.05.2018 13:55:01
14,400
e5b883c3e41079611983b6a7b5737cd1405c0f20
REF/TST shift SmoothedSCAD to zero, add left out test_penalties
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalties.py", "new_path": "statsmodels/base/_penalties.py", "diff": "@@ -288,11 +288,13 @@ class SCADSmoothed(SCAD):\nvalue = super(SCADSmoothed, self).func(params[None, ...])\nself.weights = weights\n+ # shift down so func(0) == 0\n+ value ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/TST shift SmoothedSCAD to zero, add left out test_penalties
641,971
18.05.2018 13:49:17
14,400
e2df1f34079be3ed579adc6b4974e07d2522b7f5
REF: _penalties: rename and deprecate grad and wts/wt see
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalties.py", "new_path": "statsmodels/base/_penalties.py", "diff": "@@ -22,6 +22,17 @@ penalties do not belong here).\nimport numpy as np\n+def _check_wts(weights, wts):\n+ \"\"\"helper function for deprecating `wts`\n+ \"\"\"\n+ if wts is ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: _penalties: rename and deprecate grad and wts/wt see #4642
641,971
18.05.2018 21:23:06
14,400
2aa55e89fe5b493b182082075d4ee69f05a5489c
ENH: _penalties add deriv2 to PseudoHuber and L2
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalties.py", "new_path": "statsmodels/base/_penalties.py", "diff": "@@ -19,6 +19,7 @@ The penaties should be smooth so that they can be subtracted from log\nlikelihood functions and optimized using standard methods (i.e. L1\npenalties do no...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: _penalties add deriv2 to PseudoHuber and L2
641,831
19.05.2018 21:36:29
14,400
16ca9fd5c910f960d924d384aae400fd1e5da4f5
ENH: Initialize blocks with __setitem__
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/initialization.py", "new_path": "statsmodels/tsa/statespace/initialization.py", "diff": "@@ -210,6 +210,9 @@ class Initialization(object):\nself.set(None, initialization_type, constant=constant,\nstationary_cov=stationary_cov)\n+ def...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Initialize blocks with __setitem__
641,831
19.05.2018 21:37:10
14,400
7a42e22c1f596d2d583c8b452e2ad0b032e09473
ENH: Add dimension validation.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_initialization.pyx.in", "new_path": "statsmodels/tsa/statespace/_initialization.pyx.in", "diff": "@@ -95,6 +95,12 @@ cdef class {{prefix}}Initialization(object):\n{{cython_type}} [::1, :] initial_stationary_state_cov,\nint complex_s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Add dimension validation.
641,971
21.05.2018 13:08:23
14,400
4ece02673b3757c550a6d7bcd3e9bcf3f8f019b4
REF/CLN: rename one wts in penalties, cleanup comments and line breaks
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalized.py", "new_path": "statsmodels/base/_penalized.py", "diff": "@@ -10,6 +10,7 @@ import numpy as np\nfrom ._penalties import NonePenalty\nfrom statsmodels.tools.numdiff import approx_fprime_cs, approx_fprime\n+\nclass PenalizedMixin(ob...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/CLN: rename one wts in penalties, cleanup comments and line breaks
641,971
23.05.2018 13:20:22
14,400
363b15e0378366eeb836ddb11f252c52a4002ced
ENH: add ultra-high screening with SCAD
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/base/_screening.py", "diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Sat May 19 15:53:21 2018\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\"\"\"\n+\n+from collections import defaultdict\n+import numpy as np\n+\n+from stats...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add ultra-high screening with SCAD
641,971
24.05.2018 13:59:19
14,400
41125a78b13b7fb3e9790aeb725d480af3cdbd53
REF: reorganize, rename to screen_exog, skip_hessian
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_screening.py", "new_path": "statsmodels/base/_screening.py", "diff": "@@ -79,7 +79,27 @@ class VariableScreening(object):\nself.threshold_trim = 1e-4\nself.k_max_included = 20\n- def screen_vars(self, exog, endog=None, maxiter=5, disp=0):\n+ ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: reorganize, rename to screen_exog, skip_hessian
641,971
24.05.2018 14:32:03
14,400
41a20b6bbf370b2c9af374848558a9f013be2a92
ENH: add screen_exog_iterator method
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_screening.py", "new_path": "statsmodels/base/_screening.py", "diff": "@@ -180,3 +180,35 @@ class VariableScreening(object):\nstart_params = start_params,\nhistory = history)\nreturn res\n+\n+ def screen_exog_iterator(self, exog_iterator):\n+ ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add screen_exog_iterator method
641,971
25.05.2018 09:47:44
14,400
98404daf2a4faff645a8d004401fc5b99e2b461d
ENH: add PoissonResults resid_pearson
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -3690,6 +3690,7 @@ class L1CountResults(DiscreteResults):\nself.df_resid = float(self.model.endog.shape[0] - self.nnz_params) + k_extra\nclass PoissonRes...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add PoissonResults resid_pearson
641,971
25.05.2018 12:02:20
14,400
dfa56a52cdc99a22b5268480d60a6db3895f2ebc
REF/ENH: more user options, xfailing unit tests fro Logit and GLM-Logit screening
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_screening.py", "new_path": "statsmodels/base/_screening.py", "diff": "@@ -56,7 +56,8 @@ class VariableScreening(object):\n\"\"\"\n- def __init__(self, model, base_class, **kwargs):\n+ def __init__(self, model, base_class, k_add=5, k_max_add=0...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/ENH: more user options, xfailing unit tests fro Logit and GLM-Logit screening
641,971
25.05.2018 13:53:05
14,400
9b28e3d8d0423e7ed521b11e1c6fc038ef7607f6
REF/TST: add projection to ranking_measure, make logit params larger in test
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_screening.py", "new_path": "statsmodels/base/_screening.py", "diff": "@@ -83,9 +83,13 @@ class VariableScreening(object):\nself.k_max_included = k_max_included\nself.ranking_attr = kwargs.get('ranking_attr', 'resid_pearson')\n- def ranking_me...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/TST: add projection to ranking_measure, make logit params larger in test
641,971
25.05.2018 20:57:39
14,400
d9c0fa0950c02e98452aa87db8ce4ac846d9fdc4
DOC/REF: docstrings and API cleanup, remove base_class arg
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_screening.py", "new_path": "statsmodels/base/_screening.py", "diff": "@@ -23,41 +23,64 @@ class VariableScreening(object):\nThis is an adjusted version of Fan's sure independence screening.\n+ Parameters\n+ ----------\n+ model : instance of p...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC/REF: docstrings and API cleanup, remove base_class arg
641,971
25.05.2018 20:59:19
14,400
d00201e04adfc839a4d5c2ba9ed2ed7f62ee102c
REF/ENH: add convergence check, fix k_keep in iterator version
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_screening.py", "new_path": "statsmodels/base/_screening.py", "diff": "@@ -193,10 +193,9 @@ class VariableScreening(object):\n#start_params = [endog.mean()]\nres_pen = model_class(endog, x0, **self.init_kwds).fit(disp=disp)\nstart_params = res...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/ENH: add convergence check, fix k_keep in iterator version
641,971
26.05.2018 00:38:43
14,400
d817ccde78796ca4cbd4584356750905d82cf69e
ENH/TST: add iterations to results, more unit tests and some cleanup
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_screening.py", "new_path": "statsmodels/base/_screening.py", "diff": "@@ -241,6 +241,7 @@ class VariableScreening(object):\nbreak\nidx_old = idx_nonzero\n+\n# final esimate\nres_final = model_class(endog, x[:, idx_nonzero], penal=self.penal,\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/TST: add iterations to results, more unit tests and some cleanup
642,048
16.05.2018 22:15:02
14,400
ace31f125f786d26f6703c8a91c2b5c264091e50
try to make pattern order deterministic
[ { "change_type": "MODIFY", "old_path": "statsmodels/imputation/bayes_mi.py", "new_path": "statsmodels/imputation/bayes_mi.py", "diff": "@@ -66,7 +66,13 @@ class BayesGaussMI(object):\nif v not in rowmap:\nrowmap[v] = []\nrowmap[v].append(i)\n- self.patterns = [np.asarray(x) for x in rowmap.values()]...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
try to make pattern order deterministic
642,048
26.05.2018 16:08:07
14,400
daa4d7deba52dffcf80700776a810cb9941cc45e
use ordereddict to preserve order
[ { "change_type": "MODIFY", "old_path": "statsmodels/imputation/bayes_mi.py", "new_path": "statsmodels/imputation/bayes_mi.py", "diff": "import numpy as np\n+from collections import OrderedDict\nfrom statsmodels.base.model import LikelihoodModelResults\n@@ -58,7 +59,7 @@ class BayesGaussMI(object):\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
use ordereddict to preserve order
642,048
26.05.2018 16:26:45
14,400
6701c7f409844de4bc13fb9259d5a51d5b2b4788
Docstring edits and variable name changes for clarity
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/mixed_linear_model.py", "new_path": "statsmodels/regression/mixed_linear_model.py", "diff": "@@ -435,8 +435,8 @@ def _smw_solver(s, A, AtA, Qi, di):\nAtA : square ndarray\n:math:`A^\\prime A`, a q x q matrix.\nQi : square symmetric ndarr...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Docstring edits and variable name changes for clarity
642,048
26.05.2018 16:30:09
14,400
27edd0dce81bb7e8bc97d62ea5aeb7a74d474dcd
Change dimension parameter name from s to d to avoid name collision
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/mixed_linear_model.py", "new_path": "statsmodels/regression/mixed_linear_model.py", "diff": "@@ -499,8 +499,8 @@ def _smw_logdet(s, A, AtA, Qi, di, B_logdet):\nAtA : square ndarray\n:math:`A^\\prime A`, a q x q matrix.\nQi : square symme...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Change dimension parameter name from s to d to avoid name collision
642,048
26.05.2018 16:36:33
14,400
338fc3e866c1c8241b9fe504d36ca05c021ce9c1
Add more SMW tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_lme.py", "new_path": "statsmodels/regression/tests/test_lme.py", "diff": "@@ -1099,10 +1099,10 @@ def test_random_effects_getters():\ndef test_smw_solver():\nnp.random.seed(23)\n- p = 5\n- q = 4\n- r = 2\n- d = 2\n+\n+ def tes...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add more SMW tests
642,048
26.05.2018 16:46:05
14,400
6fbad571d3f50e8a4c91866b1a83391bdf6ee92d
pep8 cleanup of lme tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_lme.py", "new_path": "statsmodels/regression/tests/test_lme.py", "diff": "-\nimport warnings\nimport numpy as np\nimport pandas as pd\n@@ -14,12 +13,15 @@ import statsmodels.tools.numdiff as nd\nimport os\nimport csv\nimport s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
pep8 cleanup of lme tests
641,971
27.05.2018 09:05:17
14,400
e11196cf6e1a9cfa9081ca3203612842690a0470
REF: rework screening algorithm, changes number of variables to add
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_screening.py", "new_path": "statsmodels/base/_screening.py", "diff": "@@ -30,9 +30,10 @@ class VariableScreening(object):\npen_weight : None or float\npenalization weight use in SCAD penalized MLE\nk_add : int\n- number of exog to add\n+ numb...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: rework screening algorithm, changes number of variables to add
641,971
27.05.2018 15:57:45
14,400
061da8dca4245dddcd78b02b78c236fb337d3583
BUG: SCADSmoothed: fix weights handling, with workaround for Null
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalties.py", "new_path": "statsmodels/base/_penalties.py", "diff": "@@ -91,6 +91,15 @@ class Penalty(object):\nDeprecationWarning)\nreturn self.deriv(params)\n+ def _null_weights(self, params):\n+ \"\"\"work around for Null model\n+ \"\"\"\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: SCADSmoothed: fix weights handling, with workaround for Null
641,971
27.05.2018 16:10:08
14,400
09f11fe16f31cd564f3c51dae2add36670c55fc1
ENH: add use_weights option, need new penalty instance in Final
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_screening.py", "new_path": "statsmodels/base/_screening.py", "diff": "@@ -13,6 +13,11 @@ from statsmodels.base._penalties import SCADSmoothed\nclass ScreeningResults(object):\n+ \"\"\"Results for Variable Screening\n+\n+\n+\n+ \"\"\"\ndef __i...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add use_weights option, need new penalty instance in Final
641,971
27.05.2018 17:40:13
14,400
a8f6bf8e1d252158b1832653756fb015a9bb70ce
ENH/BUG: PenalizedMixin use _null_drop_keys, workaround still included
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalized.py", "new_path": "statsmodels/base/_penalized.py", "diff": "@@ -51,6 +51,8 @@ class PenalizedMixin(object):\nself.pen_weight = 0\nself._init_keys.extend(['penal', 'pen_weight'])\n+ self._null_drop_keys = getattr(self, '_null_drop_ke...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/BUG: PenalizedMixin use _null_drop_keys, workaround still included
641,971
28.05.2018 13:49:00
14,400
9aa0d60f6326e615af48362ee184ecffd4614c2d
BUG/REF/DOC: mixed commit with smaller fixes, docs, tests and cleanup
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_screening.py", "new_path": "statsmodels/base/_screening.py", "diff": "@@ -15,7 +15,51 @@ from statsmodels.base._penalties import SCADSmoothed\nclass ScreeningResults(object):\n\"\"\"Results for Variable Screening\n+ Note: Indices except for e...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/REF/DOC: mixed commit with smaller fixes, docs, tests and cleanup
641,971
28.05.2018 23:02:57
14,400
5f90c4df9c781cd4cf9795e9108b901591307402
BUG/ENH: fix start keep index, add fit_kwds
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_screening.py", "new_path": "statsmodels/base/_screening.py", "diff": "@@ -135,9 +135,6 @@ class VariableScreening(object):\nmoment condition with resid_pearson or others without freq_weights.\npearson_resid: GLM resid_pearson does not include...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/ENH: fix start keep index, add fit_kwds
642,048
29.05.2018 08:22:50
14,400
d90ca8928c3d5abdd5508af0f4a1363d0e61c5ec
formatting updates for test_lme
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_lme.py", "new_path": "statsmodels/regression/tests/test_lme.py", "diff": "@@ -13,7 +13,6 @@ import statsmodels.tools.numdiff as nd\nimport os\nimport csv\nimport scipy\n-import itertools\nimport nose.tools\n# TODO: add tests w...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
formatting updates for test_lme
641,971
29.05.2018 10:02:42
14,400
1710e78d55c27148e0069a0bf0c41edaa8840f38
BUG: don't trim exog_keep, adjust gaussian test for it
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_screening.py", "new_path": "statsmodels/base/_screening.py", "diff": "@@ -312,6 +312,7 @@ class VariableScreening(object):\n# Note: idx and keep are for current expansion model\n# idx_nonzero has indices of selected variables in full exog\n+ ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: don't trim exog_keep, adjust gaussian test for it
642,048
29.05.2018 10:37:09
14,400
a4da0c708819ead6accd0f8e6c5d1e77290e3e1b
CLarify a few comments
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_lme.py", "new_path": "statsmodels/regression/tests/test_lme.py", "diff": "@@ -391,6 +391,9 @@ class TestMixedLM(object):\n# library(geepack)\n# rm = lmer(Weight ~ Time + (1 | Pig), data=dietox)\n# rm = lmer(Weight ~ Time + (1 ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLarify a few comments
641,971
04.11.2014 14:23:07
18,000
813a0fd06cb55bcb4a6506ae1fb30111d259901d
ENH: generalized, robust score/LM tests, poisson overdispersion tests
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/stats/_diagnostic_other.py", "diff": "+# -*- coding: utf-8 -*-\n+\"\"\"Score, lagrange multiplier and conditional moment tests\n+robust to misspecification or without specification of higher moments\n+\n+Created on Thu Oct 30 00:42:3...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: generalized, robust score/LM tests, poisson overdispersion tests
641,971
14.11.2014 09:36:06
18,000
e5af066ba62f1cc2c8f1d4cf70449a0de91022ff
ENH: add two classes for conditional moment tests, coded directly from articles Tauchen, and Newey 1985
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/_diagnostic_other.py", "new_path": "statsmodels/stats/_diagnostic_other.py", "diff": "@@ -48,6 +48,8 @@ Poisson:\nimport numpy as np\nfrom scipy import stats\n+\n+from statsmodels.tools.decorators import cache_readonly\nfrom statsmodels.regre...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add two classes for conditional moment tests, coded directly from articles Tauchen, and Newey 1985
641,971
14.11.2014 10:30:09
18,000
a72ee7fd683185ca1acffb46ec3692e41c49786c
ENH/DOC: add ztest and docstring to CMTNewey and CMTTauchen
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/_diagnostic_other.py", "new_path": "statsmodels/stats/_diagnostic_other.py", "diff": "@@ -687,15 +687,39 @@ class CMTNewey(object):\nThis is a class to calculate and hold the various results\n- Newey\n+ This is based on Newey 1985.\nLemma 1:\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/DOC: add ztest and docstring to CMTNewey and CMTTauchen
641,971
17.11.2014 12:03:19
18,000
619a858f29bbd3af0cf478e8917070e95a7e029d
ENH/BUG/TST add wooldridge 1991, bug fixes, unit tests for OLS
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/_diagnostic_other.py", "new_path": "statsmodels/stats/_diagnostic_other.py", "diff": "@@ -192,6 +192,92 @@ def lm_test_glm(result, exog_extra, mean_deriv=None):\n+def cm_test_robust(resid, resid_deriv, instruments, weights=1):\n+ '''score/lag...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/BUG/TST add wooldridge 1991, bug fixes, unit tests for OLS
641,831
30.05.2018 21:34:27
14,400
863b060d52d2d05655b7d279f22b1e0701a88490
BUG: Memory access error when conserve_memory
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_kalman_filter.pxd", "new_path": "statsmodels/tsa/statespace/_kalman_filter.pxd", "diff": "@@ -87,6 +87,7 @@ cdef class sKalmanFilter(object):\ncdef readonly np.float32_t [::1,:] converged_filtered_state_cov\ncdef readonly np.float32...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Memory access error when conserve_memory
641,971
31.05.2018 20:21:16
14,400
89d83a0dc09faebc11536b90c42548771c98c35a
ENH: add score_test for results method, based on GLM.score_test
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/base/_parameter_inference.py", "diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Wed May 30 15:11:09 2018\n+\n+@author: josef\n+\"\"\"\n+\n+import time\n+import numpy as np\n+from scipy import stats\n+\n+from statsmodels.regres...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add score_test for results method, based on GLM.score_test
641,971
31.05.2018 22:07:24
14,400
52e743fa9003e76c8c2f1e3af0130fe283684a4e
ENH: make Poisson more like GLM, score_factor, hessian_factor and family see
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -905,6 +905,10 @@ class Poisson(CountModel):\n\"\"\" + base._missing_param_doc}\n+ @property\n+ def family(self):\n+ from statsmodels.genmod import famil...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: make Poisson more like GLM, score_factor, hessian_factor and family see #2107
641,971
31.05.2018 22:10:12
14,400
fa7855aeb5e9f3e3c8d0e4bb68f8e181a6dd8984
ENH/TST: make score_test work for Poisson
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_parameter_inference.py", "new_path": "statsmodels/base/_parameter_inference.py", "diff": "@@ -164,12 +164,18 @@ def score_test(self, exog_extra=None, params_constrained=None,\n\"\"\"\n# TODO: we are computing unnecessary things for cov_type n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/TST: make score_test work for Poisson
641,831
31.05.2018 23:25:27
14,400
6b16e035dcf9df5cf3a3c38d3c3a1c5c61fcdcc9
TST: Remove _statespace from test_kalman
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_kalman.py", "new_path": "statsmodels/tsa/statespace/tests/test_kalman.py", "diff": "\"\"\"\n-Tests for _statespace module\n+Tests for _representation and _kalman_filter modules\nAuthor: Chad Fulton\nLicense: Simplified-BSD...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Remove _statespace from test_kalman
641,831
31.05.2018 23:39:30
14,400
7164cc3c231221e4257457c3487edb17c4c9d29c
ENH: Exact diffuse filtering for RecursiveLS
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/recursive_ls.py", "new_path": "statsmodels/regression/recursive_ls.py", "diff": "@@ -72,17 +72,17 @@ class RecursiveLS(MLEModel):\nself.k_exog = exog.shape[1]\n# Handle coefficient initialization\n- # By default, do not calculate likelih...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Exact diffuse filtering for RecursiveLS
641,971
01.06.2018 11:09:47
14,400
da5f2ecc8d2efc8fbeeff529eea516f9c616b472
BUG/REF: avoid discrete fittedvalues, test dispersion
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_score_test.py", "new_path": "statsmodels/genmod/tests/test_score_test.py", "diff": "@@ -29,6 +29,13 @@ class TestScoreTest(object):\n# regression numbers\nres_pvalue = [0.31786373532550893, 0.32654081685271297]\nskip_wooldridge = ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/REF: avoid discrete fittedvalues, test dispersion
642,048
01.06.2018 16:43:26
14,400
08b0a30f0fcab4ce8da32f9a9f10060679dc84dd
Fix random effects covariance getter
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/mixed_linear_model.py", "new_path": "statsmodels/regression/mixed_linear_model.py", "diff": "@@ -2308,7 +2308,7 @@ class MixedLMResults(base.LikelihoodModelResults, base.ResultMixin):\nex_r = self.model._aex_r[group_ix]\nex2_r = self.mod...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix random effects covariance getter
641,831
01.06.2018 19:09:21
14,400
f62d38d19f25a2833380d3d3b5bc70bb9095a008
TST: Comment out old line.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/base/tests/test_base.py", "new_path": "statsmodels/tsa/base/tests/test_base.py", "diff": "@@ -56,7 +56,7 @@ def test_predict_freq():\ndef test_keyerror_start_date():\nx = np.arange(1,36.)\n- dates = date_range(\"1972-4-1\", \"2007-4-1\", freq=\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Comment out old line.
641,971
02.06.2018 09:57:13
14,400
e70db3354f47580029f70abbcfc1c1c2963084b6
BUG: correct lm_robust_subset_parts and lm_robust_reparameterized
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/_diagnostic_other.py", "new_path": "statsmodels/stats/_diagnostic_other.py", "diff": "@@ -437,16 +437,18 @@ def lm_robust_subset_parts(score, k_constraints,\nTODO: these function should just return the covariance of the score\ninstead of calc...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: correct lm_robust_subset_parts and lm_robust_reparameterized
641,831
21.11.2017 22:35:15
18,000
4b0a0f367cbb27485624cdf07d842d26950a21dd
ENH: Add linear restrictions to RecursiveLS
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/recursive_ls.py", "new_path": "statsmodels/regression/recursive_ls.py", "diff": "@@ -37,6 +37,14 @@ class RecursiveLS(MLEModel):\nThe observed time-series process :math:`y`\nexog : array_like\nArray of exogenous regressors, shaped nobs x...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Add linear restrictions to RecursiveLS
641,971
02.06.2018 12:45:29
14,400
ca84a6a445beb391464f77dfd527c545b8049c6b
BUG: fix dispersion_poisson_generic
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_score_test.py", "new_path": "statsmodels/genmod/tests/test_score_test.py", "diff": "@@ -36,6 +36,7 @@ class TestScoreTest(object):\n[ 0.14935018, 0.88127732],\n[ 0.14841761, 0.8820132 ],\n[ 0.22836064, 0.81936588]])\n+ res_disptes...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix dispersion_poisson_generic
641,831
02.06.2018 14:33:31
14,400
9ddb1b37b368140ea3bd2ad9a1d72346cdccf649
REF: Fix numerical issues that can arise.
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/recursive_ls.py", "new_path": "statsmodels/regression/recursive_ls.py", "diff": "@@ -114,6 +114,12 @@ class RecursiveLS(MLEModel):\n# variance, so we set it here to 1\nself['obs_cov', 0, 0] = 1.\n+ # Linear constraints are technically im...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: Fix numerical issues that can arise.
641,904
17.04.2018 12:54:52
25,200
0c6d8417d4d34cfa564354dd2d289aa7205aa345
xfail test instead of commenting it out
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/tests/test_var.py", "new_path": "statsmodels/tsa/vector_ar/tests/test_var.py", "diff": "@@ -245,12 +245,12 @@ class CheckFEVD(object):\ndef test_fevd_summary(self):\nself.fevd.summary()\n+ @pytest.mark.xfail(reason=\"FEVD.cov() is not...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
xfail test instead of commenting it out
641,831
03.06.2018 19:58:45
14,400
06fbafb58c28fc3fcb3dc3b20e45f2af3f53fe0c
ENH: Improved handling: burned llf vs nobs diffuse
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/recursive_ls.py", "new_path": "statsmodels/regression/recursive_ls.py", "diff": "@@ -93,7 +93,6 @@ class RecursiveLS(MLEModel):\nendog[:, 1:] = q_matrix\n# Handle coefficient initialization\n- kwargs.setdefault('loglikelihood_burn', self...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Improved handling: burned llf vs nobs diffuse
641,831
03.06.2018 19:58:53
14,400
92f77f84d8b88769665847e445a4049d2118797d
TST: Add test for linear constraints.
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/results/test_rls.do", "new_path": "statsmodels/regression/tests/results/test_rls.do", "diff": "@@ -7,3 +7,11 @@ tsset tq\ncusum6 cpi m1, rr(rr) cs(cusum) lw(lw) uw(uw) cs2(cusum2) lww(lww) uww(uww) noplot\noutsheet rr-lww using res...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add test for linear constraints.
641,831
03.06.2018 23:42:15
14,400
530ec4fe34a9ebe29900e7a6a91bdd6c6c2ba589
ENH: More robust check for singular cov.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_filters/_univariate_diffuse.pyx.in", "new_path": "statsmodels/tsa/statespace/_filters/_univariate_diffuse.pyx.in", "diff": "@@ -147,7 +147,7 @@ cdef int {{prefix}}forecast_univariate_diffuse({{prefix}}KalmanFilter kfilter, {\nkfilte...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: More robust check for singular cov.
641,831
03.06.2018 23:51:16
14,400
8302be49a587044587885929ca2dfcb286e1512a
REF: Report LLF compatible with least squares.
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/recursive_ls.py", "new_path": "statsmodels/regression/recursive_ls.py", "diff": "@@ -402,6 +402,16 @@ class RecursiveLSResults(MLEResults):\ndenom = numer[-1]\nreturn numer / denom\n+ @cache_readonly\n+ def llf_obs(self):\n+ from scipy.s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: Report LLF compatible with least squares.
641,831
03.06.2018 23:51:29
14,400
65eaa00f91fd7bc6fa8971470b8aa7fde01d9ace
ENH: Allow constraints in `from_formula`.
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/recursive_ls.py", "new_path": "statsmodels/regression/recursive_ls.py", "diff": "@@ -120,8 +120,9 @@ class RecursiveLS(MLEModel):\nself.k_endog = 1\n@classmethod\n- def from_formula(cls, formula, data, subset=None):\n- return super(MLEMo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Allow constraints in `from_formula`.
641,831
03.06.2018 23:51:43
14,400
4e74a6f593a1afa75fa35e10a8b20e5b67528ae0
DOC: Add constraints, from_formula to notebook
[ { "change_type": "MODIFY", "old_path": "examples/notebooks/recursive_ls.ipynb", "new_path": "examples/notebooks/recursive_ls.ipynb", "diff": "\"\\n\",\n\"Recursive least squares is an expanding window version of ordinary least squares. In addition to availability of regression coefficients computed ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Add constraints, from_formula to notebook
641,971
04.06.2018 22:39:14
14,400
dbbfc524b1d15ef8038db0f603b1dbe0f9fd99ec
REF/CLN: change some arg names, partial cleanup (some pep-8)
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_parameter_inference.py", "new_path": "statsmodels/base/_parameter_inference.py", "diff": "@@ -16,7 +16,8 @@ import statsmodels.stats._diagnostic_other as diao\n# this is a copy from stats._diagnostic_other\n-def _lm_robust(score, R, Ainv, B, ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/CLN: change some arg names, partial cleanup (some pep-8)
641,858
05.06.2018 21:52:46
-7,200
df044a7d15be0682652a6efe8b840f35be005eda
BUG: add ModelWarning base class to avoid warning filter on standard UserWarning. fixes
[ { "change_type": "MODIFY", "old_path": "statsmodels/tools/sm_exceptions.py", "new_path": "statsmodels/tools/sm_exceptions.py", "diff": "@@ -48,8 +48,11 @@ The module {0} is not available. Cannot run in parallel.\n\"\"\"\n+class ModelWarning(UserWarning):\n+ pass\n+\n-class ConvergenceWarning(UserWar...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: add ModelWarning base class to avoid warning filter on standard UserWarning. fixes #4711
642,065
05.06.2018 21:18:27
18,000
f1fa888cfb510d2aea770dc42b26b46467e2ae85
TST: allclose instead of exact match for floats and use machine precision
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/hypothesis_test_results.py", "new_path": "statsmodels/tsa/vector_ar/hypothesis_test_results.py", "diff": "from statsmodels.iolib.table import SimpleTable\n+import numpy as np\nclass HypothesisTestResults(object):\n@@ -66,10 +67,10 @@ ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: allclose instead of exact match for floats and use machine precision
641,904
06.06.2018 18:35:11
25,200
7a6477d32a83e1e4e1823f1f264bbe15a8a041ca
fix syntax-like error
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/adfvalues.py", "new_path": "statsmodels/tsa/adfvalues.py", "diff": "@@ -377,11 +377,8 @@ def mackinnoncrit(N=1, regression =\"c\", nobs=inf):\n\"\"\"\nreg = regression\nif reg not in ['c','ct','nc','ctt']:\n- raise ValueError(\"regression keywo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix syntax-like error
642,048
07.06.2018 00:48:49
14,400
b08eb307a595f05b7187adbd1a3d21ce982117c6
Add formula support to MI
[ { "change_type": "MODIFY", "old_path": "statsmodels/imputation/bayes_mi.py", "new_path": "statsmodels/imputation/bayes_mi.py", "diff": "import numpy as np\n+import pandas as pd\nfrom collections import OrderedDict\nfrom statsmodels.base.model import LikelihoodModelResults\n@@ -35,23 +36,28 @@ class ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add formula support to MI
642,065
07.06.2018 10:47:50
18,000
ab061c96cf3578e714ac28570279611da672d7f3
TST: Use newton for pickle tests... appears to be more stable
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_pickle.py", "new_path": "statsmodels/tsa/statespace/tests/test_pickle.py", "diff": "@@ -47,8 +47,8 @@ def test_pickle_fit_sarimax():\nmod = sarimax.SARIMAX(data['lgdp'], order=(1, 1, 0))\npkl_mod = cPickle.loads(cPickle.du...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Use newton for pickle tests... appears to be more stable
642,065
07.06.2018 13:38:53
18,000
b5fa903647ca514e91d52dc5ea093b4bb9961115
Convert almost equal to atol
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_diagnostic.py", "new_path": "statsmodels/stats/tests/test_diagnostic.py", "diff": "@@ -40,9 +40,12 @@ import statsmodels.stats.outliers_influence as oi\ncur_dir = os.path.abspath(os.path.dirname(__file__))\n+\ndef compare_t_est(sp,...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Convert almost equal to atol
642,065
07.06.2018 14:26:26
18,000
ee95a8fbf59c2587184083237e3aecaf330a86cd
Another place to increase maxiter to 500
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/tests/test_generic_methods.py", "new_path": "statsmodels/base/tests/test_generic_methods.py", "diff": "@@ -200,10 +200,10 @@ class CheckGenericMixin(object):\ndel keep_index_p[i]\nif use_start_params:\n- res1 = self.results.model._fit_zeros(ke...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Another place to increase maxiter to 500
642,065
07.06.2018 16:40:43
18,000
7e60df8ece46707e4795e2617106894bace65843
scipy.misc.factorial -> scipy.special.factorial
[ { "change_type": "MODIFY", "old_path": "statsmodels/compat/scipy.py", "new_path": "statsmodels/compat/scipy.py", "diff": "@@ -258,3 +258,10 @@ try:\nexcept ImportError:\nfrom scipy.special import gammaln\nloggamma = gammaln\n+\n+# Work around for factorial changes in 1.0.0\n+\n+try:\n+ from scipy.sp...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
scipy.misc.factorial -> scipy.special.factorial
642,065
07.06.2018 17:26:20
18,000
e03b7484247ee5ce30c5215d88f7bac857d2fb8c
Newton feels more robust for openblas
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_arima.py", "new_path": "statsmodels/tsa/tests/test_arima.py", "diff": "@@ -2361,7 +2361,7 @@ def test_endog_int():\nassert_allclose(res.params, resf.params, atol=1e-6)\nassert_allclose(res.bse, resf.bse, atol=1e-6)\n- res = ARIMA(y.c...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Newton feels more robust for openblas
642,065
07.06.2018 18:43:20
18,000
e5ebe52e40aeaab9bff50da0bc8e8995f8660a53
Newton doesn't work. Just lower tolerance as test is on totally randomized data
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/tests/test_generic_methods.py", "new_path": "statsmodels/base/tests/test_generic_methods.py", "diff": "@@ -207,12 +207,16 @@ class CheckGenericMixin(object):\nres2 = self._get_constrained(keep_index, keep_index_p)\n- assert_allclose(res1.param...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Newton doesn't work. Just lower tolerance as test is on totally randomized data
641,831
10.06.2018 18:38:07
14,400
49eae19383e688b8a747ec2b0dd95b5e3a844b46
ENH: Numerical stability for univariate filtering
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_filters/_univariate.pyx.in", "new_path": "statsmodels/tsa/statespace/_filters/_univariate.pyx.in", "diff": "@@ -100,7 +100,7 @@ cdef int {{prefix}}forecast_univariate({{prefix}}KalmanFilter kfilter, {{prefix}\n# If we have a non-zer...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Numerical stability for univariate filtering
641,831
10.06.2018 18:38:16
14,400
dcc8d1b11318f5bdb2984d2856af123b8e066ad3
CLEAN: Remove obsolete lines.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/kalman_filter.py", "new_path": "statsmodels/tsa/statespace/kalman_filter.py", "diff": "@@ -748,8 +748,6 @@ class KalmanFilter(Representation):\n# Run the filter\nkfilter()\n- tmp = np.array(kfilter.loglikelihood)\n- tmp2 = np.array(k...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLEAN: Remove obsolete lines.
641,831
10.06.2018 19:13:31
14,400
4deb3f4f708f6f8a657cd2fe33defecbfe2f3bec
BUG: Prediction with exact diffuse filtering.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/kalman_filter.py", "new_path": "statsmodels/tsa/statespace/kalman_filter.py", "diff": "@@ -1864,10 +1864,7 @@ class FilterResults(FrozenRepresentation):\nmodel = KalmanFilter(\nendog, self.k_states, self.k_posdef, **model_kwargs\n)\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Prediction with exact diffuse filtering.
641,831
10.06.2018 19:14:19
14,400
dacce24602d1271dd33c0b88c453d2ae6add956b
REF: constraints saved as private class attributes
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/recursive_ls.py", "new_path": "statsmodels/regression/recursive_ls.py", "diff": "@@ -80,17 +80,17 @@ class RecursiveLS(MLEModel):\nself.k_exog = exog.shape[1]\n# Handle constraints\n- r_matrix = q_matrix = None\n+ self._r_matrix = self._...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: constraints saved as private class attributes
641,831
10.06.2018 19:14:41
14,400
d61d68af4b240137819caa1b7102fbe458d7b74e
REF: estimate scale as in Harvey (1989) 4.2.5
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/recursive_ls.py", "new_path": "statsmodels/regression/recursive_ls.py", "diff": "@@ -135,8 +135,9 @@ class RecursiveLS(MLEModel):\n# Get the smoother results with an arbitrary measurement variance\nsmoother_results = self.smooth(return_s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: estimate scale as in Harvey (1989) 4.2.5
641,831
10.06.2018 19:15:17
14,400
40954f238c9d521ec5c1050e26780da30b252597
DOC: Improve resid_recursive docstring.
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/recursive_ls.py", "new_path": "statsmodels/regression/recursive_ls.py", "diff": "@@ -297,7 +297,7 @@ class RecursiveLSResults(MLEResults):\n@cache_readonly\ndef resid_recursive(self):\n- \"\"\"\n+ r\"\"\"\nRecursive residuals\nReturns\n@...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Improve resid_recursive docstring.
641,831
10.06.2018 19:16:10
14,400
afecf51d6c45c86f8f11c89c34a55d587d468369
REF: move recursive llf to separate attribute
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/recursive_ls.py", "new_path": "statsmodels/regression/recursive_ls.py", "diff": "@@ -410,14 +410,14 @@ class RecursiveLSResults(MLEResults):\nreturn numer / denom\n@cache_readonly\n- def llf_obs(self):\n+ def llf_recursive_obs(self):\nfr...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: move recursive llf to separate attribute
641,831
10.06.2018 23:07:14
14,400
1cd857bce59f2188ef0ceeeca6ab0f4ff15e9c50
BUG: Do not override df_resid to infinity.
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/recursive_ls.py", "new_path": "statsmodels/regression/recursive_ls.py", "diff": "@@ -248,7 +248,6 @@ class RecursiveLSResults(MLEResults):\nsuper(RecursiveLSResults, self).__init__(\nmodel, params, filter_results, cov_type, **kwargs)\n- ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Do not override df_resid to infinity.
641,831
10.06.2018 23:07:39
14,400
df9ba71099cde9b05b984df1e2e9520a10a8c3c5
BUG: Set df_model, df_resid correctly for RLS case
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/recursive_ls.py", "new_path": "statsmodels/regression/recursive_ls.py", "diff": "@@ -248,6 +248,10 @@ class RecursiveLSResults(MLEResults):\nsuper(RecursiveLSResults, self).__init__(\nmodel, params, filter_results, cov_type, **kwargs)\n+...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Set df_model, df_resid correctly for RLS case
641,831
10.06.2018 23:08:04
14,400
d7edc4ef1ecee2cfcb22010144c2b24be0f8748a
ENH: Add additional LS results attributes
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/recursive_ls.py", "new_path": "statsmodels/regression/recursive_ls.py", "diff": "@@ -414,14 +414,63 @@ class RecursiveLSResults(MLEResults):\n@cache_readonly\ndef llf_recursive_obs(self):\n+ \"\"\"\n+ (float) Loglikelihood at observation...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Add additional LS results attributes
641,831
10.06.2018 23:08:33
14,400
740c74a9a1abd86eb0e401d288e7a520b0aba839
TST: Add more comprehensive tests against OLS
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_recursive_ls.py", "new_path": "statsmodels/regression/tests/test_recursive_ls.py", "diff": "@@ -8,11 +8,13 @@ from __future__ import division, absolute_import, print_function\nfrom statsmodels.compat.testing import skipif\nimp...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add more comprehensive tests against OLS
641,831
10.06.2018 23:09:07
14,400
1ebf8e6da7a995d1c51ebdb80c84971118529118
TST: Add poor-tolerance bse test w/ restrictions
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/results/test_rls.do", "new_path": "statsmodels/regression/tests/results/test_rls.do", "diff": "@@ -15,3 +15,6 @@ cnsreg infl m1 unemp, c(1)\ndisp %18.13f e(ll) // -534.4292052931121\nmatrix list e(b), format(%15.13f) // -0.00184775...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add poor-tolerance bse test w/ restrictions
641,831
10.06.2018 23:52:54
14,400
360c53b9ac07807c25b2b32e20f4b87679a9a9ef
ENH: Forecast w/ constraints: NotImplementedError
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/recursive_ls.py", "new_path": "statsmodels/regression/recursive_ls.py", "diff": "@@ -6,6 +6,9 @@ License: Simplified-BSD\n\"\"\"\nfrom __future__ import division, absolute_import, print_function\n+try: unicode\n+except NameError: unicode...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Forecast w/ constraints: NotImplementedError
641,831
10.06.2018 23:53:08
14,400
d9005f8c6fa9493740855ccd8f96db30a194f261
TST: Add tests against GLM for constrained case
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_recursive_ls.py", "new_path": "statsmodels/regression/tests/test_recursive_ls.py", "diff": "@@ -14,6 +14,7 @@ import os\nimport warnings\nfrom statsmodels.datasets import macrodata\nfrom statsmodels.regression.linear_model imp...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add tests against GLM for constrained case
641,831
11.06.2018 22:05:02
14,400
9d0920e713aeda1d6cd344fe6e743d30f104b340
TST: Fix bugs in tests.
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/recursive_ls.py", "new_path": "statsmodels/regression/recursive_ls.py", "diff": "@@ -17,7 +17,8 @@ import pandas as pd\nfrom statsmodels.regression.linear_model import OLS\nfrom statsmodels.tools.data import _is_using_pandas\nfrom statsm...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Fix bugs in tests.
641,831
11.06.2018 23:44:44
14,400
f06cdca49ee042201abe00d6152904417bb08a00
TST: Slightly lower tolerance to pass on Travis
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_recursive_ls.py", "new_path": "statsmodels/regression/tests/test_recursive_ls.py", "diff": "@@ -171,7 +171,7 @@ def test_glm(constraints=None):\n# full-information estimates of the regression coefficients)\nactual = (mod.endog...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Slightly lower tolerance to pass on Travis
641,971
12.06.2018 13:44:33
14,400
dd9144dad2c3d77a2772e3def5accabbd8262925
ENH: start with GLMInfluence (preliminary code)
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -1607,6 +1607,26 @@ class GLMResults(base.LikelihoodModelResults):\nget_prediction.__doc__ = pred.get_prediction_glm.__doc__\n+ def get_h...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: start with GLMInfluence (preliminary code)
641,971
12.06.2018 13:46:00
14,400
e0e40404f1b81004e15f1a6ed092c1309d29f1b0
TST: unit tests for GLM Influence, bernoulli case
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/stats/tests/results/binary_constrict.csv", "diff": "+Case,diagnosis,rate,volumne,constrict,const,log_rate,log_volumne\n+1,constrict,0.825,3.7,1,1.0,-0.19237189264745613,1.308332819650179\n+2,constrict,1.09,3.5,1,1.0,0.086177696241052...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: unit tests for GLM Influence, bernoulli case