author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
641,971 | 03.08.2018 11:11:20 | 14,400 | b61e7f158a95123e3e64b45fc0c63c8af817c812 | ENH: add confint_proportion_2indep initial version | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -6,6 +6,7 @@ Created on Fri Mar 01 00:23:07 2013\nAuthor: Josef Perktold\nLicense: BSD-3\n\"\"\"\n+\nfrom statsmodels.compat.python import lzip\nimport numpy as np\nfr... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add confint_proportion_2indep initial version |
641,971 | 03.08.2018 11:58:18 | 14,400 | a60d5cea2d618a691e3edfd2ecbfc921de2d7b35 | ENH: add score_test_proportion_2samp, not verified yet | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -1180,3 +1180,89 @@ def shrink_prob(count1, nobs1, count2, nobs2, shrink_factor=2, return_corr=True)\nelse:\nreturn (count1 + corr[0,0], nobs1 + corr[0].sum(),\ncount2... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add score_test_proportion_2samp, not verified yet |
641,971 | 03.08.2018 16:30:25 | 14,400 | c25203fb7a7585340f86d912d47db03f429153a0 | ENH: add draft versions of risk ratio confint (Koopman) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -1266,3 +1266,93 @@ def score_test_proportion_2samp(count1, nobs1, count2, nobs2, value=None,\n# TODO: what do we return, result class ?\nreturn statistic, pvalue, (pr... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add draft versions of risk ratio confint (Koopman) |
641,971 | 03.08.2018 17:33:26 | 14,400 | 91a8fd2e95782fe05e48caed3cd50bc0d3ec2b02 | ENH: draft for test_proportions_2indep in analogy to confint_proportion_2indep | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -1268,6 +1268,128 @@ def score_test_proportion_2samp(count1, nobs1, count2, nobs2, value=None,\nreturn statistic, pvalue, (prop1, prop0)\n+def test_proportions_2indep(... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: draft for test_proportions_2indep in analogy to confint_proportion_2indep |
641,971 | 04.08.2018 09:22:44 | 14,400 | 1588150c888b96d461aac0c8a2c8d67e0b38438f | ENH/DOC/CLN: add score test, alternative to test_proportions_2indep, some cleanup | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -14,6 +14,7 @@ from sys import float_info\nfrom statsmodels.stats.base import AllPairsResults\nfrom statsmodels.tools.sm_exceptions import HypothesisTestWarning\n+from... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/DOC/CLN: add score test, alternative to test_proportions_2indep, some cleanup |
641,971 | 14.08.2018 18:49:40 | 14,400 | 0a0e19d2b60b1569857cd611c896cf7badd92ba8 | BUG: fix log and value in test_proportions_2indep | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -1364,7 +1364,8 @@ def test_proportions_2indep(count1, nobs1, count2, nobs2, value=None,\nmethod = 'agresti-caffo'\nif value is None:\n- value = 0 if compare == 'diff'... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix log and value in test_proportions_2indep |
641,971 | 15.08.2018 11:25:49 | 14,400 | cde5cddd0aec23523a4ec1e70a4c286f29425135 | ENH: normal power with 2 variances, special functions for two prop. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/power.py",
"new_path": "statsmodels/stats/power.py",
"diff": "@@ -70,9 +70,27 @@ def ttest_power(effect_size, nobs, alpha, df=None, alternative='two-sided'):\nreturn pow_\ndef normal_power(effect_size, nobs, alpha, alternative='two-sided', si... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: normal power with 2 variances, special functions for two prop. |
641,971 | 15.08.2018 12:36:26 | 14,400 | 41b1f3a8060c187aece306820ecbe6a15fdbca63 | ENH/REF: score_test_proportion_2indep handle equality as special case | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -1226,14 +1226,20 @@ def shrink_prob(count1, nobs1, count2, nobs2, shrink_factor=2, return_corr=True)\ndef score_test_proportion_2indep(count1, nobs1, count2, nobs2, v... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/REF: score_test_proportion_2indep handle equality as special case |
641,971 | 15.08.2018 20:35:07 | 14,400 | 34c35ecfd450029a412adcc38a43bc1f3c62c2de | ENH: MN `correction` in more score_tests, confints; more docstrings | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -1064,7 +1064,7 @@ def proportions_chisquare_pairscontrol(count, nobs, value=None,\ndef confint_proportion_2indep(count1, nobs1, count2, nobs2, method=None,\n- compare... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: MN `correction` in more score_tests, confints; more docstrings |
641,971 | 20.08.2018 09:15:59 | 14,400 | 45271aec994466b716a01be947921002b8c1095c | REF: return results (Holder) instances by default | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -915,6 +915,7 @@ def proportions_ztost(count, nobs, low, upp, prop_var='sample'):\nprop_var=prop_var_upp, value=upp)\nreturn np.maximum(tt1[1], tt2[1]), tt1, tt2,\n+\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: return results (Holder) instances by default |
641,971 | 01.05.2020 11:15:59 | 14,400 | 42f3d0754fb25d4fb8fbe3ac4792b0de723747be | CLN: some pep-8 on new code | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -1158,7 +1158,7 @@ def confint_proportion_2indep(count1, nobs1, count2, nobs2, method=None,\nraise ValueError('method not recognized')\nelif compare == 'ratio':\n- rat... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: some pep-8 on new code |
641,971 | 01.05.2020 18:13:28 | 14,400 | 697be124e2e2445971a804578fd2e0bb8ed21319 | ENH: add score_confint_inversion | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -1089,8 +1089,8 @@ def confint_proportion_2indep(count1, nobs1, count2, nobs2, method=None,\n- 'log-adjusted' (default)\nodds-ratio:\n- - 'logistic'\n- - 'logistic-adj... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add score_confint_inversion |
641,971 | 02.05.2020 20:10:26 | 14,400 | 40cb205a86c0a1fa6a3c72f053c7999b23b2580c | ENH/TST: add TOST function, confint unit tests vs PropCIs package | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -1658,6 +1658,7 @@ def test_proportions_2indep(count1, nobs1, count2, nobs2, value=None,\nodds_ratio=odds_ratio,\nvariance=var,\nalternative=alternative,\n+ value=valu... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/TST: add TOST function, confint unit tests vs PropCIs package |
641,971 | 03.05.2020 09:53:46 | 14,400 | a94c39544a547a1a7a90736cabb5b0e47881c0d5 | REF: rename proportion_2indep -> proportions_2indep | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -1063,7 +1063,7 @@ def proportions_chisquare_pairscontrol(count, nobs, value=None,\nreturn AllPairsResults(pvals, all_pairs, multitest_method=multitest_method)\n-def c... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: rename proportion_2indep -> proportions_2indep |
641,971 | 03.05.2020 19:48:35 | 14,400 | ab0505304380e3ec1d04d0b056e8ae803c90a5a7 | REF/DOC/CLN: use HolderTuple for hypo test, work on docstrings, pep-8 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -15,11 +15,8 @@ from sys import float_info\nfrom statsmodels.stats.base import AllPairsResults\nfrom statsmodels.tools.sm_exceptions import HypothesisTestWarning\nfrom... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/DOC/CLN: use HolderTuple for hypo test, work on docstrings, pep-8 |
641,971 | 04.05.2020 13:31:30 | 14,400 | 4af9f37a7c05c68ef4256429244b3b414db9bd76 | REF: rearrange confint_riskratio_koopman signature | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -1175,7 +1175,7 @@ def confint_proportions_2indep(count1, nobs1, count2, nobs2, method=None,\nupp = np.exp(np.log(ratio_) + d_log)\nelif method == 'score':\n- res = _c... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: rearrange confint_riskratio_koopman signature |
641,971 | 04.12.2015 08:48:24 | 18,000 | f48175cf3a8c09c5bd9be41a36342ba9500217b5 | ENH: initial versions poisson_twosample, etest_twopoisson | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/stats/rates.py",
"diff": "+'''Test for ratio of Poisson intensities in two independent samples\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\n+destination statsmodels\n+\n+'''\n+\n+\n+from __future__ import division\n+import numpy ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: initial versions poisson_twosample, etest_twopoisson |
641,971 | 04.05.2020 17:00:29 | 14,400 | 8e4071e626e7cb201fff026f95b00fd3b2951b2a | REF/CLN: rename functions to 2indep, pep8 code formatting | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "Author: Josef Perktold\nLicense: BSD-3\n-destination statsmodels\n-\n'''\n-from __future__ import division\nimport numpy as np\nfrom scipy import stats\n+from statsmodels.stats.wei... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/CLN: rename functions to 2indep, pep8 code formatting |
641,971 | 04.05.2020 18:59:18 | 14,400 | 735177c5b4dea9fa60afdc896cca5451fee7da21 | REF: return HolderTuple in test_poisson_2indep, avoid zero division in etest | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -111,9 +111,18 @@ def test_poisson_2indep(count1, exposure1, count2, exposure2, ratio_null=1,\ndist = 'binomial'\nif dist == 'normal':\n- return _zstat_generic2(stat, 1, alterna... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: return HolderTuple in test_poisson_2indep, avoid zero division in etest |
641,971 | 05.05.2020 09:17:52 | 14,400 | 9c70bd612c6de6cfee00711a9bf621dcf1f015a3 | TST: test for exact conditional | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -14,7 +14,7 @@ from statsmodels.stats.base import HolderTuple\ndef test_poisson_2indep(count1, exposure1, count2, exposure2, ratio_null=1,\n- method='score', alternative='2-side... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: test for exact conditional |
641,971 | 05.05.2020 13:07:32 | 14,400 | d0a2c09dd52a618a5df0f785d637c0bfde6c41c5 | ENH: add tost, and some code cleanup | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -54,12 +54,8 @@ def test_poisson_2indep(count1, exposure1, count2, exposure2, ratio_null=1,\nReturns\n-------\n- stat, pvalue two-sided\n-\n- not yet\n- #results : Results insta... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add tost, and some code cleanup |
641,971 | 05.05.2020 17:07:54 | 14,400 | 4317ff255ec67fc6d9600cac74c3d7dd8c2ed181 | ENH: add method='etest' to test_poisson_2indep | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/rates.py",
"new_path": "statsmodels/stats/rates.py",
"diff": "@@ -14,7 +14,8 @@ from statsmodels.stats.base import HolderTuple\ndef test_poisson_2indep(count1, exposure1, count2, exposure2, ratio_null=1,\n- method='score', alternative='two-si... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add method='etest' to test_poisson_2indep |
641,971 | 06.05.2020 14:53:51 | 14,400 | 3c05be76855fa34854e03b2cd13aba4e8ef6ae5b | ENH: multivariate 1 sample mean test and confint, amended | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/stats/multivariate.py",
"diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Sun Nov 5 14:48:19 2017\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\"\"\"\n+\n+\n+import numpy as np\n+from scipy import stats\n+\n+from statsmodels.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: multivariate 1 sample mean test and confint, amended |
641,971 | 07.05.2020 10:20:18 | 14,400 | 40df01f7870872d23d1dab762ffe2884a4fc86c5 | REF: rename functions, merge confint functions | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/multivariate.py",
"new_path": "statsmodels/stats/multivariate.py",
"diff": "@@ -6,14 +6,13 @@ Author: Josef Perktold\nLicense: BSD-3\n\"\"\"\n-\nimport numpy as np\nfrom scipy import stats\nfrom statsmodels.stats.base import HolderTuple\n-def... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: rename functions, merge confint functions |
641,971 | 07.05.2020 18:08:00 | 14,400 | 9fb00bb09fcc2644e82b32b814274729529b2e8a | ENH: add covariance structure hypothesis tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/multivariate.py",
"new_path": "statsmodels/stats/multivariate.py",
"diff": "@@ -9,9 +9,14 @@ License: BSD-3\nimport numpy as np\nfrom scipy import stats\n+from statsmodels.stats.moment_helpers import cov2corr\nfrom statsmodels.stats.base impo... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add covariance structure hypothesis tests |
641,830 | 30.04.2020 13:00:02 | -7,200 | 9d1b09c0980c217b5e9cedac2b49aa373280cf29 | DOC: Fix `fdrcorrection` docstring missing `is_sorted` parameter | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/multitest.py",
"new_path": "statsmodels/stats/multitest.py",
"diff": "@@ -278,7 +278,11 @@ def fdrcorrection(pvals, alpha=0.05, method='indep', is_sorted=False):\nset of p-values of the individual tests.\nalpha : float\nerror rate\n- method :... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Fix `fdrcorrection` docstring missing `is_sorted` parameter |
641,971 | 08.05.2020 13:17:41 | 14,400 | dc81cfe5835e045bc142b812d5ec998e4bf5ef99 | REF: improve api, return HolderTuple, docstrings | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_multivariate.py",
"new_path": "statsmodels/stats/tests/test_multivariate.py",
"diff": "@@ -11,9 +11,6 @@ from numpy.testing import assert_allclose, assert_equal #noqa\nfrom statsmodels.stats import weightstats\nimport statsmodels.s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: improve api, return HolderTuple, docstrings |
641,831 | 09.05.2020 16:29:11 | 14,400 | 5be2aac10b350c2726133eddb0848da0543d8019 | CLN: Fix linting. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/mlemodel.py",
"new_path": "statsmodels/tsa/statespace/mlemodel.py",
"diff": "@@ -2591,7 +2591,10 @@ class MLEResults(tsbase.TimeSeriesModelResults):\napprox_complex_step=approx_complex_step,\napprox_centered=approx_centered)\n- if se... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: Fix linting. |
642,048 | 09.05.2020 12:46:43 | 14,400 | b0efdee86bcd88d55b079ea8dc90b7662a5210e0 | Warn for non-convergence in elastic net | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/elastic_net.py",
"new_path": "statsmodels/base/elastic_net.py",
"diff": "@@ -165,6 +165,8 @@ def fit_elasticnet(model, method=\"coord_descent\", maxiter=100,\n_gen_npfuncs(k, L1_wt, alpha, loglike_kwds, score_kwds, hess_kwds)\nfor k in range(k... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Warn for non-convergence in elastic net |
641,896 | 15.05.2020 23:12:09 | -3,600 | 29beea2e44955ca8c67cf1172c2bac8a19077351 | DOC: Improve Factor and related docstrings | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/multivariate/factor.py",
"new_path": "statsmodels/multivariate/factor.py",
"diff": "@@ -194,7 +194,8 @@ class Factor(Model):\nReturns\n-------\n- results: FactorResults\n+ FactorResults\n+ Results class instance.\n\"\"\"\nmethod = self.method.lower... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Improve Factor and related docstrings |
641,896 | 16.05.2020 23:59:12 | -3,600 | 54d3ae7ad9f7b2beca08046caf269c2063d680f3 | ENH: Add check in test_whiteness
Check that nlags is larger than the number of lags included
in the model
closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/tests/test_var.py",
"new_path": "statsmodels/tsa/vector_ar/tests/test_var.py",
"diff": "@@ -843,3 +843,11 @@ def test_summaries_exog(reset_randomstate):\nassert 'exog_1' in summ\nassert 'exog_2' in summ\nassert 'exog_3' in summ\n+\n+\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Add check in test_whiteness
Check that nlags is larger than the number of lags included
in the model
closes #6686 |
641,896 | 16.05.2020 23:46:06 | -3,600 | ee2c7ef06c9c0e05bf888f31d4dc48092f52c21c | BUG: Change trend initialization in STL
Change initialization to match suggestion in STLEZ function
closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/_stl.pyx",
"new_path": "statsmodels/tsa/_stl.pyx",
"diff": "@@ -79,6 +79,8 @@ season output, seasonal component.\ntrend output, trend component.\nwork workspace of (n+2*np)*5 locations.\n\"\"\"\n+from typing import Dict, Union\n+\nimport pandas... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Change trend initialization in STL
Change initialization to match suggestion in STLEZ function
closes #6701 |
641,896 | 17.05.2020 22:44:18 | -3,600 | f479e2ff8d219955c6c2a2efb2ddf32c2e8cfff2 | MAINT: Remove dtype np.integer for avoid Dep Warning
Replace with int64 which is the default on most systems | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/bayes_mixed_glm.py",
"new_path": "statsmodels/genmod/bayes_mixed_glm.py",
"diff": "@@ -443,7 +443,7 @@ class _BayesMixedGLM(base.Model):\nmat = patsy.dmatrix(fml, data, return_type='dataframe')\nexog_vc.append(mat)\nvcp_names.append(na)\n- i... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Remove dtype np.integer for avoid Dep Warning
Replace with int64 which is the default on most systems |
641,896 | 17.05.2020 23:51:50 | -3,600 | e9fa4339db560aca4606981929417291a7394d41 | BUG: Raise on incorrectly sized exog
Raise ValueError when exog has incorrect size
closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/tests/test_var.py",
"new_path": "statsmodels/tsa/vector_ar/tests/test_var.py",
"diff": "@@ -783,6 +783,10 @@ class TestVARExtras(object):\nexf = np.arange(len(data), len(data) + h)\nfc2 = res_lin_trend1.forecast(res_lin_trend1.endog[-... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Raise on incorrectly sized exog
Raise ValueError when exog has incorrect size
closes #6636 |
642,048 | 17.05.2020 21:07:23 | 14,400 | ff2404703814c31c9957f7138f945c7d0c1c7373 | Notebook for quasibinomial regression | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/notebooks/quasibinomial.ipynb",
"diff": "+{\n+ \"cells\": [\n+ {\n+ \"cell_type\": \"markdown\",\n+ \"metadata\": {},\n+ \"source\": [\n+ \"Quasi-binomial regression\\n\",\n+ \"\\n\",\n+ \"This notebook demonstrates using custom varianc... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Notebook for quasibinomial regression |
641,823 | 20.05.2020 16:29:59 | -3,600 | 59d4c3f969ffcbff8d9e784c7a8e58328b2c43b1 | DOC: Improve "conservative" doc
Explain that conservative is as if using nan-ops
closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/stattools.py",
"new_path": "statsmodels/tsa/stattools.py",
"diff": "@@ -341,8 +341,11 @@ def acovf(x, unbiased=False, demean=True, fft=None, missing=\"none\", nlag=None):\nthe NaNs are to be treated. \"none\" performs no checks. \"raise\" raise... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Improve "conservative" doc
Explain that conservative is as if using nan-ops
closes #6729 |
641,943 | 21.05.2020 21:21:17 | -7,200 | e5053febb6c4d53980b61704957c9e681479682a | Update broken link
is broken.
Replace it with: | [
{
"change_type": "MODIFY",
"old_path": "README.rst",
"new_path": "README.rst",
"diff": "@@ -148,7 +148,7 @@ Contributions in any form are welcome, including:\n* New features to existing models\n* New models\n-https://statsmodels.github.io/dev/test_notes.html\n+https://www.statsmodels.org/stable/dev/... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Update broken link
https://statsmodels.github.io/dev/test_notes.html is broken.
Replace it with:
https://www.statsmodels.org/stable/dev/test_notes |
641,857 | 24.05.2020 14:30:36 | -3,600 | 45a52240fbc08621823e29de6da35b0dfd49c199 | ENH: Speed up banddepth calculations
With this change, calculation of band depth for a
100-by-500 array reduces from 14 seconds to under
10ms (on a 2018 MacBook Pro). | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/graphics/functional.py",
"new_path": "statsmodels/graphics/functional.py",
"diff": "\"\"\"Module for functional boxplots.\"\"\"\n-from scipy.special import factorial\nfrom statsmodels.multivariate.pca import PCA\nfrom statsmodels.nonparametric.kern... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Speed up banddepth calculations
With this change, calculation of band depth for a
100-by-500 array reduces from 14 seconds to under
10ms (on a 2018 MacBook Pro). |
641,901 | 25.05.2020 14:31:31 | -7,200 | 78aef6732656f900ccfaad5fb5ee6992ae60008c | Updated warning message in QuantReg | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/quantile_regression.py",
"new_path": "statsmodels/regression/quantile_regression.py",
"diff": "@@ -116,7 +116,7 @@ class QuantReg(RegressionModel):\n- chamberlain: Chamberlain (1994)\n\"\"\"\n- if q < 0 or q > 1:\n+ if q <= 0 or q >= 1:\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Updated warning message in QuantReg |
641,901 | 26.05.2020 14:52:46 | -7,200 | 9c0f06e00fb73a6110e5589b28ec5c007960bcb7 | Updated error message / doc string | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/quantile_regression.py",
"new_path": "statsmodels/regression/quantile_regression.py",
"diff": "@@ -91,7 +91,7 @@ class QuantReg(RegressionModel):\nParameters\n----------\nq : float\n- Quantile must be between 0 and 1\n+ Quantile must be ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Updated error message / doc string |
642,048 | 29.05.2020 01:08:31 | 14,400 | 8032eb6556037950496f109785caf1f767060ef8 | Demontrate variance components analysis | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/notebooks/variance_components.ipynb",
"diff": "+{\n+ \"cells\": [\n+ {\n+ \"cell_type\": \"markdown\",\n+ \"metadata\": {},\n+ \"source\": [\n+ \"This notebook illustrates variance components analysis of a two-level\\n\",\n+ \"simulated... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Demontrate variance components analysis |
642,048 | 29.05.2020 22:01:17 | 14,400 | 5ec09748fc2270858dbdcf7762fef403b5b1c6fa | add crossed example | [
{
"change_type": "MODIFY",
"old_path": "examples/notebooks/variance_components.ipynb",
"new_path": "examples/notebooks/variance_components.ipynb",
"diff": "\"cell_type\": \"markdown\",\n\"metadata\": {},\n\"source\": [\n- \"This notebook illustrates variance components analysis of a two-level\\n\",\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add crossed example |
641,831 | 31.05.2020 20:25:09 | 14,400 | 58b9d66a10c88fb141570f7aca9ea6f471e2f82d | TST: Add test for multi-step append | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/tsa/statespace/tests/test_forecasting.py",
"diff": "+r\"\"\"\n+Tests for forecasting-related features not tested elsewhere\n+\"\"\"\n+\n+import numpy as np\n+import pandas as pd\n+\n+import pytest\n+from numpy.testing import assert_,... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Add test for multi-step append |
641,831 | 31.05.2020 20:25:33 | 14,400 | d469f5d7ab6cef0a62076b075a03bc108fe380c1 | BUG: fix concat with series, dataframe | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tools.py",
"new_path": "statsmodels/tsa/statespace/tools.py",
"diff": "@@ -310,14 +310,43 @@ def concat(series, axis=0, allow_mix=False):\nobjects.\n\"\"\"\nis_pandas = np.r_[[_is_using_pandas(s, None) for s in series]]\n+ ndim = np.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix concat with series, dataframe |
641,831 | 13.05.2020 20:41:32 | 14,400 | 55405682c9855c232aa477071c6ffb7522959b2f | ENH: allow passing extra tv matrices to clone | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/representation.py",
"new_path": "statsmodels/tsa/statespace/representation.py",
"diff": "@@ -625,16 +625,26 @@ class Representation(object):\nraise ValueError(error_ti % name)\n# Otherwise, validate the shape of the given extended va... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: allow passing extra tv matrices to clone |
641,831 | 13.05.2020 20:43:13 | 14,400 | aaf65e281e40e9bb7f305eee4ba253e84ef0573e | ENH: method checking revisions/updates in endog | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/representation.py",
"new_path": "statsmodels/tsa/statespace/representation.py",
"diff": "@@ -651,6 +651,33 @@ class Representation(object):\nreturn self.clone(endog, **kwargs)\n+ def diff_endog(self, new_endog):\n+ # TODO: move this ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: method checking revisions/updates in endog |
641,831 | 13.05.2020 20:53:39 | 14,400 | a1e7975e88d8a5bddb811ffa89d945ff8f89cb71 | ENH: Add Kalman smoother computations for `news`. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_impulse_responses.py",
"new_path": "statsmodels/tsa/statespace/tests/test_impulse_responses.py",
"diff": "@@ -376,6 +376,17 @@ class TVSS(mlemodel.MLEModel):\nself['obs_cov'] = H\nself['state_cov'] = Q\n+ def clone(self, e... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Add Kalman smoother computations for `news`. |
641,831 | 13.05.2020 20:56:34 | 14,400 | 09e74469d8fd24a2086a24d79c2e2db51ad10912 | REF: allow empty list of datatypes in tables. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/table.py",
"new_path": "statsmodels/iolib/table.py",
"diff": "@@ -180,7 +180,9 @@ class SimpleTable(list):\ngeneral formatting options\n\"\"\"\nself.title = title\n- self._datatypes = datatypes or lrange(len(data[0]))\n+ self._datatypes = dat... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: allow empty list of datatypes in tables. |
641,831 | 21.05.2020 21:31:19 | 14,400 | 8bcaf25238a018d373fa94bd943af64e56f9a73d | REF: Fix summary tables. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/news.py",
"new_path": "statsmodels/tsa/statespace/news.py",
"diff": "@@ -532,6 +532,8 @@ class NewsResults(object):\nimpacts.index = impacts.index.droplevel(1)\nimpacts = impacts.applymap(\nlambda num: '' if pd.isnull(num) else float... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: Fix summary tables. |
641,831 | 21.05.2020 21:31:42 | 14,400 | 548277c4fc061ecfb00847b12a44eb5048291f9e | BUG: Fix Pandas index when extending model. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/mlemodel.py",
"new_path": "statsmodels/tsa/statespace/mlemodel.py",
"diff": "@@ -3669,17 +3669,21 @@ class MLEResults(tsbase.TimeSeriesModelResults):\nnobs_exog = len(exog) if exog is not None else nobs_endog\nif nobs_exog > nobs_end... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Fix Pandas index when extending model. |
641,831 | 21.05.2020 21:32:15 | 14,400 | 3a5025dd1896c65399297d8203f59e798443449a | BUG: fix model extension with end = nobs. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/mlemodel.py",
"new_path": "statsmodels/tsa/statespace/mlemodel.py",
"diff": "@@ -3768,7 +3768,7 @@ class MLEResults(tsbase.TimeSeriesModelResults):\n# time-invariant models.\ntime_varying = not (previous.filter_results.time_invariant... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix model extension with end = nobs. |
641,831 | 31.05.2020 12:31:50 | 14,400 | 21e609d647e976ee4ecd704f4611cce9036a00f1 | BUG: DFM start_params with exog and missing endog | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/dynamic_factor.py",
"new_path": "statsmodels/tsa/statespace/dynamic_factor.py",
"diff": "@@ -443,6 +443,7 @@ class DynamicFactor(MLEModel):\nendog = self.endog.copy()\nmask = ~np.any(np.isnan(endog), axis=1)\nendog = endog[mask]\n+ e... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: DFM start_params with exog and missing endog |
641,831 | 31.05.2020 13:02:58 | 14,400 | 311068496426ec4ca38c089bc37ee459bbc34741 | BUG: Fix dfm start_params if no exog | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/dynamic_factor.py",
"new_path": "statsmodels/tsa/statespace/dynamic_factor.py",
"diff": "@@ -443,6 +443,7 @@ class DynamicFactor(MLEModel):\nendog = self.endog.copy()\nmask = ~np.any(np.isnan(endog), axis=1)\nendog = endog[mask]\n+ i... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Fix dfm start_params if no exog |
641,831 | 31.05.2020 19:31:39 | 14,400 | 8e789c198c19855d1657641e616d4ac61b21bf51 | CLEAN: linting | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/mlemodel.py",
"new_path": "statsmodels/tsa/statespace/mlemodel.py",
"diff": "@@ -3690,7 +3690,6 @@ class MLEResults(tsbase.TimeSeriesModelResults):\ncopy_initialization=True, **kwargs)\n# Now, figure out the `updated` versus `previou... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLEAN: linting |
641,831 | 31.05.2020 19:40:34 | 14,400 | 5c5657ae72164488e75f34ea4580ff02ed80005b | TST: slightly reduce tolerances | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_smoothing.py",
"new_path": "statsmodels/tsa/statespace/tests/test_smoothing.py",
"diff": "@@ -1461,7 +1461,7 @@ def test_news_revisions(missing, filter_univariate, tvp):\n# Test for the news\ndesired = (res2.smoothed_forec... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: slightly reduce tolerances |
641,831 | 31.05.2020 23:15:43 | 14,400 | a7b4645650120dd47d35f8daf1806b20e6b68e85 | BUG: Fix index comparison for pandas=0.23 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/mlemodel.py",
"new_path": "statsmodels/tsa/statespace/mlemodel.py",
"diff": "@@ -3711,7 +3711,14 @@ class MLEResults(tsbase.TimeSeriesModelResults):\n# Check that the index of `updated` is a superset of the\n# index of `previous`\n- ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Fix index comparison for pandas=0.23 |
641,831 | 31.05.2020 23:15:53 | 14,400 | db62f8af541ef2f67a2c19b42aac43944b326146 | TST: Fix tests for Pandas < 0.25 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_news.py",
"new_path": "statsmodels/tsa/statespace/tests/test_news.py",
"diff": "@@ -12,10 +12,10 @@ import pandas as pd\nimport pytest\nfrom statsmodels import datasets\n+from statsmodels.compat.pandas import pandas_lt_25_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Fix tests for Pandas < 0.25 |
641,831 | 31.05.2020 23:46:24 | 14,400 | ad529f95543635a4d6f1dd43e5cc2238fb9531b5 | REF: add dtype to pd.Series with empty values | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/news.py",
"new_path": "statsmodels/tsa/statespace/news.py",
"diff": "@@ -152,11 +152,23 @@ class NewsResults(object):\nself.updates_ix['updated variable']])\n# E[y^u | post] - E[y^u | previous]\n+ if news_results.news is None:\n+ sel... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: add dtype to pd.Series with empty values |
641,831 | 01.06.2020 19:32:13 | 14,400 | 62daaed8729bc1ecd4b430da4bd581323eeb4341 | DOC: Add notebook to landing.yml | [
{
"change_type": "MODIFY",
"old_path": "docs/source/examples/landing.yml",
"new_path": "docs/source/examples/landing.yml",
"diff": "- img: ../_static/images/statespace_sarimax_pymc3.png\ntarget: notebooks/generated/statespace_sarimax_pymc3.html\ntext: SARIMAX estimation with Bayesian methods\n+ - im... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Add notebook to landing.yml |
641,831 | 21.05.2020 21:40:23 | 14,400 | c5a19e98d0730c969e838c80c3b6b7e1e8592f12 | BUG: pass cov_type, cov_kwds through to super fit | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima/model.py",
"new_path": "statsmodels/tsa/arima/model.py",
"diff": "@@ -322,9 +322,9 @@ class ARIMA(sarimax.SARIMAX):\nelse:\nmethod_kwargs.setdefault('disp', 0)\n- res = super(ARIMA, self).fit(return_params=return_params,\n- low_memory=low... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: pass cov_type, cov_kwds through to super fit |
641,831 | 01.06.2020 20:02:36 | 14,400 | ff81f91f5697c547273d3f043512a23899063953 | TST: Add test for setting cov_type | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima/tests/test_model.py",
"new_path": "statsmodels/tsa/arima/tests/test_model.py",
"diff": "@@ -247,3 +247,10 @@ def test_append():\nres2 = mod2.filter(res_e.params)\nassert_allclose(res2.llf, res_e.llf)\n+\n+\n+def test_cov_type_none():\n+ e... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Add test for setting cov_type |
641,831 | 01.06.2020 20:23:47 | 14,400 | 4da0c227057f06e9e9dabbb65101709f12296131 | CLEAN: remove duplicate import | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/varmax.py",
"new_path": "statsmodels/tsa/statespace/varmax.py",
"diff": "@@ -1032,8 +1032,6 @@ class VARMAXResults(MLEResults):\nreturn out\ndef _news_previous_results(self, previous, start, end, periods):\n- from contextlib import E... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLEAN: remove duplicate import |
641,866 | 21.04.2020 22:21:59 | -7,200 | 9dea5ecf66ed04b8c856a34162034bb6ad224ef2 | TST: First tests for ETS | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"diff": "+\"\"\"\n+Author: Samuel Scherrer\n+\"\"\"\n+import json\n+import pathlib\n+\n+import numpy as np\n+import pandas as pd\n+import scipy.stats\n+import pytest\n+from numpy.testing impo... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: First tests for ETS |
641,866 | 28.04.2020 22:11:49 | -7,200 | c276d1994818b51894f8c7289d962eda66c8d67b | added _ets_smooth to setup.py | [
{
"change_type": "MODIFY",
"old_path": "setup.py",
"new_path": "setup.py",
"diff": "@@ -148,6 +148,7 @@ DEFINE_MACROS = [('CYTHON_TRACE_NOGIL', CYTHON_TRACE_NOGIL)]\nexts = dict(\n_stl={'source': 'statsmodels/tsa/_stl.pyx'},\n_exponential_smoothers={'source': 'statsmodels/tsa/_exponential_smoothers.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | added _ets_smooth to setup.py |
641,866 | 29.04.2020 14:07:21 | -7,200 | 89ed9aeb98fb67c0ba8db72109670bdeea4c2c02 | smoothing equations reproduce R up to 2 decimals | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"new_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"diff": "@@ -23,7 +23,8 @@ cdef _initialize_hw_smooth(np.float_t [:] params, Py_ssize_t n):\nxhat = np.zeros((n, 3))\nxhat[n-1, 0] = l0... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | smoothing equations reproduce R up to 2 decimals |
641,866 | 02.05.2020 16:20:00 | -7,200 | 1211409c62160441cd3435421675e4548ed8e101 | ENH: simulate for ets | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/base.py",
"new_path": "statsmodels/tsa/exponential_smoothing/base.py",
"diff": "@@ -201,6 +201,19 @@ class StateSpaceMLEModel(tsbase.TimeSeriesModel):\n\"\"\"\nraise NotImplementedError\n+ def _wrap_data(self, data, start_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: simulate for ets |
641,866 | 05.05.2020 22:38:34 | -7,200 | 0a3ad9014630ed71a26738434a46618d2e7eced1 | ENH: better internal state for ets | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"new_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"diff": "@@ -6,143 +6,148 @@ cimport numpy as np\nnp.import_array()\n-cdef _initialize_hw_smooth(np.float_t [:] params, Py_ssize_t n):\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: better internal state for ets |
641,866 | 09.05.2020 07:53:21 | -7,200 | 2eda6adfa70c52fbf6cbc7a18186e54cc0ea0af3 | ets: implemented forecast and prediction | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -146,7 +146,6 @@ from scipy.stats import (\n_distn_infrastructure, rv_continuous, rv_discrete\n)\n-from statsmodels.base.data import PandasDa... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: implemented forecast and prediction |
641,866 | 10.05.2020 14:52:16 | -7,200 | ab05271693f823530169959b9b48fe400bb0310b | ets: forecast as simulation without errors; test for forecast | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -1161,47 +1161,9 @@ class ETSResults(base.StateSpaceMLEResults):\n\"\"\"\nif anchor is None:\nanchor = 'end'\n- start_idx = self._get_predict... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: forecast as simulation without errors; test for forecast |
641,866 | 10.05.2020 15:32:35 | -7,200 | 8ce3bef01c20cefd141d6c7f0e940ae14d90a809 | ets: using gamma_star instead of gamma | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"new_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"diff": "@@ -8,13 +8,13 @@ np.import_array()\ncpdef _initialize_ets_smooth(np.float_t [:] params, Py_ssize_t n):\n\"\"\"Extracts parame... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: using gamma_star instead of gamma |
641,866 | 15.05.2020 11:10:32 | -7,200 | fdb66991f2a64b264cd45abb9015b6be5997a72b | ets: fixed start_params and some lgtm issues | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/base.py",
"new_path": "statsmodels/tsa/exponential_smoothing/base.py",
"diff": "@@ -29,7 +29,7 @@ class StateSpaceMLEModel(tsbase.TimeSeriesModel):\nself._init_kwargs = kwargs\n# Prepared the endog array: C-ordered, shape=... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: fixed start_params and some lgtm issues |
641,866 | 15.05.2020 12:10:37 | -7,200 | 3cb8cc350a0a512cd320496fb6c10b45905b0654 | ets: fit test compares only fitted values | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"new_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"diff": "@@ -304,17 +304,21 @@ def test_fit_vs_R(setup_model):\nfit = model.fit(disp=False)\n# check log likelihood\n- const = - model.nobs... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: fit test compares only fitted values |
641,866 | 15.05.2020 12:36:20 | -7,200 | 074a10c8cf27a200779628469fa46d8c0bd7d353 | ets: fix some codacy issues | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/base.py",
"new_path": "statsmodels/tsa/exponential_smoothing/base.py",
"diff": "@@ -3,6 +3,7 @@ from collections import OrderedDict\nimport pandas as pd\nimport numpy as np\n+from scipy.stats import norm\nfrom statsmodels.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: fix some codacy issues |
641,866 | 15.05.2020 13:34:33 | -7,200 | ad9ee1dccbba611aa546d145feec48960ae0a072 | ets: added heuristic initialization, fixed known | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -262,7 +262,7 @@ class ETSModel(base.StateSpaceMLEModel):\n# in case the model has no seasonal component, we internally handle\n# this as if ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: added heuristic initialization, fixed known |
641,866 | 22.05.2020 12:07:30 | -7,200 | a64be8fe83b616a3739fa6ac43061592ba763408 | ets: heuristic as initial state guess; fixed fitting test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/base.py",
"new_path": "statsmodels/tsa/exponential_smoothing/base.py",
"diff": "@@ -55,6 +55,7 @@ class StateSpaceMLEModel(tsbase.TimeSeriesModel):\nif param_name not in self.param_names:\nraise ValueError('Invalid paramet... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: heuristic as initial state guess; fixed fitting test |
641,866 | 02.06.2020 18:38:52 | -7,200 | a0a26dc8f995539397850b8f9e7c1c68ea65ca97 | ets: better test data | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"new_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"diff": "@@ -17,22 +17,20 @@ from statsmodels.tsa.exponential_smoothing.ets import (\n# This contains tests for the exponential smoothing i... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: better test data |
641,866 | 02.06.2020 18:56:47 | -7,200 | 7fede324f321f6cf9dbf811b937962c4a1fea82a | ets: linting | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/base.py",
"new_path": "statsmodels/tsa/exponential_smoothing/base.py",
"diff": "@@ -8,7 +8,6 @@ from scipy.stats import norm\nfrom statsmodels.tools.decorators import cache_readonly\nfrom statsmodels.tools.eval_measures im... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: linting |
641,866 | 02.06.2020 19:25:15 | -7,200 | 4f2264a09892b010396de617f19e8c2d4946a528 | ets: fused float type in cython smoothers | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"new_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"diff": "@@ -6,11 +6,15 @@ cimport numpy as np\nnp.import_array()\n-cpdef _initialize_ets_smooth(np.float_t [:] params, Py_ssize_t n):\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: fused float type in cython smoothers |
641,866 | 02.06.2020 21:01:51 | -7,200 | a7e6b0e70b4416a9e4ace3c1d8a93b996a96a29e | ets: some changes regarding smoothing
ETS.smooth -> ETS._smooth
avoid reallocating memory during fitting | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"new_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"diff": "@@ -10,36 +10,35 @@ ctypedef fused float_t:\nnp.float32_t\nnp.float64_t\n-cpdef _initialize_ets_smooth(float_t [:] params, Py_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: some changes regarding smoothing
- ETS.smooth -> ETS._smooth
- avoid reallocating memory during fitting |
641,866 | 03.06.2020 08:01:38 | -7,200 | 907dd173d73cf73ba70d0e0c80d7a3298a23cae4 | ets: no check before log in loglike | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -784,11 +784,9 @@ class ETSModel(base.StateSpaceMLEModel):\nres = self._residuals(yhat)\nlogL = -self.nobs / 2 * (np.log(2 * np.pi * np.mean(... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: no check before log in loglike |
641,866 | 04.06.2020 00:18:52 | -7,200 | 0d294ab613b7b6fff9bab00d2e8e94d531908d2e | ets: using nonlinear constraints | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"new_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"diff": "#!python\n-#cython: wraparound=False, boundscheck=False, cdivision=True, annotate=True\n+#cython: wraparound=False, boundschec... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: using nonlinear constraints |
641,866 | 04.06.2020 01:11:37 | -7,200 | 284c4af65a5a746699496b7f9066a6fda7f3031b | ets: beta_star -> beta | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"new_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"diff": "@@ -12,11 +12,11 @@ ctypedef fused float_t:\ncpdef _initialize_ets_smooth(float_t [:] params, float_t[:,:] xhat):\n\"\"\"Extra... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: beta_star -> beta |
641,866 | 04.06.2020 09:50:11 | -7,200 | bc995ac3b225f3b4d611be38a7d24bc0da73868e | ets: traditional and user-defined bounds | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"new_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"diff": "#!python\n#cython: wraparound=False, boundscheck=False, cdivision=True\n+from cpython cimport bool\nimport numpy as np\ncimpor... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: traditional and user-defined bounds |
642,048 | 05.06.2020 22:24:54 | 14,400 | fa86746d54c019a7ae2e187df172c8a19f3490a6 | Mediation support for PH regression | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/duration/hazard_regression.py",
"new_path": "statsmodels/duration/hazard_regression.py",
"diff": "@@ -51,6 +51,10 @@ _predict_docstring = \"\"\"\nIf 'lhr', returns log hazard ratios, if 'hr' returns\nhazard ratios, if 'surv' returns the survival fu... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Mediation support for PH regression |
642,048 | 31.05.2020 13:46:01 | 14,400 | 5aa7242c5a099e0a7a1f95564eaf588a98b639f0 | PERF: Sparse matrices in mixedlm | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/mixed_linear_model.py",
"new_path": "statsmodels/regression/mixed_linear_model.py",
"diff": "@@ -473,24 +473,30 @@ def _smw_solver(s, A, AtA, Qi, di):\n# Use SMW identity\nqmat = AtA / s\n- if sparse.issparse(qmat):\n- qmat = qmat.todens... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | PERF: Sparse matrices in mixedlm |
641,866 | 06.06.2020 19:04:19 | -7,200 | cc9299ade8241b0f45c40c546e7defa15cd5c668 | added summary and finite difference covariance matrix | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/base.py",
"new_path": "statsmodels/tsa/exponential_smoothing/base.py",
"diff": "@@ -8,6 +8,7 @@ from scipy.stats import norm\nfrom statsmodels.base.data import PandasData\nfrom statsmodels.tools.decorators import cache_rea... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | added summary and finite difference covariance matrix |
641,866 | 06.06.2020 19:08:05 | -7,200 | 3a30a8bbaa1ca4b93bc0a8d8f5a5674d502c90e0 | first example in example notebook | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/notebooks/ets.ipynb",
"diff": "+{\n+ \"cells\": [\n+ {\n+ \"cell_type\": \"code\",\n+ \"execution_count\": null,\n+ \"metadata\": {},\n+ \"outputs\": [],\n+ \"source\": [\n+ \"import numpy as np\\n\",\n+ \"import matplotlib.pyplot as pl... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | first example in example notebook |
642,048 | 06.06.2020 23:53:42 | 14,400 | 5e74abe8dea11aa1a30b4453b4e27cb32ca93ca1 | change optimizer settings for test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/duration/hazard_regression.py",
"new_path": "statsmodels/duration/hazard_regression.py",
"diff": "@@ -461,8 +461,6 @@ class PHReg(model.LikelihoodModel):\nif 'disp' not in args:\nargs['disp'] = False\n- if 'method' not in args:\n- args['method'] = ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | change optimizer settings for test |
641,924 | 06.06.2020 23:52:14 | 25,200 | 9e64e32da52981af86b90f3a64b5e43a93fba89b | ENH: automatic lag selection for Box-Pierce, Ljung-Box | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/diagnostic.py",
"new_path": "statsmodels/stats/diagnostic.py",
"diff": "@@ -539,6 +539,55 @@ def acorr_ljungbox(x, lags=None, boxpierce=False, model_df=0, period=None,\nreturn qljungbox, pval, qboxpierce, pvalbp\n+def acorr_ljungbox_automatic... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: automatic lag selection for Box-Pierce, Ljung-Box #6645 |
641,924 | 06.06.2020 23:57:57 | 25,200 | dd8e0476d2fd547cc2490ad63cb89e8438c4ce82 | ENH: Fix blank line | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/diagnostic.py",
"new_path": "statsmodels/stats/diagnostic.py",
"diff": "@@ -550,7 +550,7 @@ def acorr_ljungbox_automatic(x, boxpierce=False, model_df=0, return_df=None):\n.. [*] Green, W. \"Econometric Analysis,\" 5th ed., Pearson, 2003.\n\"\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Fix blank line |
641,866 | 07.06.2020 13:08:07 | -7,200 | 03abb28dcc0cb5a884a35825258d985a222133be | smooth returns wrapper | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/base.py",
"new_path": "statsmodels/tsa/exponential_smoothing/base.py",
"diff": "@@ -199,6 +199,33 @@ class StateSpaceMLEModel(tsbase.TimeSeriesModel):\ndata = pd.DataFrame(data, index=index, columns=names)\nreturn data\n+ ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | smooth returns wrapper |
641,866 | 07.06.2020 20:11:49 | -7,200 | cbe4121d04c6d1765cb8f11bf676d3dfc913dcb4 | added complex step differentiation for hessian | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"new_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"diff": "@@ -8,18 +8,20 @@ cimport numpy as np\nnp.import_array()\n-ctypedef fused float_t:\n+ctypedef fused numeric:\nnp.float32_t\nnp... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | added complex step differentiation for hessian |
641,971 | 15.06.2013 06:45:57 | 14,400 | a86b85cdb3ee01941c3d4e6744ff69dc4ecadb8b | ENH: add trimming option to anova_bfm | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/robust_compare.py",
"new_path": "statsmodels/stats/robust_compare.py",
"diff": "@@ -182,10 +182,10 @@ class TrimmedMean(object):\nreturn tm\n-def anova_bfm(*args):\n+def anova_bfm(args, trim_frac=0):\n'''Brown-Forsythe Anova for comparison of... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add trimming option to anova_bfm |
641,971 | 22.01.2020 14:27:05 | 18,000 | 6ea5e2065b8490c8769fc0de87fe9e4923802bba | ENH: add uncommitted changes, anova_oneway, anova_scale | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/robust_compare.py",
"new_path": "statsmodels/stats/robust_compare.py",
"diff": "# -*- coding: utf-8 -*-\n-\"\"\"\n+\"\"\"Anova k-sample comparison without and with trimming\nCreated on Sun Jun 09 23:51:34 2013\n@@ -28,6 +28,10 @@ def trimboth... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add uncommitted changes, anova_oneway, anova_scale |
641,971 | 18.02.2020 22:54:15 | 18,000 | 0e307e98e07e13587256fd8184ae7e37917e61db | MAINT: get it to run again | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/robust_compare.py",
"new_path": "statsmodels/stats/robust_compare.py",
"diff": "@@ -59,7 +59,7 @@ def trimboth(a, proportiontocut, axis=0):\nsl = [slice(None)] * a.ndim\nsl[axis] = slice(lowercut, uppercut)\n- return a[sl]\n+ return a[tuple(s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: get it to run again |
641,971 | 18.02.2020 23:16:52 | 18,000 | ea27a226d91909bb1bc3d694dae220797e31245c | STY: some pep-8 cleaning | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/robust_compare.py",
"new_path": "statsmodels/stats/robust_compare.py",
"diff": "@@ -11,6 +11,8 @@ from scipy import stats\n# the trimboth and trim_mean are taken from scipy.stats.stats\n# and enhanced by axis\n+\n+\ndef trimboth(a, proportion... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | STY: some pep-8 cleaning |
641,971 | 20.02.2020 11:43:38 | 18,000 | 911e6a9e2667f52fb8615e55a6e1610c8a54b87c | BUG/TST: fix results, unit tests against R packages | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/robust_compare.py",
"new_path": "statsmodels/stats/robust_compare.py",
"diff": "@@ -113,6 +113,8 @@ class TrimmedMean(object):\nself.sl = [slice(None)] * self.data.ndim\nself.sl[axis] = slice(self.lowercut, self.uppercut)\n+ # numpy requires ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/TST: fix results, unit tests against R packages |
641,971 | 22.02.2020 16:50:16 | 18,000 | 2e22145361952078b774e32f55861087c41343e2 | BUG/ENH: fix trim var for anova, add anova_generic (from_stats) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/robust_compare.py",
"new_path": "statsmodels/stats/robust_compare.py",
"diff": "@@ -209,6 +209,47 @@ class TrimmedMean(object):\nreturn tm\n+def anova_generic(means, vars_, nobs, use_var=\"unequal\",\n+ welch_correction=True):\n+ nobs_t = nob... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/ENH: fix trim var for anova, add anova_generic (from_stats) |
641,971 | 17.03.2020 15:11:37 | 14,400 | 72988f17937295a2c3fe6fd85cf1438282b4a3ad | BUG/TST: fix keyword names, unit tests for anovas | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/robust_compare.py",
"new_path": "statsmodels/stats/robust_compare.py",
"diff": "@@ -214,7 +214,7 @@ def anova_generic(means, vars_, nobs, use_var=\"unequal\",\nnobs_t = nobs.sum()\nn_groups = len(means)\n# mean_t = (nobs * means).sum() / nobs... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/TST: fix keyword names, unit tests for anovas |
641,971 | 18.03.2020 16:45:45 | 14,400 | 326dd790fe4ba7cc9498d6b2029be1df5843c3b9 | ENH: add effect size for oneway anova | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/stats/oneway.py",
"diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Wed Mar 18 10:33:38 2020\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\n+\"\"\"\n+\n+import numpy as np\n+from scipy.special import ncfdtrinc\n+\n+from stats... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add effect size for oneway anova |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.