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,066 | 19.08.2020 10:45:57 | 10,800 | 7eb3f47ce500d0282b9365f570febb08beeef052 | raise ValueError if input had ndim==0 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/robust/scale.py",
"new_path": "statsmodels/robust/scale.py",
"diff": "@@ -72,7 +72,9 @@ def iqr(a, c=Gaussian.ppf(3/4) - Gaussian.ppf(1/4), axis=0):\na = array_like(a, 'a', ndim=None)\nc = float_like(c, 'c')\n- if a.size == 0:\n+ if a.ndim == 0:\n+... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | raise ValueError if input had ndim==0 |
641,924 | 25.07.2020 20:38:25 | 25,200 | d9b4759a766d3bd1944bea9d9b70a26b1e2711a1 | ENH: Add Helper function to solve for polynomial coefficients from roots | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima_model.py",
"new_path": "statsmodels/tsa/arima_model.py",
"diff": "@@ -1508,6 +1508,42 @@ class ARMAResults(tsa_model.TimeSeriesModelResults):\nk_ar = self.k_ar\nreturn self.params[k + k_ar:]\n+ def arcoefficients(self):\n+ r\"\"\"\n+ Retu... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Add Helper function to solve for polynomial coefficients from roots |
641,924 | 25.07.2020 21:23:57 | 25,200 | f3b0fd2475fd910b3ca39010daec41c65c3463ad | ENH: Correct Test Name | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_arima.py",
"new_path": "statsmodels/tsa/tests/test_arima.py",
"diff": "@@ -646,7 +646,7 @@ class Test_ARIMA101(CheckArmaResultsMixin):\ncls.res2.k_ma = 1\n-class Test_ARIMA111(CheckArimaResultsMixin, CheckForecastMixin,\n+class Test_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Correct Test Name |
641,924 | 26.07.2020 02:32:47 | 25,200 | 4aed4e28ef03d5feed0e51d733ca83478862a132 | ENH: Remove class from test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_arima.py",
"new_path": "statsmodels/tsa/tests/test_arima.py",
"diff": "@@ -633,27 +633,11 @@ def test_start_params_bug():\nARMA(data, order=(4, 1)).fit(start_ar_lags=5, disp=-1)\n-class Test_ARIMA101(CheckArmaResultsMixin):\n- @class... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Remove class from test |
641,924 | 26.07.2020 04:45:58 | 25,200 | 09594c7d41ef38ade92eaa63cfe2bb5b14282eb9 | ENH: Increase tolerance for test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_arima.py",
"new_path": "statsmodels/tsa/tests/test_arima.py",
"diff": "@@ -638,17 +638,17 @@ def test_polynomial_coef():\nres = ARIMA(cpi, (3, 1, 3)).fit(disp=-1)\nar_coefficients = res.arcoefficients()\n- assert_almost_equal(ar_coef... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Increase tolerance for test |
641,924 | 27.07.2020 19:27:52 | 25,200 | 95a687160812f38e7be3d315b29df6ee86066385 | ENH: Pass in roots as params | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima_model.py",
"new_path": "statsmodels/tsa/arima_model.py",
"diff": "@@ -1508,7 +1508,7 @@ class ARMAResults(tsa_model.TimeSeriesModelResults):\nk_ar = self.k_ar\nreturn self.params[k + k_ar:]\n- def arcoefficients(self):\n+ def arcoefficien... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Pass in roots as params |
641,924 | 01.08.2020 07:47:48 | 25,200 | 42aed97a3344e5b16b4de27337ad4f32816fd9ab | ENH: Revert changes in depercated class and implement from_roots in ArimaProcess class | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima_model.py",
"new_path": "statsmodels/tsa/arima_model.py",
"diff": "@@ -1508,44 +1508,6 @@ class ARMAResults(tsa_model.TimeSeriesModelResults):\nk_ar = self.k_ar\nreturn self.params[k + k_ar:]\n- def arcoefficients(self, roots):\n- r\"\"\"\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Revert changes in depercated class and implement from_roots in ArimaProcess class |
642,066 | 18.08.2020 11:14:42 | 10,800 | aab5b0e882d996d11f69cc24beb54285f03f6077 | ENH: Add Qn scale estimator
Add naive version to test against
Add tests
Cythonize code for high weighted median
Add ref to original paper and vectorize main function
Axes related tests | [
{
"change_type": "MODIFY",
"old_path": "setup.py",
"new_path": "setup.py",
"diff": "@@ -159,6 +159,7 @@ exts = dict(\n_kim_smoother={'source': 'statsmodels/tsa/regime_switching/_kim_smoother.pyx.in'}, # noqa: E501\n_arma_innovations={'source': 'statsmodels/tsa/innovations/_arma_innovations.pyx.in'},... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Add Qn scale estimator
Add naive version to test against
Add tests
Cythonize code for high weighted median
Add ref to original paper and vectorize main function
Axes related tests |
642,066 | 20.08.2020 15:20:06 | 10,800 | b091249a84baa02fb58ca3ad987bb280ff69eb10 | TST: test against R for some available datasets | [
{
"change_type": "MODIFY",
"old_path": "docs/source/release/version0.12.rst",
"new_path": "docs/source/release/version0.12.rst",
"diff": "@@ -293,6 +293,10 @@ Submodules\n- Add expanding initialization to RollingOLS/WLS (:pr:`6838`)\n- Add a note when R2 is uncentered (:pr:`6844`)\n+``robust``\n+~~~... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: test against R for some available datasets |
642,066 | 21.08.2020 16:18:52 | 10,800 | fbc38dba8792589eed5ee12736672aad499bba98 | MAINT: change main function name to qn_scale
add description of the qn estimator to docstring | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/robust/scale.py",
"new_path": "statsmodels/robust/scale.py",
"diff": "@@ -85,11 +85,15 @@ def iqr(a, c=Gaussian.ppf(3/4) - Gaussian.ppf(1/4), axis=0):\nreturn np.squeeze(np.diff(quantiles, axis=0) / c)\n-def qn(a, c=1/(np.sqrt(2) * Gaussian.ppf(5/8... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: change main function name to qn_scale
add description of the qn estimator to docstring |
642,066 | 21.08.2020 16:49:29 | 10,800 | 1bb7f603f00783801b57d114c0eeea0c55950174 | MAINT: remove double for loop by using np.triu_indices to build array | [
{
"change_type": "MODIFY",
"old_path": "docs/source/release/version0.12.rst",
"new_path": "docs/source/release/version0.12.rst",
"diff": "@@ -295,7 +295,7 @@ Submodules\n``robust``\n~~~~~~~~~~~~~~\n-- Add an implementation of the Qn robust scale estimator\n+- Add an implementation of the Qn robust s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove double for loop by using np.triu_indices to build array |
642,066 | 21.08.2020 17:03:22 | 10,800 | d176d4b5ecdaa9b63b174f6ac339483508e673d4 | PERF/MAINT: swtich to memoryviews, remove unnecesary declarations
break and return trial at the end
was missing the declaration for q
np.int is actually long, also memoryviews dont have a partition method
remove declaration of i
use memoryview for a in _qn without requiring contiguity, remove unnecesary imports | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/robust/_qn.pyx",
"new_path": "statsmodels/robust/_qn.pyx",
"diff": "#!python\n#cython: wraparound=False, boundscheck=False, cdivision=True\n-cimport cython\nimport numpy as np\n-cimport numpy as np\n-DTYPE_INT = np.int\n-DTYPE_DOUBLE = np.float64\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | PERF/MAINT: swtich to memoryviews, remove unnecesary declarations
break and return trial at the end
was missing the declaration for q
np.int is actually long, also memoryviews dont have a partition method
remove declaration of i
use memoryview for a in _qn without requiring contiguity, remove unnecesary imports |
642,066 | 26.08.2020 18:24:43 | 10,800 | d4accdef770f8eadec7033f7ea11d4acadad5046 | fix bug where mad ignores center if it is not callable | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/robust/scale.py",
"new_path": "statsmodels/robust/scale.py",
"diff": "@@ -45,8 +45,11 @@ def mad(a, c=Gaussian.ppf(3/4.), axis=0, center=np.median):\n\"\"\"\na = array_like(a, 'a', ndim=None)\nc = float_like(c, 'c')\n- if callable(center) and a.siz... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fix bug where mad ignores center if it is not callable |
641,971 | 26.08.2020 17:28:37 | 14,400 | dc9d05cba1eabb08495893f452aaba1fcbc2ba07 | DOC: add new stats to release notes for 0.12 | [
{
"change_type": "MODIFY",
"old_path": "docs/source/release/version0.12.rst",
"new_path": "docs/source/release/version0.12.rst",
"diff": "@@ -31,6 +31,66 @@ Stats\nThe Highlights\n==============\n+Statistics\n+----------\n+\n+New functions for hypothesis tests return a `HolderTuple` instance which\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: add new stats to release notes for 0.12 |
642,020 | 26.08.2020 17:06:10 | -32,400 | ca4e080d3c264f6db7f99953dd3f1fd8e0544dbc | ENH: Allow custom bandwidth functions in KDEUnivariate fit | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/nonparametric/kde.py",
"new_path": "statsmodels/nonparametric/kde.py",
"diff": "@@ -95,7 +95,7 @@ class KDEUnivariate(object):\n- \"triw\" for triweight\n- \"uni\" for uniform\n- bw : str, float\n+ bw : str, float, callable\nThe bandwidth to use. C... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Allow custom bandwidth functions in KDEUnivariate fit |
641,971 | 19.08.2020 14:58:20 | 14,400 | 6ecda5f88d93192ac1e217b7f9957ce7378a4e5b | ENH: add prob(x1 > x2) effect size measure, inference based on brunner munzel | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/stats/nonparametric.py",
"diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Rank based methods for inferential statistics\n+\n+Created on Sat Aug 15 10:18:53 2020\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\n+\"\"\"\n+\n+\n+import nump... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add prob(x1 > x2) effect size measure, inference based on brunner munzel |
641,971 | 21.08.2020 11:31:47 | 14,400 | 58d83059c13f5dd4a95f9b20e0f514b45862120b | REF: rename function, adjust namings to statsmodels | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/nonparametric.py",
"new_path": "statsmodels/stats/nonparametric.py",
"diff": "@@ -20,7 +20,7 @@ from statsmodels.stats.weightstats import (\n_zconfint_generic, _tconfint_generic, _zstat_generic, _tstat_generic)\n-class BrunnerMunzelResult(Hol... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: rename function, adjust namings to statsmodels |
641,971 | 23.08.2020 14:25:59 | 14,400 | 4bddf82f3dffeeb181d71ed02b47fde9d608b718 | REF: more cleanup refactoring and renaming, add rankdata_2samp function | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/nonparametric.py",
"new_path": "statsmodels/stats/nonparametric.py",
"diff": "@@ -20,6 +20,23 @@ from statsmodels.stats.weightstats import (\n_zconfint_generic, _tconfint_generic, _zstat_generic, _tstat_generic)\n+def rankdata_2samp(x1, x2):\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: more cleanup refactoring and renaming, add rankdata_2samp function |
641,971 | 24.08.2020 16:22:27 | 14,400 | 772279cf9e887cf66d9812b0fcb8b51ce3556d6d | ENH: allow vectorized, return HolderTuple in test and tost | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/nonparametric.py",
"new_path": "statsmodels/stats/nonparametric.py",
"diff": "@@ -29,9 +29,17 @@ def rankdata_2samp(x1, x2):\nif nobs1 == 0 or nobs2 == 0:\nraise ValueError(\"one sample has zero length\")\n- rank = rankdata(np.concatenate((x1... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: allow vectorized, return HolderTuple in test and tost |
641,971 | 27.08.2020 16:25:58 | 14,400 | 18a490acf7e1d562ee976b594d0e83636c60ab1f | ENH: add function for ordinal counts, add normal reference | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/nonparametric.py",
"new_path": "statsmodels/stats/nonparametric.py",
"diff": "@@ -57,7 +57,7 @@ class RankCompareResult(HolderTuple):\ndiff = self.prob1 - p0\nstd_diff = np.sqrt(self.var / self.nobs)\n- if self.df is None:\n+ if self.use_t is... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add function for ordinal counts, add normal reference |
641,971 | 01.09.2020 11:52:26 | 14,400 | c33d27c1481325733e4d1ca4ee1a2ad17d15ea0a | DOC: improve docstrings, add to stats.rst, unit test for cohensd2problarger | [
{
"change_type": "MODIFY",
"old_path": "docs/source/stats.rst",
"new_path": "docs/source/stats.rst",
"diff": "@@ -181,6 +181,17 @@ Non-Parametric Tests\nsign_test\n+.. currentmodule:: statsmodels.stats.nonparametric\n+\n+.. autosummary::\n+ :toctree: generated/\n+\n+ rank_compare_2indep\n+ rank_comp... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: improve docstrings, add to stats.rst, unit test for cohensd2problarger |
641,971 | 01.09.2020 15:33:40 | 14,400 | 3679b487e11939b124d88bcd0bc4c1b5ef20b810 | BLD: avoid setuptools version 50, windows build problem | [
{
"change_type": "MODIFY",
"old_path": "appveyor.yml",
"new_path": "appveyor.yml",
"diff": "@@ -34,7 +34,7 @@ build_script:\n- wmic cpu get caption, name, numberofcores\n- If Defined PY_MAJOR_VER ( call tools\\ci\\appveyor_conda.bat ) else ( call tools\\ci\\appveyor_pip.bat )\n# Pin to 1.29 for now ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BLD: avoid setuptools version 50, windows build problem |
641,831 | 01.09.2020 23:30:03 | 14,400 | a841f461821d68de43c6010b2aa07734050ed874 | TST: param names with higher order trend in VARMAX | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_varmax.py",
"new_path": "statsmodels/tsa/statespace/tests/test_varmax.py",
"diff": "@@ -1223,3 +1223,60 @@ def test_vma1_exog():\n# Have to ignore first 2 observations due to differences in initialization\nassert_allclose(... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: param names with higher order trend in VARMAX |
641,831 | 01.09.2020 23:30:21 | 14,400 | ae2c03c3f505190696b1500002842e4cce631260 | BUG: param names with higher order trend in VARMAX | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/varmax.py",
"new_path": "statsmodels/tsa/statespace/varmax.py",
"diff": "@@ -454,16 +454,14 @@ class VARMAX(MLEModel):\n# 1. Intercept terms\nif self.k_trend > 0:\n+ for j in range(self.k_endog):\nfor i in self.polynomial_trend.nonze... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: param names with higher order trend in VARMAX |
641,831 | 02.09.2020 22:53:32 | 14,400 | c6d45c9b650664f3583783da024c0b3b2476ef9e | TST: no error w/ const. and constant forecast exog | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_sarimax.py",
"new_path": "statsmodels/tsa/statespace/tests/test_sarimax.py",
"diff": "@@ -2763,3 +2763,20 @@ def test_sarimax_starting_values_few_obsevations(reset_randomstate):\nassert np.all(\nnp.isfinite(sarimax_model.p... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: no error w/ const. and constant forecast exog |
641,831 | 02.09.2020 22:53:53 | 14,400 | 631ac541a0cbf14816c11a1f267dbe9ee00637aa | BUG: error w/ const. and constant forecast exog | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima/model.py",
"new_path": "statsmodels/tsa/arima/model.py",
"diff": "@@ -110,7 +110,7 @@ class ARIMA(sarimax.SARIMAX):\nseasonal_order=(0, 0, 0, 0), trend=None,\nenforce_stationarity=True, enforce_invertibility=True,\nconcentrate_scale=False... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: error w/ const. and constant forecast exog |
642,048 | 05.09.2020 20:44:38 | 14,400 | c9bfcbee3a48c98e9f4931cb332c247e8d619689 | Allow the noise layer to be excluded | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_regression.py",
"new_path": "statsmodels/regression/process_regression.py",
"diff": "# -*- coding: utf-8 -*-\n\"\"\"\nThis module implements maximum likelihood-based estimation (MLE) of\n-Gaussian models for finite-dimensional ob... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Allow the noise layer to be excluded |
642,048 | 05.09.2020 20:52:57 | 14,400 | bc58f5dc783ef95e0749332ab6d1ba209784aca4 | Improve handling of optional noise | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_regression.py",
"new_path": "statsmodels/regression/process_regression.py",
"diff": "@@ -225,7 +225,7 @@ class ProcessMLE(base.LikelihoodModel):\nexog_smooth : array_like\nThe design matrix for the smoothness structure\nexog_nois... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Improve handling of optional noise |
641,896 | 06.09.2020 23:30:14 | -3,600 | 6b94d8c7349724acdc111f3611f6ce8715eb5d9d | BUG: Correct axis None case
Correct axis None in mad
closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/robust/scale.py",
"new_path": "statsmodels/robust/scale.py",
"diff": "@@ -13,14 +13,15 @@ estimators of scale' Computational statistics. Physica, Heidelberg, 1992.\n\"\"\"\nimport numpy as np\nfrom scipy.stats import norm as Gaussian\n-from . impor... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Correct axis None case
Correct axis None in mad
closes #7027 |
641,982 | 11.09.2020 12:21:33 | 18,000 | 04f957a70d849ca92cb40e7c414e4b90c7bde594 | DOC: Fix typo in error order of Dynamic Factor model docs | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/dynamic_factor.py",
"new_path": "statsmodels/tsa/statespace/dynamic_factor.py",
"diff": "@@ -94,7 +94,7 @@ class DynamicFactor(MLEModel):\ny_t & = \\Lambda f_t + B x_t + u_t \\\\\nf_t & = A_1 f_{t-1} + \\dots + A_p f_{t-p} + \\eta_t ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Fix typo in error order of Dynamic Factor model docs |
641,971 | 24.08.2015 11:23:58 | 14,400 | d1bef78911e5a325393fed66adb1beb5d1cdb85b | ENH: OrderedModel initial version | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/miscmodels/ordinal_model.py",
"diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Sat Aug 22 20:24:42 2015\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\"\"\"\n+\n+import numpy as np\n+from scipy import stats\n+from statsmodels... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: OrderedModel initial version |
641,971 | 24.08.2015 11:24:38 | 14,400 | ac0abebbbe48c7ecc4d03968ef2bc80dcd9b0f04 | Example script for OrderedModel | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/examples/ex_ordered_model.py",
"diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Mon Aug 24 11:17:06 2015\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\"\"\"\n+\n+import numpy as np\n+from scipy import stats\n+\n+from statsmo... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Example script for OrderedModel |
641,928 | 22.08.2020 13:42:29 | -7,200 | b9459a0580ffe6b3d746ef9824faf45e35e0cf58 | ENH: added Pandas support for exog & endog | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/ordinal_model.py",
"new_path": "statsmodels/miscmodels/ordinal_model.py",
"diff": "@@ -7,6 +7,7 @@ License: BSD-3\n\"\"\"\nimport numpy as np\n+import pandas as pd\nfrom scipy import stats\nfrom statsmodels.base.model import GenericLikel... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: added Pandas support for exog & endog |
641,928 | 22.08.2020 15:30:03 | -7,200 | 774a12df4830288eadd9662092db0279b04d0cf3 | FIX: pd.CategoricalDtype changed for pandas < 0.24 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/ordinal_model.py",
"new_path": "statsmodels/miscmodels/ordinal_model.py",
"diff": "@@ -8,6 +8,7 @@ License: BSD-3\nimport numpy as np\nimport pandas as pd\n+from pandas.api.types import CategoricalDtype\nfrom scipy import stats\nfrom sta... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | FIX: pd.CategoricalDtype changed for pandas < 0.24 |
641,928 | 22.08.2020 15:32:16 | -7,200 | a02b691765e41ab8a6687d7dd61e2ac8809c3e45 | ENH: added OrderedResults | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/ordinal_model.py",
"new_path": "statsmodels/miscmodels/ordinal_model.py",
"diff": "@@ -11,7 +11,7 @@ import pandas as pd\nfrom pandas.api.types import CategoricalDtype\nfrom scipy import stats\nfrom statsmodels.base.model import GenericL... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: added OrderedResults |
641,928 | 22.08.2020 15:41:10 | -7,200 | cf43203e61e46f839ce658e7010ebd5e8952b167 | TST: added raw data & R results Holders | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/miscmodels/tests/results/ologit_ucla.csv",
"diff": "+apply,pared,public,gpa\n+very likely,0,0,3.26\n+somewhat likely,1,0,3.21\n+unlikely,1,1,3.94\n+somewhat likely,0,0,2.81\n+somewhat likely,0,0,2.53\n+unlikely,0,1,2.59\n+somewhat li... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: added raw data & R results Holders |
641,928 | 22.08.2020 15:45:36 | -7,200 | 35aa720cadd95a9d803652771bf6b1899fed10c3 | TST: added logit & probit tests | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/miscmodels/tests/test_ordinal_model.py",
"diff": "+\"\"\"\n+Test for ordinal models\n+\"\"\"\n+\n+import numpy as np\n+\n+from numpy.testing import assert_allclose\n+from .results.results_ordinal_model import data_store as ds\n+from ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: added logit & probit tests |
641,928 | 22.08.2020 15:49:43 | -7,200 | 4b2034177e18254383a3b080731863f68374d44b | TST: added custom distribution tests (with cLogLog) | [
{
"change_type": "RENAME",
"old_path": "statsmodels/miscmodels/tests/results/results_ordinal_method.py",
"new_path": "statsmodels/miscmodels/tests/results/results_ordinal_model.py",
"diff": "@@ -45,14 +45,17 @@ from statsmodels.tools.testing import Holder\ndata_store = Holder()\ncur_dir = os.path.di... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: added custom distribution tests (with cLogLog) |
641,928 | 22.08.2020 16:03:11 | -7,200 | 23edfd8cf813898205c8bd62e705f9a62b00b71e | ENH: add custom distribution ex with Pandas inputs | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/examples/ex_ordered_model.py",
"new_path": "statsmodels/examples/ex_ordered_model.py",
"diff": "@@ -8,6 +8,7 @@ License: BSD-3\nimport numpy as np\nfrom scipy import stats\n+import pandas\nfrom statsmodels.miscmodels.ordinal_model import OrderedMod... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add custom distribution ex with Pandas inputs |
641,928 | 22.08.2020 16:44:36 | -7,200 | b88f2be5f513c3d31f65e3a3139b85fa3bf2704a | ENH: small typos | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/tests/test_ordinal_model.py",
"new_path": "statsmodels/miscmodels/tests/test_ordinal_model.py",
"diff": "@@ -13,6 +13,7 @@ from statsmodels.miscmodels.ordinal_model import OrderedModel\nclass CheckOrdinalModelMixin(object):\ndef test_bas... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: small typos |
641,928 | 23.08.2020 14:25:58 | -7,200 | cb25187b840a5c51fedb1327467b4595a6212b96 | STY: flake8 friendly | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/examples/ex_ordered_model.py",
"new_path": "statsmodels/examples/ex_ordered_model.py",
"diff": "@@ -14,7 +14,8 @@ from statsmodels.miscmodels.ordinal_model import OrderedModel\nnobs, k_vars = 1000, 3\nx = np.random.randn(nobs, k_vars)\n-#x = np.col... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | STY: flake8 friendly |
641,928 | 25.08.2020 12:19:35 | -7,200 | e00c2d583d095a917f7f28bfaf04a48cf867fdf1 | ENH: small fixes + example notebook | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/notebooks/ordinal_regression.ipynb",
"diff": "+{\n+ \"cells\": [\n+ {\n+ \"cell_type\": \"markdown\",\n+ \"metadata\": {},\n+ \"source\": [\n+ \"# Ordinal Regression\"\n+ ]\n+ },\n+ {\n+ \"cell_type\": \"code\",\n+ \"execution_count\": ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: small fixes + example notebook |
641,971 | 03.09.2020 19:22:21 | 14,400 | 7a5f16ada5abe3a18d4b6c087b24ade85bde44cf | ENH/REF: add offset, scoreobs, DRY loglike and related | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/ordinal_model.py",
"new_path": "statsmodels/miscmodels/ordinal_model.py",
"diff": "@@ -70,7 +70,7 @@ class OrderedModel(GenericLikelihoodModel):\n\"\"\"\n- def __init__(self, endog, exog, distr='probit', **kwds):\n+ def __init__(self, en... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/REF: add offset, scoreobs, DRY loglike and related |
641,971 | 04.09.2020 22:29:57 | 14,400 | 3e232ba57d194308e17b68b946e3384e115dcffb | ENH/TST: add pred_table, adjust and add unit tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/examples/ex_ordered_model.py",
"new_path": "statsmodels/examples/ex_ordered_model.py",
"diff": "@@ -24,8 +24,8 @@ print(np.unique(y))\nprint(np.bincount(y))\nmod = OrderedModel(y, x)\n-start_params = np.ones(k_vars + 4)\n-start_params = np.concaten... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/TST: add pred_table, adjust and add unit tests |
641,971 | 05.09.2020 17:01:48 | 14,400 | 7152d11f6242fb0c5863f60620c1adca8e316370 | ENH: properly connect param_names, give pandas codes endog to super | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/ordinal_model.py",
"new_path": "statsmodels/miscmodels/ordinal_model.py",
"diff": "@@ -85,19 +85,32 @@ class OrderedModel(GenericLikelihoodModel):\n# TODO: check if super can handle offset\nself.offset = offset\n- self.names, endog, exog... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: properly connect param_names, give pandas codes endog to super |
641,971 | 15.09.2020 11:14:51 | 14,400 | dcff9416cad85ea50314c744f7108908a3e90280 | ENH/REF: support pd ordered Categorical in formula | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/ordinal_model.py",
"new_path": "statsmodels/miscmodels/ordinal_model.py",
"diff": "@@ -10,8 +10,8 @@ import numpy as np\nimport pandas as pd\nfrom pandas.api.types import CategoricalDtype\nfrom scipy import stats\n-from statsmodels.base.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/REF: support pd ordered Categorical in formula |
641,971 | 15.09.2020 12:54:52 | 14,400 | 0241fd52a74d68ef9a818c5ef475f7ae9f49c8fb | fix formula for pandas categorical | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/ordinal_model.py",
"new_path": "statsmodels/miscmodels/ordinal_model.py",
"diff": "@@ -89,12 +89,8 @@ class OrderedModel(GenericLikelihoodModel):\nendog, labels, is_pandas = self._check_inputs(endog, exog)\n- frame = kwds.pop(\"frame\", ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fix formula for pandas categorical |
641,971 | 16.09.2020 11:06:50 | 14,400 | c1664d989c4eea864180e69b200bef687494a234 | CLN: cleanup, remove now redundant code and comments for formulas | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/ordinal_model.py",
"new_path": "statsmodels/miscmodels/ordinal_model.py",
"diff": "@@ -11,7 +11,7 @@ import pandas as pd\nfrom pandas.api.types import CategoricalDtype\nfrom scipy import stats\nfrom statsmodels.base.model import (\n- Gen... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: cleanup, remove now redundant code and comments for formulas |
642,037 | 17.09.2020 23:46:00 | -19,080 | 935f0783ba56cdc3d72c6412c29f1a193ae91c87 | BUG: Fix get_prediction on ets fails when start greater than last index | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -2230,6 +2230,7 @@ class PredictionResults:\n)\nself.row_labels = self.predicted_mean.index\nself.endog = np.empty(nsmooth + ndynamic) * np.n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Fix #7018 get_prediction on ets fails when start greater than last index |
642,037 | 17.09.2020 23:46:40 | -19,080 | 2c3d2813e69ae2c03c9c4ddd44e6b200bc8f7847 | TST: Modified ets get_prediction test case for only out of sample prediction | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"new_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"diff": "@@ -692,9 +692,9 @@ def test_prediction_results(austourists_model_fit):\nassert np.all(~np.isnan(summary[\"mean\"]))\n# only out o... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Modified ets get_prediction test case for only out of sample prediction |
642,037 | 18.09.2020 23:36:17 | -19,080 | 3a81d9adf038b6b77023a7fbf36979060ef996c1 | TST: added more parametrized tests for ets get_prediction | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"new_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"diff": "@@ -691,12 +691,36 @@ def test_prediction_results(austourists_model_fit):\nassert len(summary[\"mean\"].values) == 81\nassert np.a... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: added more parametrized tests for ets get_prediction |
641,971 | 19.09.2020 13:46:19 | 14,400 | db637720f06b99c3f21721843a942cd90bda3be6 | ENH: drop Intercept in `from_formula`, similar to MixedLM, fix predict design_info | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -1060,7 +1060,9 @@ class Results(object):\nexog_index = exog.index if is_pandas else None\nif transform and hasattr(self.model, 'formula') and (exog is not None):\n- design_info =... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: drop Intercept in `from_formula`, similar to MixedLM, fix predict design_info |
641,971 | 19.09.2020 19:42:02 | 14,400 | a1fb8c2d8d5a648bde1574ce3575ee42bf2b2f2c | REF: use SpecificationWarning for formula, | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/ordinal_model.py",
"new_path": "statsmodels/miscmodels/ordinal_model.py",
"diff": "@@ -10,6 +10,8 @@ import numpy as np\nimport pandas as pd\nfrom pandas.api.types import CategoricalDtype\nfrom scipy import stats\n+from statsmodels.tools... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: use SpecificationWarning for formula, |
641,971 | 21.09.2020 11:06:51 | 14,400 | eeb1eb20044445fc7596ddbc9f192b34228b33df | BUG: GenericLikelihoodModel propagate `hasconst` see | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -789,6 +789,7 @@ class GenericLikelihoodModel(LikelihoodModel):\nif hessian is not None:\nself.hessian = hessian\n+ hasconst = kwds.pop(\"hasconst\", None)\nself.__dict__.update(k... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: GenericLikelihoodModel propagate `hasconst` see #7049 |
641,971 | 21.09.2020 12:52:44 | 14,400 | 7f392b9d017d037cefb02794615c17ee8dea687f | REF: raise instead of warn if k_constant > 0 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/ordinal_model.py",
"new_path": "statsmodels/miscmodels/ordinal_model.py",
"diff": "@@ -10,8 +10,7 @@ import numpy as np\nimport pandas as pd\nfrom pandas.api.types import CategoricalDtype\nfrom scipy import stats\n-from statsmodels.tools... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: raise instead of warn if k_constant > 0 |
641,971 | 21.09.2020 13:42:12 | 14,400 | 97101b395a24ef3febd705c7881a92a101ec64ce | ENH/BUG: correct predict with offset | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/ordinal_model.py",
"new_path": "statsmodels/miscmodels/ordinal_model.py",
"diff": "@@ -245,21 +245,15 @@ class OrderedModel(GenericLikelihoodModel):\nnp.log(np.diff(start_ppf[:-1]))))\nreturn thresh_params\n- def predict(self, params, ex... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/BUG: correct predict with offset |
641,971 | 21.09.2020 16:17:27 | 14,400 | ce0899b1984b77e56dfd51de2b75cf1c46449477 | BUG: fix df_resid, unit test compared to discrete Logit | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -2492,6 +2492,13 @@ class GenericLikelihoodModelResults(LikelihoodModelResults, ResultMixin):\nself._cache = {}\nself.__dict__.update(mlefit.__dict__)\n+ k_params = len(mlefit.par... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix df_resid, unit test compared to discrete Logit |
641,971 | 21.09.2020 19:35:14 | 14,400 | f119fad25bb12798762346f613d102661f6361ab | TST/REF: pandas indexing in test, DRY loglike | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/ordinal_model.py",
"new_path": "statsmodels/miscmodels/ordinal_model.py",
"diff": "@@ -292,6 +292,9 @@ class OrderedModel(GenericLikelihoodModel):\nreturn linpred\ndef _bounds(self, params):\n+ \"\"\"integration bounds for the observatio... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST/REF: pandas indexing in test, DRY loglike |
641,971 | 22.09.2020 12:23:50 | 14,400 | 91bc2d2304bb90ba58cd4b11a8d3471ec54b2135 | ENH: add null and related attributes to OrderedResults | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/ordinal_model.py",
"new_path": "statsmodels/miscmodels/ordinal_model.py",
"diff": "@@ -11,6 +11,7 @@ import pandas as pd\nfrom pandas.api.types import CategoricalDtype\nfrom scipy import stats\n+from statsmodels.tools.decorators import c... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add null and related attributes to OrderedResults |
641,971 | 22.09.2020 13:08:56 | 14,400 | c3bd39d79ad9839aab3c79baa52eabba30afbccb | ENH: add Results wrapper | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/ordinal_model.py",
"new_path": "statsmodels/miscmodels/ordinal_model.py",
"diff": "@@ -15,6 +15,9 @@ from statsmodels.tools.decorators import cache_readonly\nfrom statsmodels.base.model import (\nGenericLikelihoodModel, GenericLikelihood... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add Results wrapper |
642,048 | 23.09.2020 10:29:15 | 14,400 | 5bdaad4dba19957ccd46ff98b8e0af28cbd5fc2b | reduce repeated warnings for same issue | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/mixed_linear_model.py",
"new_path": "statsmodels/regression/mixed_linear_model.py",
"diff": "@@ -1237,7 +1237,10 @@ class MixedLM(base.LikelihoodModel):\n# Get the Hessian including only the nonzero fixed effects,\n# then blow back up to... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | reduce repeated warnings for same issue |
642,048 | 27.09.2020 16:44:00 | 14,400 | 973c6e06aa41142ed43b6f7a0e2853a652f5fb66 | Initial commit of unstructured covariance | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/cov_struct.py",
"new_path": "statsmodels/genmod/cov_struct.py",
"diff": "@@ -216,6 +216,90 @@ class Independence(CovStruct):\nreturn (\"Observations within a cluster are modeled \"\n\"as being independent.\")\n+class Unstructured(CovStruct):... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Initial commit of unstructured covariance |
641,896 | 25.09.2020 23:25:59 | -3,600 | 9fe54778e539afa86f56117172270e6f96feb412 | BUG: Fix squeeze when nsimulation is 1
Avoid oversqueezing the array
closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/holtwinters/results.py",
"new_path": "statsmodels/tsa/holtwinters/results.py",
"diff": "@@ -743,10 +743,11 @@ class HoltWintersResults(Results):\nif use_boxcox:\ny = inv_boxcox(y, lamda)\n- sim = np.squeeze(y)\n+ sim = np.atleast_1d(np.squeeze(... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Fix squeeze when nsimulation is 1
Avoid oversqueezing the array
closes #7053 |
642,048 | 29.09.2020 22:03:52 | 14,400 | 8ead01ce8a1c1e3ac29bbd7cb978f65c6cbcc368 | update docstrings for ordinal/nominal | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/generalized_estimating_equations.py",
"new_path": "statsmodels/genmod/generalized_estimating_equations.py",
"diff": "@@ -252,12 +252,18 @@ _gee_init_doc = \"\"\"\nand agrees with R's gee implementation. To obtain the robust\nstandard errors ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | update docstrings for ordinal/nominal |
642,066 | 01.10.2020 11:50:12 | 10,800 | c55a70874467febb85f59630891270e5ea8313db | fix several doc issues | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/oneway.py",
"new_path": "statsmodels/stats/oneway.py",
"diff": "@@ -180,7 +180,7 @@ def effectsize_oneway(means, vars_, nobs, use_var=\"unequal\", ddof_between=0):\ndef convert_effectsize_fsqu(f2=None, eta2=None):\n- \"\"\"convert squared eff... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fix several doc issues |
641,971 | 01.10.2020 13:07:57 | 14,400 | 27777aaffa9a3685b289049e0bbac9c4d9102ce4 | DOC: add OrderedModel to rst doc, remove stub version in discrete | [
{
"change_type": "MODIFY",
"old_path": "docs/source/discretemod.rst",
"new_path": "docs/source/discretemod.rst",
"diff": "@@ -103,6 +103,18 @@ The specific model classes are:\nConditionalMNLogit\nConditionalPoisson\n+ The cumulative link model for an ordinal dependent variable is currently\n+ in mis... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: add OrderedModel to rst doc, remove stub version in discrete |
641,971 | 01.10.2020 15:33:05 | 14,400 | 42b9fa49211a7f76e2a902e020dfb5ac9ed106a5 | DOCS: update, enhance notebook, add to docs | [
{
"change_type": "ADD",
"old_path": "docs/source/_static/images/ordered_model.png",
"new_path": "docs/source/_static/images/ordered_model.png",
"diff": "Binary files /dev/null and b/docs/source/_static/images/ordered_model.png differ\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/sou... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOCS: update, enhance notebook, add to docs |
641,971 | 06.10.2020 14:51:49 | 14,400 | 000cca2fe7c44722a5c90ebcf8a4c796706b62ec | ENH: estimate noncentrality parameter for t, f and chi2 statistic | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/stats/tests/test_effectsize.py",
"diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Mon Oct 5 13:13:59 2020\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\n+\"\"\"\n+\n+from scipy import stats\n+from numpy.testing import assert... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: estimate noncentrality parameter for t, f and chi2 statistic |
641,828 | 07.10.2020 16:45:06 | -3,600 | ff6ccff5282fc0ac65196602f3a028605700e013 | DOC: augmented docstrings from statsmodels.base.optimizer | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/optimizer.py",
"new_path": "statsmodels/base/optimizer.py",
"diff": "@@ -22,9 +22,21 @@ class Optimizer(object):\nParameters\n----------\n+ objective : function\n+ Objective function to be minimized.\n+ gradient : function\n+ The gradient of t... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: augmented docstrings from statsmodels.base.optimizer |
641,828 | 07.10.2020 18:24:52 | -3,600 | 7884aa875a58492d310d1af37da0c3d8f0b08e9c | DOC: correct docstring title | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/optimizer.py",
"new_path": "statsmodels/base/optimizer.py",
"diff": "@@ -656,7 +656,7 @@ def _fit_nm(f, score, start_params, fargs, kwargs, disp=True,\nmaxiter=100, callback=None, retall=False,\nfull_output=True, hess=None):\n\"\"\"\n- Fit usi... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: correct docstring title |
641,820 | 09.10.2020 10:44:11 | -7,200 | fa9f3489c435fc06e554573d3c1b340abd6ec3e2 | DOC: Fix contradicting KPSS-statistics interpretations in example | [
{
"change_type": "MODIFY",
"old_path": "examples/notebooks/stationarity_detrending_adf_kpss.ipynb",
"new_path": "examples/notebooks/stationarity_detrending_adf_kpss.ipynb",
"diff": "\"cell_type\": \"markdown\",\n\"metadata\": {},\n\"source\": [\n- \"Based upon the significance level of 0.05 and the ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Fix contradicting KPSS-statistics interpretations in example |
641,896 | 10.10.2020 21:36:21 | -3,600 | c7d9699afc9cdda8bcab0f323b5e96529e768b51 | BIG: Correct prediction intervals for ThetaModel
Prediction intervals are using the wrong expression | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/forecasting/tests/test_theta.py",
"new_path": "statsmodels/tsa/forecasting/tests/test_theta.py",
"diff": "@@ -104,3 +104,15 @@ def test_forecast_errors(data):\nres.forecast(7, theta=0.99)\nwith pytest.raises(ValueError, match=\"steps must be a ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BIG: Correct prediction intervals for ThetaModel
Prediction intervals are using the wrong expression |
641,971 | 11.10.2020 22:02:38 | 14,400 | 40c37abb7c6267504258c05af54a129962115037 | ENH: Hosmer-Lemeshow gof test, multinomial support stats functions | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_discrete.py",
"new_path": "statsmodels/discrete/tests/test_discrete.py",
"diff": "@@ -933,6 +933,31 @@ class TestLogitNewton(CheckBinaryResults, CheckMargEff):\nassert_almost_equal(me.margeff_se,\nself.res2.margeff_dummy_atexog2... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Hosmer-Lemeshow gof test, multinomial support stats functions |
641,971 | 11.10.2020 22:08:43 | 14,400 | 2e9affa125324db22f3af5bedfa30e3965a41253 | ENH: add miscmodels OrderedResults.resid_prob | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/tests/results/results_ordinal_model.py",
"new_path": "statsmodels/miscmodels/tests/results/results_ordinal_model.py",
"diff": "@@ -82,6 +82,14 @@ res_ord_logit.prob_pred = np.array([[0.5488310, 0.3593310, 0.09183798],\n[0.6560149, 0.2833... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add miscmodels OrderedResults.resid_prob |
641,971 | 12.10.2020 12:08:20 | 14,400 | 41dedd29cf00c04c03839323363a95ed1ceae28f | ENH/TST: hosmer lemeshow, add sort_method, unit test for OrderedResults see | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/tests/test_ordinal_model.py",
"new_path": "statsmodels/miscmodels/tests/test_ordinal_model.py",
"diff": "@@ -178,6 +178,26 @@ class TestLogitModel(CheckOrdinalModelMixin):\nresid_prob.var(ddof=1)]\nassert_allclose(stats_prob, res2.resid_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/TST: hosmer lemeshow, add sort_method, unit test for OrderedResults see #7095 |
642,069 | 21.10.2020 09:03:19 | 21,600 | 117cd191be3df41be30d4bc8458521230cb0a2e1 | some fixes in the doc of grangercausalitytests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/stattools.py",
"new_path": "statsmodels/tsa/stattools.py",
"diff": "@@ -1313,9 +1313,9 @@ def grangercausalitytests(x, maxlag, addconst=True, verbose=True):\nThe null hypothesis for all four test is that the coefficients\ncorresponding to past ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | some fixes in the doc of grangercausalitytests |
641,831 | 26.10.2020 20:34:32 | 14,400 | a953e825d3ee4390df52b048004706b19cf6034a | BUG: don't raise error in impacts table if no news. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/news.py",
"new_path": "statsmodels/tsa/statespace/news.py",
"diff": "@@ -343,7 +343,7 @@ class NewsResults(object):\ndf = df[['observed', 'forecast (prev)', 'news', 'weight', 'impact']]\ndf = df.reorder_levels([2, 3, 0, 1]).sort_inde... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: don't raise error in impacts table if no news. |
641,831 | 28.10.2020 23:14:14 | 14,400 | 636ee805ea768c3f3eb4be3f91830e592192170c | DOC: v0.12.1 release notes | [
{
"change_type": "MODIFY",
"old_path": "docs/source/release/index.rst",
"new_path": "docs/source/release/index.rst",
"diff": "@@ -7,6 +7,7 @@ Release Notes\n.. toctree::\n:maxdepth: 1\n+ version0.12.1\nversion0.12\nversion0.11.1\nversion0.11\n"
},
{
"change_type": "ADD",
"old_path": null... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: v0.12.1 release notes |
641,934 | 30.10.2020 14:24:42 | 0 | 7eee2cc0c704c16c2d35a4e9ee732656ab65700d | Update test_notebooks.py
typo. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/examples/tests/test_notebooks.py",
"new_path": "statsmodels/examples/tests/test_notebooks.py",
"diff": "@@ -45,7 +45,7 @@ def notebook(request):\nif not nbs:\n- pytestmark = pytest.mark.skip(reason='No notebooks found so not tests run')\n+ pytestma... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Update test_notebooks.py
typo. |
642,048 | 30.10.2020 17:26:58 | 14,400 | 3fbf24e0c793ce5bd35b8c7faa0829021deb5811 | Doc fixes to MICE and BayesMixedGLM | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/bayes_mixed_glm.py",
"new_path": "statsmodels/genmod/bayes_mixed_glm.py",
"diff": "@@ -142,7 +142,8 @@ _init_doc = r\"\"\"\na value. Setting `vcp_p` to 0.5 seems to work well.\nThe prior for the fixed effects parameters is Gaussian with mean... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Doc fixes to MICE and BayesMixedGLM |
641,877 | 03.11.2020 13:35:13 | -3,600 | f09def912e9e20b809710883a9ad1aed74a9e3bf | ENH: Adding an if clause in regression.rolling.WLS._fit_single to avoid unnecessary calls of np.linalg.inv | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/rolling.py",
"new_path": "statsmodels/regression/rolling.py",
"diff": "@@ -223,6 +223,7 @@ class RollingWLS(object):\nif nobs < self._min_nobs:\nreturn\ntry:\n+ if (method == \"inv\") or not params_only:\nwxpwxi = np.linalg.inv(wxpwx)\ni... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Adding an if clause in regression.rolling.WLS._fit_single to avoid unnecessary calls of np.linalg.inv |
641,877 | 05.11.2020 17:16:58 | -3,600 | f5a277ef5b8020c2691e9e437e6aba8517f47db0 | EMH: Parametrized statsmodels/regression/tests/test_rolling.py::test_methods by 'params_only' to check if all the methods work for all choices of params_only | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/tests/test_rolling.py",
"new_path": "statsmodels/regression/tests/test_rolling.py",
"diff": "@@ -268,12 +268,13 @@ def test_plot():\nres.plot_recursive_coefficient(alpha=None, figsize=(30, 7))\n-def test_methods(basic_data):\n+@pytest.ma... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | EMH: Parametrized statsmodels/regression/tests/test_rolling.py::test_methods by 'params_only' to check if all the methods work for all choices of params_only |
641,877 | 05.11.2020 20:59:49 | -3,600 | ef2bb9220586b9c469a822192fb56322bad81b63 | ENH: statsmodels/regression/tests/test_rolling.py::test_params_only added which now tests for all 3 methods if params_only=True and =False give the same result | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/tests/test_rolling.py",
"new_path": "statsmodels/regression/tests/test_rolling.py",
"diff": "@@ -279,6 +279,15 @@ def test_methods(basic_data, params_only):\nassert_allclose(res_inv.params, res_pinv.params)\n+@pytest.mark.parametrize(\"m... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: statsmodels/regression/tests/test_rolling.py::test_params_only added which now tests for all 3 methods if params_only=True and =False give the same result |
641,877 | 06.11.2020 09:41:19 | -3,600 | e1245aadb2e9909c2f618c4d80357a7362f58b67 | TST: Changing asser_array_equal to assert_allclose in statsmodels/regression/tests/test_rolling.py:test_params_only to take numerical errors into account for 'lstsq' and 'pinv' on x86 machines. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/tests/test_rolling.py",
"new_path": "statsmodels/regression/tests/test_rolling.py",
"diff": "@@ -285,7 +285,8 @@ def test_params_only(basic_data, method):\nmod = RollingOLS(y, x, 150)\nres = mod.fit(method=method, params_only=False)\nres... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Changing asser_array_equal to assert_allclose in statsmodels/regression/tests/test_rolling.py:test_params_only to take numerical errors into account for 'lstsq' and 'pinv' on x86 machines. |
641,971 | 18.11.2020 17:11:39 | 18,000 | d8d6474c97eb83bbf0d5aa63031ea681f5cb2416 | ENH: add noncentrality estimate to test_chisquare_binning | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/diagnostic_gen.py",
"new_path": "statsmodels/stats/diagnostic_gen.py",
"diff": "@@ -10,10 +10,12 @@ License: BSD-3\nimport numpy as np\nfrom scipy import stats\nfrom statsmodels.stats.base import HolderTuple\n+from statsmodels.stats.effect_si... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add noncentrality estimate to test_chisquare_binning |
641,964 | 24.11.2020 16:52:07 | -10,800 | fac83de0b5ca8ad95c2ec877018a2776f72f27c4 | A small typo in GAM
Fixing a small typo in plot_partial function's docstring. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/gam/generalized_additive_model.py",
"new_path": "statsmodels/gam/generalized_additive_model.py",
"diff": "@@ -315,7 +315,7 @@ class GLMGamResults(GLMResults):\n----------\nsmooth_index : int\nindex of the smooth term within list of smooth terms\n- ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | A small typo in GAM
Fixing a small typo in plot_partial function's docstring. |
642,048 | 27.11.2020 10:16:52 | 18,000 | 980cd1602deeed3d8fad49d6f51ef1424ece661c | Handle singularities better | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/generalized_estimating_equations.py",
"new_path": "statsmodels/genmod/generalized_estimating_equations.py",
"diff": "@@ -1390,7 +1390,12 @@ class GEE(GLM):\nhm.flat[::hm.shape[0] + 1] += self.num_group * en\nsn -= self.num_group * en * param... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Handle singularities better |
641,831 | 28.11.2020 00:04:53 | 18,000 | dbf99f56154cda894f89eaf33171b4528543fc95 | TST: Add test for ETSModel get_prediction with one step. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"new_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"diff": "@@ -1005,3 +1005,28 @@ def test_exact_prediction_intervals(austourists_model_fit):\nfit.model = DummyModel(\"AAA\")\ns_AAA = fit._... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Add test for ETSModel get_prediction with one step. |
641,831 | 28.11.2020 00:05:06 | 18,000 | 8f1bc6cb57e581519be4e16d527cfcc041a4a7be | BUG: ETSModel get_prediction with one step. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/base.py",
"new_path": "statsmodels/tsa/exponential_smoothing/base.py",
"diff": "@@ -205,7 +205,6 @@ class StateSpaceMLEModel(tsbase.TimeSeriesModel):\n# - 1 x 1: squeeze only second axis\nif data.ndim > 1 and data.shape[1]... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: ETSModel get_prediction with one step. |
642,073 | 30.11.2020 21:06:46 | 18,000 | b08ec95106044f63e7caaaeeb96bd6213b95e48c | Correct variable name in error message | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/quantile_regression.py",
"new_path": "statsmodels/regression/quantile_regression.py",
"diff": "@@ -117,7 +117,7 @@ class QuantReg(RegressionModel):\n\"\"\"\nif q <= 0 or q >= 1:\n- raise Exception('p must be strictly between 0 and 1')\n+... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Correct variable name in error message |
641,896 | 19.12.2020 00:10:48 | 0 | 90bbd64db4cfda02ff8ddd95b788e4b417bfdfbd | MAINT: Update Azure to reflect travis
Update Azure
Remove most travis configs | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -43,53 +43,53 @@ jobs:\nfast_finish: true\ninclude:\n# Documentation build (on Python 3.7 + cutting edge packages). Slowest build\n- - python: 3.8\n- env:\n- - BUILD_INIT=tools/ci/travis_pip.sh\n- - USE_MATP... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Update Azure to reflect travis
Update Azure
Remove most travis configs |
641,896 | 19.12.2020 13:17:47 | 0 | 3af829224b6c017961f8625df8817c85a7228b6a | MAINT: Skip examples
Skip examines in testing since complex dependencies | [
{
"change_type": "MODIFY",
"old_path": "tools/ci/azure/azure_template_posix.yml",
"new_path": "tools/ci/azure/azure_template_posix.yml",
"diff": "@@ -101,7 +101,7 @@ jobs:\necho \"Testing site packages\"\nmkdir test_run_dir\npushd test_run_dir\n- python -c \"import statsmodels; statsmodels.test(['-n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Skip examples
Skip examines in testing since complex dependencies |
641,896 | 19.12.2020 13:29:47 | 0 | bae8624504206b99e7f50ac8b5be770b9976148a | MAINT: Add pip pre to Azure
Add pip-pre to Azure | [
{
"change_type": "MODIFY",
"old_path": "tools/ci/azure/azure_template_posix.yml",
"new_path": "tools/ci/azure/azure_template_posix.yml",
"diff": "@@ -45,8 +45,11 @@ jobs:\nPANDAS: 0.23.4\nMATPLOTLIB: 2.2.5\nLINT: true\n- python_3.9:\n+ python_39:\npython.version: '3.9'\n+ python_39_pre:\n+ python.ve... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Add pip pre to Azure
Add pip-pre to Azure |
641,896 | 19.12.2020 21:33:54 | 0 | e4c6b6f14d35f7059a185e14a44adb051528dc11 | MAINT: Retire travis and appveyor | [
{
"change_type": "RENAME",
"old_path": ".travis.yml",
"new_path": ".travis.yml.back",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "appveyor.yml",
"new_path": "appveyor.yml.bak",
"diff": ""
},
{
"change_type": "MODIFY",
"old_path": "azure-pipelines.yml",
"... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Retire travis and appveyor |
641,896 | 19.12.2020 21:48:13 | 0 | 4cbab4b62c7762b9415b9e0fe4e8c54c1219fc92 | MAINT: Remove appveyor and downscale travis
Fix docs to reflect changes
Down scale Travis to just docs | [
{
"change_type": "RENAME",
"old_path": ".travis.yml.back",
"new_path": ".travis.yml",
"diff": "@@ -43,53 +43,15 @@ jobs:\nfast_finish: true\ninclude:\n# Documentation build (on Python 3.7 + cutting edge packages). Slowest build\n-# - python: 3.8\n-# env:\n-# - BUILD_INIT=tools/ci/travis_pip.sh\n-# -... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Remove appveyor and downscale travis
Fix docs to reflect changes
Down scale Travis to just docs |
641,971 | 22.12.2020 15:45:08 | 18,000 | 0985a332f368d2299d7d1142820f22501f9a2a0c | BUG: raise if non-binary endog in Probit | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/discrete_model.py",
"new_path": "statsmodels/discrete/discrete_model.py",
"diff": "@@ -451,13 +451,19 @@ class DiscreteModel(base.LikelihoodModel):\nclass BinaryModel(DiscreteModel):\n+ _continuous_ok = False\ndef __init__(self, endog, exo... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: raise if non-binary endog in Probit |
641,896 | 22.12.2020 23:08:44 | 0 | 9873e4f453d9a867b6ba65f9a62dafceb4bef7b3 | MAINT: Limit linting
Limit linting to one per distinct version | [
{
"change_type": "MODIFY",
"old_path": "tools/ci/azure/azure_template_posix.yml",
"new_path": "tools/ci/azure/azure_template_posix.yml",
"diff": "@@ -19,10 +19,12 @@ jobs:\n${{ if eq(parameters.name, 'Linux') }}:\npython_39:\npython.version: '3.9'\n+ lint: true\npython_38:\npython.version: '3.8'\nUS... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Limit linting
Limit linting to one per distinct version |
641,896 | 03.01.2021 09:47:07 | 0 | 592a59a7fa3b9c50c7a331caed8b28488c4bdfb0 | DOC: Improve doc strings
Improve bic docstring in ar models
Improve explaination of maxlag in adfuller
closes
closes | [
{
"change_type": "MODIFY",
"old_path": "docs/source/spelling_wordlist.txt",
"new_path": "docs/source/spelling_wordlist.txt",
"diff": "@@ -407,7 +407,7 @@ Lorentzen\nLotze\nLowess\nLumley\n-Lutkephol\n+Lutkepohl\nMANOVA\nMICEData\nMLEInfluence\n"
},
{
"change_type": "MODIFY",
"old_path": ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Improve doc strings
Improve bic docstring in ar models
Improve explaination of maxlag in adfuller
closes #7238
closes #7143 |
641,867 | 04.01.2021 16:05:28 | 21,600 | 4c03128061501a9864d7a881ee1440d648d6f3a2 | DOC: Correct documentation | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/seasonal.py",
"new_path": "statsmodels/tsa/seasonal.py",
"diff": "@@ -115,7 +115,7 @@ def seasonal_decompose(x, model=\"additive\", filt=None, period=None,\nThe multiplicative model is Y[t] = T[t] * S[t] * e[t]\n- The seasonal component is firs... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Correct documentation |
641,867 | 04.01.2021 16:10:56 | 21,600 | a281efebdf7e7a4f5d21d90ad41c8d0f8a8c2f0d | DOC: Clarify result | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/seasonal.py",
"new_path": "statsmodels/tsa/seasonal.py",
"diff": "@@ -115,9 +115,10 @@ def seasonal_decompose(x, model=\"additive\", filt=None, period=None,\nThe multiplicative model is Y[t] = T[t] * S[t] * e[t]\n- The trend component is first ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Clarify result |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.