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,831 | 07.01.2021 23:36:48 | 18,000 | 288e7db83d881397221af387edc6803fe04560c3 | ENH: raise error if constant with integration | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima/model.py",
"new_path": "statsmodels/tsa/arima/model.py",
"diff": "@@ -8,6 +8,8 @@ from statsmodels.compat.pandas import Appender\nimport warnings\n+import numpy as np\n+\nfrom statsmodels.tools.data import _is_using_pandas\nfrom statsmode... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: raise error if constant with integration |
641,831 | 07.01.2021 23:37:19 | 18,000 | c6ef17545856b81f392dc43254e5d8fa92261b1d | TST: Add test for forecasting with trend terms | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima/tests/test_model.py",
"new_path": "statsmodels/tsa/arima/tests/test_model.py",
"diff": "@@ -258,6 +258,40 @@ def test_constant_integrated_model_error():\nARIMA(np.ones(100), order=(1, 1, 0), seasonal_order=(1, 1, 0, 6),\ntrend='t')\n+\n+d... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Add test for forecasting with trend terms |
641,831 | 07.01.2021 23:37:32 | 18,000 | 160137174ad3cead2fdacc9f4a5fa56ac313221a | BUG: fix issue when forecasting with trend terms | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/sarimax.py",
"new_path": "statsmodels/tsa/statespace/sarimax.py",
"diff": "@@ -1732,7 +1732,7 @@ class SARIMAX(MLEModel):\n# Create extended model\nif extend_kwargs is None:\nextend_kwargs = {}\n- if not self.simple_differencing and ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix issue when forecasting with trend terms |
642,048 | 09.01.2021 21:43:27 | 18,000 | e72a95a604c6df99394fea508bab8a8c0a6d84f2 | Add tests for covariance_solve | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/cov_struct.py",
"new_path": "statsmodels/genmod/cov_struct.py",
"diff": "@@ -595,6 +595,10 @@ class Stationary(CovStruct):\ndef __init__(self, max_lag=1, grid=False):\nsuper(Stationary, self).__init__()\n+\n+ if not grid:\n+ warnings.warn(\"... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Add tests for covariance_solve |
642,036 | 06.01.2021 17:13:59 | -3,600 | 65de79dc472c24b557a83f89e9c75ae0a76a0acf | Added missing df_model | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/mlemodel.py",
"new_path": "statsmodels/tsa/statespace/mlemodel.py",
"diff": "@@ -3146,7 +3146,7 @@ class MLEResults(tsbase.TimeSeriesModelResults):\nreturn output\n- def test_serial_correlation(self, method, lags=None):\n+ def test_s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Added missing df_model |
641,971 | 15.01.2021 09:48:33 | 18,000 | 84bf1c30d426015153ce939704fe1a5be9ecdb31 | BUG/TST: fix and unit test extreme value copulas | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/distributions/tests/test_copula.py",
"diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Thu Jan 14 23:32:57 2021\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\n+\"\"\"\n+\n+import numpy as np\n+from numpy.testing import assert... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/TST: fix and unit test extreme value copulas |
641,896 | 15.01.2021 23:23:10 | 0 | d818219ffe022234a0c558c594a47834b4f801f0 | BUG: Correct LM Test
Replace vector of 1s with vector of 0s in acorr lm | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/diagnostic.py",
"new_path": "statsmodels/stats/diagnostic.py",
"diff": "@@ -705,17 +705,17 @@ def acorr_lm(resid, nlags=None, autolag=\"AIC\", store=False, *, period=None,\nresols = OLS(xshort, xdall[:, :usedlag + 1]).fit(cov_type=cov_type,\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Correct LM Test
Replace vector of 1s with vector of 0s in acorr lm |
641,971 | 20.01.2021 11:10:53 | 18,000 | f8cf06797ad15a3f6f5be203ed3514ee8dc7cbe4 | BUG/TST: fix bugs and add test for remaining generated copulas | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/tests/test_copula.py",
"new_path": "statsmodels/distributions/tests/test_copula.py",
"diff": "@@ -7,7 +7,7 @@ License: BSD-3\n\"\"\"\n-import numpy as np\n+# import numpy as np\nfrom numpy.testing import assert_allclose\nimport pytest... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/TST: fix bugs and add test for remaining generated copulas |
641,971 | 20.01.2021 23:13:56 | 18,000 | d130a57145c6c6b15934f05bb833694c354fbdf7 | TST/MAINT: make chisquare test for genpoisson more accurate | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_discrete.py",
"new_path": "statsmodels/discrete/tests/test_discrete.py",
"diff": "@@ -1866,9 +1866,16 @@ class TestGeneralizedPoisson_underdispersion(object):\nres.predict(), res.params[-1], 1).T\nassert_allclose(pr, pr2, rtol=1... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST/MAINT: make chisquare test for genpoisson more accurate |
642,041 | 23.01.2021 23:00:00 | -32,400 | f14ab6e7a883956fab0cbc03d5ff6a19ba2a07c3 | DOC: LaTeX correction (\floor -> \lfloor \rfloor) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/structural.py",
"new_path": "statsmodels/tsa/statespace/structural.py",
"diff": "@@ -248,7 +248,7 @@ class UnobservedComponents(MLEModel):\nThis component results in one parameter to be fitted using maximum\nlikelihood: :math:`\\sigm... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: LaTeX correction (\floor -> \lfloor \rfloor) |
642,041 | 23.01.2021 23:22:59 | -32,400 | 6c78cd84b17e26c3062bc5e2d4730d4075d5e059 | DOC: fixed LaTeX error | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/structural.py",
"new_path": "statsmodels/tsa/statespace/structural.py",
"diff": "@@ -155,11 +155,11 @@ class UnobservedComponents(MLEModel):\n+----------------------------------+--------------------------------------+----------------... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: fixed LaTeX error |
642,066 | 30.10.2020 11:26:06 | 10,800 | 089d76d14a035ec808fded8e4ffa4e5587292753 | BUG: fix error in Poisson regression when offset or exposure is a pd.Series | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/discrete_model.py",
"new_path": "statsmodels/discrete/discrete_model.py",
"diff": "@@ -774,7 +774,10 @@ class CountModel(DiscreteModel):\nsuper().__init__(endog, exog, check_rank, missing=missing,\noffset=offset, exposure=exposure, **kwarg... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix error in Poisson regression when offset or exposure is a pd.Series |
641,971 | 22.12.2020 15:14:58 | 18,000 | 695e94b625431e23f281ed828972708b01521cd6 | TST: simplify test case to avoid convergence, hessian inversion warnings | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_count_model.py",
"new_path": "statsmodels/discrete/tests/test_count_model.py",
"diff": "@@ -649,11 +649,13 @@ class TestPandasOffset:\ndef test_pd_offset_exposure(self):\nendog = pd.DataFrame({'F': [0.0, 0.0, 0.0, 0.0, 1.0]})\n-... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: simplify test case to avoid convergence, hessian inversion warnings |
641,971 | 25.01.2021 11:52:25 | 18,000 | 9eaab0f3be3c8c853e37a271ef254a6c752ce872 | BUG/TST: StratifiedTable allow int array, silence test warnings closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/contingency_tables.py",
"new_path": "statsmodels/stats/contingency_tables.py",
"diff": "@@ -939,7 +939,7 @@ class StratifiedTable(object):\nsp = tables.shape\nif (len(sp) != 3) or (sp[0] != 2) or (sp[1] != 2):\nraise ValueError(\"If an ndarra... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/TST: StratifiedTable allow int array, silence test warnings closes #6670 |
641,971 | 25.01.2021 14:46:59 | 18,000 | 9218aeb15d1777fa2004b1303ae94bf067b88c84 | BUG/TST: fix _mean, _var in distributions ZI count models | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/discrete.py",
"new_path": "statsmodels/distributions/discrete.py",
"diff": "@@ -56,11 +56,11 @@ class zipoisson_gen(rv_discrete):\ndef _var(self, mu, w):\ndispersion_factor = 1 + w * mu\n- var = (dispersion_factor * self._mean(mu, w))... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/TST: fix _mean, _var in distributions ZI count models |
642,048 | 26.01.2021 10:22:33 | 18,000 | cddbf6d3849f717753b47183411bae086fe86ae4 | qaic for GLM | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/generalized_linear_model.py",
"new_path": "statsmodels/genmod/generalized_linear_model.py",
"diff": "@@ -1670,17 +1670,22 @@ class GLMResults(base.LikelihoodModelResults):\nfreq_weights=self._freq_weights,\nscale=self.scale)\n- @cached_value... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | qaic for GLM |
641,971 | 26.01.2021 14:38:35 | 18,000 | 3166b3c52b68e089580f0a68d153f3b182eac6fd | REF: make Binomial family more robust to corner cases mu=0 or 1 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/families/family.py",
"new_path": "statsmodels/genmod/families/family.py",
"diff": "@@ -890,8 +890,8 @@ class Binomial(Family):\nresid\\_dev_i = 2 * n * (endog_i * \\ln(endog_i /\\mu_i) +\n(1 - endog_i) * \\ln((1 - endog_i) / (1 - \\mu_i)))\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: make Binomial family more robust to corner cases mu=0 or 1 |
641,971 | 26.01.2021 14:46:41 | 18,000 | 35177c25bbb6a98a63a3a5bdd8a2a0e5f8d97026 | REF/ENH improve probit, cauchy link deriv2 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_sandwich_cov.py",
"new_path": "statsmodels/discrete/tests/test_sandwich_cov.py",
"diff": "@@ -491,7 +491,7 @@ class TestGLMProbit(CheckDiscreteGLM):\nhess1 = res1.model.hessian(res1.params)\nhess2 = res2.model.hessian(res1.param... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/ENH improve probit, cauchy link deriv2 |
641,971 | 28.01.2021 19:37:00 | 18,000 | dc2208db0722172d77ecd9952c186abffce0abfb | REF: move copula out of sandbox (for history) | [
{
"change_type": "ADD",
"old_path": "statsmodels/distributions/copula/__init__.py",
"new_path": "statsmodels/distributions/copula/__init__.py",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "statsmodels/sandbox/distributions/copula.py",
"new_path": "statsmodels/distributions/c... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: move copula out of sandbox (for history) |
641,971 | 28.01.2021 19:51:31 | 18,000 | cdad25453c3a4f63db0aa24d686cc92373f47bc0 | REF: move transforms to separate modules | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/copula/copulas.py",
"new_path": "statsmodels/distributions/copula/copulas.py",
"diff": "@@ -17,6 +17,11 @@ copulas. The Annals of Statistics, 37(5), pp.2990-3022.\nimport numpy as np\nfrom scipy.special import expm1\n+from statsmodels... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: move transforms to separate modules |
641,971 | 28.01.2021 19:55:33 | 18,000 | 812a73150393331409c2aec79b005755116eea11 | STY: pep-8 whitespace | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/copula/copulas.py",
"new_path": "statsmodels/distributions/copula/copulas.py",
"diff": "@@ -28,16 +28,19 @@ def copula_bv_indep(u,v):\n'''\nreturn u*v\n+\ndef copula_bv_min(u, v):\n'''comonotonic bivariate copula\n'''\nreturn np.minim... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | STY: pep-8 whitespace |
641,971 | 28.01.2021 21:14:38 | 18,000 | d07e42491626b5f84ae8914e67649a9d802b0db4 | REF: partial refactor, u,v -> u, and args | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/copula/copulas.py",
"new_path": "statsmodels/distributions/copula/copulas.py",
"diff": "@@ -41,11 +41,16 @@ def copula_bv_max(u, v):\nreturn np.maximum(u + v - 1, 0)\n-def copula_bv_clayton(u, v, theta):\n+def copula_bv_clayton(u, the... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: partial refactor, u,v -> u, and args |
641,971 | 29.01.2021 12:10:19 | 18,000 | 46de0ead2e7c9066f0979adedb263e795d9a1b9b | REF: allow mv in copula distribution cdf, partial code cleanup | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/copula/copulas.py",
"new_path": "statsmodels/distributions/copula/copulas.py",
"diff": "@@ -9,19 +9,12 @@ References\nGenest, C., 2009. Rank-based inference for bivariate extreme-value\ncopulas. The Annals of Statistics, 37(5), pp.299... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: allow mv in copula distribution cdf, partial code cleanup |
641,971 | 29.01.2021 13:52:30 | 18,000 | 4619a4853ee0d60e3d1e42280ff4bb575c86858b | ENH: add logpdf, pdf to CopulaDistribution, tested for archimedean | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/copula/copulas.py",
"new_path": "statsmodels/distributions/copula/copulas.py",
"diff": "@@ -116,6 +116,9 @@ class CopulaArchimedean(object):\nphi = self.transform.evaluate\nphi_inv = self.transform.inverse\ncdfv = phi_inv(phi(u, *args... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add logpdf, pdf to CopulaDistribution, tested for archimedean |
641,971 | 29.01.2021 19:31:58 | 18,000 | 60179cff6ef3a3e1e023b34918ccad07690f281c | REF: move copulas into separate modules | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/distributions/copula/api..py",
"diff": "+# -*- coding: utf-8 -*-\n+\n+\n+from .copulas import CopulaDistribution\n+import transforms\n+import depfunc_ev\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "sta... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: move copulas into separate modules |
641,971 | 30.01.2021 00:26:54 | 18,000 | 358c72b53eb3129d820f660e0f89884c0054ea37 | ENH: start adding FrankCopula as special copula, rename ArchimedeanCopula | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/copula/archimedean.py",
"new_path": "statsmodels/distributions/copula/archimedean.py",
"diff": "@@ -8,9 +8,10 @@ License: BSD-3\n\"\"\"\nimport numpy as np\n+from . import transforms\n-class CopulaArchimedean(object):\n+class Archimed... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: start adding FrankCopula as special copula, rename ArchimedeanCopula |
642,041 | 31.01.2021 11:00:40 | -32,400 | 42f2353a0ebe0ad460a59e97a669d3654d228127 | fix docs to add parameter `observed` | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/structural.py",
"new_path": "statsmodels/tsa/statespace/structural.py",
"diff": "@@ -1557,6 +1557,10 @@ class UnobservedComponentsResults(MLEResults):\nresults are available otherwise 'filtered'.\nalpha : float, optional\nThe confide... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fix docs to add parameter `observed` |
642,041 | 31.01.2021 12:07:57 | -32,400 | 8f2f18897fa338554d5d574b33f38849c1297d9d | modify doc of fit to mention UC results | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/mlemodel.py",
"new_path": "statsmodels/tsa/statespace/mlemodel.py",
"diff": "@@ -632,12 +632,14 @@ class MLEModel(tsbase.TimeSeriesModel):\nReturns\n-------\n- MLEResults\n+ results\n+ Results object holding results from fitting a st... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | modify doc of fit to mention UC results |
642,041 | 31.01.2021 12:31:13 | -32,400 | 81e6da9dcc2b463d12a61a27f3977fe71b6df8d0 | add link to UC results and MLEModel to UC docs | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/structural.py",
"new_path": "statsmodels/tsa/statespace/structural.py",
"diff": "@@ -105,6 +105,11 @@ class UnobservedComponents(MLEModel):\nstates. Default is False (in which case approximate diffuse\ninitialization is used).\n+ See... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add link to UC results and MLEModel to UC docs |
641,896 | 10.02.2021 18:59:07 | 0 | e9c1f0e4a14f989a1ee468321c90009c9db7fb2f | CLN: Remove character
Remove extra 9 | [
{
"change_type": "MODIFY",
"old_path": "README.rst",
"new_path": "README.rst",
"diff": "@@ -189,4 +189,4 @@ https://github.com/statsmodels/statsmodels/issues\n.. |Conda Version| image:: https://anaconda.org/conda-forge/statsmodels/badges/version.svg\n:target: https://anaconda.org/conda-forge/statsmo... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: Remove character
Remove extra 9 |
641,971 | 12.02.2021 11:05:23 | 18,000 | 11566678a5fe82b3ef7a0a2a254075e5e93a4b62 | ENH/REF: use logpdf as main method in Archimedean | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/copula/archimedean.py",
"new_path": "statsmodels/distributions/copula/archimedean.py",
"diff": "@@ -53,7 +53,23 @@ class ArchimedeanCopula(object):\n'''evaluate cdf of multivariate Archimedean copula\n'''\n# TODO: replace by formulas,... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/REF: use logpdf as main method in Archimedean |
641,971 | 12.02.2021 12:46:29 | 18,000 | 1ab7cb2e63fa77a3e6f70ffd572e01afc13122ff | ENH: distribution tools, grid of pdf, cdf, and bernstein poly functions see | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/distributions/tests/test_tools.py",
"diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Fri Feb 12 10:42:00 2021\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\n+\"\"\"\n+\n+import numpy as np\n+from numpy.testing import assert_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: distribution tools, grid of pdf, cdf, and bernstein poly functions see #7314 |
641,831 | 12.02.2021 19:55:03 | 18,000 | f3c5e206c8b8a84a09e3bef001a7a8926a36c8f1 | TST: Add tests for estimated init with short datasets | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/holtwinters/tests/test_holtwinters.py",
"new_path": "statsmodels/tsa/holtwinters/tests/test_holtwinters.py",
"diff": "@@ -1999,3 +1999,18 @@ def test_forecast_1_simulation(austourists, random_errors, repetitions):\n)\nexpected_shape = (10,) if ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Add tests for estimated init with short datasets |
641,831 | 12.02.2021 19:55:28 | 18,000 | f2131e7cd31206c5068d9a9f9e3602e19e0fa346 | BUG: Fix estimated initialization with short datasets | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -165,6 +165,7 @@ import statsmodels.tsa.base.tsa_model as tsbase\nfrom statsmodels.tsa.exponential_smoothing import base\nimport statsmodels.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Fix estimated initialization with short datasets |
641,831 | 12.02.2021 20:47:04 | 18,000 | 60c0262b0fe486d42b23b9cd47c34fdca2b83c06 | CLN: Linting error for line length. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/families/family.py",
"new_path": "statsmodels/genmod/families/family.py",
"diff": "@@ -942,7 +942,8 @@ class Binomial(Family):\ny = endog * n # Number of successes\n# note that mu is still in (0,1), i.e. not converted back\n- return (special... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: Linting error for line length. |
642,045 | 17.02.2021 11:40:37 | 21,600 | eb23dd7a8f3b73c4258b10302fb5172bf7ac376b | Added the option `full_matrices=False` in the PCA method | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/multivariate/pca.py",
"new_path": "statsmodels/multivariate/pca.py",
"diff": "@@ -79,6 +79,10 @@ class PCA(object):\nTolerance to use when checking for convergence of the EM algorithm.\nmax_em_iter : int\nMaximum iterations for the EM algorithm.\n+... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Added the option `full_matrices=False` in the PCA method |
641,971 | 17.02.2021 15:27:37 | 18,000 | 06e4cd7855f87279981579e173ccad21cc3c6b3c | ENH: more grid helper functions, rename misspelled api filename | [
{
"change_type": "DELETE",
"old_path": "statsmodels/distributions/copula/api..py",
"new_path": null,
"diff": "-# -*- coding: utf-8 -*-\n-\n-\n-from .copulas import CopulaDistribution\n-import transforms\n-import depfunc_ev\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: more grid helper functions, rename misspelled api filename |
641,971 | 17.02.2021 15:31:37 | 18,000 | 1d44ddf2abaa43acd033eba07925a7b17c318df0 | ENH/REF: add more parts to EV copulas | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/copula/depfunc_ev.py",
"new_path": "statsmodels/distributions/copula/depfunc_ev.py",
"diff": "@@ -12,6 +12,12 @@ License: BSD-3\nimport numpy as np\n+class PickandDependence(object):\n+\n+ def __call__(self, *args, **kwargs):\n+ retur... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/REF: add more parts to EV copulas |
641,870 | 17.02.2021 19:33:25 | 10,800 | decccccb043f7cd8b7c98969b59088eb9b7f96a2 | Bug fix acorr_breusch_godfrey, problem with regressions without constant/exogs
In ARMA models without constant (or ARMAX without constant and without exogs) the function don't check if res.model.exog is None. If it's None then where is a ValueError. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/diagnostic.py",
"new_path": "statsmodels/stats/diagnostic.py",
"diff": "@@ -802,6 +802,9 @@ def acorr_breusch_godfrey(res, nlags=None, store=False):\nnobs = xdall.shape[0]\nxdall = np.c_[np.ones((nobs, 1)), xdall]\nxshort = x[-nobs:]\n+ if ex... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Bug fix acorr_breusch_godfrey, problem with regressions without constant/exogs
In ARMA models without constant (or ARMAX without constant and without exogs) the function don't check if res.model.exog is None. If it's None then where is a ValueError. |
641,971 | 18.02.2021 12:24:42 | 18,000 | 7e905bee5dd3607b1255ece9b495032c08410917 | ENH: add BernsteinDistribution | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/distributions/bernstein.py",
"diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Wed Feb 17 15:35:23 2021\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\n+\"\"\"\n+\n+import numpy as np\n+\n+from statsmodels.tools.decorators imp... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add BernsteinDistribution |
641,831 | 18.02.2021 23:30:18 | 18,000 | d13b2894d6a5a22f561a167a8857fc5c85fcd7de | BUG: fix ETS logL if negative yhat and errors=M | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -1153,9 +1153,13 @@ class ETSModel(base.StateSpaceMLEModel):\nres = self._residuals(yhat, data=data)\nlogL = -self.nobs / 2 * (np.log(2 * np.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix ETS logL if negative yhat and errors=M |
641,971 | 19.02.2021 13:34:12 | 18,000 | eeeec5b59a23604f48555c54db495e7f622d6d78 | BUG/ENH: fix transpose in eval_bernstein_dd, add BernsteinDistributionBV | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/bernstein.py",
"new_path": "statsmodels/distributions/bernstein.py",
"diff": "@@ -11,7 +11,7 @@ import numpy as np\nfrom statsmodels.tools.decorators import cache_readonly\nfrom statsmodels.distributions.tools import (\n- _Grid, cdf2p... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/ENH: fix transpose in eval_bernstein_dd, add BernsteinDistributionBV |
642,041 | 26.02.2021 08:49:21 | -32,400 | 37002bef0bdc92dea976d9c68c05df26d01063f8 | add `endog`to docs | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/structural.py",
"new_path": "statsmodels/tsa/statespace/structural.py",
"diff": "@@ -52,6 +52,8 @@ class UnobservedComponents(MLEModel):\nParameters\n----------\n+ endog : array_like\n+ The observed time-series process :math:`y`\nlev... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add `endog`to docs |
642,041 | 26.02.2021 09:11:31 | -32,400 | f08ec97cc639e5cda56ffb1edde9b460cf9a45da | add `mle_regression` to docs | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/structural.py",
"new_path": "statsmodels/tsa/statespace/structural.py",
"diff": "@@ -102,6 +102,11 @@ class UnobservedComponents(MLEModel):\nallow the cyclical component to be between 1.5 and 12 years; depending\non the frequency of ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add `mle_regression` to docs |
642,041 | 28.02.2021 20:35:35 | -32,400 | 24c0610d75ed5b06c2e1280aac56ea9db3450b41 | ENH: create a new function for het test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/stattools.py",
"new_path": "statsmodels/tsa/stattools.py",
"diff": "@@ -1295,6 +1295,149 @@ def levinson_durbin_pacf(pacf, nlags=None):\nreturn arcoefs, acf\n+def breakvar_heteroskedasticity_test(resid, subset_length=1/3,\n+ alternative='two-si... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: create a new function for het test |
642,041 | 28.02.2021 20:36:30 | -32,400 | 3f921771f0989601e201a0eeaf9575b30559781f | ENH: replace the core logic by the new function | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/mlemodel.py",
"new_path": "statsmodels/tsa/statespace/mlemodel.py",
"diff": "@@ -27,6 +27,7 @@ import statsmodels.tsa.base.prediction as pred\nfrom statsmodels.base.data import PandasData\nimport statsmodels.tsa.base.tsa_model as tsb... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: replace the core logic by the new function |
642,041 | 01.03.2021 21:07:47 | -32,400 | df4f4ca2c9b1e9b4584468a90dfbc431746b8bdf | DESIGN: function allows only 1-d input | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/mlemodel.py",
"new_path": "statsmodels/tsa/statespace/mlemodel.py",
"diff": "@@ -3086,12 +3086,19 @@ class MLEResults(tsbase.TimeSeriesModelResults):\nnobs_effective = self.nobs - d\nh = int(np.round(nobs_effective / 3))\n- output = ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DESIGN: function allows only 1-d input |
642,041 | 02.03.2021 08:17:22 | -32,400 | 15541221f7c7b3c90eee4bc73181e49e61fa09f2 | moved import to avoid cyclic import | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/mlemodel.py",
"new_path": "statsmodels/tsa/statespace/mlemodel.py",
"diff": "@@ -27,7 +27,6 @@ import statsmodels.tsa.base.prediction as pred\nfrom statsmodels.base.data import PandasData\nimport statsmodels.tsa.base.tsa_model as tsb... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | moved import to avoid cyclic import |
642,041 | 02.03.2021 08:34:16 | -32,400 | 7e42a2799c814811a274f2fa54be42f8b568bd5d | add to tsa.api | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/api.py",
"new_path": "statsmodels/tsa/api.py",
"diff": "@@ -8,7 +8,7 @@ __all__ = ['AR', 'arima', 'AutoReg', 'ARMA', 'ARIMA',\n'stattools',\n'acovf', 'acf', 'pacf', 'pacf_yw', 'pacf_ols', 'ccovf', 'ccf',\n'q_stat', 'coint', 'arma_order_select_i... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add to tsa.api |
642,041 | 02.03.2021 22:55:14 | -32,400 | b9c24486cfaf8d574af80ce8fe2d9f57732a2890 | extension to 2d input | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/stattools.py",
"new_path": "statsmodels/tsa/stattools.py",
"diff": "@@ -1371,7 +1371,9 @@ def breakvar_heteroskedasticity_test(resid, subset_length=1/3,\n.. [1] Harvey, Andrew C. 1990. *Forecasting, Structural Time Series*\n*Models and the Kalm... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | extension to 2d input |
642,041 | 04.03.2021 05:26:41 | -32,400 | a1d721f3fe97ce97c4c29bc4af16052155aea788 | Update docs of the function | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/stattools.py",
"new_path": "statsmodels/tsa/stattools.py",
"diff": "@@ -1309,6 +1309,7 @@ def breakvar_heteroskedasticity_test(resid, subset_length=1/3,\n----------\nresid : array_like\nResiduals of a time series model.\n+ The shape is 1d (nobs... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Update docs of the function |
642,041 | 04.03.2021 05:34:56 | -32,400 | 64829aa2fcd2ca27d753576aefbb8dceedbfc70b | update docs for the method | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/mlemodel.py",
"new_path": "statsmodels/tsa/statespace/mlemodel.py",
"diff": "@@ -3021,24 +3021,13 @@ class MLEResults(tsbase.TimeSeriesModelResults):\nwhere `het[0][0]` is the test statistic, and `het[0][1]` is the\np-value.\n+ See A... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | update docs for the method |
641,832 | 05.03.2021 17:14:29 | -3,600 | ef20bf85221f8b127fe9224dbdc4d65b2974aedc | Fixing typo: MacKinnon's instead of MacKinnnon"s | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/stattools.py",
"new_path": "statsmodels/tsa/stattools.py",
"diff": "@@ -206,7 +206,7 @@ def adfuller(\nadf : float\nThe test statistic.\npvalue : float\n- MacKinnon\"s approximate p-value based on MacKinnon (1994, 2010).\n+ MacKinnon's approxim... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Fixing typo: MacKinnon's instead of MacKinnnon"s |
642,041 | 06.03.2021 19:15:44 | -32,400 | 3cea468ddcdeedecbaabfcfec023965a4d985808 | add tests for optional args | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_stattools.py",
"new_path": "statsmodels/tsa/tests/test_stattools.py",
"diff": "@@ -338,7 +338,7 @@ class TestPACF(CheckCorrGram):\nclass TestBreakvarHeteroskedasticityTest(object):\n- from scipy.stats import f\n+ from scipy.stats imp... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add tests for optional args |
641,971 | 08.03.2021 16:17:48 | 18,000 | a35c6d23dcb5793ab632392bdf88f4fc0b70e567 | ENH: add asymmetric kernels for kde and cdf, for unit interval and Rplus | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/nonparametric/kernels_asymmetric.py",
"diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Mon Mar 8 11:12:24 2021\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\n+\"\"\"\n+\n+import numpy as np\n+from scipy import stats, special... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add asymmetric kernels for kde and cdf, for unit interval and Rplus |
641,971 | 08.03.2021 16:55:52 | 18,000 | 079b5d26ef01a29a36672495cf794417204d336e | TST: add unit test, check small average mean squared error | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/nonparametric/tests/test_asymmetric.py",
"diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Mon Mar 8 16:18:21 2021\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\n+\"\"\"\n+\n+\n+import numpy as np\n+from numpy.testing import ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: add unit test, check small average mean squared error |
641,971 | 08.03.2021 19:58:27 | 18,000 | cde417b24e031f69c37d59879e3a7bea0d9a5122 | ENH: allow vectorized evaluation | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/nonparametric/kernels_asymmetric.py",
"new_path": "statsmodels/nonparametric/kernels_asymmetric.py",
"diff": "@@ -41,7 +41,7 @@ def _kernel_pdf_gamma(x, sample, bw):\nneighborhood of zero boundary is small.\n\"\"\"\n- return stats.gamma.pdf(sample,... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: allow vectorized evaluation |
641,971 | 09.03.2021 14:37:56 | 18,000 | 259266a35704d651d95edfc716ae42d8fff6704e | ENH/REF: add weights to gamma kernel, add wrapper functions | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/nonparametric/kernels_asymmetric.py",
"new_path": "statsmodels/nonparametric/kernels_asymmetric.py",
"diff": "@@ -11,17 +11,45 @@ import numpy as np\nfrom scipy import stats, special\n-def kernel_pdf_gamma(x, sample, bw):\n+def pdf_kernel_asym(x, s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/REF: add weights to gamma kernel, add wrapper functions |
641,971 | 09.03.2021 15:54:51 | 18,000 | cb6efdff16129db90f2677ceb7e5ecebf0260efc | REF: remove averaging from kernels, go through wrapper functions | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/nonparametric/kernels_asymmetric.py",
"new_path": "statsmodels/nonparametric/kernels_asymmetric.py",
"diff": "@@ -12,9 +12,11 @@ from scipy import stats, special\ndef pdf_kernel_asym(x, sample, bw, kernel_type, weights=None):\n+ if np.size(x) > 1:\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: remove averaging from kernels, go through wrapper functions |
641,971 | 10.03.2021 12:06:05 | 18,000 | d3caf9371dd9390a643662e1d5cd4ed496ae36bc | ENH/TST: add batch-loop to evaluation, refactor TST using superclass | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/nonparametric/kernels_asymmetric.py",
"new_path": "statsmodels/nonparametric/kernels_asymmetric.py",
"diff": "@@ -11,30 +11,136 @@ import numpy as np\nfrom scipy import stats, special\n-def pdf_kernel_asym(x, sample, bw, kernel_type, weights=None):... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/TST: add batch-loop to evaluation, refactor TST using superclass |
641,896 | 12.03.2021 10:52:38 | 0 | 4f32f3990fbba0ee440af47e23a9354fdb7a0285 | MAINT: Fix issues arising from future changes
Fix issues due to changes in SciPy and pandas | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/tests/test_rolling.py",
"new_path": "statsmodels/regression/tests/test_rolling.py",
"diff": "from io import BytesIO\nfrom itertools import product\n+import warnings\nimport numpy as np\nimport pandas as pd\n@@ -261,8 +262,9 @@ def test_p... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Fix issues arising from future changes
Fix issues due to changes in SciPy and pandas |
641,884 | 13.03.2021 16:36:41 | 18,000 | 9c436d17da6a8a4249a3c818e16b527e883a9f57 | BUG: Ensure means and endog are both sorted by the groups for calculating du | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/generalized_estimating_equations.py",
"new_path": "statsmodels/genmod/generalized_estimating_equations.py",
"diff": "@@ -1721,12 +1721,13 @@ class GEE(GLM):\n# The quasi-likelihood, use change of variables so the integration is\n# from -1 to... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Ensure means and endog are both sorted by the groups for calculating du |
641,896 | 13.03.2021 23:55:14 | 0 | c4da1a8dbe4a2ef9171800761431e009fe87d953 | BUG: Fix pandas wrapper code
Fix code to handle current behavior when creating a Series from a Series | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/data.py",
"new_path": "statsmodels/base/data.py",
"diff": "@@ -578,10 +578,12 @@ class PandasData(ModelData):\nsqueezed = squeezed[None, :]\n# May be zero-dim, for example in the case of forecast one step in tsa\nif squeezed.ndim < 2:\n- retur... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Fix pandas wrapper code
Fix code to handle current behavior when creating a Series from a Series |
641,971 | 16.03.2021 15:00:48 | 14,400 | 82d658d4eacf1d03dbc7bd911a10b2a850358eb1 | ENH: BernsteinD add univariate class, add rvs, from_data methods | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/bernstein.py",
"new_path": "statsmodels/distributions/bernstein.py",
"diff": "@@ -8,10 +8,12 @@ License: BSD-3\n\"\"\"\nimport numpy as np\n+from scipy import stats\nfrom statsmodels.tools.decorators import cache_readonly\nfrom statsm... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: BernsteinD add univariate class, add rvs, from_data methods |
641,971 | 16.03.2021 16:35:48 | 14,400 | 4bcdd140b8134a87cee1331c8051465c3ae408fb | BUG/REF: return marginal Bernstein distribution based on subgrid | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/bernstein.py",
"new_path": "statsmodels/distributions/bernstein.py",
"diff": "@@ -73,24 +73,29 @@ class BernsteinDistribution(object):\nreturn pdf_\ndef get_marginal(self, idx):\n- \"\"\"get marginal BernsteinDistribution\n+ \"\"\"Get... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/REF: return marginal Bernstein distribution based on subgrid |
641,971 | 17.03.2021 11:32:05 | 14,400 | 3abd5b98fb9401d7d3d8135c312b7a5e83452f95 | REF/DOC: allow 1-D in univariate case, add/improve docstrings | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/bernstein.py",
"new_path": "statsmodels/distributions/bernstein.py",
"diff": "@@ -17,8 +17,7 @@ from statsmodels.distributions.tools import (\nclass BernsteinDistribution(object):\n- \"\"\"Distribution based on Bernstein Polynomials o... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/DOC: allow 1-D in univariate case, add/improve docstrings |
641,971 | 20.03.2021 17:05:20 | 14,400 | 24f57c7e43a6226454ae5174149e14477fe55e41 | BUG/REF: bugs in dep_func and ev pdf, flip asymmetry in ev copulas like evd | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/copula/depfunc_ev.py",
"new_path": "statsmodels/distributions/copula/depfunc_ev.py",
"diff": "@@ -75,8 +75,9 @@ class AsymLogistic(PickandDependence):\ndef deriv(self, t, a1, a2, theta):\nb = theta\n- d1 = (a1 * (a1 * t)**(1/b - 1) - ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/REF: bugs in dep_func and ev pdf, flip asymmetry in ev copulas like evd |
641,971 | 22.03.2021 11:35:22 | 14,400 | ebd3cfdbfb355c4baecdfe7debacb42996f345ef | DOC/STY: add/improve docstrings, pep-8/lint cleaning | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/copula/api.py",
"new_path": "statsmodels/distributions/copula/api.py",
"diff": "-# -*- coding: utf-8 -*-\n# pylint: disable=W0611\n# flake8: noqa\n"
},
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/copu... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC/STY: add/improve docstrings, pep-8/lint cleaning |
641,903 | 31.03.2021 21:31:53 | 18,000 | 38385e1dfc9f9fadc9c87dde24df70cdbbe08f17 | DOC: update doc for tweedie allowed links | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/families/family.py",
"new_path": "statsmodels/genmod/families/family.py",
"diff": "@@ -1339,7 +1339,7 @@ class Tweedie(Family):\n----------\nlink : a link instance, optional\nThe default link for the Tweedie family is the log link.\n- Availa... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: update doc for tweedie allowed links |
641,867 | 02.04.2021 12:32:14 | 18,000 | 6d45cc65c95790e10caf0f30484781834b1c2c8a | TST: Smoke test IRF error bands | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/tests/test_var.py",
"new_path": "statsmodels/tsa/vector_ar/tests/test_var.py",
"diff": "@@ -898,3 +898,16 @@ def test_correct_nobs():\nresults = model.fit(maxlags=1)\nirf = results.irf_resim(orth=False, repl=100, steps=10, seed=1, bur... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Smoke test IRF error bands |
641,867 | 02.04.2021 12:32:45 | 18,000 | c9d69dce614101ee411e3946add5b962f9e987e8 | BUG: k holds indices. Must be integers now. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/irf.py",
"new_path": "statsmodels/tsa/vector_ar/irf.py",
"diff": "@@ -468,7 +468,7 @@ class IRAnalysis(BaseIRAnalysis):\nstack_cov=np.zeros((neqs, periods*neqs, periods*neqs))\nW = np.zeros((neqs, periods*neqs, periods*neqs))\neigva =... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: k holds indices. Must be integers now. |
641,867 | 02.04.2021 12:37:40 | 18,000 | 47fb1b46efbdc0c8ae46c07f6e1d71c0e7e3d11d | MAINT: Change deprecated argument | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/irf.py",
"new_path": "statsmodels/tsa/vector_ar/irf.py",
"diff": "@@ -392,7 +392,7 @@ class IRAnalysis(BaseIRAnalysis):\nperiods = self.periods\nirfs = self._choose_irfs(orth, svar)\nneqs = self.neqs\n- irf_resim = model.irf_resim(ort... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Change deprecated argument |
642,062 | 06.04.2021 16:26:50 | -32,400 | 034ea3f20e9c9a0b1f301405d72595f5beb80210 | DOC: fixed error in linear mixed effects example | [
{
"change_type": "MODIFY",
"old_path": "examples/notebooks/mixed_lm_example.ipynb",
"new_path": "examples/notebooks/mixed_lm_example.ipynb",
"diff": "\"cell_type\": \"markdown\",\n\"metadata\": {},\n\"source\": [\n- \"\\n\",\n\"```\\n\",\n\"Linear mixed model fit by REML ['lmerMod']\\n\",\n\"Formula... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: fixed error in linear mixed effects example |
642,007 | 25.09.2020 18:40:10 | 18,000 | 521ee5a743f9c484be1221ec85b5256423cc5b91 | changed month abbreviations in month_plot
to use three letter abbreviations (i.e. 'Jan', 'Feb') instead a single letter abbreviation (i.e. 'j', 'f') | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/graphics/tsaplots.py",
"new_path": "statsmodels/graphics/tsaplots.py",
"diff": "@@ -444,7 +444,7 @@ def month_plot(x, dates=None, ylabel=None, ax=None):\nelse:\nx = pd.Series(x, index=pd.PeriodIndex(dates, freq=\"M\"))\n- xticklabels = [\"j\", \"f\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | changed month abbreviations in month_plot
to use three letter abbreviations (i.e. 'Jan', 'Feb') instead a single letter abbreviation (i.e. 'j', 'f') |
641,867 | 02.04.2021 08:52:57 | 18,000 | 4a8761b97ad9916d40c1e510dab612a079236790 | ENH: Use localized month abbreviations | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/graphics/tsaplots.py",
"new_path": "statsmodels/graphics/tsaplots.py",
"diff": "\"\"\"Correlation plot functions.\"\"\"\n-\nfrom statsmodels.compat.pandas import deprecate_kwarg\n+import calendar\n+\nimport numpy as np\nimport pandas as pd\n@@ -444... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Use localized month abbreviations |
641,865 | 21.04.2021 17:38:43 | -14,400 | 440c566d14ff7442f845ee86897b70a175c8d4a4 | convert numeric cutoff to avoid TypeError | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/stats/runs.py",
"new_path": "statsmodels/sandbox/stats/runs.py",
"diff": "@@ -132,6 +132,8 @@ def runstest_1samp(x, cutoff='mean', correction=True):\ncutoff = np.mean(x)\nelif cutoff == 'median':\ncutoff = np.median(x)\n+ else:\n+ cutoff = ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | convert numeric cutoff to avoid TypeError |
641,865 | 22.04.2021 17:50:26 | -14,400 | 12da58c0516543baf06d7087298ec2939b3ad16f | uses array_like to convert x parameter to an array | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/stats/runs.py",
"new_path": "statsmodels/sandbox/stats/runs.py",
"diff": "@@ -23,6 +23,7 @@ import numpy as np\nfrom scipy import stats\nfrom scipy.special import comb\nimport warnings\n+from statsmodels.tools.validation import array_like\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | uses array_like to convert x parameter to an array |
641,896 | 22.04.2021 15:19:39 | -3,600 | d8623cb31b463ef98fbca0288e34c6ae24df4c82 | STYLE: Fix missing line at end of file
Fix missing line
Remove whitespace | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/stats/tests/test_runs.py",
"new_path": "statsmodels/sandbox/stats/tests/test_runs.py",
"diff": "@@ -27,4 +27,3 @@ def test_numeric_cutoff():\nexpected = (-3.944254410803499, 8.004864125547193e-05)\nresults = runstest_1samp(x, cutoff=cutoff,... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | STYLE: Fix missing line at end of file
Fix missing line
Remove whitespace |
641,929 | 28.04.2021 17:53:29 | -7,200 | 36ba212803190095b7e2804555e08c890eb8d304 | DOC/MAINT: Remove redundant words in PCA docstring | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/multivariate/pca.py",
"new_path": "statsmodels/multivariate/pca.py",
"diff": "@@ -83,9 +83,9 @@ class PCA(object):\nAttributes\n----------\nfactors : array or DataFrame\n- nobs by ncomp array of of principal components (scores)\n+ nobs by ncomp arr... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC/MAINT: Remove redundant words in PCA docstring |
641,925 | 03.05.2021 19:14:48 | -7,200 | 0c21e2ab6b41453dd23063d49e9615c3999d63e2 | use np.linalg.solve() instead of np.linalg.inv() to improve accuracy and performance of newton-raphson algorithm | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/optimizer.py",
"new_path": "statsmodels/base/optimizer.py",
"diff": "@@ -418,8 +418,7 @@ def _fit_newton(f, score, start_params, fargs, kwargs, disp=True,\nif not np.all(ridge_factor == 0):\nH[np.diag_indices(H.shape[0])] += ridge_factor\noldp... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | use np.linalg.solve() instead of np.linalg.inv() to improve accuracy and performance of newton-raphson algorithm |
641,831 | 06.05.2021 21:14:11 | 14,400 | 7e796aeb3ed98fcefa2241d5654e2741e9c65330 | TST/BUG: forecast SARIMAX after extend w/ exog | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_sarimax.py",
"new_path": "statsmodels/tsa/statespace/tests/test_sarimax.py",
"diff": "@@ -2591,6 +2591,48 @@ def test_extend_results():\nres2.extend(endog[50:])\n+def test_extend_by_one():\n+ endog = np.arange(100)\n+ exog... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST/BUG: forecast SARIMAX after extend w/ exog |
641,831 | 06.05.2021 21:15:34 | 14,400 | 1c364118f2659e9d2ea2256c7806458785decf61 | BUG: forecast after extend w/ time varying matrix | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/mlemodel.py",
"new_path": "statsmodels/tsa/statespace/mlemodel.py",
"diff": "@@ -1824,9 +1824,14 @@ class MLEModel(tsbase.TimeSeriesModel):\nfor name in self.ssm.shapes.keys():\nif name == 'obs' or name in kwargs:\ncontinue\n- if get... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: forecast after extend w/ time varying matrix |
641,939 | 01.06.2021 23:42:31 | -32,400 | 7b8c03463383026dcc3937740154cbb6c22f66be | Add argument type to impulse_responses | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/mlemodel.py",
"new_path": "statsmodels/tsa/statespace/mlemodel.py",
"diff": "@@ -2164,6 +2164,14 @@ class MLEModel(tsbase.TimeSeriesModel):\nstart=iloc, end=end, **kwargs)\n# Compute the impulse responses\n+\n+ # convert endog name t... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Add argument type to impulse_responses |
641,971 | 07.06.2021 01:04:54 | 14,400 | e2e7d1cd295fe5f4e973ad88896b3e5e7460f7e7 | ENH: add discretized count distribution | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/discrete.py",
"new_path": "statsmodels/distributions/discrete.py",
"diff": "@@ -3,6 +3,8 @@ from scipy.stats import rv_discrete, nbinom, poisson\nfrom scipy.special import gammaln\nfrom scipy._lib._util import _lazywhere\n+from statsm... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add discretized count distribution |
641,971 | 07.06.2021 13:12:40 | 14,400 | 0e6eddaf8ecc27502003e994bf73dcdae082b74f | REF: handle scale and use distribution scale keyword | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/discrete.py",
"new_path": "statsmodels/distributions/discrete.py",
"diff": "@@ -154,6 +154,8 @@ zinegbin = zinegativebinomial_gen(name='zinegbin',\nclass DiscretizedCount(rv_discrete):\n\"\"\"Count distribution based on discretized di... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: handle scale and use distribution scale keyword |
641,971 | 07.06.2021 13:29:27 | 14,400 | 77f72e1fd9ee8fd20a6f8fe5a647eaee25a29611 | ENH/BUG: fix for no shape parameter | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/discrete.py",
"new_path": "statsmodels/distributions/discrete.py",
"diff": "@@ -169,10 +169,19 @@ class DiscretizedCount(rv_discrete):\nself.d_offset = d_offset\nself._ctor_param = distr._ctor_param\nself.add_scale = add_scale\n+ if d... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/BUG: fix for no shape parameter |
641,971 | 07.06.2021 17:01:06 | 14,400 | d67bcc3bf39a28dc1ed3bf46c1effc7798187cc3 | TST: add lomax and burr12 test cases, partial refactor DRY of tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/tests/test_discrete.py",
"new_path": "statsmodels/distributions/tests/test_discrete.py",
"diff": "@@ -314,3 +314,90 @@ class TestDiscretizedExponential():\np[k - 1] += 1 - p[:k].sum()\ntchi2 = stats.chisquare(freq, p[:k] * nobs)\nasse... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: add lomax and burr12 test cases, partial refactor DRY of tests |
641,971 | 11.06.2021 14:03:01 | 14,400 | df5896fb808465463311be9ff399397ccfe78144 | BUG/REF/TST: fix generic df_modelwc DRY unit tests distributions]discrete | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -2281,7 +2281,9 @@ class ResultMixin(object):\n# collect different ways of defining the number of parameters, used for\n# aic, bic\nif hasattr(self, 'df_model'):\n- if hasattr(sel... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/REF/TST: fix generic df_modelwc #7493, DRY unit tests distributions]discrete |
641,836 | 12.06.2021 21:54:15 | 25,200 | 64d250d1fac2d42d3330119fd05c67f54a3c8927 | ENH: Add fixed_params to Hannan Rissanen (GH7202) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima/estimators/tests/test_hannan_rissanen.py",
"new_path": "statsmodels/tsa/arima/estimators/tests/test_hannan_rissanen.py",
"diff": "@@ -5,7 +5,13 @@ from numpy.testing import assert_allclose\nfrom statsmodels.tsa.innovations.arma_innovation... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Add fixed_params to Hannan Rissanen (GH7202) |
641,971 | 14.06.2021 14:10:24 | 14,400 | d878b16cda040793948d9b70da92f9791b82aa93 | BUG/TST: fix recreating models for bootstrap see more unit tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -2398,8 +2398,10 @@ class ResultMixin(object):\nexog_resamp = self.exog[rvsind, :]\nelse:\nexog_resamp = None\n+ # build auxiliary model and fit\n+ init_kwds = self.model._get_ini... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/TST: fix recreating models for bootstrap see #5169, more unit tests |
641,836 | 14.06.2021 13:24:52 | 25,200 | af4a6a16fc81c8799368c95c5d9c3b7cde2b9bf7 | correct interaction between fixed_params and unbiased args and fix string style
correct interaction between fixed_params and unbiased args; add tests for validating and setting default for unbiased arg; change style for multi-line string | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima/estimators/hannan_rissanen.py",
"new_path": "statsmodels/tsa/arima/estimators/hannan_rissanen.py",
"diff": "@@ -211,10 +211,30 @@ def hannan_rissanen(endog, ar_order=0, ma_order=0, demean=True,\np.sigma2 = res.scale\n# Step 3: bias correc... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | correct interaction between fixed_params and unbiased args and fix string style
correct interaction between fixed_params and unbiased args; add tests for validating and setting default for unbiased arg; change style for multi-line string |
641,836 | 14.06.2021 13:59:33 | 25,200 | 7e1d2981016954863e94a97fa5ad254954812217 | create and update version0.13.rst | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/source/release/version0.13.rst",
"diff": "+:orphan:\n+\n+==============\n+Release 0.13.0\n+==============\n+\n+Release summary\n+===============\n+\n+statsmodels is using github to store the updated documentation. Two version are available:... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | create and update version0.13.rst |
641,971 | 15.06.2021 11:20:28 | 14,400 | 464b4dcd8950d592a4c62b4ef33854fb8600115c | BUG/ENH: fix rvs, results.predict, add sf, ppf, isf | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/discrete.py",
"new_path": "statsmodels/distributions/discrete.py",
"diff": "@@ -207,9 +207,12 @@ class DiscretizedCount(rv_discrete):\nscale = 1\nreturn args, scale\n- def rvs(self, *args, size=1):\n+ def _rvs(self, *args, size=None, ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/ENH: fix rvs, results.predict, add sf, ppf, isf |
641,971 | 15.06.2021 13:59:56 | 14,400 | 15643211384296e1d1caaef5b183c4d30dc3ca01 | REF/DOC: rename _DiscretizedModel to non-private, work on docstrings | [
{
"change_type": "MODIFY",
"old_path": "docs/source/distributions.rst",
"new_path": "docs/source/distributions.rst",
"diff": "@@ -27,6 +27,34 @@ Empirical Distributions\nStepFunction\nmonotone_fn_inverter\n+Count Distributions\n+-------------------\n+\n+The `discrete` module contains classes for cou... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/DOC: rename _DiscretizedModel to non-private, work on docstrings |
641,836 | 15.06.2021 14:54:00 | 25,200 | aa594397ec7ffb5d40370dfaf486629e5865d37d | ENH: Enable ARIMA.fit(method='hannan_rissanen') with fixed parameters (GH7501) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima/model.py",
"new_path": "statsmodels/tsa/arima/model.py",
"diff": "@@ -297,10 +297,13 @@ class ARIMA(sarimax.SARIMAX):\nelse:\nmethod = 'statespace'\n- # Can only use fixed parameters with method='statespace'\n- if self._has_fixed_params a... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Enable ARIMA.fit(method='hannan_rissanen') with fixed parameters (GH7501) |
641,836 | 15.06.2021 14:59:00 | 25,200 | fb6c45e08e3cc1d888040fe9b2177cfc3d243a2c | hannan_rissanen: fix input modification bug; 'fix' order of output params | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima/estimators/hannan_rissanen.py",
"new_path": "statsmodels/tsa/arima/estimators/hannan_rissanen.py",
"diff": "@@ -134,7 +134,7 @@ def hannan_rissanen(endog, ar_order=0, ma_order=0, demean=True,\nX_with_fixed_params = lagged_endog[:, params_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | hannan_rissanen: fix input modification bug; 'fix' order of output params |
641,836 | 15.06.2021 16:18:32 | 25,200 | 5feb464030b6fe3fcc21ce8ebfa192931c657a20 | Add change to release note version0.13.rst | [
{
"change_type": "MODIFY",
"old_path": "docs/source/release/version0.13.rst",
"new_path": "docs/source/release/version0.13.rst",
"diff": "@@ -48,11 +48,13 @@ release 0.13.0 includes bug fixes, refactorings and improvements in many areas.\nMajor Feature\n-------------\n-- Allow fixing parameters in A... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Add change to release note version0.13.rst |
641,836 | 16.06.2021 11:13:51 | 25,200 | 20ec0ef66774289fcc77f344eb0b125cc675e271 | Minor adjustment in ARIMA.fit error message and test comment | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima/model.py",
"new_path": "statsmodels/tsa/arima/model.py",
"diff": "@@ -301,8 +301,8 @@ class ARIMA(sarimax.SARIMAX):\nmethods_with_fixed_params = ['statespace', 'hannan_rissanen']\nif self._has_fixed_params and method not in methods_with_f... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Minor adjustment in ARIMA.fit error message and test comment |
641,836 | 16.06.2021 13:31:54 | 25,200 | 32ef6a4c3050f2bf062df293dd8554cc89c28e30 | BUG: statespace MLEModel false validation error with nested fix_params (GH7507)
Code change | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/base.py",
"new_path": "statsmodels/tsa/exponential_smoothing/base.py",
"diff": "@@ -103,7 +103,10 @@ class StateSpaceMLEModel(tsbase.TimeSeriesModel):\ncache_free_params_index = self._free_params_index\n# Validate paramete... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: statespace MLEModel false validation error with nested fix_params (GH7507)
Code change |
641,836 | 16.06.2021 13:32:08 | 25,200 | 31b22cbd780a4059da4acc1a088954fa0172abe7 | Add tests (GH7507) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_fixed_params.py",
"new_path": "statsmodels/tsa/statespace/tests/test_fixed_params.py",
"diff": "@@ -32,6 +32,21 @@ def test_fix_params():\nassert_equal(mod._free_params_index, None)\n+def test_nested_fix_params():\n+ mod =... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Add tests (GH7507) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.