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
642,048
07.07.2019 08:26:28
14,400
887e69bc6898a5a9f35b7ff72385d77c47c2ba2b
fix formatting/linting issue
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/mixed_linear_model.py", "new_path": "statsmodels/regression/mixed_linear_model.py", "diff": "@@ -582,6 +582,7 @@ def _convert_vc(exog_vc):\nreturn VCSpec(vc_names, vc_colnames, vc_mats)\n+\nclass MixedLM(base.LikelihoodModel):\n\"\"\"\nA...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix formatting/linting issue
641,831
07.07.2019 21:03:19
14,400
9185654c122beba817bb5914713bf9d9744f263c
BUG: Fix time-varying warning if nobs=1
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/kalman_filter.py", "new_path": "statsmodels/tsa/statespace/kalman_filter.py", "diff": "@@ -1990,10 +1990,11 @@ class FilterResults(FrozenRepresentation):\nfor name, shape in self.shapes.items():\nif name == 'obs':\ncontinue\n- if rep...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Fix time-varying warning if nobs=1
641,904
24.05.2019 12:47:00
25,200
d1335ef0ac8c50b4bc735545e38722dde44b7211
MAINT: implement parts of deprecate ancient aliases
[ { "change_type": "MODIFY", "old_path": "statsmodels/tools/decorators.py", "new_path": "statsmodels/tools/decorators.py", "diff": "@@ -2,7 +2,65 @@ from __future__ import print_function\nfrom statsmodels.tools.sm_exceptions import CacheWriteWarning\nimport warnings\n-__all__ = ['cache_readonly', 'cac...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: implement parts of #5220, deprecate ancient aliases
641,831
07.07.2019 21:05:38
14,400
d77d72d0460ed9c511a5172754908229662d4d43
ENH: Add forecasting example notebook.
[ { "change_type": "ADD", "old_path": "docs/source/_static/images/statespace_forecasting.png", "new_path": "docs/source/_static/images/statespace_forecasting.png", "diff": "Binary files /dev/null and b/docs/source/_static/images/statespace_forecasting.png differ\n" }, { "change_type": "MODIFY"...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Add forecasting example notebook.
641,904
10.07.2019 09:24:26
25,200
4a80a0f1204555122f1655dccc01cd3d331c2d92
revert flake8 fixups
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_tools.pyx.in", "new_path": "statsmodels/tsa/statespace/_tools.pyx.in", "diff": "@@ -31,12 +31,11 @@ ctypedef fused sm_type_t:\n# ------------------------------------------------------------------------\n# Array shape validation\n-cd...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
revert flake8 fixups
641,904
03.04.2018 18:34:07
25,200
67384fe51461f7d69f17e124ea7e64bcf08bd382
implement cached_value, cached_data proof of concept
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -7,7 +7,8 @@ from statsmodels.tools.data import _is_using_pandas\nfrom statsmodels.tools.tools import recipr, nan_dot\nfrom statsmodels.stats.contrast import (ContrastResults, Wal...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
implement cached_value, cached_data proof of concept
641,904
09.05.2019 08:48:32
25,200
b4cb8a91638c54998779c7e85f1b64008044d10e
import compat
[ { "change_type": "MODIFY", "old_path": "statsmodels/compat/pandas.py", "new_path": "statsmodels/compat/pandas.py", "diff": "@@ -5,7 +5,8 @@ from distutils.version import LooseVersion\nimport pandas\n__all__ = ['assert_frame_equal', 'assert_index_equal', 'assert_series_equal',\n- 'data_klasses', 'fre...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
import compat
641,904
10.05.2019 11:05:03
25,200
3d26a33de32f13691fccd38edd1c007a927f9be2
Change import name to be more pythonic
[ { "change_type": "MODIFY", "old_path": "statsmodels/tools/decorators.py", "new_path": "statsmodels/tools/decorators.py", "diff": "from __future__ import print_function\nfrom statsmodels.tools.sm_exceptions import CacheWriteWarning\n-from statsmodels.compat.pandas import cache_readonly as CR\n+from s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Change import name to be more pythonic
641,904
20.05.2019 20:34:25
25,200
dd22f027ab33e27aeb7c5de28d745e02bc481744
TST: no cover for test code that is OK not to run
[ { "change_type": "MODIFY", "old_path": "statsmodels/datasets/tests/test_utils.py", "new_path": "statsmodels/datasets/tests/test_utils.py", "diff": "@@ -21,7 +21,7 @@ def test_get_rdataset():\ntest_url = \"https://raw.githubusercontent.com/vincentarelbundock/\" \\\n\"Rdatasets/master/csv/datasets/car...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: no cover for test code that is OK not to run
641,904
22.05.2019 20:10:59
25,200
1b1e1a6f8c8f22504369858fdb977f0107e2e450
troubleshoot xpass
[ { "change_type": "MODIFY", "old_path": "statsmodels/tools/tests/test_grouputils.py", "new_path": "statsmodels/tools/tests/test_grouputils.py", "diff": "@@ -61,9 +61,10 @@ class CheckGrouping(object):\nnp.testing.assert_array_equal(sorted_data, expected_sorted_data)\nnp.testing.assert_(isinstance(sor...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
troubleshoot xpass
641,904
24.05.2019 09:27:35
25,200
7438742086cabdb9fc91077c936edc51091b6181
MAINT: revert no-longer-necessary pragma no covers
[ { "change_type": "MODIFY", "old_path": "statsmodels/duration/tests/test_survfunc.py", "new_path": "statsmodels/duration/tests/test_survfunc.py", "diff": "@@ -13,7 +13,7 @@ pdf_output = False\ntry:\nimport matplotlib.pyplot as plt\n-except ImportError: # pragma: no cover\n+except ImportError:\npass\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: revert no-longer-necessary pragma no covers
641,904
27.05.2019 10:42:45
25,200
8171298b58e441af747aae647a6dd6dd0f91b74d
MAINT: add passing files to linted list
[ { "change_type": "MODIFY", "old_path": "lint.sh", "new_path": "lint.sh", "diff": "@@ -19,7 +19,11 @@ if [ \"$LINT\" == true ]; then\nflake8 --isolated \\\nstatsmodels/resampling/ \\\nstatsmodels/interface/ \\\n+ statsmodels/base/distributed_estimation.py \\\n+ statsmodels/base/elastic_net.py \\\nsta...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: add passing files to linted list
641,904
27.05.2019 18:29:18
25,200
2c80d8a64b575cc213bea7f04a6000660011a6e6
TST: avoid/check for warnings in tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/results/results_arima.py", "new_path": "statsmodels/tsa/tests/results/results_arima.py", "diff": "@@ -50,7 +50,7 @@ class ARIMA111(object):\nself.cov_params = [[0.0423583, -0.00167449, 0.00262911],\n[-0.00167449, 0.00208858, -0.0035068],\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: avoid/check for warnings in tests
641,904
27.05.2019 18:36:10
25,200
aa65e7330cb3e705e3a68b94195b26f58f7589ae
TST: avoid/check for warnings produced in testing
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/tests/test_penalties.py", "new_path": "statsmodels/base/tests/test_penalties.py", "diff": "@@ -8,15 +8,12 @@ License: BSD-3\nimport numpy as np\nfrom numpy.testing import assert_allclose, assert_equal\n-\nimport pytest\nimport statsmodels.base...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: avoid/check for warnings produced in testing
641,904
27.05.2019 18:48:21
25,200
ceafbb17842df5e8618eaea75b33f9c6b3a60e5e
TST: avoid unwanted warnings in tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_discrete.py", "new_path": "statsmodels/discrete/tests/test_discrete.py", "diff": "@@ -576,7 +576,7 @@ class TestCVXOPT(object):\ncls.data.exog = sm.add_constant(cls.data.exog, prepend=True)\ndef test_cvxopt_versus_slsqp(self):\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: avoid unwanted warnings in tests
641,904
27.05.2019 20:43:52
25,200
3d14a28e39d078cf72b607ba0289aee11da9b82d
TST: catch warnings produced during tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/tests/test_generic_methods.py", "new_path": "statsmodels/base/tests/test_generic_methods.py", "diff": "@@ -18,6 +18,7 @@ import numpy as np\nimport pandas as pd\nimport pytest\nimport statsmodels.api as sm\n+from statsmodels.tools.sm_exception...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: catch warnings produced during tests
641,904
12.07.2019 06:28:34
25,200
9fa7341f369864a9c196baf93a56730747fa3efb
TST: check for no warning
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_holtwinters.py", "new_path": "statsmodels/tsa/tests/test_holtwinters.py", "diff": "@@ -450,9 +450,8 @@ def test_float_boxcox(trend, seasonal):\ndef test_equivalence_cython_python(trend, seasonal):\nmod = ExponentialSmoothing(housing_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: check for no warning
641,904
12.07.2019 07:26:24
25,200
456a0ec840f4c8cb5b9a281863f2fdd28c255180
CLN: port parts of
[ { "change_type": "MODIFY", "old_path": "statsmodels/compat/pandas.py", "new_path": "statsmodels/compat/pandas.py", "diff": "@@ -6,7 +6,7 @@ import pandas\n__all__ = ['assert_frame_equal', 'assert_index_equal', 'assert_series_equal',\n'data_klasses', 'frequencies', 'is_numeric_dtype', 'testing',\n- '...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLN: port parts of #5220
641,904
12.07.2019 08:49:51
25,200
3e36241486aa999efc6b886793b7b0fe20e6e275
CLN: remove check for very-old pandas
[ { "change_type": "MODIFY", "old_path": "statsmodels/compat/pandas.py", "new_path": "statsmodels/compat/pandas.py", "diff": "@@ -3,6 +3,7 @@ from __future__ import absolute_import\nfrom distutils.version import LooseVersion\nimport pandas\n+from pandas.util._decorators import cache_readonly, deprecat...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLN: remove check for very-old pandas
641,904
14.07.2019 08:24:28
25,200
71d1990074a51a6b9a912dea358b06d1b0b82a45
FIXUP: rename k-->k1
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/util.py", "new_path": "statsmodels/tsa/vector_ar/util.py", "diff": "@@ -97,18 +97,18 @@ def comp_matrix(coefs):\n0 I_K ... 0 0\n0 ... I_K 0]\n\"\"\"\n- p, k, k2 = coefs.shape\n+ p, k1, k2 = coefs.shape\nif k1 != k2:\nraise ValueError(...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
FIXUP: rename k-->k1
641,861
14.07.2019 21:51:13
-3,600
2ef7f8e8d17d9e7797d1340bad5b7460a67acb63
DOC: Update INSTALL.txt minimum dependency versions
[ { "change_type": "MODIFY", "old_path": "INSTALL.txt", "new_path": "INSTALL.txt", "diff": "Dependencies\n------------\n-python >= 2.7\n+python >= 3.5\nwww.python.org\n-numpy >= 1.11\n+numpy >= 1.14\nwww.numpy.org\n-scipy >= 0.18\n+scipy >= 1.0\nwww.scipy.org\n-pandas >= 0.19\n+pandas >= 0.21\npandas....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Update INSTALL.txt minimum dependency versions
641,846
28.01.2019 21:52:46
18,000
94644d03b92dd8d506fad598120f0873b6d5bdfd
ENH: handle empty array input in mad
[ { "change_type": "MODIFY", "old_path": "statsmodels/robust/scale.py", "new_path": "statsmodels/robust/scale.py", "diff": "@@ -39,6 +39,8 @@ def mad(a, c=Gaussian.ppf(3/4.), axis=0, center=np.median):\nmad : float\n`mad` = median(abs(`a` - center))/`c`\n\"\"\"\n+ if a.size == 0:\n+ return np.array([n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: handle empty array input in mad
641,904
16.07.2019 10:12:42
25,200
1137fd2fab32c886ae85ffa093f2e77b556894bf
cython cleanups
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/_exponential_smoothers.pyx", "new_path": "statsmodels/tsa/_exponential_smoothers.pyx", "diff": "@@ -6,6 +6,7 @@ cimport numpy as np\nnp.import_array()\n+\ncdef object _holt_init(double[::1] x, np.uint8_t[::1] xi, double[::1] p,\ny, double[::1] ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
cython cleanups
641,904
10.05.2019 19:25:03
25,200
89471007252ed43fe0f1eef48e596c25f5bfc321
MAINT: remove sandbox.formula, supplanted by patsy, see GH#5688
[ { "change_type": "DELETE", "old_path": "statsmodels/sandbox/examples/ex_formula_factor.py", "new_path": null, "diff": "-# -*- coding: utf-8 -*-\n-\"\"\"\n-Created on Sat May 15 19:59:42 2010\n-Author: josef-pktd\n-\"\"\"\n-\n-from statsmodels.sandbox import formula\n-\n-\n-#define a categorical vari...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: remove sandbox.formula, supplanted by patsy, see GH#5688
641,904
10.05.2019 19:26:45
25,200
4171fc79d6b66ccb930d919a9b41ce42a7bf1a90
MAINT: remove test and example files for sandbox.formula
[ { "change_type": "DELETE", "old_path": "statsmodels/sandbox/examples/ex_formula.py", "new_path": null, "diff": "-'''Examples for the usage of sandbox/formula\n-\n-some work, some things don't\n-\n-'''\n-from statsmodels.compat.python import iterkeys\n-import string\n-import numpy as np\n-\n-from sta...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: remove test and example files for sandbox.formula
641,904
10.05.2019 19:27:24
25,200
aef3d40e7e2de67be6bf1a8baa19823368a496f7
MAINT: remove contrast_old, as only the now-removed formula files used it
[ { "change_type": "DELETE", "old_path": "statsmodels/sandbox/contrast_old.py", "new_path": null, "diff": "-import copy\n-\n-import numpy as np\n-from numpy.linalg import pinv\n-from statsmodels.sandbox import utils_old as utils\n-\n-class ContrastResults(object):\n- \"\"\"\n- Results from looking at ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: remove contrast_old, as only the now-removed formula files used it
641,904
10.05.2019 19:28:20
25,200
5d622f980f86b5960cfac5554631346de129f863
MAINT: remove utils_old, as only the now-removed contrast_old used it
[ { "change_type": "DELETE", "old_path": "statsmodels/sandbox/utils_old.py", "new_path": null, "diff": "-import numpy as np\n-import scipy.linalg\n-\n-from statsmodels.tools.tools import recipr, recipr0, clean0 # noqa:F401\n-from statsmodels.robust.scale import mad # noqa:F401\n-from statsmodels.distr...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: remove utils_old, as only the now-removed contrast_old used it
641,904
19.07.2019 16:53:06
25,200
0f6d28a1fb3a0e1fbe15c70485569258e9edcbf5
MAINT: add W605 to lint codes
[ { "change_type": "MODIFY", "old_path": "setup.cfg", "new_path": "setup.cfg", "diff": "@@ -41,11 +41,14 @@ parentdir_prefix = statsmodels-\n[flake8]\nexclude=.git,build,docs,versioneer.py\n+ignore=\n+ W503,\n+ # W503: line break before binary operator\n+ W504,\n+ # W504: line break after binary opera...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: add W605 to lint codes
641,883
04.06.2019 10:26:16
-14,400
c8b689f92576c64b7bf3648830779fd5155168e9
ENH: Add R-squared and Adj. R_squared to summary_col
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/summary2.py", "new_path": "statsmodels/iolib/summary2.py", "diff": "from statsmodels.compat.python import (lrange, iterkeys, iteritems, lzip,\nitervalues)\n-\nfrom collections import OrderedDict\nimport datetime\nfrom functools import reduce\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Add R-squared and Adj. R_squared to summary_col
641,897
22.07.2019 11:07:54
-3,600
f982b3fed31fc9efbee5d82f2762b4adb2f7aae3
TST: Add failing unit-test for kpss with `lags="auto"`.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_stattools.py", "new_path": "statsmodels/tsa/tests/test_stattools.py", "diff": "@@ -553,6 +553,27 @@ class TestKPSS(SetupKPSS):\nwith pytest.raises(ValueError, match=msg):\nkpss(self.x, 'c', lags=nobs)\n+ def test_kpss_autolags_does_n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add failing unit-test for kpss with `lags="auto"`.
641,897
22.07.2019 10:31:20
-3,600
67488dea7335cb70f42c5a090b153184e2c19afc
BUG: Limit lags in KPSS when lags='auto' Addresses a use-case for kpss with lags='auto' whereby an invalid lag would get chosen. This only happens with certain pathological datasets, but it does occur from time to time. (Related to
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/stattools.py", "new_path": "statsmodels/tsa/stattools.py", "diff": "@@ -1607,6 +1607,7 @@ def kpss(x, regression='c', lags=None, store=False):\nelif lags == 'auto':\n# autolag method of Hobijn et al. (1998)\nlags = _kpss_autolag(resids, nobs)\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Limit lags in KPSS when lags='auto' Addresses a use-case for kpss with lags='auto' whereby an invalid lag would get chosen. This only happens with certain pathological datasets, but it does occur from time to time. (Related to #5925, #5930)
641,911
22.07.2019 19:11:58
-7,200
84c99c8742e57a8d2034667729c3ead094de607a
Replace alpha=0.05 with alpha=alpha
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/stats/multicomp.py", "new_path": "statsmodels/sandbox/stats/multicomp.py", "diff": "@@ -923,7 +923,7 @@ class MultiComparison(object):\nres.append(testfunc(self.datali[i], self.datali[j]))\nres = np.array(res)\nreject, pvals_corrected, alph...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Replace alpha=0.05 with alpha=alpha
642,065
23.07.2019 18:10:06
18,000
c3f6d35c9a3bdfc347c6e954bc2c55291d52f06a
TST: Ignore warns on 32 bit linux
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/tests/test_generic_methods.py", "new_path": "statsmodels/base/tests/test_generic_methods.py", "diff": "@@ -11,7 +11,7 @@ Created on Wed Oct 30 14:01:27 2013\nAuthor: Josef Perktold\n\"\"\"\nfrom statsmodels.compat.pandas import assert_series_e...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Ignore warns on 32 bit linux
641,904
24.07.2019 14:34:03
25,200
6c0e6ec36becd0b0af51f69c20e40b6c945e78f9
CLN: implement archive/ directory for unmaintained files
[ { "change_type": "ADD", "old_path": null, "new_path": "archive/README.md", "diff": "+This directory holds files that were once part of statsmodels but\n+are no longer maintained. They are retained here in order to have their\n+git histories readily available, but should *not* be considered usable.\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLN: implement archive/ directory for unmaintained files
641,971
18.08.2015 12:29:54
14,400
a96ba16445919ff8868235e52da341a93ab58b3e
BUG: ARMA better start_params, fix MA
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/arima_model.py", "new_path": "statsmodels/tsa/arima_model.py", "diff": "@@ -513,10 +513,15 @@ class ARMA(tsa_model.TimeSeriesModel):\nif maxlag >= nobs:\nmaxlag = nobs - 1\narmod = AR(endog).fit(ic='bic', trend='nc', maxlag=maxlag)\n- else:\n+ ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: ARMA better start_params, fix MA
641,834
25.03.2016 17:25:17
-3,600
3ee07f97a407c2d33278efc83331f562657989ef
DOC: added content for two headings in VAR docs [skip ci] Add documentation closes
[ { "change_type": "MODIFY", "old_path": "docs/source/vector_ar.rst", "new_path": "docs/source/vector_ar.rst", "diff": "@@ -27,7 +27,7 @@ and their lagged values is the *vector autoregression process*:\n.. math::\n- Y_t = A_1 Y_{t-1} + \\ldots + A_p Y_{t-p} + u_t\n+ Y_t = \\nu + A_1 Y_{t-1} + \\ldots ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: added content for two headings in VAR docs [skip ci] Add documentation closes #2869
642,048
16.07.2019 23:15:04
14,400
cbd1ff228f54424e3ae9728279ee5af84723b5b0
Functional SIR
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/dimred.py", "new_path": "statsmodels/regression/dimred.py", "diff": "@@ -21,7 +21,7 @@ class _DimReductionRegression(model.Model):\n# Whiten the data\nx -= x.mean(0)\n- covx = np.cov(x.T)\n+ covx = np.dot(x.T, x) / x.shape[0]\ncovxr = np...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Functional SIR
642,048
17.07.2019 03:43:12
14,400
b873d84c54a4342793b76ab406b8bbb125c4c30a
lint formatting fixes
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/dimred.py", "new_path": "statsmodels/regression/dimred.py", "diff": "@@ -652,7 +652,8 @@ class CovarianceReduction(_DimReductionRegression):\nparams = start_params\nparams, llf, cnvrg = _grass_opt(params, lambda x: -self.loglike(x),\n- l...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
lint formatting fixes
642,061
28.07.2019 14:18:49
18,000
30e1a206c7c4483071f5eac2adbf8c8514266bc8
ENH: Added Oaxaca-Blinder Decomposition
[ { "change_type": "MODIFY", "old_path": "docs/source/stats.rst", "new_path": "docs/source/stats.rst", "diff": "@@ -494,3 +494,25 @@ to verify in an observational setting.\nMediation\nMediationResults\n+\n+\n+Oaxaca-Blinder Decomposition\n+----------------------------\n+\n+This package attempts to por...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Added Oaxaca-Blinder Decomposition
642,061
28.07.2019 16:32:02
18,000
feb1f0caaf01937a975ede7563d5ef84fd20846b
fixed pep8/formatting issues and import issues
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/oaxaca.py", "new_path": "statsmodels/stats/oaxaca.py", "diff": "@@ -6,7 +6,7 @@ Author: Austin Adams\nThis Class implements Oaxaca-Blinder Decomposition:\n-Two-Fold (two_fold)\n+Two-Fold/Pooled (two_fold)\nThree-Fold (three_fold)\nA Oaxaca-Bl...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed pep8/formatting issues and import issues
642,061
29.07.2019 19:46:00
18,000
d71c1a9c832a9a2a797d91c03e73caba111be0a9
fixed tests/added supress function
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/oaxaca.py", "new_path": "statsmodels/stats/oaxaca.py", "diff": "@@ -73,6 +73,8 @@ class Oaxaca(object):\ncov_kwdslist or None, optional\nSee linear_model.RegressionResults.get_robustcov_results for a description\nrequired keywords for alterna...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed tests/added supress function
642,061
29.07.2019 20:10:07
18,000
e244130cd1e279bb9836b06d9b7469049318ec62
added files into lint.sh
[ { "change_type": "MODIFY", "old_path": "lint.sh", "new_path": "lint.sh", "diff": "@@ -84,6 +84,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/stats/multicomp.py \\\nstatsmodels/stats/regularized_covariance.py \\\nstatsmodels/stats/stattools.py \\\n+ statsmodels/stats/oaxaca.py \\\nstatsmodels/stat...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
added files into lint.sh
641,831
30.07.2019 21:16:34
14,400
eef27631573fa1988e01e7a3d0de48d0bd3d7d93
ENH: Wrap context generator in try ... finally
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -392,8 +392,9 @@ class MLEModel(tsbase.TimeSeriesModel):\nself._free_params_index = list(\nset(np.arange(k_params)).difference(self._fixed_params_index))...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Wrap context generator in try ... finally
641,831
30.07.2019 21:18:39
14,400
35684b0565b38bfabe8e81df349b22304ffdbfff
CLEAN: Unused variables.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/dynamic_factor.py", "new_path": "statsmodels/tsa/statespace/dynamic_factor.py", "diff": "@@ -812,8 +812,7 @@ class DynamicFactor(MLEModel):\nsuper(DynamicFactor, self)._validate_can_fix_params(param_names)\nix = np.cumsum(list(self.p...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLEAN: Unused variables.
641,831
30.07.2019 21:30:57
14,400
fb97e0e35cfaaf2998305ef6e40e70da16450067
REF: Sort free / fixed params indexes
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -387,9 +387,9 @@ class MLEModel(tsbase.TimeSeriesModel):\n# Set the new fixed parameters\nself._fixed_params.update(params)\nself._has_fixed_params = Tru...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: Sort free / fixed params indexes
641,831
30.07.2019 21:35:25
14,400
6f83bf509d38e605f828f16a11748eb6939cf0f1
REF: ensure _fixed_params maintains ordering
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -384,12 +384,18 @@ class MLEModel(tsbase.TimeSeriesModel):\n# Validate parameter names and values\nself._validate_can_fix_params(set(params.keys()))\n- #...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: ensure _fixed_params maintains ordering
641,831
30.07.2019 21:46:21
14,400
0cc0507565d341ec3240b76db8de3e429e492d14
DOC: Add docstrings.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -367,6 +367,22 @@ class MLEModel(tsbase.TimeSeriesModel):\n@contextlib.contextmanager\ndef fix_params(self, params):\n+ \"\"\"\n+ Fix parameters to speci...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Add docstrings.
641,831
30.07.2019 23:08:18
14,400
74271d5299d5d2a98c5229c3c272f2b8cff52722
DOC: Add example notebook for fixed parameters.
[ { "change_type": "ADD", "old_path": "docs/source/_static/images/statespace_fixed_params.png", "new_path": "docs/source/_static/images/statespace_fixed_params.png", "diff": "Binary files /dev/null and b/docs/source/_static/images/statespace_fixed_params.png differ\n" }, { "change_type": "MODI...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Add example notebook for fixed parameters.
641,831
31.07.2019 08:17:33
14,400
b3fcbfa437620befa0295139677addbe441f59d7
BUG: include all fixed params in index
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -410,7 +410,7 @@ class MLEModel(tsbase.TimeSeriesModel):\n# Update associated values\nself._has_fixed_params = True\nself._fixed_params_index = [self._pa...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: include all fixed params in index
641,831
31.07.2019 08:38:21
14,400
e010a9ed2177504ec03f1323bc8732d65fc54ce6
DOC: Update DFM notebook `update` method.
[ { "change_type": "MODIFY", "old_path": "examples/notebooks/statespace_dfm_coincident.ipynb", "new_path": "examples/notebooks/statespace_dfm_coincident.ipynb", "diff": "\" # Return all the parameters\\n\",\n\" return np.r_[unconstrained, constrained[-3:]]\\n\",\n\"\\n\",\n- \" def update(self, params...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Update DFM notebook `update` method.
641,831
31.07.2019 08:43:04
14,400
318889e3bece5f4f38ca98f63295c606166954a3
DOC: Fix test docstring.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_fixed_params.py", "new_path": "statsmodels/tsa/statespace/tests/test_fixed_params.py", "diff": "\"\"\"\nTests for fixing the values of some parameters and estimating others\n-Note: the univariate cases is well tested in te...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Fix test docstring.
641,831
31.07.2019 17:49:19
14,400
49ef0a240e0499e81387443cf9dbe930a96aa9ca
DOC/BUG: Fix examples JSON.
[ { "change_type": "MODIFY", "old_path": "docs/source/examples/landing.json", "new_path": "docs/source/examples/landing.json", "diff": "\"text\": \"Fixed / constrained parameters in state space models\",\n\"target\": \"notebooks/generated/statespace_fixed_params.html\",\n\"img\": \"../_static/images/s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC/BUG: Fix examples JSON.
641,831
31.07.2019 18:13:09
14,400
7af6a8c0e4f62bdb8719c17dfff56ac27d0260d8
TST: Add tests for setting matrices in init
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_mlemodel.py", "new_path": "statsmodels/tsa/statespace/tests/test_mlemodel.py", "diff": "@@ -57,6 +57,79 @@ def get_dummy_mod(fit=True, pandas=False):\nreturn mod, res\n+def test_init_matrices_time_invariant():\n+ # Test se...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add tests for setting matrices in init
641,831
31.07.2019 18:13:25
14,400
07c5113b33538d6749b7e1ad4d85367d57a8c11b
BUG: specify nobs when setting up Representation
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -158,7 +158,8 @@ class MLEModel(tsbase.TimeSeriesModel):\nendog = self.endog.T\n# Instantiate the state space object\n- self.ssm = SimulationSmoother(end...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: specify nobs when setting up Representation
641,831
01.08.2019 18:19:48
14,400
6bb3f5bd43f1856f1c18f1bb8b309d32c9092fda
ENH: remove needless complication in predict.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/kalman_filter.py", "new_path": "statsmodels/tsa/statespace/kalman_filter.py", "diff": "@@ -2055,63 +2055,17 @@ class FilterResults(FrozenRepresentation):\n'loglikelihood_burn': self.loglikelihood_burn\n}\nmodel_kwargs.update(represen...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: remove needless complication in predict.
641,831
01.08.2019 21:53:49
14,400
0ca45c461a14eefb006f3a02e2e78502c4b3b1d3
ENH/PERF: Only perform required predict iterations
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/kalman_filter.py", "new_path": "statsmodels/tsa/statespace/kalman_filter.py", "diff": "@@ -13,6 +13,7 @@ from .representation import OptionWrapper, Representation, FrozenRepresentation\nfrom .tools import (validate_vector_shape, vali...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/PERF: Only perform required predict iterations
641,904
20.09.2018 07:31:55
25,200
4d0762f2239c23a168ae8f3c22ea9386902f35b0
Reference fit instead of fit.__doc__
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -937,7 +937,7 @@ class GenericLikelihoodModel(LikelihoodModel):\n\"\"\"\nFit the model using maximum likelihood.\n- See LikelihoodModel.fit.__doc__ for more information.\n+ See Li...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Reference fit instead of fit.__doc__
641,904
29.09.2018 16:12:06
25,200
5cddefa2c264c634c77f80d134b6cc3078566121
Use Appender pattern in statespace, a bit more in discrete
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -1428,10 +1428,8 @@ class GeneralizedPoisson(CountModel):\na = ((np.abs(resid) / np.sqrt(mu) - 1) * mu**(-q)).sum() / df_resid\nreturn a\n- def fit(self,...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Use Appender pattern in statespace, a bit more in discrete
641,904
29.09.2018 16:48:52
25,200
83ebbd258b5ed599b16295504222164f372ca383
Use Appender, Substitution
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/cov_struct.py", "new_path": "statsmodels/genmod/cov_struct.py", "diff": "@@ -6,8 +6,9 @@ docs:\nhttp://www.stata.com/manuals13/xtxtgee.pdf\n\"\"\"\n-\nfrom statsmodels.compat.python import iterkeys, itervalues\n+from statsmodels.compat.panda...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Use Appender, Substitution
641,904
29.09.2018 16:51:34
25,200
9b4b08db44d6886f434caac587a0f86aeef85f48
Import Subsitution in compat.pandas
[ { "change_type": "MODIFY", "old_path": "statsmodels/compat/pandas.py", "new_path": "statsmodels/compat/pandas.py", "diff": "from distutils.version import LooseVersion\nimport pandas\n-from pandas.util._decorators import cache_readonly, deprecate_kwarg, Appender\n+from pandas.util._decorators import ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Import Subsitution in compat.pandas
641,904
11.05.2019 11:56:19
25,200
cd4b5cdec022db3d5adfc13a1976d23b07384b9b
TST: Add test for importability with -OO optimization
[ { "change_type": "MODIFY", "old_path": "statsmodels/tests/test_package.py", "new_path": "statsmodels/tests/test_package.py", "diff": "+import pytest\nimport subprocess\nfrom statsmodels.compat.platform import PLATFORM_WIN\n@@ -17,3 +18,14 @@ def test_lazy_imports():\np.wait()\nrc = p.returncode\nass...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add test for importability with -OO optimization
641,904
12.05.2019 17:09:03
25,200
d0bd22930b7924e502c0e483b96932f3508058c6
Fixup: Use Appender in ar_model
[ { "change_type": "MODIFY", "old_path": "statsmodels/tests/test_package.py", "new_path": "statsmodels/tests/test_package.py", "diff": "-import pytest\nimport subprocess\nfrom statsmodels.compat.platform import PLATFORM_WIN\n@@ -20,7 +19,6 @@ def test_lazy_imports():\nassert rc == 0\n-@pytest.mark.xfa...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fixup: Use Appender in ar_model
641,904
02.08.2019 07:22:42
25,200
dc643f767f8b7bc459bb7c324670f9cceb1b415b
FIXUP: restore method lost in rebase
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/ar_model.py", "new_path": "statsmodels/tsa/ar_model.py", "diff": "@@ -863,6 +863,88 @@ class ARResults(tsa_model.TimeSeriesModelResults):\nreturn predictedvalues\n# TODO: consider returning forecast errors and confidence intervals?\n+ def summa...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
FIXUP: restore method lost in rebase
641,904
02.08.2019 07:26:09
25,200
a55074493d7a2fe5e5a0c9dc22514c8a7d4f86f6
FIXUP: post-merge fixup
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -25,7 +25,7 @@ from scipy.special import gammaln, digamma, polygamma, loggamma\nfrom scipy import stats, special\nfrom scipy.stats import nbinom\n-from s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
FIXUP: post-merge fixup
641,831
02.08.2019 20:46:55
14,400
f2ded6a56cb8d2c2b4131adcc9528c20b47a0b49
TST: Add test for forecast with memory conserve
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_prediction.py", "new_path": "statsmodels/tsa/statespace/tests/test_prediction.py", "diff": "@@ -10,7 +10,7 @@ import numpy as np\nimport pandas as pd\nfrom statsmodels.tsa.statespace import sarimax\n-from numpy.testing imp...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add test for forecast with memory conserve
641,831
03.08.2019 20:56:29
14,400
13d00f28451b253dfb384c5c0789e12ed00303cf
ENH: Improve low memory usability; allow in fit, loglike
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_kalman_smoother.pyx.in", "new_path": "statsmodels/tsa/statespace/_kalman_smoother.pyx.in", "diff": "@@ -253,7 +253,7 @@ cdef class {{prefix}}KalmanSmoother(object):\n# Make sure the appropriate output has been stored in the filter\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Improve low memory usability; allow in fit, loglike
641,831
04.08.2019 21:18:36
14,400
a14a15f22a3f04aa001bc6ca088693fa038f2afd
TST: Check cov_params work within fix context
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_fixed_params.py", "new_path": "statsmodels/tsa/statespace/tests/test_fixed_params.py", "diff": "@@ -498,6 +498,11 @@ def test_sarimax_nonconsecutive():\ncheck_results(res1, res2, check_lutkepohl=True)\n+ # Check that resul...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Check cov_params work within fix context
641,831
04.08.2019 21:18:51
14,400
3d86659d916402db2610d23748423023f30552e2
BUG: cov_params computation in fix_params context
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -896,6 +896,7 @@ class MLEModel(tsbase.TimeSeriesModel):\nsimulation_output=simulation_output, **kwargs)\ndef _forecasts_error_partial_derivatives(self, ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: cov_params computation in fix_params context
642,061
04.08.2019 21:25:58
18,000
33b3bfc61ab56bb564d4bdb2c2c7107085f3baa9
added OaxacaResults/fixed format
[ { "change_type": "MODIFY", "old_path": "docs/source/stats.rst", "new_path": "docs/source/stats.rst", "diff": "@@ -499,13 +499,13 @@ to verify in an observational setting.\nOaxaca-Blinder Decomposition\n----------------------------\n-This package attempts to port the functionality of the oaxaca comma...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
added OaxacaResults/fixed format
642,061
04.08.2019 21:35:13
18,000
a230d915c17890aefe071a68fce3c2e84b03014f
removed deleted keyword
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_oaxaca.py", "new_path": "statsmodels/stats/tests/test_oaxaca.py", "diff": "@@ -19,7 +19,7 @@ pd_endog, pd_exog = pandas_df.endog, add_constant(\nclass TestOaxaca(object):\n@classmethod\ndef setup_class(cls):\n- cls.model = OaxacaBl...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
removed deleted keyword
642,061
04.08.2019 21:41:23
18,000
e920f6b6826c668443c3c8b321403248f8e2c4af
deleted more keywords
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_oaxaca.py", "new_path": "statsmodels/stats/tests/test_oaxaca.py", "diff": "@@ -131,8 +131,7 @@ class TestOaxacaNoSwapNoConstPassed(object):\ndf.exog,\n3,\nhasconst=False,\n- swap=False,\n- suppress=True)\n+ swap=False)\ndef test_re...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
deleted more keywords
641,831
04.08.2019 22:18:56
14,400
7ae5ed04080396ed1c607f29dc9a620780ba4642
ENH: Improve cov_params in append, extend, apply
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -2882,6 +2882,44 @@ class MLEResults(tsbase.TimeSeriesModelResults):\n**kwargs)\nreturn irfs\n+ def _apply(self, mod, refit=False, fit_kwargs=None, **kwa...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Improve cov_params in append, extend, apply
641,831
04.08.2019 21:26:17
14,400
bf5cac2bcaf1085c4700b965f761ee615318f521
TST: Add conserve memory tests.
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/statespace/tests/test_conserve_memory.py", "diff": "+\"\"\"\n+Tests for memory conservation in state space models\n+\n+Author: Chad Fulton\n+License: BSD-3\n+\"\"\"\n+\n+\n+import numpy as np\n+import pandas as pd\n+\n+import pyt...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add conserve memory tests.
642,067
13.08.2019 00:37:03
-19,080
3ed1ee9108be5b6f15f5256864c60a7da4e9ff6c
DOC: Seasonality in SARIMAX Notebook changed `order=(1,1,1)` to `order=(1,1,(1,0,0,1))` closes
[ { "change_type": "MODIFY", "old_path": "examples/notebooks/statespace_sarimax_stata.ipynb", "new_path": "examples/notebooks/statespace_sarimax_stata.ipynb", "diff": "\"data.index = data.t\\n\",\n\"\\n\",\n\"# Fit the model\\n\",\n- \"mod = sm.tsa.statespace.SARIMAX(data['wpi'], trend='c', order=(1,1...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Seasonality in SARIMAX Notebook changed `order=(1,1,1)` to `order=(1,1,(1,0,0,1))` closes #6037
641,831
15.08.2019 08:58:09
25,200
c176bc3928d0f07ba64f62de6f91c03a8bd5ce7c
ENH: Improve SARIMAX start_params if too few nobs
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/sarimax.py", "new_path": "statsmodels/tsa/statespace/sarimax.py", "diff": "@@ -806,7 +806,8 @@ class SARIMAX(MLEModel):\n@staticmethod\ndef _conditional_sum_squares(endog, k_ar, polynomial_ar, k_ma,\n- polynomial_ma, k_trend=0, trend...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Improve SARIMAX start_params if too few nobs
641,831
15.08.2019 13:12:12
25,200
d57e7b925565a301349c52839be1c7edbe9e7eda
TST: Add test for score shape if fixed params
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_fixed_params.py", "new_path": "statsmodels/tsa/statespace/tests/test_fixed_params.py", "diff": "@@ -588,3 +588,16 @@ def test_dynamic_factor_diag_error_cov():\n# Can't check some parameters-related values because of the di...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add test for score shape if fixed params
641,831
15.08.2019 13:06:53
25,200
ba3909f6907f8159e4e1e75dbae9b8487b15b93e
BUG: Specify includes_fixed for all update calls
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/dynamic_factor.py", "new_path": "statsmodels/tsa/statespace/dynamic_factor.py", "diff": "@@ -1234,7 +1234,7 @@ class DynamicFactorResults(MLEResults):\nerror_cov_type=self.model.error_cov_type,\nenforce_stationarity=self.model.enforc...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Specify includes_fixed for all update calls
641,957
16.08.2019 11:54:22
-7,200
8a5b9583d9dc7568cf6770e77f8d8b250c8b36c8
Update correlation_tools.py if I understood well this function the variable `clipped` should report if any value was smaller than the threshold value not the hardcoded 0
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/correlation_tools.py", "new_path": "statsmodels/stats/correlation_tools.py", "diff": "@@ -20,7 +20,7 @@ from statsmodels.tools.sm_exceptions import (\ndef clip_evals(x, value=0): # threshold=0, value=0):\nevals, evecs = np.linalg.eigh(x)\n- c...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Update correlation_tools.py if I understood well this function the variable `clipped` should report if any value was smaller than the threshold value not the hardcoded 0
642,030
16.08.2019 15:51:41
14,400
afc4e7616f98a668ad2d3be2838346bac7c2ee97
Changes summary_col's docstring to match variables The docstring now refers to regressor_order, not regressors_list, to match the variable name that the function asks for.
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/summary2.py", "new_path": "statsmodels/iolib/summary2.py", "diff": "@@ -480,7 +480,7 @@ def summary_col(results, float_format='%.4f', model_names=(), stars=False,\ndrop_omitted : bool, optional\nIncludes regressors that are not specified in r...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Changes summary_col's docstring to match variables The docstring now refers to regressor_order, not regressors_list, to match the variable name that the function asks for.
642,030
16.08.2019 15:55:27
14,400
eeea94b00111fdf66fbd8c03dc64864fa13e016c
Update CONTRIBUTING.rst "relase"-> "release"
[ { "change_type": "MODIFY", "old_path": "CONTRIBUTING.rst", "new_path": "CONTRIBUTING.rst", "diff": "@@ -51,7 +51,7 @@ So you want to submit a patch to `statsmodels` but are not too familiar with git\n1. `Fork <https://help.github.com/articles/fork-a-repo>`_ the `statsmodels repository <https://githu...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Update CONTRIBUTING.rst "relase"-> "release"
642,030
16.08.2019 15:58:36
14,400
4c77d33ea4ef35011528b808953b3cda9c7783b2
Update link in CONTRIBUTING.rst The previous numpy link pointed to the one I've replaced it with.
[ { "change_type": "MODIFY", "old_path": "CONTRIBUTING.rst", "new_path": "CONTRIBUTING.rst", "diff": "@@ -22,7 +22,7 @@ For a pull request to be accepted, you must meet the below requirements. This gr\n- **One branch. One feature.** Branches are cheap and github makes it easy to merge and delete branc...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Update link in CONTRIBUTING.rst The previous numpy link pointed to the one I've replaced it with.
641,831
16.08.2019 17:16:42
14,400
f784de0a46c223a835114c2693a6b616b71b42cf
DOC: Update PR template Numpy guide link closes
[ { "change_type": "MODIFY", "old_path": ".github/PULL_REQUEST_TEMPLATE.md", "new_path": ".github/PULL_REQUEST_TEMPLATE.md", "diff": "- [ ] tests added / passed.\n- [ ] code/documentation is well formatted.\n- [ ] properly formatted commit message. See\n- [NumPy's guide](https://docs.scipy.org/doc/num...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Update PR template Numpy guide link - closes #6109
641,831
16.08.2019 21:57:06
14,400
7235de489b304656ae0480d32988c809f7f90fe2
BUG: observed_information_matrix with diffuse init
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -1063,7 +1063,8 @@ class MLEModel(tsbase.TimeSeriesModel):\ntmp = np.zeros((self.k_endog, self.k_endog, self.nobs, n), dtype=dtype)\ninformation_matrix =...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: observed_information_matrix with diffuse init
641,831
16.08.2019 21:58:10
14,400
5a3b6afea5cec97a4eaab7afa541fd7a92e676d1
ENH: `use_exact_diffuse` in UnobservedComponents
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/structural.py", "new_path": "statsmodels/tsa/statespace/structural.py", "diff": "@@ -356,7 +356,7 @@ class UnobservedComponents(MLEModel):\nstochastic_freq_seasonal=None,\nstochastic_cycle=False,\ndamped_cycle=False, cycle_period_bou...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: `use_exact_diffuse` in UnobservedComponents
641,831
16.08.2019 22:03:06
14,400
7fe8c978b50d0d48573e5765c9c24b0818a96813
ENH: `use_exact_diffuse` in SARIMAX
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/sarimax.py", "new_path": "statsmodels/tsa/statespace/sarimax.py", "diff": "@@ -305,7 +305,7 @@ class SARIMAX(MLEModel):\nmle_regression=True, simple_differencing=False,\nenforce_stationarity=True, enforce_invertibility=True,\nhamilto...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: `use_exact_diffuse` in SARIMAX
641,831
17.08.2019 21:34:10
14,400
4bbce98d9b7b80d1b14b926f6c7e0dd87318ef5b
DOC: Add docstring for use_exact_diffuse param.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/sarimax.py", "new_path": "statsmodels/tsa/statespace/sarimax.py", "diff": "@@ -102,6 +102,10 @@ class SARIMAX(MLEModel):\nThe offset at which to start time trend values. Default is 1, so that\nif `trend='t'` the trend is equal to 1, ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Add docstring for use_exact_diffuse param.
641,819
18.08.2019 14:22:41
-7,200
11aab940bbb6e2a503727101639c20f4faa31e28
added interpretations to LogitResults.get_margeff
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -3593,7 +3593,8 @@ class DiscreteResults(base.LikelihoodModelResults):\nNote that tranformations are done after each observation is\ncalculated. Semi-ela...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
added interpretations to LogitResults.get_margeff
641,819
19.08.2019 12:22:19
-7,200
3b3bd6947248f2f58ef7c523d11bf4d1eea513e8
corrected mixup with ey dy
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -3625,8 +3625,8 @@ class DiscreteResults(base.LikelihoodModelResults):\n- 'dydx' - change in `endog` for a change in `exog`\n- 'eyex' - proportional chan...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
corrected mixup with ey dy
641,817
19.08.2019 13:52:09
25,200
c9b6051e00f37659430e86c6090e5e8e46eb4e67
Remove data_files in setup.py
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -34,6 +34,9 @@ from setuptools.dist import Distribution\nimport versioneer\n+#import pdb\n+#pdb.set_trace()\n+\n###############################################################################\n# Key Values that Ch...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Remove data_files in setup.py
642,030
20.08.2019 11:11:58
14,400
5d9a47ec5ecd0a4ced10f4ea2586edebc1194ead
Update summary2.py DOC: Changes summary_col documentation to make it clearer how info_dict works by making the example work. The previous "..." was less clear about how to actually use info_dict.
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/summary2.py", "new_path": "statsmodels/iolib/summary2.py", "diff": "@@ -469,9 +469,9 @@ def summary_col(results, float_format='%.4f', model_names=(), stars=False,\ndict of functions to be applied to results instances to retrieve\nmodel info. ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Update summary2.py DOC: Changes summary_col documentation to make it clearer how info_dict works by making the example work. The previous "..." was less clear about how to actually use info_dict.
642,054
22.08.2019 20:34:57
-7,200
b76f239b98695fa7183b0228196a54b7112d5721
Plot only unique points
[ { "change_type": "MODIFY", "old_path": "statsmodels/duration/survfunc.py", "new_path": "statsmodels/duration/survfunc.py", "diff": "@@ -798,7 +798,7 @@ def plot_survfunc(survfuncs, ax=None):\n# Plot the censored points.\nii = np.flatnonzero(np.logical_not(sf.status))\n- ti = sf.time[ii]\n+ ti = np.u...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Plot only unique points
641,831
26.08.2019 11:27:47
-3,600
b715592ea3293f8c42d0acd3f918489f01cfdfba
TST: Add loc/index test for Monthly date index
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/base/tests/test_tsa_indexes.py", "new_path": "statsmodels/tsa/base/tests/test_tsa_indexes.py", "diff": "@@ -659,7 +659,7 @@ def test_prediction_increment_pandas_noindex():\nassert_equal(prediction_index.equals(pd.Index(np.arange(1, 6))), True)\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add loc/index test for Monthly date index
641,831
26.08.2019 11:28:22
-3,600
51ee4bf3d3aad31b71bba44cc4d1ae27d1d7e241
BUG: Incorrect TSA index if loc resolves to slice
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/base/tsa_model.py", "new_path": "statsmodels/tsa/base/tsa_model.py", "diff": "@@ -377,7 +377,7 @@ class TimeSeriesModel(base.LikelihoodModel):\n# Return the index through the end of the loc / slice\nif isinstance(loc, slice):\n- end = loc.stop\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Incorrect TSA index if loc resolves to slice
641,831
26.08.2019 11:41:52
-3,600
db16fa3a23bede694d29b11ba02c08ffe02bf8e4
ENH: Std. fcast err. in diffuse period if possible
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_filters/_univariate_diffuse.pyx.in", "new_path": "statsmodels/tsa/statespace/_filters/_univariate_diffuse.pyx.in", "diff": "@@ -151,6 +151,11 @@ cdef int {{prefix}}forecast_univariate_diffuse({{prefix}}KalmanFilter kfilter, {\nkfilt...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Std. fcast err. in diffuse period if possible
641,831
25.08.2019 09:13:16
14,400
d97fca2abdfd829502e0f5e73d31c32c00d9d103
BUG: start params for VMA with trend or exog
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/varmax.py", "new_path": "statsmodels/tsa/statespace/varmax.py", "diff": "@@ -392,7 +392,7 @@ class VARMAX(MLEModel):\nma_params *= 0\n# Transform trend / exog params from mean form to intercept form\n- if self.k_ar > 0 and self.k_tre...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: start params for VMA with trend or exog
641,831
26.08.2019 13:57:46
-3,600
b263bf59f46fc128e49fb7803f684b3cfcae8c46
TST: Add test for VMA with exog.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_varmax.py", "new_path": "statsmodels/tsa/statespace/tests/test_varmax.py", "diff": "@@ -13,7 +13,7 @@ from numpy.testing import assert_equal, assert_allclose, assert_raises\nimport pandas as pd\nimport pytest\n-from statsm...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add test for VMA with exog.
641,947
07.09.2019 19:10:40
-10,800
588fc3326ebf4de56e4a68b3ad829c4872622362
BUG: Fix accepting of eval environment for formula *Issue* According model.from_formula documentation, the `eval_env` parameter can be a `patsy.EvalEnvironment` but this type was not properly handled.
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -159,7 +159,7 @@ class Model(object):\nelif eval_env == -1:\nfrom patsy import EvalEnvironment\neval_env = EvalEnvironment({})\n- else:\n+ elif isinstance(eval_env, int):\neval_en...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Fix accepting of eval environment for formula *Issue* According model.from_formula documentation, the `eval_env` parameter can be a `patsy.EvalEnvironment` but this type was not properly handled.
641,947
08.09.2019 02:43:46
-10,800
44c1444222c06679ed3739198c364995d9dc1c4a
TST: Remove Exception branch in test case
[ { "change_type": "MODIFY", "old_path": "statsmodels/formula/tests/test_formula.py", "new_path": "statsmodels/formula/tests/test_formula.py", "diff": "@@ -229,12 +229,8 @@ def test_predict_nondataframe():\ndef test_formula_environment():\ndf = pd.DataFrame({'x': [1, 2, 3], 'y': [2, 4, 6]})\n- env = p...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Remove Exception branch in test case
642,065
14.09.2019 17:49:15
18,000
4f54cfb762d29159a751c9f711ba0e85e9413494
DOC: fix sidebartoc
[ { "change_type": "MODIFY", "old_path": "docs/source/conf.py", "new_path": "docs/source/conf.py", "diff": "@@ -172,7 +172,7 @@ html_theme_options = {\n'base_url': base_url,\n'repo_url': 'https://github.com/statsmodels/statsmodels',\n'repo_name': 'statsmodels',\n- 'globaltoc_depth': 1,\n+ 'globaltoc_d...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: fix sidebartoc
641,861
15.09.2019 16:39:35
-3,600
6c81e08a95fafc68d3f8cae2bd68ae50f35f29e5
MAINT: Regenerate example for scipy 1.3 compatibility scipy.misc.comb no longer exists; the notebook stopped using it in
[ { "change_type": "MODIFY", "old_path": "examples/python/discrete_choice_example.py", "new_path": "examples/python/discrete_choice_example.py", "diff": "-# coding: utf-8\n-\n# DO NOT EDIT\n# Autogenerated from the notebook discrete_choice_example.ipynb.\n# Edit the notebook and then sync the output w...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: Regenerate example for scipy 1.3 compatibility scipy.misc.comb no longer exists; the notebook stopped using it in 8233beb59d966e5808a1f5b59b2fa1f69e1fdd08