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,837 | 03.03.2022 12:10:04 | 0 | a38930d3559668d83eb669ecb34a5c5caced88c2 | ENH: Update MSTL notebook to include example from electricity demand dataset | [
{
"change_type": "MODIFY",
"old_path": "docs/source/_static/images/mstl_decomposition.png",
"new_path": "docs/source/_static/images/mstl_decomposition.png",
"diff": "Binary files a/docs/source/_static/images/mstl_decomposition.png and b/docs/source/_static/images/mstl_decomposition.png differ\n"
}... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Update MSTL notebook to include example from electricity demand dataset |
641,837 | 03.03.2022 18:46:28 | 0 | 6f04bf9ae5428931a6a5b547a199d99df75c4bd5 | BUG: Fix period and windows sorting | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/stl/mstl.py",
"new_path": "statsmodels/tsa/stl/mstl.py",
"diff": "@@ -17,6 +17,7 @@ Seasonal Patterns\nhttps://arxiv.org/pdf/2107.13462.pdf\n\"\"\"\nfrom typing import Dict, Optional, Sequence, Tuple, Union\n+import warnings\nimport numpy as np... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Fix period and windows sorting |
641,837 | 03.03.2022 18:49:02 | 0 | 1a455f8e87b3bac0abaa1cf324d136cc16f1a465 | REF: Import STL directly | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/stl/mstl.py",
"new_path": "statsmodels/tsa/stl/mstl.py",
"diff": "@@ -24,7 +24,7 @@ import pandas as pd\nfrom scipy.stats import boxcox\nfrom statsmodels.tools.typing import ArrayLike1D\n-from statsmodels.tsa.seasonal import STL\n+from statsmod... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: Import STL directly |
641,935 | 30.03.2022 23:33:17 | -10,800 | 5e4b2b7edccbc5202e30515730de9ab1ee381cbd | DOC: Improve docs for using fleiss_kappa | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/inter_rater.py",
"new_path": "statsmodels/stats/inter_rater.py",
"diff": "@@ -197,7 +197,9 @@ def fleiss_kappa(table, method='fleiss'):\nParameters\n----------\ntable : array_like, 2-D\n- assumes subjects in rows, and categories in columns\n+... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Improve docs for using fleiss_kappa |
641,837 | 09.04.2022 12:02:32 | -3,600 | a58014c15910333d49416568ad6c068537e8893c | BUG: Change heading levels in MSTL notebook to fix docs | [
{
"change_type": "MODIFY",
"old_path": "examples/notebooks/mstl_decomposition.ipynb",
"new_path": "examples/notebooks/mstl_decomposition.ipynb",
"diff": "\"id\": \"special-institution\",\n\"metadata\": {},\n\"source\": [\n- \"# Seasonal-Trend decomposition using LOESS for multiple seasonal component... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Change heading levels in MSTL notebook to fix docs |
641,837 | 09.04.2022 23:56:10 | -3,600 | 0fdb378822d2c71b13549e704ee3f412537f35cd | DOC: Add MSTL docs | [
{
"change_type": "MODIFY",
"old_path": "docs/source/api.rst",
"new_path": "docs/source/api.rst",
"diff": "@@ -195,6 +195,7 @@ Filters and Decompositions\n~statsmodels.tsa.seasonal.seasonal_decompose\n~statsmodels.tsa.seasonal.STL\n+ ~statsmodels.tsa.seasonal.MSTL\n~statsmodels.tsa.filters.bk_filter.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Add MSTL docs |
641,837 | 14.04.2022 22:40:55 | -3,600 | 22458734e9113f4fb1d12e9cc31d9ed7083cb692 | TST: Remove print statement in MSTL test fixture | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/stl/tests/test_mstl.py",
"new_path": "statsmodels/tsa/stl/tests/test_mstl.py",
"diff": "@@ -10,7 +10,6 @@ from statsmodels.tsa.seasonal import MSTL\n@pytest.fixture(scope=\"function\")\ndef mstl_results():\ncur_dir = Path(__file__).parent.resol... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Remove print statement in MSTL test fixture |
642,080 | 15.04.2022 11:37:12 | -7,200 | d1e36c17127acc6a3f68ddf804e665930deb3891 | Fix docs std_null twice instead of std_alternative | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/power.py",
"new_path": "statsmodels/stats/power.py",
"diff": "@@ -129,7 +129,7 @@ def normal_power_het(diff, nobs, alpha, std_null=1., std_alternative=None,\nstd_null : float\nstandard deviation under the Null hypothesis without division by\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Fix docs std_null twice instead of std_alternative |
641,821 | 24.03.2022 10:44:19 | 25,200 | 41baf6660d8ed182d75c6f336c2cdc5b9b7151b5 | adding weighted empirical discrete CDF | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/__init__.py",
"new_path": "statsmodels/distributions/__init__.py",
"diff": "from statsmodels.tools._testing import PytestTester\n-from .empirical_distribution import ECDF, monotone_fn_inverter, StepFunction\n+from .empirical_distribut... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | adding weighted empirical discrete CDF |
642,021 | 26.04.2022 20:57:39 | 21,600 | 9593ad8ebcae55e7e712501a56e88a5f547019ab | Updated duration.rst to ipython blocks
This document was using the "code-block" tag instead of the "ipython" tag used elsewhere in the documentation. I think this is the reason the python output isn't seen in this document as it is in others. | [
{
"change_type": "MODIFY",
"old_path": "docs/source/duration.rst",
"new_path": "docs/source/duration.rst",
"diff": "@@ -37,7 +37,7 @@ Here we create a ``SurvfuncRight`` object using data from the\nWe fit the survival distribution only for the female subjects.\n-.. code-block:: python\n+.. ipython:: ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Updated duration.rst to ipython blocks
This document was using the "code-block" tag instead of the "ipython" tag used elsewhere in the documentation. I think this is the reason the python output isn't seen in this document as it is in others. |
642,039 | 30.04.2022 12:03:21 | 25,200 | 5cf28434368dbad94ee253332a70785dcda3be17 | Bug when determine if all rows have same length
Should be the length of each row in all rows (len(row)), but not the number of rows (nrow). | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/table.py",
"new_path": "statsmodels/iolib/table.py",
"diff": "@@ -117,7 +117,7 @@ def csv2st(csvfile, headers=False, stubs=False, title=None):\nstubs = ()\nnrows = len(rows)\nncols = len(rows[0])\n- if any(nrows != ncols for row in rows):\n+ ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Bug when determine if all rows have same length
Should be the length of each row in all rows (len(row)), but not the number of rows (nrow). |
641,896 | 30.04.2022 23:56:18 | -3,600 | d8508da11fcc9d612c2c8a1513ec8d9fd57f05c0 | MAINT: Uperbound on Cython for CI
Ensure Cython < 3 | [
{
"change_type": "MODIFY",
"old_path": "requirements-dev.txt",
"new_path": "requirements-dev.txt",
"diff": "# build\n-cython>=0.29\n+cython>=0.29.28,<3.0.0\nsetuptools_scm[toml]>=6.4.2,<7.0.0\n# run\n"
},
{
"change_type": "MODIFY",
"old_path": "tools/ci/appveyor_conda.bat",
"new_path... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Uperbound on Cython for CI
Ensure Cython < 3 |
641,916 | 30.04.2022 17:19:59 | 21,600 | 3b639c76cbdcdf6ffd461d728ef4db3f2218ea9e | Added figure outputs and flags to duration.rst
Modified the code so all the code output is now displayed. Had to add okwarning and okexcept to the ipython blocks. | [
{
"change_type": "MODIFY",
"old_path": "docs/source/duration.rst",
"new_path": "docs/source/duration.rst",
"diff": "@@ -38,6 +38,7 @@ We fit the survival distribution only for the female subjects.\n.. ipython:: python\n+ :okwarning:\nimport statsmodels.api as sm\n@@ -49,6 +50,7 @@ The main features ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Added figure outputs and flags to duration.rst
Modified the code so all the code output is now displayed. Had to add okwarning and okexcept to the ipython blocks. |
642,021 | 30.04.2022 17:30:30 | 21,600 | b23503c094a505abbd9b483db0046c409a9b4212 | Reset cases of names in duration.rst to upper
Names were accidentally lower cased in previous commit. | [
{
"change_type": "MODIFY",
"old_path": "docs/source/duration.rst",
"new_path": "docs/source/duration.rst",
"diff": "@@ -140,13 +140,13 @@ Here are some of the other testing procedures implemented by survdiff:\n.. ipython:: python\n:okwarning:\n- # fleming-Harrington with p=1, i.e. weight by pooled s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Reset cases of names in duration.rst to upper
Names were accidentally lower cased in previous commit. |
641,930 | 03.05.2022 10:05:35 | 0 | 3647aed926b24aaa8c0083150566728a74b4b921 | fix critical values for hansen test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/diagnostic.py",
"new_path": "statsmodels/stats/diagnostic.py",
"diff": "@@ -1570,7 +1570,7 @@ def breaks_hansen(olsresults):\nf = nobs * (ft[:, :, None] * ft[:, None, :]).sum(0)\ns = (score[:, :, None] * score[:, None, :]).sum(0)\nh = np.trac... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fix critical values for hansen test |
641,827 | 01.05.2022 15:21:30 | 14,400 | 809f4168964fa1fe8eafa3b8730f47ab7187bc1a | BUG: fix wrong standard error of the mean | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/descriptivestats.py",
"new_path": "statsmodels/stats/descriptivestats.py",
"diff": "@@ -384,7 +384,7 @@ class Description:\nmean = df.mean()\nmad = (df - mean).abs().mean()\nstd_err = std.copy()\n- std_err.loc[count > 0] /= count.loc[count > ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix #8227 wrong standard error of the mean |
642,057 | 09.05.2022 16:52:51 | -32,400 | 8f857428e66d834bf285edb96e2ad1c8c228adc6 | MAINT: fix typo comment in tsa_model.py | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/base/tsa_model.py",
"new_path": "statsmodels/tsa/base/tsa_model.py",
"diff": "@@ -147,7 +147,7 @@ def get_index_loc(key, index):\nkey = index[key]\n# Other key types (i.e. string date or some datetime-like object)\nelse:\n- # Covert the key to ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: fix typo comment in tsa_model.py |
641,878 | 17.05.2022 15:11:15 | -7,200 | 5564837235a3b219e54becad3d7622304f26a101 | Update book reference in ETS example
Update link to Ch 8 "Exponential smoothing" in Hyndman & Athanasopoulos forecasting book (3rd ed)
to fix to 404 error | [
{
"change_type": "MODIFY",
"old_path": "examples/notebooks/ets.ipynb",
"new_path": "examples/notebooks/ets.ipynb",
"diff": "\"\\n\",\n\"However, not all of these methods are stable. Refer to [1] and references therein for more info about model stability.\\n\",\n\"\\n\",\n- \"[1] Hyndman, Rob J., and... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Update book reference in ETS example
Update link to Ch 8 "Exponential smoothing" in Hyndman & Athanasopoulos forecasting book (3rd ed)
to fix to 404 error |
641,831 | 30.05.2022 09:51:36 | 14,400 | ef792d562a258f17fe4350a08872bef143042dc5 | BUG: SARIMAX starting variance, long MA short y | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/sarimax.py",
"new_path": "statsmodels/tsa/statespace/sarimax.py",
"diff": "@@ -898,7 +898,7 @@ class SARIMAX(MLEModel):\nparams_ma = params[offset:k_params_ma + offset]\noffset += k_params_ma\nif residuals is not None:\n- if len(resi... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: SARIMAX starting variance, long MA short y |
641,971 | 10.03.2022 12:33:02 | 18,000 | 9e870fb948b012065df0f82ba103ef782abd64cd | ENH: one sample poisson test confint, power | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_rates_poisson.py",
"new_path": "statsmodels/stats/tests/test_rates_poisson.py",
"diff": "@@ -7,7 +7,75 @@ from numpy.testing import assert_allclose, assert_equal\n# we cannot import test_poisson_2indep directly, pytest treats that ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: one sample poisson test confint, power |
641,971 | 12.03.2022 10:12:10 | 18,000 | 8ccebbf4f13ec27d1e5c4a2014974bbc77c3b7e3 | TST: unit test for power functions | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -691,7 +691,7 @@ def _std_2poisson_power(diff, rate2, nobs_ratio=1, alpha=0.05,\nreturn None, np.sqrt(v1), np.sqrt(v1)\n-def power_ppoisson_diff_2indep(diff, rate2, nobs1, nobs_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: unit test for power functions |
641,971 | 12.03.2022 14:53:34 | 18,000 | bff2492b7fae6df486f3b20216b13aa6bd48c656 | BUG/ENH: fix and test one-sided alternative in test_poisson | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -5,7 +5,6 @@ License: BSD-3\n'''\n-\nimport numpy as np\nimport warnings\n@@ -55,14 +54,24 @@ def test_poisson(count, nobs, value, method=None, alternative=\"two-sided\",\npvalu... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/ENH: fix and test one-sided alternative in test_poisson |
641,971 | 13.03.2022 18:02:10 | 14,400 | 7d80665e6c80f0c87cb458d0fbe4f5aa93b880a3 | ENH: add two-sided to power_poisson_2indep | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -659,15 +659,24 @@ def power_poisson_2indep(rate1, nobs1, rate2, nobs2, exposure, value=0,\nlow = value # alias from original equivalence test case\nnobs_ratio = nobs1 / nobs2\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add two-sided to power_poisson_2indep |
641,971 | 18.03.2022 13:14:54 | 14,400 | 5cd1164aba1460d75be6bab5f3b99f5e0542958b | ENH: add diff compare, add confint_poisson_2indep | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -143,7 +143,7 @@ def confint_poisson(count, exposure, method=None, alpha=0.05):\n- \"exact-c\" central confidence interval based on gamma distribution\n- \"score\" : based on sc... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add diff compare, add confint_poisson_2indep |
641,971 | 30.03.2022 10:17:35 | 14,400 | 635ae6abdb609d0ac88b87ce71dcc99b6e82d9d8 | ENH: add poisson etest for diff | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -495,6 +495,8 @@ def test_poisson_2indep(count1, exposure1, count2, exposure2, value=None,\nraise ValueError('method not recognized')\nelif compare == \"diff\":\n+ if value is N... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add poisson etest for diff |
641,971 | 30.03.2022 14:14:19 | 14,400 | 76d4a0c2077241a938d5438f756a880440f187ac | ENH add mover confint, add tolerance interval | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/stats/_inference_tools.py",
"diff": "+\"\"\"\n+Created on Mar 30, 2022 1:21:54 PM\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\"\"\"\n+\n+import numpy as np\n+\n+\n+def _mover_confint(stat1, stat2, ci1, ci2, contrast=\"diff\"):\n+... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH add mover confint, add tolerance interval |
641,971 | 14.04.2022 18:59:43 | 14,400 | 54e6fd07102cd485829f9b011c03203e5251488f | ENH/BUG fix nobs_ratio in power, add more method options | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -533,7 +533,7 @@ def test_poisson_2indep(count1, exposure1, count2, exposure2, value=None,\nratio_null = value\nr = ratio_null\n- r_d = r / d\n+ r_d = r / d # r1 * n1 / (r2 * n2... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/BUG fix nobs_ratio in power, add more method options |
641,971 | 15.04.2022 13:23:21 | 14,400 | 9ada435eb2987e0c2516bcb91f35d9a341c0ce4f | BUG/TST: fix and finish tolerance_int_poisson, confint_quantile_poisson | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_rates_poisson.py",
"new_path": "statsmodels/stats/tests/test_rates_poisson.py",
"diff": "import pytest\nimport warnings\n+import numpy as np\nfrom numpy import arange\nfrom numpy.testing import assert_allclose, assert_equal\n+from ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/TST: fix and finish tolerance_int_poisson, confint_quantile_poisson |
641,971 | 15.04.2022 15:11:08 | 14,400 | 62cfccc39e44f90d79cad2ce3bb325040bb1cdff | CLN/REF: used only latest version of functions, remove older versions | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -541,7 +541,7 @@ def test_poisson_2indep(count1, exposure1, count2, exposure2, value=None,\ncompare : {'diff', 'ratio'}\nIf compare is `diff`, then the confidence interval is fo... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN/REF: used only latest version of functions, remove older versions |
641,971 | 18.04.2022 12:58:13 | 14,400 | cbec6b7ba077704a2d1a995e1d45a9cdb5a3f1aa | ENH/DOC/TST: improve test, confint 2indep, add to rst docs | [
{
"change_type": "MODIFY",
"old_path": "docs/source/stats.rst",
"new_path": "docs/source/stats.rst",
"diff": "@@ -472,12 +472,37 @@ Status: experimental, API might change, added in 0.12\n.. currentmodule:: statsmodels.stats.rates\n+statistical function for one sample\n+\n+.. autosummary::\n+ :toctre... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/DOC/TST: improve test, confint 2indep, add to rst docs |
641,971 | 21.04.2022 15:38:34 | 14,400 | 8a4ba4107bd6df2df9e000d0ccdfa174cce37640 | REF/ENH/TST: ref etest, enh confint 2indep, unit tests, cleanup | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/_inference_tools.py",
"new_path": "statsmodels/stats/_inference_tools.py",
"diff": "@@ -6,6 +6,7 @@ License: BSD-3\n\"\"\"\nimport numpy as np\n+from numpy.testing import assert_allclose\ndef _mover_confint(stat1, stat2, ci1, ci2, contrast=\"... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/ENH/TST: ref etest, enh confint 2indep, unit tests, cleanup |
641,971 | 01.06.2022 14:06:04 | 14,400 | 1e725c6a6b37b372b40bd9f8b6a2ab4ff1b15963 | BUG/ENH: fix waldccv, sqrtcc. add compare to tost_poisson_2indep | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -80,6 +80,11 @@ def test_poisson(count, nobs, value, method=None, alternative=\"two-sided\",\nmsg = \"method needs to be specified, currently no default method\"\nraise ValueErr... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/ENH: fix waldccv, sqrtcc. add compare to tost_poisson_2indep |
641,971 | 25.05.2022 09:39:31 | 14,400 | 7f892bc11a46531b4623a8eabda260670ddf2177 | TST: check results for "methods" are similar (test and confint) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -18,6 +18,33 @@ from statsmodels.stats._inference_tools import _mover_confint\nnorm = stats.norm\n+method_names_poisson_1samp = {\n+ \"test\": [\n+ \"wald\",\n+ \"score\",\n+ \"... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: check results for "methods" are similar (test and confint) |
641,971 | 08.06.2022 11:12:37 | 14,400 | 30622106546fb3fc6ed929ef83d2b12c0afae1b7 | BUG/REF: fix nonequivalence test, test for vectorized hypothesis test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -147,7 +147,7 @@ def test_poisson(count, nobs, value, method=None, alternative=\"two-sided\",\nmsg = 'alternative should be \"two-sided\", \"larger\" or \"smaller\"'\nraise Valu... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/REF: fix nonequivalence test, test for vectorized hypothesis test |
641,854 | 11.06.2022 18:56:12 | -32,400 | c83f10a54fe28d48fdb2496cc4533e067582a468 | ENH: Add method and converged attributes to DiscreteModel. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/discrete_model.py",
"new_path": "statsmodels/discrete/discrete_model.py",
"diff": "@@ -4346,11 +4346,13 @@ class DiscreteResults(base.LikelihoodModelResults):\n#super(DiscreteResults, self).__init__(model, params,\n# np.linalg.inv(-hessian... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Add method and converged attributes to DiscreteModel. |
641,971 | 13.06.2022 13:01:33 | 14,400 | 0a84c018d418b0202b09502db0cceea7a9b268a0 | BUG/ENH bug nobs_ratio in _std_2poisson_power, add options in power_poisson_diff_2indep | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -882,8 +882,8 @@ def _score_diff(y1, n1, y2, n2, value=0, return_cmle=False):\nr2_cmle = 0.5 * (dt + np.sqrt(dt**2 + 4 * value * y2 / (n1 + n2)))\nr1_cmle = r2_cmle + value\neps... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/ENH bug nobs_ratio in _std_2poisson_power, add options in power_poisson_diff_2indep |
641,971 | 14.06.2022 14:58:35 | 14,400 | 482df930bc60b6d97406d173a9b3f7a0d5469c08 | REF: change signature of power functions, refactor args, kwargs | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_rates_poisson.py",
"new_path": "statsmodels/stats/tests/test_rates_poisson.py",
"diff": "@@ -829,13 +829,18 @@ def test_poisson_power_2ratio():\nfor case in cases:\nrate1, nobs1, nobs2, p = case\npow_ = power_equivalence_poisson_2i... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: change signature of power functions, refactor args, kwargs |
641,971 | 15.06.2022 09:31:46 | 14,400 | 432a4dfe7b6115b31fbf3ace5fb94dc7b5ab57ea | REF/DOC: refactor return of power_equivalence, work on docstrings | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_rates_poisson.py",
"new_path": "statsmodels/stats/tests/test_rates_poisson.py",
"diff": "@@ -833,7 +833,7 @@ def test_poisson_power_2ratio():\nnobs_ratio=nobs2 / nobs1,\nexposure=exposure, alpha=alpha,\ndispersion=dispersion)\n- as... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/DOC: refactor return of power_equivalence, work on docstrings |
641,974 | 18.06.2022 23:26:38 | 25,200 | ce88b18eb698f1309cb7e3ef8da5c16b6b68a1c8 | DOC: Update typo fix | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/results/frbny_nowcast/Nowcasting/functions/dfm.m",
"new_path": "statsmodels/tsa/statespace/tests/results/frbny_nowcast/Nowcasting/functions/dfm.m",
"diff": "@@ -313,7 +313,7 @@ num_blocks = size(blocks,2); % Number of blocks\n%... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Update typo fix |
641,971 | 20.06.2022 12:23:56 | 14,400 | e3ac6b23fd91624b21457335099f0604461ace98 | ENH\REF: use asarray closes remove ratio_null except backwards compat | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_rates_poisson.py",
"new_path": "statsmodels/stats/tests/test_rates_poisson.py",
"diff": "@@ -343,23 +343,24 @@ def test_twosample_poisson():\n# I don't know why it's only 2.5 decimal agreement, rounding?\ncount1, n1, count2, n2 = 4... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH\REF: use asarray closes #8313 remove ratio_null except backwards compat |
641,896 | 20.06.2022 23:55:30 | -3,600 | 22dfb3590ea105a148f49af9b5ca10eded83b318 | MAINT: Remove pandas warning from pytest errors | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "@@ -43,7 +43,6 @@ filterwarnings =\nerror:recarray support has been deprecated:FutureWarning\nerror:The value returned will change to a:FutureWarning\nerror:The default value of lags:FutureWarning\n- error::pandas.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Remove pandas warning from pytest errors |
641,896 | 21.06.2022 00:40:04 | -3,600 | 982c5b51639a9ddc37d5aff5b0dc7fc5f8569574 | MAINT: Prevent errors in future SciPy | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/descriptivestats.py",
"new_path": "statsmodels/stats/descriptivestats.py",
"diff": "@@ -392,6 +392,9 @@ class Description:\ndef _mode(ser):\nmode_res = stats.mode(ser.dropna())\n+ # Changes in SciPy 1.10\n+ if np.isscalar(mode_res[0]):\n+ ret... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Prevent errors in future SciPy |
641,971 | 21.06.2022 11:17:46 | 14,400 | 5f12b023bb36c8d49d7184324ec20e6e47e9b7e7 | ENH/DOC missing in stats.api, fix names in stats.rst | [
{
"change_type": "MODIFY",
"old_path": "docs/source/stats.rst",
"new_path": "docs/source/stats.rst",
"diff": "@@ -465,7 +465,8 @@ Rates\nStatistical functions for rates. This currently includes hypothesis tests for\ntwo independent samples.\n-Status: experimental, API might change, added in 0.12\n+S... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/DOC missing in stats.api, fix names in stats.rst |
641,971 | 21.06.2022 13:57:25 | 14,400 | e52086b340850f5b9dfb6a4ae2019543c3623f9e | DOC: correcting and improving docstrings | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -1230,7 +1230,7 @@ def proportions_chisquare_pairscontrol(count, nobs, value=None,\ndef confint_proportions_2indep(count1, nobs1, count2, nobs2, method=None,\ncompare=... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: correcting and improving docstrings |
641,971 | 16.06.2015 23:35:23 | 14,400 | 0a1787e28fb8ba5d1261c49d538c491af9781dde | ENH: new treatment folder, initial script version of treatment effects | [
{
"change_type": "ADD",
"old_path": "statsmodels/treatment/__init__.py",
"new_path": "statsmodels/treatment/__init__.py",
"diff": ""
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/treatment/try_teffects_gmm.py",
"diff": "+# -*- coding: utf-8 -*-\n+\"\"\"Tre... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: new treatment folder, initial script version of treatment effects |
641,971 | 17.06.2015 00:16:53 | 14,400 | 00a9ed1a208cac6d1602eacb314d6b8abb5847c7 | REF: remove module globals from TEGMM2, add code comments | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/treatment/try_teffects_gmm.py",
"new_path": "statsmodels/treatment/try_teffects_gmm.py",
"diff": "@@ -50,7 +50,8 @@ res_logit = sm.Probit.from_formula('mbsmoke_ ~ mmarried_ + mage + mage2 + fbaby_\nprob = res_logit.predict()\n-\n+# the following is... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: remove module globals from TEGMM2, add code comments |
641,971 | 17.06.2015 10:20:36 | 14,400 | 4146175867d8ae7b3102161dded33614dfe6c414 | REF: partial cleanup for consistency and privatizing experimental _TEGMM | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/treatment/try_teffects_gmm.py",
"new_path": "statsmodels/treatment/try_teffects_gmm.py",
"diff": "@@ -28,7 +28,7 @@ could be loaded with webuse\nimport numpy as np\nimport pandas as pd\n-import statsmodels.iolib.foreign as smio\n+#import statsmodel... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: partial cleanup for consistency and privatizing experimental _TEGMM |
641,971 | 17.06.2015 11:07:31 | 14,400 | 38220dfbfdd70a2daf3e8ccca50f78e134cc6fb7 | TST: unit (regression) tests, in preparation of refactoring | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/treatment/try_teffects_gmm.py",
"new_path": "statsmodels/treatment/try_teffects_gmm.py",
"diff": "@@ -416,3 +416,33 @@ res_all_values = np.array([[ -230.68859809, 3403.46265758, 3172.77405949],\nfrom numpy.testing import assert_allclose\nassert_all... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: unit (regression) tests, in preparation of refactoring |
641,971 | 17.06.2015 14:13:30 | 14,400 | 318eb2810e5d7f1f2377d9564f7530b07aa08b8c | ENH add TEGMMGeneric1 generic GMM, 2 types of moms, regression tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/treatment/try_teffects_gmm.py",
"new_path": "statsmodels/treatment/try_teffects_gmm.py",
"diff": "@@ -121,6 +121,79 @@ def mom(params):\nfrom statsmodels.sandbox.regression.gmm import GMM\n+\n+class TEGMMGeneric1(GMM):\n+ \"\"\"GMM class to get cov... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH add TEGMMGeneric1 generic GMM, 2 types of moms, regression tests |
641,971 | 17.06.2015 23:26:54 | 14,400 | d6a61b1cd8d8eaffcfb1bb2bf0db4c994ca57232 | CLN: move example code out of script/module | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/examples/ex_treatment_effects.py",
"diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Wed Jun 17 23:19:45 2015\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\"\"\"\n+\n+\n+\n+# not used here\n+#dta_spm = smio.genfromdta(r\"M:\\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: move example code out of script/module |
641,971 | 17.06.2015 23:37:45 | 14,400 | 447bd3f590650adcf0f9911cee6769bc20191876 | REF/BUG: fix after move, fix/remove usage of module globals | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/examples/ex_treatment_effects.py",
"new_path": "statsmodels/examples/ex_treatment_effects.py",
"diff": "@@ -6,7 +6,14 @@ Author: Josef Perktold\nLicense: BSD-3\n\"\"\"\n-\n+import numpy as np\n+import pandas as pd\n+#import statsmodels.iolib.foreig... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/BUG: fix after move, fix/remove usage of module globals |
641,971 | 17.06.2015 23:58:39 | 14,400 | a763b0544ea9e130405af68248c19cbcc7dddfca | DOC: partial docstrings | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/treatment/treatment_effects.py",
"new_path": "statsmodels/treatment/treatment_effects.py",
"diff": "@@ -33,6 +33,11 @@ import statsmodels.api as sm\ndef mom_ate(te, endog, tind, prob, weighted=True):\n+ \"\"\"moment condition for average treatment ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: partial docstrings |
641,971 | 01.02.2022 15:53:03 | 18,000 | fd817cc27728c4c2d94e1a9a05a8da2508ee3b0a | BUG/REF: bug in ipwra method, use HC0 to match GMM and Stata | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/treatment/treatment_effects.py",
"new_path": "statsmodels/treatment/treatment_effects.py",
"diff": "@@ -194,7 +194,7 @@ class TEGMM(GMM):\ntind = self.res_select.model.endog\nprob = self.res_select.model.predict(p_tm)\n- momt = self.mom_outcome(tm,... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/REF: bug in ipwra method, use HC0 to match GMM and Stata |
641,971 | 02.02.2022 12:46:18 | 18,000 | 9c20978c09a4a872a24c87a6814a09b5359f9425 | STY: pep-8 (mainly whitespace and line breaks) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/treatment/treatment_effects.py",
"new_path": "statsmodels/treatment/treatment_effects.py",
"diff": "# -*- coding: utf-8 -*-\n-\"\"\"Treatment effect estimators, follows largely Stata's teffects in Stata 13 manual\n+\"\"\"Treatment effect estimators... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | STY: pep-8 (mainly whitespace and line breaks) |
641,971 | 05.02.2022 10:14:13 | 18,000 | 4ad3c72f202f57ad04b5c05a50f82542b25c3da2 | ENH: add TreatmentEffect.ipw with GMM results | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/treatment/tests/test_teffects.py",
"new_path": "statsmodels/treatment/tests/test_teffects.py",
"diff": "@@ -32,7 +32,7 @@ res_probit = Probit.from_formula(formula, dta_cat).fit()\nmethods = [\n(\"ra\", res_st.results_ra),\n- # (\"ipw\", res_st.resu... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add TreatmentEffect.ipw with GMM results |
641,971 | 05.02.2022 12:54:11 | 18,000 | 16151785f9855ce3e68bed72ef626ba5f482d8b1 | CLN: remove example file | [
{
"change_type": "DELETE",
"old_path": "statsmodels/examples/ex_treatment_effects.py",
"new_path": null,
"diff": "-# -*- coding: utf-8 -*-\n-\"\"\"\n-Created on Wed Jun 17 23:19:45 2015\n-\n-Author: Josef Perktold\n-License: BSD-3\n-\"\"\"\n-\n-import numpy as np\n-import pandas as pd\n-#import stat... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: remove example file |
641,971 | 05.02.2022 13:46:13 | 18,000 | d94c5645120a8136e9a484e631941af29275c89c | ENH: add GMM for aipw, loosen test tol | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/treatment/tests/test_teffects.py",
"new_path": "statsmodels/treatment/tests/test_teffects.py",
"diff": "@@ -61,11 +61,11 @@ class TestTEffects():\nres1 = np.asarray(res1).squeeze()\nassert_allclose(res1[:2], res2.table[:2, 0], rtol=1e-4)\n- if meth... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add GMM for aipw, loosen test tol |
641,971 | 05.02.2022 15:11:16 | 18,000 | 4022bcfa1146491a83238519aaaf929d8674bfec | ENH: add GMM to remaining TreatmentEffect methods | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/treatment/tests/test_teffects.py",
"new_path": "statsmodels/treatment/tests/test_teffects.py",
"diff": "@@ -61,17 +61,32 @@ class TestTEffects():\nres1 = np.asarray(res1).squeeze()\nassert_allclose(res1[:2], res2.table[:2, 0], rtol=1e-4)\n- if meth... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add GMM to remaining TreatmentEffect methods |
641,971 | 07.02.2022 16:54:18 | 18,000 | b0d1fd0ef7a5da9244d57ab1792d73848bac8123 | REF: return contrast restults, renamings, API cleanup | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/contrast.py",
"new_path": "statsmodels/stats/contrast.py",
"diff": "@@ -62,6 +62,10 @@ class ContrastResults:\n# should we return python scalar?\nself.pvalue = np.squeeze(self.pvalue)\n+ if self.effect is not None:\n+ self.c_names = ['c%d' % ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: return contrast restults, renamings, API cleanup |
641,971 | 08.02.2022 12:07:20 | 18,000 | 0e8d80a99211a59ae147b8df55b7f6799221c15b | REF: renamings/privatize, some code cleanup | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/treatment/treatment_effects.py",
"new_path": "statsmodels/treatment/treatment_effects.py",
"diff": "@@ -36,26 +36,27 @@ from statsmodels.sandbox.regression.gmm import GMM\nfrom statsmodels.stats.contrast import ContrastResults\n-def mom_ate(te, end... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: renamings/privatize, some code cleanup |
641,971 | 10.02.2022 15:09:09 | 18,000 | c712c38857ba139b7019cc3ad02ec064e91bc8a2 | ENH/REF: add effects ATT POMT on the treated, more cleanup refactoring | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/treatment/tests/results/results_teffects.py",
"new_path": "statsmodels/treatment/tests/results/results_teffects.py",
"diff": "@@ -9,6 +9,7 @@ class Bunch(dict):\ndict.__init__(self, kw)\nself.__dict__ = self\n+\ntable = np.array([\n-239.63921146434... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/REF: add effects ATT POMT on the treated, more cleanup refactoring |
641,971 | 13.02.2022 14:42:28 | 18,000 | 05356203fb2f584b30c2a3866c5d4630bcc855e6 | REF/DOC: refactor RA to more generic computation, docstrings | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/treatment/tests/test_teffects.py",
"new_path": "statsmodels/treatment/tests/test_teffects.py",
"diff": "@@ -60,8 +60,12 @@ class TestTEffects():\nres1 = getattr(teff, meth)(return_results=False)\nassert_allclose(res1[:2], res2.table[:2, 0], rtol=1e... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/DOC: refactor RA to more generic computation, docstrings |
641,971 | 21.06.2022 21:17:27 | 14,400 | 7eeb4cb7feafc7bbf35a01d73310cf6f6e2f0192 | DOC: add treatment to rst docs | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/source/treatment.rst",
"diff": "+\n+.. module:: statsmodels.treatment\n+.. currentmodule:: statsmodels.treatment\n+ :synopsis: Treatment Effect\n+\n+\n+.. _othermod:\n+\n+\n+Treatment Effects :mod:`treatment`\n+=============================... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: add treatment to rst docs |
641,971 | 29.06.2022 14:25:40 | 14,400 | 889623d94ddb3f001e76086a6715f891ddf41529 | BUG/ENH: fix max in tost_proportions_2indep see now also vectorized | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/nonparametric.py",
"new_path": "statsmodels/stats/nonparametric.py",
"diff": "@@ -220,7 +220,7 @@ class RankCompareResult(HolderTuple):\nt1 = self.test_prob_superior(low, alternative='larger')\nt2 = self.test_prob_superior(upp, alternative='s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/ENH: fix max in tost_proportions_2indep see #8213, now also vectorized |
641,971 | 29.06.2022 15:27:27 | 14,400 | 97f213ece1e4959d79e851faa66ecb369d19ad4d | ENH: vectorize tost_poisson_2indep | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -1152,9 +1152,13 @@ def tost_poisson_2indep(count1, exposure1, count2, exposure2, low, upp,\ncompare=compare,\nalternative='smaller')\n- idx_max = 0 if tt1.pvalue > tt2.pvalue e... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: vectorize tost_poisson_2indep |
642,050 | 06.07.2022 17:48:09 | 14,400 | c1bb69c740adcd17244726e6b1fede3f80f7c2b6 | BUG: Corrected implementation of auto_lag in acorr_ljungbox | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/diagnostic.py",
"new_path": "statsmodels/stats/diagnostic.py",
"diff": "@@ -399,23 +399,6 @@ def acorr_ljungbox(x, lags=None, boxpierce=False, model_df=0, period=None,\nlb_stat lb_pvalue\n10 214.106992 1.827374e-40\n\"\"\"\n- def get_optimal_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Corrected implementation of auto_lag in acorr_ljungbox |
642,050 | 06.07.2022 21:08:41 | 14,400 | f3460f7017ed20fa1dd4fc6b5f20c546079cd2d5 | Update test_diagnostic.py
Added stand-alone test for auto_lag selection of white-noise process | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_diagnostic.py",
"new_path": "statsmodels/stats/tests/test_diagnostic.py",
"diff": "@@ -1714,6 +1714,12 @@ def test_ljungbox_auto_lag_selection():\nassert np.all(res2.iloc[4:, 1] <= res1.iloc[4:, 1])\n+def test_ljungbox_auto_lag_whi... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Update test_diagnostic.py
Added stand-alone test for auto_lag selection of white-noise process |
642,050 | 06.07.2022 21:18:59 | 14,400 | 6c2c917c9e93376cdc4afb2c198fe593ae70e44a | Update test_diagnostic.py with TODO marker | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_diagnostic.py",
"new_path": "statsmodels/stats/tests/test_diagnostic.py",
"diff": "@@ -1708,6 +1708,7 @@ def test_ljungbox_auto_lag_selection():\nres1 = smsdia.acorr_ljungbox(resid, auto_lag=True)\nres2 = smsdia.acorr_ljungbox(resi... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Update test_diagnostic.py with TODO marker |
642,050 | 07.07.2022 10:53:12 | 14,400 | 53aa654c2728ce0aad52df764a191f303f3f834f | Added space after comment marker | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_diagnostic.py",
"new_path": "statsmodels/stats/tests/test_diagnostic.py",
"diff": "@@ -1718,7 +1718,7 @@ def test_ljungbox_auto_lag_selection():\ndef test_ljungbox_auto_lag_whitenoise():\ndata = np.random.rand(1000) # white noise p... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Added space after comment marker |
641,984 | 13.07.2022 17:08:46 | -28,800 | 51f43037393f9ad3af217101cd6688ee9f856c8f | BUG: Fix when exog is Series and its name have multiple chars | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/x13.py",
"new_path": "statsmodels/tsa/x13.py",
"diff": "@@ -140,7 +140,7 @@ def _make_automdl_options(maxorder, maxdiff, diff):\ndef _make_var_names(exog):\nif hasattr(exog, \"name\"):\n- var_names = exog.name\n+ var_names = [exog.name]\nelif h... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Fix when exog is Series and its name have multiple chars |
641,984 | 13.07.2022 18:11:09 | -28,800 | 9896f76dba2df167b4f262070137fc266e79f560 | BUG: Fix when exog is Series and its name have multiple chars; add test | [
{
"change_type": "DELETE",
"old_path": "statsmodels/tests/test_package.py",
"new_path": null,
"diff": "-import subprocess\n-import sys\n-\n-\n-def test_lazy_imports():\n- # Check that when statsmodels.api is imported, matplotlib is _not_ imported\n- cmd = (\"import statsmodels.api as sm; \"\n- \"imp... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Fix when exog is Series and its name have multiple chars; add test |
642,050 | 20.07.2022 18:08:42 | 14,400 | d15ac7946701ee0f5dbf40a52ea501472e983c32 | Fixed more PEP8 concerns | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/diagnostic.py",
"new_path": "statsmodels/stats/diagnostic.py",
"diff": "@@ -416,8 +416,10 @@ def acorr_ljungbox(x, lags=None, boxpierce=False, model_df=0, period=None,\nsacf = acf(x, nlags=maxlag, fft=False)\nif not boxpierce:\n- q_sacf = (no... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Fixed more PEP8 concerns |
642,050 | 20.07.2022 18:17:57 | 14,400 | b0a37158b7b283ccbb546d6518d9767de982b228 | Auto_lag tests in test_diagnostic.py updated
Added reset_randomstate to test functions. Changed white-noise process generation to randn from rand. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_diagnostic.py",
"new_path": "statsmodels/stats/tests/test_diagnostic.py",
"diff": "@@ -1701,7 +1701,7 @@ def test_ljungbox_dof_adj():\nassert np.all(res2.iloc[4:, 1] <= res1.iloc[4:, 1])\n-def test_ljungbox_auto_lag_selection():\n+... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Auto_lag tests in test_diagnostic.py updated
Added reset_randomstate to test functions. Changed white-noise process generation to randn from rand. |
642,050 | 21.07.2022 18:01:57 | 14,400 | ea2fa850d54d142bc0fa2cdbbaa656f3e45a284f | More PEP fixes
E128 in diagnostic.py, and W291 in test_diagnostic.py | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/diagnostic.py",
"new_path": "statsmodels/stats/diagnostic.py",
"diff": "@@ -418,8 +418,7 @@ def acorr_ljungbox(x, lags=None, boxpierce=False, model_df=0, period=None,\nif not boxpierce:\nq_sacf = (\nnobs * (nobs + 2) * np.cumsum(sacf[1:maxlag... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | More PEP fixes
E128 in diagnostic.py, and W291 in test_diagnostic.py |
642,050 | 22.07.2022 09:08:37 | 14,400 | 0dd88024badd563190f8000f06ec003506215df2 | Yet another PEP 8 clean-up | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/diagnostic.py",
"new_path": "statsmodels/stats/diagnostic.py",
"diff": "@@ -416,8 +416,8 @@ def acorr_ljungbox(x, lags=None, boxpierce=False, model_df=0, period=None,\nsacf = acf(x, nlags=maxlag, fft=False)\nif not boxpierce:\n- q_sacf = (\n-... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Yet another PEP 8 clean-up |
641,831 | 01.08.2022 01:36:12 | 14,400 | 3795159f11e202deb54c6f3192c11df6ef40bc17 | STY: fix style issues | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/kalman_filter.py",
"new_path": "statsmodels/tsa/statespace/kalman_filter.py",
"diff": "@@ -1144,8 +1144,8 @@ class KalmanFilter(Representation):\nIf `initial_state` is provided, this flag indicates whether it\nshould be directly used... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | STY: fix style issues |
641,831 | 01.08.2022 22:01:40 | 14,400 | a5caa8e50d6d3b86c280e6f75bdfb2d87db24938 | BUG: ETS loglike indexing bug when y_hat == 0 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -1165,7 +1165,7 @@ class ETSModel(base.StateSpaceMLEModel):\n# parameterizations, we clip negative values to very small positive\n# values so... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: ETS loglike indexing bug when y_hat == 0 |
641,981 | 10.08.2022 23:52:22 | -7,200 | 6571a441cda0ef4d354e135e8e991862bdae1fdf | Decreased max line length to 79 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tools.py",
"new_path": "statsmodels/tsa/statespace/tools.py",
"diff": "@@ -1864,9 +1864,10 @@ def prepare_trend_spec(trend):\npolynomial_trend = (trend > 0).astype(int)\nelse:\nraise ValueError(\n- \"Valid trend inputs are 'c' (const... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Decreased max line length to 79 |
641,981 | 11.08.2022 11:44:22 | -7,200 | eb8c8e624344360dc1df350ee2cd060ad6c0e2b7 | Added single ticks around polynomial expression | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tools.py",
"new_path": "statsmodels/tsa/statespace/tools.py",
"diff": "@@ -1866,8 +1866,8 @@ def prepare_trend_spec(trend):\nraise ValueError(\n\"Valid trend inputs are 'c' (constant), 't' (linear trend in \"\n\"time), 'ct' (both), '... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Added single ticks around polynomial expression |
641,959 | 14.08.2022 12:49:05 | 25,200 | d43ec4fdf07baf1d40ca93c0146d9d0b6da2adc2 | ENH: adds default alpha param warning in NegativeBinomial | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/families/family.py",
"new_path": "statsmodels/genmod/families/family.py",
"diff": "@@ -8,6 +8,7 @@ The one parameter exponential family distributions used by GLM.\nimport inspect\n+import warnings\nimport numpy as np\nfrom scipy import speci... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: adds default alpha param warning in NegativeBinomial |
641,959 | 14.08.2022 14:32:20 | 25,200 | 035f4cd30a283567bd08cbb3372956626b6ef102 | TST: checks warning if negbin alpha param not passed | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_discrete.py",
"new_path": "statsmodels/discrete/tests/test_discrete.py",
"diff": "@@ -1636,6 +1636,22 @@ def test_issue_341():\nnp.testing.assert_equal(res1.predict(x[None]).shape, (1,7))\n+def test_negative_binomial_default_alp... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: checks warning if negbin alpha param not passed |
641,842 | 15.08.2022 14:55:47 | 14,400 | 13ceb0faba169a8dab061d3d801fbb3dee5f0654 | Faster whitening matrix calculation for sm.GLS()
Implements the enhancements described in | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/linear_model.py",
"new_path": "statsmodels/regression/linear_model.py",
"diff": "@@ -40,7 +40,8 @@ import warnings\nimport numpy as np\nfrom scipy import optimize, stats\n-from scipy.linalg import toeplitz\n+from scipy.linalg import chol... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Faster whitening matrix calculation for sm.GLS()
Implements the enhancements described in https://github.com/statsmodels/statsmodels/issues/8372 |
641,842 | 16.08.2022 05:37:54 | 14,400 | 5d9aae4592ee1036d13cf970d72e2f484411989d | ENH: faster whitening matrix calculation for sm.GLS()
Added more informative error message and fixed PEP 8 violation | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/linear_model.py",
"new_path": "statsmodels/regression/linear_model.py",
"diff": "@@ -182,7 +182,8 @@ def _get_sigma(sigma, nobs):\ncholsigmainv, info = dtrtri(cholesky(sigma, lower=True),\nlower=True, overwrite_c=True)\nif info > 0:\n- r... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: faster whitening matrix calculation for sm.GLS()
Added more informative error message and fixed PEP 8 violation |
642,043 | 08.09.2022 16:48:55 | 25,200 | 2759f851ea13fcd96a83a37ba1abb2164828c033 | Add missing ret val to aggregate_raters docstring | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/inter_rater.py",
"new_path": "statsmodels/stats/inter_rater.py",
"diff": "@@ -109,7 +109,8 @@ def aggregate_raters(data, n_cat=None):\narr : nd_array, (n_rows, n_cat)\nContains counts of raters that assigned a category level to individuals.\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Add missing ret val to aggregate_raters docstring |
642,043 | 08.09.2022 17:00:41 | 25,200 | 1af3a7de0b3042edc817bff24840862a88daa57b | Update inter-rater tests to unpack agg raters ret | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_inter_rater.py",
"new_path": "statsmodels/stats/tests/test_inter_rater.py",
"diff": "@@ -319,7 +319,7 @@ def test_fleiss_kappa_irr():\nfleiss.stat_name = 'z'\nfleiss.statistic = 17.65183\nfleiss.p_value = 0\n- data_ = aggregate_rat... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Update inter-rater tests to unpack agg raters ret |
642,043 | 09.09.2022 08:35:14 | 25,200 | fa5e717a23ec47df13e4b5107d794380ba0e337c | Fix categories ret val array size doc | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/inter_rater.py",
"new_path": "statsmodels/stats/inter_rater.py",
"diff": "@@ -109,7 +109,7 @@ def aggregate_raters(data, n_cat=None):\narr : nd_array, (n_rows, n_cat)\nContains counts of raters that assigned a category level to individuals.\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Fix categories ret val array size doc |
642,079 | 21.09.2022 17:51:07 | 25,200 | 1c6be5f0581061391bc8592de17ad57a90c0a94f | Corrected the docstring of normal_sample_size_one_tail() | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/power.py",
"new_path": "statsmodels/stats/power.py",
"diff": "@@ -181,8 +181,10 @@ def normal_sample_size_one_tail(diff, power, alpha, std_null=1.,\n----------\ndiff : float\ndifference in the estimated means or statistics under the alternati... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Corrected the docstring of normal_sample_size_one_tail() |
641,971 | 06.10.2022 10:47:51 | 14,400 | 17ee55dfe8a331ae65d0bc4a278d971ad2504a63 | BUG: alpha in RankCompareResult summary | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/nonparametric.py",
"new_path": "statsmodels/stats/nonparametric.py",
"diff": "@@ -157,7 +157,6 @@ class RankCompareResult(HolderTuple):\n# TODO: use var_prob\nstd_diff = np.sqrt(self.var / self.nobs)\n- # TODO: return HolderTuple\n# correspon... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: alpha in RankCompareResult summary |
641,971 | 06.10.2022 10:48:24 | 14,400 | e7593c5ee060dec2425caed99fcdcf3312d25537 | DOC: add notebook for rank_compare, brunner-munzel | [
{
"change_type": "ADD",
"old_path": "docs/source/_static/images/rank_compare.png",
"new_path": "docs/source/_static/images/rank_compare.png",
"diff": "Binary files /dev/null and b/docs/source/_static/images/rank_compare.png differ\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/source... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: add notebook for rank_compare, brunner-munzel |
641,971 | 27.09.2022 14:46:28 | 14,400 | 53b9ccb405927026b7e420489fe01fcb012836dc | DOC: add notebook for Poisson post-estimation overview | [
{
"change_type": "ADD",
"old_path": "docs/source/_static/images/post_estimation.png",
"new_path": "docs/source/_static/images/post_estimation.png",
"diff": "Binary files /dev/null and b/docs/source/_static/images/post_estimation.png differ\n"
},
{
"change_type": "MODIFY",
"old_path": "do... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: add notebook for Poisson post-estimation overview |
641,971 | 30.09.2022 14:27:01 | 14,400 | c2566fea8b13906f389383f5d235885b817715b9 | DOC: add notebook for hurdle count model, fix in docstring | [
{
"change_type": "ADD",
"old_path": "docs/source/_static/images/count_hurdle.png",
"new_path": "docs/source/_static/images/count_hurdle.png",
"diff": "Binary files /dev/null and b/docs/source/_static/images/count_hurdle.png differ\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/source... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: add notebook for hurdle count model, fix in docstring |
641,971 | 10.10.2022 14:53:41 | 14,400 | 7dfa140906e3e36409c1a7da1ee7607ca9b207d8 | DOC: add hurdel and truncated models to rst docs | [
{
"change_type": "MODIFY",
"old_path": "docs/source/discretemod.rst",
"new_path": "docs/source/discretemod.rst",
"diff": "@@ -93,6 +93,16 @@ The specific model classes are:\nZeroInflatedNegativeBinomialP\nZeroInflatedGeneralizedPoisson\n+.. currentmodule:: statsmodels.discrete.truncated_model\n+.. m... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: add hurdel and truncated models to rst docs |
641,971 | 10.10.2022 16:19:24 | 14,400 | 3a329cc70166fd1134e7467f7ea4ee403c9af602 | Maint: use pandas loc in contrasts notebook and contrasts.rst | [
{
"change_type": "MODIFY",
"old_path": "docs/source/contrasts.rst",
"new_path": "docs/source/contrasts.rst",
"diff": "@@ -139,8 +139,8 @@ For example, here the coefficient on level 1 is the mean of `write` at level 2 c\n.. ipython:: python\nres.params[\"C(race, Diff)[D.1]\"]\n- hsb2.groupby('race').... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Maint: use pandas loc in contrasts notebook and contrasts.rst |
641,896 | 11.10.2022 00:30:45 | -3,600 | eea798089113a0d3f2e84ecb24549189c4aa4f90 | MAINT: Fix future warnings | [
{
"change_type": "MODIFY",
"old_path": "pyproject.toml",
"new_path": "pyproject.toml",
"diff": "@@ -7,7 +7,8 @@ requires = [\n\"cython>=0.29.26,<3\", # Sync with CYTHON_MIN_VER in setup\n\"oldest-supported-numpy\",\n\"numpy; python_version>='3.11'\",\n- \"scipy>=1.4\",\n+ \"scipy>=1.4,!=1.9.2\",\n+ ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Fix future warnings |
641,971 | 26.09.2022 14:42:11 | 14,400 | 79af41befd6ec84eb3058e8c9dda6fece06f6d37 | DOC: add notebook for treatment effect | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/notebooks/treatment_effect.ipynb",
"diff": "+{\n+ \"cells\": [\n+ {\n+ \"cell_type\": \"markdown\",\n+ \"id\": \"funded-italic\",\n+ \"metadata\": {},\n+ \"source\": [\n+ \"## Treatment effects under conditional independence\\n\",\n+ \"... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: add notebook for treatment effect |
641,971 | 11.10.2022 11:07:55 | 14,400 | bf98b918efe0eb1001d212f21b107021aa110956 | DOC: add notebook to examples list | [
{
"change_type": "ADD",
"old_path": "docs/source/_static/images/treatment_effect.png",
"new_path": "docs/source/_static/images/treatment_effect.png",
"diff": "Binary files /dev/null and b/docs/source/_static/images/treatment_effect.png differ\n"
},
{
"change_type": "MODIFY",
"old_path": ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: add notebook to examples list |
641,971 | 19.09.2022 14:31:02 | 14,400 | 35d06f7484a52bc64fd79a0634ffbd2bd992ff90 | DOC: add notebook for stats poisson rates | [
{
"change_type": "ADD",
"old_path": "docs/source/_static/images/stats_poisson.png",
"new_path": "docs/source/_static/images/stats_poisson.png",
"diff": "Binary files /dev/null and b/docs/source/_static/images/stats_poisson.png differ\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/sou... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: add notebook for stats poisson rates |
641,896 | 24.10.2022 00:19:41 | -3,600 | a8616cc50f5018bdbb3700d5c26948e7986d158d | Restore setuptools-scm | [
{
"change_type": "MODIFY",
"old_path": "pyproject.toml",
"new_path": "pyproject.toml",
"diff": "@@ -10,7 +10,7 @@ requires = [\n\"numpy==1.22.3; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'\",\n\"numpy; python_version>='3.11'\",\n\"scipy>=1.4\",\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Restore setuptools-scm |
641,896 | 24.10.2022 00:48:12 | -3,600 | 38215fcb462598a3d60eeebdf30b5e7568d5c973 | Restore setuptools_scm verion bump | [
{
"change_type": "MODIFY",
"old_path": "pyproject.toml",
"new_path": "pyproject.toml",
"diff": "@@ -10,7 +10,7 @@ requires = [\n\"numpy==1.22.3; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'\",\n\"numpy; python_version>='3.11'\",\n\"scipy>=1.4\",\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Restore setuptools_scm verion bump |
641,896 | 24.10.2022 23:03:56 | -3,600 | b7c2d286f1799054f4848a880ff2382730feefc5 | MAINT: Refactor doc build | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/generate-documentation.yml",
"new_path": ".github/workflows/generate-documentation.yml",
"diff": "@@ -61,9 +61,10 @@ jobs:\npython -m pip install --upgrade pip wheel setuptools\npython -m pip install -r requirements.txt\npython -m pip install... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Refactor doc build |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.