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,904 | 12.09.2018 17:50:38 | 25,200 | bfe4b79889863861cabbd82b6daea54812a6d3e8 | MAINT: remove __main__ section that is no longer accurate | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/linear_model.py",
"new_path": "statsmodels/regression/linear_model.py",
"diff": "@@ -2948,47 +2948,3 @@ class RegressionResultsWrapper(wrap.ResultsWrapper):\nwrap.populate_wrapper(RegressionResultsWrapper,\nRegressionResults)\n-\n-\n-if ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove __main__ section that is no longer accurate |
641,904 | 12.09.2018 17:52:56 | 25,200 | 61e861d906b4f008056c50a11a594446674b1097 | MAINT: remove never-finished __main__ | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/summary.py",
"new_path": "statsmodels/iolib/summary.py",
"diff": "@@ -952,11 +952,3 @@ class Summary(object):\nif self.extra_txt is not None:\nhtml = html + '<br/><br/>' + self.extra_txt.replace('\\n', '<br/>')\nreturn html\n-\n-\n-if __name_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove never-finished __main__ |
641,904 | 12.09.2018 17:53:30 | 25,200 | b22bdcb25222dd0953a50105ffaabaa8b7624a43 | MAINT: remove obvious __main__ | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/foreign.py",
"new_path": "statsmodels/iolib/foreign.py",
"diff": "@@ -1183,8 +1183,3 @@ def savetxt(fname, X, names=None, fmt='%.18e', delimiter=' '):\nfor row in X:\nfh.write(format % tuple(row) + '\\n')\n-\n-if __name__ == \"__main__\":\n- ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove obvious __main__ |
641,904 | 12.09.2018 17:55:03 | 25,200 | 36bd64d9109a97ace25a83e7695db65f7effc2f8 | MAINT: remove unfinished __main__ | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/edgeworth.py",
"new_path": "statsmodels/distributions/edgeworth.py",
"diff": "@@ -205,8 +205,3 @@ class ExpandedNormal(rv_continuous):\nr = sum(k for (m, k) in p)\ncoef[s + 1 + 2*r] += term\nreturn coef, mu, sigma\n-\n-\n-if __name__ ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove unfinished __main__ |
641,904 | 12.09.2018 17:57:24 | 25,200 | e0a7896386f02b6d3322bd589f2514ea1583909f | MAINT: remove example that has been made into tests | [
{
"change_type": "DELETE",
"old_path": "statsmodels/examples/ex_shrink_pickle.py",
"new_path": null,
"diff": "-# -*- coding: utf-8 -*-\n-\"\"\"\n-\n-Created on Fri Mar 09 16:00:27 2012\n-\n-Author: Josef Perktold\n-\"\"\"\n-from statsmodels.compat.python import StringIO\n-import numpy as np\n-import... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove example that has been made into tests |
641,904 | 13.09.2018 07:43:54 | 25,200 | 1ae68a82d31ba51ff5b7ae2aba847632360279c4 | MAINT: update indirect import | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/tests/test_summary2.py",
"new_path": "statsmodels/iolib/tests/test_summary2.py",
"diff": "@@ -6,7 +6,8 @@ import pytest\nfrom numpy.testing import assert_equal\nfrom statsmodels.iolib.summary2 import summary_col\n-from statsmodels.regression.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: update indirect import |
641,904 | 05.05.2019 08:50:57 | 25,200 | f68a870c1310e2cd251eb74222d2d99bbcbea189 | lint for blank line containing whitespace
collet F7 checks
collect F6 checks
collect F9 checks
typo fixup
collect E9 checks
collect E27 checks
check for E713 'not in'
invalid escapes fixups
fix whitsespace in empty line
fix literal comparisons (F632); avoid relying on CPython implementation detail | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "@@ -33,14 +33,8 @@ parentdir_prefix = statsmodels-\n[flake8]\n-exclude=.git,build,docs\n+exclude=.git,build,docs,versioneer.py\nselect=\n- E271,\n- # E271: multiple spaces after keyword\n- E901,\n- # E901: SyntaxEr... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | lint for blank line containing whitespace
collet F7 checks
collect F6 checks
collect F9 checks
typo fixup
collect E9 checks
collect E27 checks
check for E713 'not in'
invalid escapes fixups
fix whitsespace in empty line
fix literal comparisons (F632); avoid relying on CPython implementation detail |
642,065 | 27.05.2018 22:17:52 | 18,000 | 283346236bec5de6987c2a02724514731ea673a6 | Declare output before multiply | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/generalized_linear_model.py",
"new_path": "statsmodels/genmod/generalized_linear_model.py",
"diff": "@@ -608,9 +608,11 @@ class GLM(base.LikelihoodModel):\nelse:\nobserved = True\n+ tmp = getattr(self, '_tmp_like_exog', np.empty_like(self.ex... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Declare output before multiply |
642,065 | 30.05.2018 21:34:22 | 18,000 | 5f990ef142e73d1c49624307649055fd0e573a4c | Need to fully delete attirbute | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/generalized_linear_model.py",
"new_path": "statsmodels/genmod/generalized_linear_model.py",
"diff": "@@ -1080,8 +1080,8 @@ class GLM(base.LikelihoodModel):\ncov_kwds=cov_kwds, use_t=use_t,\nmax_start_irls=max_start_irls,\n**kwargs)\n- self._... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Need to fully delete attirbute |
641,980 | 10.12.2018 20:50:08 | 18,000 | 57da49b15160c5c7cdfbbb127ce2c2c89a1e6ea9 | ENH: P-values for tukeyhsd
calculate adjusted p-values when using tukeyhsd
add them to the results table and as an attribute of the TukeyHSDResults object
test of p-values returned by tukeyhsd | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/stats/multicomp.py",
"new_path": "statsmodels/sandbox/stats/multicomp.py",
"diff": "@@ -176,6 +176,25 @@ def get_tukeyQcrit2(k, df, alpha=0.05):\nreturn qsturng(1-alpha, k, df)\n+def get_tukey_pvalue(k, df, q):\n+ '''\n+ return adjusted p-v... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: P-values for tukeyhsd
calculate adjusted p-values when using tukeyhsd
add them to the results table and as an attribute of the TukeyHSDResults object
test of p-values returned by tukeyhsd |
641,904 | 28.09.2018 16:21:19 | 25,200 | 5397b0a98141e116067ce12bc1b2c1f340d96fb3 | MAINT: implement _wrap_derivative_exog for de-duplication | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/discrete_model.py",
"new_path": "statsmodels/discrete/discrete_model.py",
"diff": "@@ -427,6 +427,23 @@ class DiscreteModel(base.LikelihoodModel):\n\"\"\"\nraise NotImplementedError\n+ def _wrap_derivative_exog(self, margeff, params, exog,... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: implement _wrap_derivative_exog for de-duplication |
641,904 | 06.05.2019 12:40:19 | 25,200 | cde0b638853b283a06d8cc1c3ae67c1823279f66 | rename _wrap_derivative_exog --> _derivative_exog_helper | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/discrete_model.py",
"new_path": "statsmodels/discrete/discrete_model.py",
"diff": "@@ -427,7 +427,7 @@ class DiscreteModel(base.LikelihoodModel):\n\"\"\"\nraise NotImplementedError\n- def _wrap_derivative_exog(self, margeff, params, exog, ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | rename _wrap_derivative_exog --> _derivative_exog_helper |
641,904 | 06.10.2018 14:14:15 | 25,200 | 4d7b38f4528114b69d2279add915e6c033ce1e40 | REF: Collect descriptions, de-duplicate normalization func | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/covtype.py",
"new_path": "statsmodels/base/covtype.py",
"diff": "@@ -11,6 +11,58 @@ from statsmodels.compat.python import lrange, lzip, range\nimport numpy as np\n+descriptions = {\n+ 'HC0': 'Standard Errors are heteroscedasticity robust (HC0)... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: Collect descriptions, de-duplicate normalization func |
641,904 | 06.05.2019 19:46:25 | 25,200 | 28e77c6ccca1d2f2a273ac934dc4349f9a54b42b | CLN: strict linting for gh_api and github_stats | [
{
"change_type": "MODIFY",
"old_path": "tools/gh_api.py",
"new_path": "tools/gh_api.py",
"diff": "@@ -26,8 +26,8 @@ except ImportError:\nelse:\nrequests_cache.install_cache(\"gh_api\")\n-# Keyring stores passwords by a 'username', but we're not storing a username and\n-# password\n+# Keyring stores ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: strict linting for gh_api and github_stats |
641,904 | 06.05.2019 19:48:44 | 25,200 | d3e4b9af2ad708d166b39cc7b65901a4fc10b3cf | CLN: strict linting for fold_toc, generate_formula_api | [
{
"change_type": "MODIFY",
"old_path": "tools/fold_toc.py",
"new_path": "tools/fold_toc.py",
"diff": "@@ -7,7 +7,7 @@ import sys\nfilename = sys.argv[1]\ntry:\nstatic_path = sys.argv[2]\n-except:\n+except IndexError:\nstatic_path = '_static'\ndoc = open(filename, encoding='utf8').read()\n@@ -26,7 +2... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: strict linting for fold_toc, generate_formula_api |
641,904 | 06.05.2019 19:56:30 | 25,200 | d1abc77beb7a98205ffaf647ae595296e51c7214 | CLN: strict linting for tools/ | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -59,6 +59,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/tsa/statespace/tests/results/results_var_R.py \\\nstatsmodels/tsa/statespace/tests/test_var.py \\\nstatsmodels/conftest.py \\\n+ tools/ \\\nsetup.py\nif [ $... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: strict linting for tools/ |
641,904 | 17.03.2018 14:47:19 | 25,200 | 543261e8541a44245ad9ed687a450f5e3f6a8d19 | remove file with note to remove in 0.5.0 | [
{
"change_type": "DELETE",
"old_path": "statsmodels/sandbox/panel/sandwich_covariance.py",
"new_path": null,
"diff": "-'''temporary compatibility module\n-\n-TODO: remove in 0.5.0\n-'''\n-\n-from statsmodels.stats.sandwich_covariance import se_cov, cov_hac, weights_bartlett\n-#from statsmodels.stats... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | remove file with note to remove in 0.5.0 |
641,971 | 01.10.2018 10:43:07 | 14,400 | 38102b3e298a98e00327a8eb4e50e2d52ceac06a | BUG/REF: sirf_errband_mc use unicode, use seed | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/svar_model.py",
"new_path": "statsmodels/tsa/vector_ar/svar_model.py",
"diff": "@@ -670,8 +670,8 @@ class SVARResults(SVARProcess, VARResults):\nB = self.B\nA_mask = self.A_mask\nB_mask = self.B_mask\n- A_pass = np.zeros(A.shape, dtyp... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/REF: sirf_errband_mc use unicode, use seed |
641,971 | 01.10.2018 11:14:15 | 14,400 | 3e558e6697e15afac03b8d34bf8136336166d99b | ENH: SVAR sirf_errband_mc, use estimated A and B as start_params | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/svar_model.py",
"new_path": "statsmodels/tsa/vector_ar/svar_model.py",
"diff": "@@ -692,7 +692,10 @@ class SVARResults(SVARProcess, VARResults):\nif cum == True:\nif i < 10:\nsol = SVAR(sim, svar_type=s_type, A=A_pass,\n- B=B_pass).fi... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: SVAR sirf_errband_mc, use estimated A and B as start_params |
641,971 | 03.10.2018 12:47:35 | 14,400 | 474197e0f9b17ced32e28a45b12e3aa8b2658af3 | REF: keep A_original, B_original, svar_type | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/svar_model.py",
"new_path": "statsmodels/tsa/vector_ar/svar_model.py",
"diff": "@@ -71,6 +71,9 @@ class SVAR(tsbase.TimeSeriesModel):\nsvar_ckerr(svar_type, A, B)\n+ self.A_original = A\n+ self.B_original = B\n+\n#initialize A, B as I... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: keep A_original, B_original, svar_type |
641,904 | 28.09.2018 17:05:14 | 25,200 | c7aef42a74f8283ac8ad4953c98f409f73d1c440 | MAINT: Remove outdated pandas version check | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/mediation.py",
"new_path": "statsmodels/stats/mediation.py",
"diff": "@@ -374,15 +374,20 @@ class MediationResults(object):\n\"\"\"\ncolumns = [\"Estimate\", \"Lower CI bound\", \"Upper CI bound\", \"P-value\"]\n- index = [\"ACME (control)\",... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Remove outdated pandas version check |
641,904 | 28.09.2018 18:47:43 | 25,200 | 217a2afd97197034e1d0eb6ee50af7d5d6b94fe6 | MAINT: fix incorrect docstring reference, remove commented-out in unambiguous cases | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/robust/robust_linear_model.py",
"new_path": "statsmodels/robust/robust_linear_model.py",
"diff": "@@ -460,29 +460,11 @@ class RLMResults(base.LikelihoodModelResults):\ndef chisq(self):\nreturn (self.params/self.bse)**2\n- def remove_data(self):\n- ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: fix incorrect docstring reference, remove commented-out in unambiguous cases |
641,904 | 28.09.2018 18:48:36 | 25,200 | ed575c6b9e7c36bfa21e029cf86631d5e271df70 | MAINT: fix docstring references to summary2, remove commented-out where unambiguous | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/linear_model.py",
"new_path": "statsmodels/regression/linear_model.py",
"diff": "@@ -2451,20 +2451,18 @@ class RegressionResults(base.LikelihoodModelResults):\nSee Also\n--------\n- statsmodels.iolib.summary.Summary : class to hold summa... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: fix docstring references to summary2, remove commented-out where unambiguous |
641,904 | 28.09.2018 18:49:06 | 25,200 | 8df154ee7c72d89e2ed96c61b0527e49a7170beb | MAINT: de-duplicate code between summary/summary2 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/summary.py",
"new_path": "statsmodels/iolib/summary.py",
"diff": "@@ -6,6 +6,7 @@ import numpy as np\nfrom statsmodels.iolib.table import SimpleTable\nfrom statsmodels.iolib.tableformatting import (gen_fmt, fmt_2,\nfmt_params, fmt_2cols)\n+fr... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: de-duplicate code between summary/summary2 |
641,904 | 28.09.2018 18:49:41 | 25,200 | fa2572e8b8c6e44bc205e60678da9d90a1fc7d3e | MAINT: small cleanups | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/generalized_estimating_equations.py",
"new_path": "statsmodels/genmod/generalized_estimating_equations.py",
"diff": "@@ -2039,9 +2039,7 @@ class GEEResults(base.LikelihoodModelResults):\nSee Also\n--------\n- statsmodels.iolib.summary.Summar... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: small cleanups |
641,904 | 28.09.2018 18:51:09 | 25,200 | 41f3733e8a1f0a4271779062c877204d8f289f48 | MAINT: docstring cleanups, remove defunct commented-out summary code | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -2378,9 +2378,7 @@ class GenericLikelihoodModelResults(LikelihoodModelResults, ResultMixin):\nSee Also\n--------\n- statsmodels.iolib.summary.Summary : class to hold summary\n- re... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: docstring cleanups, remove defunct commented-out summary code |
641,904 | 01.09.2018 18:10:17 | 25,200 | 509e27107e8bb18ca8a28e1f7b255874b462c772 | TST: parametrize test
TST: parametrize tests
TST: parametrize test
TST: parametrize test
TST: parametrize tests
TST: parametrize tests
TST: parametrize tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_corrpsd.py",
"new_path": "statsmodels/stats/tests/test_corrpsd.py",
"diff": "@@ -6,11 +6,11 @@ Created on Mon May 27 12:07:02 2013\nAuthor: Josef Perktold\n\"\"\"\n+import pytest\nimport numpy as np\nimport pytest\nimport scipy.spa... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: parametrize test
TST: parametrize tests
TST: parametrize test
TST: parametrize test
TST: parametrize tests
TST: parametrize tests
TST: parametrize tests |
641,904 | 07.05.2019 17:34:43 | 25,200 | 47debdf24dd8254d9a492014603af7a91c919d91 | CLN: strict linting for robust/tests directory | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -35,6 +35,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/regression/tests/test_quantile_regression.py \\\nstatsmodels/regression/tests/results/generate_lasso.py \\\nstatsmodels/regression/tests/results/generate_lm... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: strict linting for robust/tests directory |
641,831 | 07.05.2019 21:36:17 | 36,000 | 0d1c9af42849610cfe835a91cb5b2133d7ee8d20 | BUG: Intercept form of const., VARMAX start params | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/varmax.py",
"new_path": "statsmodels/tsa/statespace/varmax.py",
"diff": "@@ -330,9 +330,9 @@ class VARMAX(MLEModel):\ntrendexog_params = np.linalg.pinv(exog).dot(endog)\nendog -= np.dot(exog, trendexog_params)\nif self.k_trend > 0:\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Intercept form of const., VARMAX start params |
641,971 | 18.09.2014 10:51:06 | 14,400 | 8a1acb887f196f8fed7df11e86f0d50dd6b89c90 | BUG: summary2 use float_format when creating `_simple_tables` see | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/summary2.py",
"new_path": "statsmodels/iolib/summary2.py",
"diff": "@@ -568,7 +568,7 @@ def _df_to_simpletable(df, align='r', float_format=\"%.4f\", header=True,\ndef _simple_tables(tables, settings, pad_col=None, pad_index=None):\nsimple_tab... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: summary2 use float_format when creating `_simple_tables` see #1964 |
641,860 | 09.04.2017 02:57:01 | -10,800 | 489dbaa2f9fb3946422ff8857b13b60550722500 | Fixed bug with shifting at zero value in contingency table | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/contingency_tables.py",
"new_path": "statsmodels/stats/contingency_tables.py",
"diff": "@@ -114,7 +114,7 @@ class Table(object):\nself.table = np.asarray(table, dtype=np.float64)\nif shift_zeros and (self.table.min() == 0):\n- self.table = se... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Fixed bug with shifting at zero value in contingency table |
641,860 | 09.04.2017 18:01:24 | -10,800 | d773d5f150d98245edbe6be6d8a1c7531623d499 | Added test case for default value | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_contingency_tables.py",
"new_path": "statsmodels/stats/tests/test_contingency_tables.py",
"diff": "@@ -119,6 +119,7 @@ def test_shifting():\nr = np.asarray([[0.5, 1, 2],\n[3, 0.5, 4],\n[5, 6, 0.5]], dtype=np.float64)\n+ assert_equa... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Added test case for default value |
641,904 | 21.08.2018 13:46:06 | 25,200 | 220f7dcf044d774e86ea52dfaae9343a1520f5fa | disallow use_self=False | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -1230,6 +1230,9 @@ class LikelihoodModelResults(Results):\ndef _get_robustcov_results(self, cov_type='nonrobust', use_self=True,\nuse_t=None, **cov_kwds):\n+ if use_self is False:... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | disallow use_self=False |
641,904 | 07.05.2019 12:11:47 | 25,200 | 9b70fe1de8fac39540adca5255a36317e148fd64 | CLN: remove tools.dump2module, closes | [
{
"change_type": "DELETE",
"old_path": "statsmodels/tools/dump2module.py",
"new_path": null,
"diff": "-'''Save a set of numpy arrays to a python module file that can be imported\n-\n-Author : Josef Perktold\n-'''\n-from __future__ import print_function\n-from statsmodels.compat.python import iterkey... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: remove tools.dump2module, closes #5107 |
641,904 | 07.05.2019 12:13:30 | 25,200 | 5e2e018c01ec74ee3a8585d47ad5d59e6c888b00 | CLN/DOC: Remove references to vbench, closes | [
{
"change_type": "MODIFY",
"old_path": "docs/source/dev/maintainer_notes.rst",
"new_path": "docs/source/dev/maintainer_notes.rst",
"diff": "@@ -272,10 +272,3 @@ the following::\nREL: Release related commit\nTST: Change to a test, adding a test. Only used if not directly related to a bug.\nREF: Refac... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN/DOC: Remove references to vbench, closes #5319 |
641,904 | 07.05.2019 19:35:52 | 25,200 | 22cf8d786dd990e9e7e24d87c0f58a6bc859870c | TST: xfail test on OSX instead of skipping | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/tests/test_lme.py",
"new_path": "statsmodels/regression/tests/test_lme.py",
"diff": "@@ -88,8 +88,6 @@ def loglike_function(model, profile_fe, has_fe):\nclass TestMixedLM(object):\n# Test analytic scores and Hessian using numeric differe... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: xfail test on OSX instead of skipping |
641,904 | 05.03.2018 15:22:36 | 28,800 | 8064c9a62041f3948dbc5735620d754e88ab3097 | MAINT: ensure MultinomialResults has J, K. Remove unnecessary lmap usage | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/discrete_model.py",
"new_path": "statsmodels/discrete/discrete_model.py",
"diff": "@@ -20,7 +20,7 @@ from __future__ import division\n__all__ = [\"Poisson\", \"Logit\", \"Probit\", \"MNLogit\", \"NegativeBinomial\",\n\"GeneralizedPoisson\"... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: ensure MultinomialResults has J, K. Remove unnecessary lmap usage |
641,904 | 07.05.2019 14:12:09 | 25,200 | 7322e167bb38e5d9ecc84880a7dcc38802b7ebbc | BUG: add K attribute to ConditionalLogit | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/conditional_models.py",
"new_path": "statsmodels/discrete/conditional_models.py",
"diff": "@@ -243,6 +243,9 @@ class ConditionalLogit(_ConditionalModel):\nmsg = \"endog must be coded as 0, 1\"\nraise ValueError(msg)\n+ self.K = self.exog.s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: add K attribute to ConditionalLogit |
641,904 | 08.05.2019 10:08:08 | 25,200 | 851c19b6c55a5b3c6307cee0c0271abc93d075f9 | add K to Conditional MNLogit | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/conditional_models.py",
"new_path": "statsmodels/discrete/conditional_models.py",
"diff": "@@ -536,6 +536,7 @@ class ConditionalMNLogit(_ConditionalModel):\nself.df_resid = self.nobs - self.df_model\nself._ynames_map = {j: str(j) for j in ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add K to Conditional MNLogit |
641,931 | 06.03.2019 12:57:45 | 18,000 | 49f71770543006998719e6494222e72c77f6bce5 | KPSS autolag (issue2781) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/stattools.py",
"new_path": "statsmodels/tsa/stattools.py",
"diff": "@@ -1582,8 +1582,9 @@ def kpss(x, regression='c', lags=None, store=False):\n* 'ct' : The data is stationary around a trend\nlags : int\nIndicates the number of lags to be used.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | KPSS autolag (issue2781) |
641,852 | 09.05.2019 12:41:16 | -3,600 | cb620a189359692e5edacb595215e9479ee225e4 | BUG: fix stats.moment_helpers inplace modification
Fix moment helpers so that they do not do inplace modification
Allow multidimensional input
closes
closes | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -42,6 +42,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/stats/base.py \\\nstatsmodels/stats/correlation_tools.py \\\nstatsmodels/stats/knockoff_regeffects.py \\\n+ statsmodels/stats/moment_helpers.py \\\nstatsmod... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix stats.moment_helpers inplace modification
Fix moment helpers so that they do not do inplace modification
Allow multidimensional input
closes #3362
closes #2928 |
642,024 | 18.08.2016 17:23:53 | 14,400 | c1a52676c9e0a36abcafb245954f1cc5507418b0 | ENH: Allow comparing two samples with different sizes
Allowpp and qq to use different size data sets | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/graphics/gofplots.py",
"new_path": "statsmodels/graphics/gofplots.py",
"diff": "from statsmodels.compat.python import lzip, string_types\n+\nimport numpy as np\nfrom scipy import stats\n+\nfrom statsmodels.regression.linear_model import OLS\nfrom s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Allow comparing two samples with different sizes
Allowpp and qq to use different size data sets |
641,904 | 09.05.2019 09:18:37 | 25,200 | bccf544788475f8ea399c1972c0147767f6c74f1 | CLN: strict linting for emplike/tests | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -26,6 +26,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/gam/ \\\nstatsmodels/genmod/tests/results/test_R_var_weight.py \\\nstatsmodels/graphics/tsaplots.py \\\n+ statsmodels/emplike/tests/ \\\nstatsmodels/example... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: strict linting for emplike/tests |
642,003 | 10.05.2019 13:40:33 | 14,400 | b09b77b2eeb11b562b8fe92b1ac7d03693e1a198 | DOC: Fix parameter description in weightstats
As suggested in This PR will close
x1 and x2 are in separate lines now, and keep original descriptions. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/weightstats.py",
"new_path": "statsmodels/stats/weightstats.py",
"diff": "@@ -858,8 +858,10 @@ class CompareMeans(object):\nParameters\n----------\n- x1, x2 : array_like, 1-D or 2-D\n- two independent samples, see notes for 2-D case\n+ x1 : a... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Fix parameter description in weightstats
As suggested in https://github.com/statsmodels/statsmodels/issues/5618#issuecomment-489373679. This PR will close #5618.
x1 and x2 are in separate lines now, and keep original descriptions. |
641,971 | 10.05.2019 15:38:56 | 14,400 | b9c27d997d4e52cf42d6ef0abc0175366e853c7b | BUG: fix df in summary for single constraint in wald_test_terms closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -1842,7 +1842,7 @@ class LikelihoodModelResults(Results):\nelse:\n# check by exog/params names if there is no formula info\nfor col, name in enumerate(result.model.exog_names):\n-... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix df in summary for single constraint in wald_test_terms closes #5475 |
641,904 | 10.05.2019 15:11:12 | 25,200 | 01105e66313d37863e932ca13ad300e9a061bc9a | CLN: Fix invalid escapes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/tsa/diffusion.py",
"new_path": "statsmodels/sandbox/tsa/diffusion.py",
"diff": "@@ -232,7 +232,7 @@ class GeometricBrownian(AffineDiffusion):\ndx_t &= \\\\mu x_t dt + \\\\sigma x_t dW_t\n$x_t $ stochastic process of Geometric Brownian motio... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: Fix invalid escapes |
641,904 | 10.05.2019 18:59:40 | 25,200 | c8f9cd2cd9fcefa3cdbebe5c2d8ca86ca32f0770 | CLN: remove findow_0, dominated by findow_1 | [
{
"change_type": "DELETE",
"old_path": "statsmodels/sandbox/examples/thirdparty/findow_0.py",
"new_path": null,
"diff": "-# -*- coding: utf-8 -*-\n-\"\"\"A quick look at volatility of stock returns for 2009\n-\n-Just an exercise to find my way around the pandas methods.\n-Shows the daily rate of ret... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: remove findow_0, dominated by findow_1 |
641,904 | 10.05.2019 19:15:53 | 25,200 | 185ace34727739ca581d8ddf3471ebb257537baf | MAINT: note that the source of the function no longer exists, avoid invalid escapes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/examples/thirdparty/findow_1.py",
"new_path": "statsmodels/sandbox/examples/thirdparty/findow_1.py",
"diff": "@@ -12,8 +12,6 @@ uses DataFrame and WidePanel to hold data downloaded from yahoo using matplotlib\nI haven't figured out storage,... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: note that the source of the function no longer exists, avoid invalid escapes |
641,904 | 10.05.2019 19:20:47 | 25,200 | 6780dc3b4521ddf10c9dc8159dcd9dc5ff0a711f | MAINT: remove parts of docstring'd-out code that no longer need debugging; remove invalid escapes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/examples/ex_generic_mle.py",
"new_path": "statsmodels/examples/ex_generic_mle.py",
"diff": "@@ -166,9 +166,6 @@ print(\"bse diff in percent\")\nprint((res_norm3.bse[:-1] / res2.bse)*100. - 100)\n'''\n-C:\\Programs\\Python25\\lib\\site-packages\\mat... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove parts of docstring'd-out code that no longer need debugging; remove invalid escapes |
641,904 | 10.05.2019 19:47:26 | 25,200 | e9f1c27b1ff636e283ca934186294964878919d2 | MAINT: remove docstring'd-out traceback that no longer raises | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/examples/try_gee.py",
"new_path": "statsmodels/examples/try_gee.py",
"diff": "@@ -44,17 +44,6 @@ tt2 = mdf2.t_test(np.eye(len(mdf2.params)))\n# need master to get wald_test\n#print mdf2.wald_test(np.eye(len(mdf2.params))[1:])\n-'''\n->>> mdf2.predi... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove docstring'd-out traceback that no longer raises |
641,904 | 10.05.2019 21:20:26 | 25,200 | 8e3c76f0495a65818e82faae11f9a4277c1c3682 | MAINT: fix NameError in correlation_structures by re-using yule-walker instead of re-implementing | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/panel/correlation_structures.py",
"new_path": "statsmodels/sandbox/panel/correlation_structures.py",
"diff": "@@ -16,6 +16,9 @@ outline for GEE.\nimport numpy as np\n+from statsmodels.regression.linear_model import yule_walker\n+\n+\ndef co... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: fix NameError in correlation_structures by re-using yule-walker instead of re-implementing |
641,904 | 10.05.2019 21:22:32 | 25,200 | f6894f996748b1b51c3a74f7429d6478acabfad5 | MAINT: fix NameErrors by passing order, doing copy | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/panel/correlation_structures.py",
"new_path": "statsmodels/sandbox/panel/correlation_structures.py",
"diff": "@@ -102,7 +102,7 @@ def corr2cov(corr, std):\nreturn cov\n-def whiten_ar(x, ar_coefs):\n+def whiten_ar(x, ar_coefs, order):\n\"\"\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: fix NameErrors by passing order, doing copy |
641,904 | 10.05.2019 21:24:50 | 25,200 | 529aa1e10334590d9463047d7c088d3cc2657311 | MAINT: Fix NameErrors by adding missing import, using method correctly | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/panel/correlation_structures.py",
"new_path": "statsmodels/sandbox/panel/correlation_structures.py",
"diff": "@@ -17,6 +17,7 @@ outline for GEE.\nimport numpy as np\nfrom statsmodels.regression.linear_model import yule_walker\n+from statsmo... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Fix NameErrors by adding missing import, using method correctly |
641,904 | 10.05.2019 21:26:40 | 25,200 | 3d63f3b16f6afe67f6360715d9068303eedc4b36 | CLN: flake8 fixups and strict linting | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -38,6 +38,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/regression/tests/results/generate_lasso.py \\\nstatsmodels/regression/tests/results/generate_lme.py \\\nstatsmodels/robust/tests/ \\\n+ statsmodels/sandbox/... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: flake8 fixups and strict linting |
641,904 | 06.09.2018 20:45:33 | 25,200 | 548848f0d550350fdb76bc51a0ee55729be12144 | CLN: remove identical functions | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/tsa/garch.py",
"new_path": "statsmodels/sandbox/tsa/garch.py",
"diff": "@@ -84,6 +84,7 @@ import matplotlib.pyplot as plt\nimport numdifftools as ndt\nfrom statsmodels.base.model import Model, LikelihoodModelResults\n+from statsmodels.tsa.f... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: remove identical functions |
641,904 | 11.05.2019 07:01:37 | 25,200 | b702e803c738e56b47b9730763a55117810bb0de | MAINT: remove NameError-having version of levinson_durbin, just keep copied-and-fixed version in stattools | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/tsa/examples/try_ld_nitime.py",
"new_path": "statsmodels/sandbox/tsa/examples/try_ld_nitime.py",
"diff": "@@ -7,36 +7,6 @@ import numpy as np\nfrom statsmodels.tsa.stattools import acovf\n-def levinson_durbin_nitime(s, order=10, isacov=Fals... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove NameError-having version of levinson_durbin, just keep copied-and-fixed version in stattools |
641,904 | 11.05.2019 08:28:51 | 25,200 | 33c48cb26386066434c44c64e6ff222b1e9552e1 | CLN: strict linting for examples/ | [
{
"change_type": "MODIFY",
"old_path": "examples/incomplete/arima.py",
"new_path": "examples/incomplete/arima.py",
"diff": "@@ -4,6 +4,7 @@ from statsmodels.tsa.base.datetools import dates_from_range\nfrom statsmodels.tsa.arima_model import ARIMA\nimport matplotlib.pyplot as plt\nimport numpy as np\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: strict linting for examples/ |
641,904 | 11.05.2019 19:12:35 | 25,200 | 0e315c3131284d8ad9a912e050c6103f76765593 | MAINT: clean up docstring'd-out failure in __main__ block | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -38,6 +38,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/regression/tests/results/generate_lasso.py \\\nstatsmodels/regression/tests/results/generate_lme.py \\\nstatsmodels/robust/tests/ \\\n+ statsmodels/sandbox/... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: clean up docstring'd-out failure in __main__ block |
641,831 | 11.05.2019 11:16:32 | 36,000 | 6d65c3855bb06cf2bc79c591a8780e12691bb7a4 | ENH: expose innovations computation method to API. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/innovations/_arma_innovations.pyx.in",
"new_path": "statsmodels/tsa/innovations/_arma_innovations.pyx.in",
"diff": "@@ -89,7 +89,7 @@ cdef {{prefix}}toeplitz(int n, int offset0, int offset1,\nout_matrix[offset0 + j, offset1 + i] = in_column[i -... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: expose innovations computation method to API. |
642,065 | 12.05.2019 07:47:15 | 18,000 | 797c613d11cfd57778f891580bc59d8bc3c33e77 | TST: Sort dicts | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_multi.py",
"new_path": "statsmodels/stats/tests/test_multi.py",
"diff": "@@ -182,7 +182,7 @@ res0_large = np.array([\nclass CheckMultiTestsMixin(object):\n- @pytest.mark.parametrize('key,val', list(rmethods.items()))\n+ @pytest.mar... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Sort dicts |
642,065 | 12.05.2019 08:14:20 | 18,000 | 856ef96e71f880a2bc85f565ebc9eff5daa46bcf | TST: Add xdist for mac | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -139,6 +139,7 @@ before_install:\n# Source recipe to install packages\n- source $BUILD_INIT\n- pip install pytest pip pytest-randomly nose\n+ - [ \"$TRAVIS_OS_NAME\" = \"osx\" ] && pip install pytest\n- |\ni... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Add xdist for mac |
642,065 | 12.05.2019 10:29:54 | 18,000 | 65a5696fa639cb3c376e233a824d935fdf5ce443 | TST: Fix bad bash | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -139,7 +139,7 @@ before_install:\n# Source recipe to install packages\n- source $BUILD_INIT\n- pip install pytest pip pytest-randomly nose\n- - [ \"$TRAVIS_OS_NAME\" = \"osx\" ] && pip install pytest\n+ - if... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Fix bad bash |
641,960 | 12.05.2019 09:24:15 | 14,400 | 6fe8d4e351416727641db4c3d3552f4ec4f46d0e | ENH: KPSS - detailed error message when lags > nobs | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/stattools.py",
"new_path": "statsmodels/tsa/stattools.py",
"diff": "@@ -1671,8 +1671,7 @@ def kpss(x, regression='c', lags=None, store=False):\n'same as lags=\\'auto\\' which uses an automatic lag length ' \\\n'selection method. To silence this... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: KPSS - detailed error message when lags > nobs |
641,904 | 11.05.2019 19:29:48 | 25,200 | 3347b43fbe3462fc0a6f26d7e6c2c545b682b675 | MAINT: confirm that docstring'd-out traceback no longer raises; remove | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/distributions/estimators.py",
"new_path": "statsmodels/sandbox/distributions/estimators.py",
"diff": "@@ -640,9 +640,6 @@ if __name__ == '__main__':\nprint('\\n\\nExample: Lomax, Pareto, Generalized Pareto Distributions')\nprint( '---------... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: confirm that docstring'd-out traceback no longer raises; remove |
641,904 | 10.05.2019 19:57:09 | 25,200 | 2cba5adfe726873acb982bcbc12fad613a4611c7 | BUG: remove unreachable branch with hidden NameError | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/empirical_distribution.py",
"new_path": "statsmodels/distributions/empirical_distribution.py",
"diff": "@@ -132,15 +132,18 @@ class ECDF(StepFunction):\narray([ 0.75, 1. , 0. , 0.25])\n\"\"\"\ndef __init__(self, x, side='right'):\n- s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: remove unreachable branch with hidden NameError |
641,904 | 10.05.2019 19:57:59 | 25,200 | e40d0f24c59d917117a23a8084c0cb39448f616d | BUG: fix typo repl-->nrepl, preventing NameError | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/tools/mctools.py",
"new_path": "statsmodels/sandbox/tools/mctools.py",
"diff": "@@ -144,7 +144,7 @@ class StatTestMC(object):\n#self.nreturn = nreturns = 1\nmcres = np.zeros(nrepl)\nmcres[0] = mcres0\n- for ii in range(1, repl-1, nreturns):... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix typo repl-->nrepl, preventing NameError |
641,904 | 10.05.2019 21:13:39 | 25,200 | 4f5bf7d8c5421415935b7940e359e28d2fbae4d4 | MAINT: fix typos causing NameErrors | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/__init__.py",
"new_path": "statsmodels/__init__.py",
"diff": "@@ -24,7 +24,7 @@ if debug_warnings:\nif PY3:\n# ResourceWarning doesn't exist in python 2\n# we have currently many ResourceWarnings in the datasets on python 3.4\n- warnings.simplefilt... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: fix typos causing NameErrors |
641,904 | 11.05.2019 07:10:05 | 25,200 | f82cf520c32bcf34252337eca1d49ed9ff36ab63 | MAINT: Fix NameErrors, missing import | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/stats/stats_mstats_short.py",
"new_path": "statsmodels/sandbox/stats/stats_mstats_short.py",
"diff": "@@ -315,7 +315,7 @@ def edf_normal_inverse_transformed(x, alpha=3./8, beta=3./8, axis=0):\n'''rank based normal inverse transformed cdf\n'... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Fix NameErrors, missing import |
641,904 | 13.05.2019 11:41:19 | 25,200 | 25e991ffbe90eea3f81a076df585dadd0cd15cd8 | CLN: fix invalid escapes in test_stattools introduced in | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_stattools.py",
"new_path": "statsmodels/tsa/tests/test_stattools.py",
"diff": "@@ -538,7 +538,9 @@ class TestKPSS(SetupKPSS):\ndef test_kpss_fails_on_nobs_check(self):\n# Test that if lags exceeds number of observations KPSS raises a... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: fix invalid escapes in test_stattools introduced in #5707 |
641,904 | 13.05.2019 12:40:59 | 25,200 | eac4c96c2a43cae6344e269df266a04210012489 | CLN/EX: Troubleshoot broken example, clean up now-working scratch paper | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/examples/ex_generic_mle_tdist.py",
"new_path": "statsmodels/examples/ex_generic_mle_tdist.py",
"diff": "@@ -372,25 +372,11 @@ repr(start_params) array([ 1., 2.])\nWarning: Maximum number of function evaluations has been exceeded.\n>>> res_par.param... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN/EX: Troubleshoot broken example, clean up now-working scratch paper |
641,904 | 13.05.2019 17:11:40 | 25,200 | 1e4979d2f6e8e4553acf6382c56e3080745f1474 | MAINT: Fix incorrect specification of loglike arg, remove no-longer-failing conf_int traceback | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/examples/ex_generic_mle.py",
"new_path": "statsmodels/examples/ex_generic_mle.py",
"diff": "from __future__ import print_function\n+from functools import partial\n+\nimport numpy as np\nfrom scipy import stats\nimport statsmodels.api as sm\n@@ -25,... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Fix incorrect specification of loglike arg, remove no-longer-failing conf_int traceback |
641,904 | 13.05.2019 17:29:08 | 25,200 | 442b8644622127204031d3d832a130f94b249f9e | MAINT: fix non-working example ex_pandas | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/examples/ex_pandas.py",
"new_path": "statsmodels/examples/ex_pandas.py",
"diff": "@@ -90,7 +90,7 @@ plot_acf_multiple(log_difference.values)\n#Example TSA VAR\n-model = tsa.VAR(log_difference, freq='D')\n+model = tsa.VAR(log_difference, freq='BQ')\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: fix non-working example ex_pandas |
641,904 | 10.09.2018 10:32:03 | 25,200 | 0e74ce9520c01d825dbf36b3ea7f1def45fc2e1b | MAINT: comment explaining status of open_help | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/api.py",
"new_path": "statsmodels/api.py",
"diff": "@@ -50,9 +50,10 @@ from .tools.print_version import show_versions\nfrom .tools.web import webdoc\nimport os\n-\nchmpath = os.path.join(os.path.dirname(__file__), 'statsmodelsdoc.chm')\nif os.path.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: comment explaining status of open_help |
641,904 | 10.09.2018 10:40:55 | 25,200 | 915fe49d0b6adf5561c19aa315fa4865622ca600 | MAINT: remove unneeded example file; closes closes#5100 | [
{
"change_type": "DELETE",
"old_path": "statsmodels/examples/t_est_rlm.py",
"new_path": null,
"diff": "-# -*- coding: utf-8 -*-\n-\"\"\"\n-Example from robust test_rlm, fails on Mac\n-\n-Created on Sun Mar 27 14:36:40 2011\n-\n-\"\"\"\n-\n-from __future__ import print_function\n-import numpy as np\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove unneeded example file; closes #5109, closes#5100 |
641,904 | 10.09.2018 10:48:09 | 25,200 | 54949d7154bee956439fb7499811e9d2efd2cd32 | MAINT: remove commented-out sandbox imports; closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/examples/ex_sandwich.py",
"new_path": "statsmodels/examples/ex_sandwich.py",
"diff": "@@ -11,7 +11,6 @@ from numpy.testing import assert_almost_equal\nimport statsmodels.api as sm\nimport statsmodels.stats.sandwich_covariance as sw\n-#import statsm... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove commented-out sandbox imports; closes #5047 |
641,904 | 10.09.2018 10:50:36 | 25,200 | ecbf547f224674068c3f17093f081c618994875b | MAINT: remove unused strip_rc; closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/testing.py",
"new_path": "statsmodels/tools/testing.py",
"diff": "@@ -8,10 +8,6 @@ import re\nimport numpy.testing as npt\nimport pandas\n-# for pandas version check\n-def strip_rc(version):\n- return re.sub(r\"rc\\d+$\", \"\", version)\n-\n#... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove unused strip_rc; closes #5126 |
641,904 | 10.09.2018 10:51:53 | 25,200 | 9f14b3dc5c0ce4d5ddf45f27d92299d208fd727f | MAINT: remove stub Equation | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/dynamic.py",
"new_path": "statsmodels/tsa/vector_ar/dynamic.py",
"diff": "@@ -470,15 +470,6 @@ def _make_lag_matrix(x, lags):\nreturn pd.DataFrame(data, columns=columns)\n-class Equation(object):\n- \"\"\"\n- Stub, estimate one equati... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove stub Equation |
641,904 | 10.09.2018 10:53:14 | 25,200 | d237d115a471c4066b7338b0b3d01865fd3ece72 | MAINT: remove __array__ that predates statsmodels, closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/contrast.py",
"new_path": "statsmodels/stats/contrast.py",
"diff": "@@ -93,21 +93,12 @@ class ContrastResults(object):\nelse:\nraise NotImplementedError('Confidence Interval not available')\n-\n- def __array__(self):\n- if hasattr(self, \"fva... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove __array__ that predates statsmodels, closes #4470 |
641,904 | 14.05.2019 07:48:47 | 25,200 | 93f4807a16d24c12622716ec367d72627a788d22 | CLN: strict linting for dimred, processreg, and their tests.
These files are newly introduced; should have been passing strict-linting already. | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -31,9 +31,13 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/iolib/smpickle.py \\\nstatsmodels/iolib/tests/test_pickle.py \\\nstatsmodels/multivariate/pca.py \\\n+ statsmodels/regression/dimred.py \\\nstatsmodels/reg... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: strict linting for dimred, processreg, and their tests.
These files are newly introduced; should have been passing strict-linting already. |
641,904 | 13.05.2019 16:51:29 | 25,200 | 0c5ccdb93828f85a2e351474cfd2909d3a4ac2f5 | CLN: ellipses-out invalid escape traceback | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/examples/ex_generic_mle_t.py",
"new_path": "statsmodels/examples/ex_generic_mle_t.py",
"diff": "@@ -110,10 +110,6 @@ print(tmp.shape)\n8\n>>> tmp.shape\n(100, 100)\n->>> np.dot(modp.exog, beta).shape\n-Traceback (most recent call last):\n- File \"<... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: ellipses-out invalid escape traceback |
642,019 | 14.05.2019 15:09:02 | 14,400 | f57b8adda0476e0a50f699da0ac7471a5d0899c2 | Spelling fix in ValueError message | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/linear_model.py",
"new_path": "statsmodels/regression/linear_model.py",
"diff": "@@ -983,7 +983,7 @@ class OLS(WLS):\n# In the future we could add support for other penalties, e.g. SCAD.\nif method not in (\"elastic_net\", \"sqrt_lasso\"... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Spelling fix in ValueError message |
641,904 | 14.05.2019 07:56:59 | 25,200 | 5aeb04f40aaff36f668acb427f73fd767d74bdca | MAINT: fix unclosed paren in adfvalues, closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/adfvalues.py",
"new_path": "statsmodels/tsa/adfvalues.py",
"diff": "@@ -100,7 +100,7 @@ z_star_ctt = [-20.7,-25.3,-29.9,-34.4,-38.5,-44.2]\n# Z* is the largest value for which it is appropriate to use these\n# approximations\n# the left tail ap... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: fix unclosed paren in adfvalues, closes #4451 |
641,904 | 14.05.2019 08:01:53 | 25,200 | 2a028c294c25705ee5672f637527e92405058b5d | MAINT: remove StatTestMC, closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/stats/diagnostic.py",
"new_path": "statsmodels/sandbox/stats/diagnostic.py",
"diff": "@@ -17,7 +17,6 @@ TODO\n* refactor to store intermediate results\n* how easy is it to attach a test that is a class to a result instance,\nfor example Com... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove StatTestMC, closes #4419 |
641,904 | 14.05.2019 08:18:13 | 25,200 | 944db311b5495458013d38b332b6cfb197d9123d | TST: turn commented-out tests into xfails, closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/tests/test_numdiff.py",
"new_path": "statsmodels/tools/tests/test_numdiff.py",
"diff": "@@ -194,7 +194,7 @@ class CheckDerivativeMixin(object):\ngtrue = self.gradtrue(test_params)\nfun = self.fun()\n- epsilon = 1e-6 #default epsilon 1e-6 is n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: turn commented-out tests into xfails, closes #4349 |
641,904 | 14.05.2019 08:23:30 | 25,200 | 696a9e4bb5b2d06f72a4d848e1a8f7c393993360 | MAINT: remove unhittable KeyError, closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/decorators.py",
"new_path": "statsmodels/tools/decorators.py",
"diff": "@@ -24,18 +24,10 @@ class CachedAttribute(object):\n# Get the name of the attribute to set and cache\nname = self.name\n_cachedval = _cache.get(name, None)\n- # print(\"[... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove unhittable KeyError, closes #4110 |
641,904 | 14.05.2019 09:51:51 | 25,200 | e73fd22dec8ed80e2501eb44caa2b3bef89f227e | TST: xfail tests instead of silently passing | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_discrete.py",
"new_path": "statsmodels/discrete/tests/test_discrete.py",
"diff": "@@ -101,8 +101,7 @@ class CheckModelResults(CheckModelMixin):\nself.res2.llr_pvalue,\nDECIMAL_4)\n- @pytest.mark.xfail(reason=\"No idea! But until... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: xfail tests instead of silently passing |
641,904 | 14.05.2019 10:08:06 | 25,200 | 7d7b7a6ebb528f6e5d3d115c640b09a9ea1f4ac8 | MAINT: use pandas StataMissingValue, closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/foreign.py",
"new_path": "statsmodels/iolib/foreign.py",
"diff": "@@ -19,6 +19,7 @@ import numpy as np\nfrom numpy.lib._iotools import _is_string_like, easy_dtype\nimport statsmodels.tools.data as data_util\nfrom pandas import isnull\n+from p... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: use pandas StataMissingValue, closes #5278 |
641,904 | 14.05.2019 10:09:45 | 25,200 | 3a73aba4e87e8ef790dfa571f538732288837890 | MAINT: dont overwrite approx_hess_cs.__doc__; closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/numdiff.py",
"new_path": "statsmodels/tools/numdiff.py",
"diff": "@@ -244,17 +244,6 @@ def approx_hess_cs(x, f, epsilon=None, args=(), kwargs={}):\nhess[j, i] = hess[i, j]\nreturn hess\n-approx_hess_cs.__doc__ = ((\"Calculate Hessian with com... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: dont overwrite approx_hess_cs.__doc__; closes #5276 |
641,904 | 14.05.2019 10:17:35 | 25,200 | 1317d6b5c9c6d0d8b49aabc651b33a92f9de0615 | BUG: fix+test NameError in grouputils, closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/grouputils.py",
"new_path": "statsmodels/tools/grouputils.py",
"diff": "@@ -125,6 +125,8 @@ def group_sums_dummy(x, group_dummy):\nreturn x.T * group_dummy\n+# TODO: See if this can be entirely replaced by Grouping.dummy_sparse;\n+# see GH#56... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix+test NameError in grouputils, closes #5687 |
641,904 | 15.05.2019 10:05:39 | 25,200 | 1ae4e7b9a80d353152b26f9e9e8b972ac2d24199 | MAINT: use dummy_sparse func within method, see GH#5687 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/grouputils.py",
"new_path": "statsmodels/tools/grouputils.py",
"diff": "@@ -548,8 +548,5 @@ class Grouping(object):\n[0, 0, 1],\n[1, 0, 0]], dtype=int8)\n\"\"\"\n- from scipy import sparse\n- groups = self.labels[level]\n- indptr = np.arange(... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: use dummy_sparse func within method, see GH#5687 |
641,904 | 15.05.2019 15:26:16 | 25,200 | 041b5a5c03bc3f98ee5242e2e50d46a6b0351ff2 | CLN: strict lint statsmodels/discrete/tests/results/results_poisson_constrained.py | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/results/results_poisson_constrained.py",
"new_path": "statsmodels/discrete/tests/results/results_poisson_constrained.py",
"diff": "import numpy as np\n+\nclass Bunch(dict):\ndef __init__(self, **kw):\ndict.__init__(self, kw)\n@@ -68,... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: strict lint statsmodels/discrete/tests/results/results_poisson_constrained.py |
641,904 | 15.05.2019 15:32:31 | 25,200 | d483469c78b313c1227e88cd78111bbe448d7a0e | CLN: strict litn statsmodels/discrete/tests/results/results_glm_logit_constrained.py | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/results/results_glm_logit_constrained.py",
"new_path": "statsmodels/discrete/tests/results/results_glm_logit_constrained.py",
"diff": "@@ -34,7 +34,7 @@ est = dict(\ncmdline=\"glm grade gpa tuce psi, family(binomial)\",\ncmd=\"glm\",... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: strict litn statsmodels/discrete/tests/results/results_glm_logit_constrained.py |
641,904 | 16.05.2019 12:34:54 | 25,200 | 4f48b48939b1bd68deb5fa8bdf224aa53555138b | CLN: E702 multiple statements on on line | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "@@ -95,6 +95,8 @@ select=\n# F831: duplicate argument name in function definition\nE306,\n# E306: expected 1 blank line before a nested definition, found 0\n+ E702,\n+ # E702: multiple statements on one line (semic... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: E702 multiple statements on on line |
641,904 | 16.05.2019 12:39:19 | 25,200 | 25e4eacbce245f4040b070877e1a083ca4026f83 | CLN: W291 trailing whitespace | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "@@ -100,9 +100,9 @@ select=\nE703,\n# E703: statement ends with a semicolon\n- W292,\n+ W2,\n+ # W291: trailing whitespace\n# W292: no newline at end of file\n- W293,\n# W293: blank line contains whitespace\nE713,\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: W291 trailing whitespace |
641,904 | 16.05.2019 18:25:35 | 25,200 | dd7bc8c788085fffecfadf330cae01b7cbab25f0 | CLN: strict linting for tsa.filters.tests.results | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -67,6 +67,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/tools/decorators.py \\\nstatsmodels/tools/tests/test_decorators.py \\\nstatsmodels/tsa/base/tests/test_datetools.py \\\n+ statsmodels/tsa/filters/tests/resu... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: strict linting for tsa.filters.tests.results |
641,904 | 16.05.2019 18:31:30 | 25,200 | 452a45e5e61b58082dedacf60f5bb3e506acbf0f | CLN: strict linting for tsa.filters.tests | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -67,7 +67,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/tools/decorators.py \\\nstatsmodels/tools/tests/test_decorators.py \\\nstatsmodels/tsa/base/tests/test_datetools.py \\\n- statsmodels/tsa/filters/tests/resu... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: strict linting for tsa.filters.tests |
641,904 | 16.05.2019 18:40:44 | 25,200 | c36220636ab735f277835d61fada507dcd4b83cb | MAINT: restore lost entries to lint.sh | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -68,6 +68,9 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/tools/tests/test_decorators.py \\\nstatsmodels/tsa/base/tests/test_datetools.py \\\nstatsmodels/tsa/filters/tests/ \\\n+ statsmodels/tsa/innovations/ \\\n+ ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: restore lost entries to lint.sh |
641,904 | 16.05.2019 22:07:16 | 25,200 | 50984e2da8c3b5f369a7bcc812812428bdf78808 | CLN: strict linting for stats/tests/results/ | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -60,6 +60,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/stats/tests/test_moment_helpers.py \\\nstatsmodels/stats/tests/test_qsturng.py \\\nstatsmodels/stats/tests/test_regularized_covariance.py \\\n+ statsmodels/... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: strict linting for stats/tests/results/ |
641,904 | 17.05.2019 07:54:26 | 25,200 | 50eec21bf546df18747670c2b4570a443b18bc0d | CLN: strict linting for vector_ar.tests.results | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -71,6 +71,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/tsa/kalmanf/ \\\nstatsmodels/tsa/regime_switching/ \\\nstatsmodels/tsa/vector_ar/dynamic.py \\\n+ statsmodels/tsa/vector_ar/tests/results/ \\\nstatsmodels/t... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: strict linting for vector_ar.tests.results |
641,904 | 16.05.2019 22:22:18 | 25,200 | 44aa3ec06af9df859d57974f48c2b080c979fb43 | CLN: strict linting for a 2 stats/tests files | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -53,11 +53,13 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/stats/multicomp.py \\\nstatsmodels/stats/regularized_covariance.py \\\nstatsmodels/stats/stattools.py \\\n+ statsmodels/stats/tests/test_anova_rm.py \\\ns... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: strict linting for a 2 stats/tests files |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.