author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
642,048 | 06.03.2018 10:23:02 | 18,000 | 71245ed3f16a3eb3c9ec9056d5b83eb5eea2c184 | test dietox with random slope model | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/tests/test_lme.py",
"new_path": "statsmodels/regression/tests/test_lme.py",
"diff": "@@ -364,7 +364,7 @@ class TestMixedLM(object):\nassert_allclose(result.bse, result2.bse)\ndef test_dietox(self):\n- # dietox data from geepack\n+ # diet... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | test dietox with random slope model |
642,048 | 06.03.2018 10:25:21 | 18,000 | 4687151f10526a6ad4f349d68080db1f1316049b | add dietox data file for testing | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/regression/tests/results/dietox.csv",
"diff": "+\"Weight\",\"Feed\",\"Time\",\"Pig\",\"Evit\",\"Cu\",\"Litter\"\n+\"1\",26.5,NA,1,4601,1,1,1\n+\"2\",27.59999,5.200005,2,4601,1,1,1\n+\"3\",36.5,17.6,3,4601,1,1,1\n+\"4\",40.29999,28.5,... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add dietox data file for testing |
642,048 | 07.03.2018 10:01:54 | 18,000 | e6f2f84585b5a49bb20a091f9dac3b008381868a | Test cleanup, warn about unused keyword to fit | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/mixed_linear_model.py",
"new_path": "statsmodels/regression/mixed_linear_model.py",
"diff": "@@ -1916,8 +1916,15 @@ class MixedLM(base.LikelihoodModel):\nreml : bool\nIf true, fit according to the REML likelihood, else\nfit the standard ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Test cleanup, warn about unused keyword to fit |
641,971 | 19.03.2018 22:40:09 | 14,400 | c1d78dcdc80995408c90bf5c4cb1db0c038963a8 | ENH: add t_test_pairwise to LikelihoodModelResults, minimal unit test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -5,7 +5,8 @@ from scipy import stats\nfrom statsmodels.base.data import handle_data\nfrom statsmodels.tools.data import _is_using_pandas\nfrom statsmodels.tools.tools import recip... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add t_test_pairwise to LikelihoodModelResults, minimal unit test |
641,971 | 19.03.2018 23:41:08 | 14,400 | 5142b877a410b4cbf9af560b039e99e93f2b0849 | TST: t_test_pairwise, unit tests for different exog parameterization/encoding | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/tests/test_generic_methods.py",
"new_path": "statsmodels/base/tests/test_generic_methods.py",
"diff": "@@ -550,6 +550,61 @@ class TestTTestPairwiseOLS(CheckPairwise):\n'C(Weight)[T.3] - C(Weight)[T.2]']\n+class TestTTestPairwiseOLS2(CheckPairw... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: t_test_pairwise, unit tests for different exog parameterization/encoding |
641,971 | 20.03.2018 08:53:39 | 14,400 | 9515fd38b1e2bd0ecb6337a65fb78d6538e5b935 | REF: avoid isinstance int, unit test poisson | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/tests/test_generic_methods.py",
"new_path": "statsmodels/base/tests/test_generic_methods.py",
"diff": "@@ -606,5 +606,25 @@ class TestTTestPairwiseOLS4(CheckPairwise):\n'C(Weight, Treatment(2))[T.3]',]\n+class TestTTestPairwisePoisson(CheckPai... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: avoid isinstance int, unit test poisson |
641,971 | 20.03.2018 10:12:14 | 14,400 | c51b9d54eef3cc543db34937cde24753e744eca4 | BUG: cast test data to int, avoid patsy long int name | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_anova.py",
"new_path": "statsmodels/stats/tests/test_anova.py",
"diff": "@@ -72,7 +72,7 @@ kidney_table = StringIO(\"\"\"Days Duration Weight ID\n\"\"\")\nkidney_table.seek(0)\n-kidney_table = read_table(kidney_table, sep=\"\\s+\")... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: cast test data to int, avoid patsy long int name |
641,971 | 20.03.2018 11:31:22 | 14,400 | bd91e53a479c47a4b696723b6e04cfdf04a7696d | DOC/Ref: docstrings and argument cleanup | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -1647,9 +1647,66 @@ class LikelihoodModelResults(Results):\nreturn res\ndef t_test_pairwise(self, term_name, method='hs',\n- factor_labels=None, ignore=False):\n+ factor_labels=No... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC/Ref: docstrings and argument cleanup |
641,971 | 20.03.2018 15:47:11 | 14,400 | ea51b59ee8ce0fe10a3fa6ac499740ab4a0ea01a | ENH/TST: add _constraints_factor to contrast.py | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/contrast.py",
"new_path": "statsmodels/stats/contrast.py",
"diff": "@@ -550,6 +550,53 @@ def _embed_constraints(contrasts, k_params, idx_start, index=None):\nreturn c\n+def _constraints_factor(encoding_matrix, comparison='pairwise', k_params=... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/TST: add _constraints_factor to contrast.py |
641,971 | 20.03.2018 20:57:07 | 14,400 | ba959b6af0d4262237db4f8d7d49a2fbd5e780fb | ENH: add alpha option to t_test_pairwise, more test coverage | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -1646,7 +1646,7 @@ class LikelihoodModelResults(Results):\nres.temp = constraints + combined_constraints + extra_constraints\nreturn res\n- def t_test_pairwise(self, term_name, me... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add alpha option to t_test_pairwise, more test coverage |
642,055 | 21.03.2018 16:38:18 | -3,600 | 3d977d9d3b049add51858445fa253658f5b1006f | BUG: Prevent warnings from scipy.stats | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/anova.py",
"new_path": "statsmodels/stats/anova.py",
"diff": "@@ -132,16 +132,14 @@ def anova1_lm_single(model, endog, exog, nobs, design_info, table, n_rows, test,\nindex = term_names.tolist()\ntable.index = Index(index + ['Residual'])\ntabl... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Prevent warnings from scipy.stats |
641,971 | 21.03.2018 14:15:51 | 14,400 | 0871eba510e7ebe8aa9323f4f3ee50226576ed29 | BUG: fix MICEData if column with one missing value closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/imputation/mice.py",
"new_path": "statsmodels/imputation/mice.py",
"diff": "@@ -392,7 +392,7 @@ class MICEData(object):\nix = self.ix_miss[col]\nif len(ix) > 0:\n- self.data[col].iloc[ix] = vals\n+ self.data[col].iloc[ix] = np.atleast_1d(vals)\ndef... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix MICEData if column with one missing value closes #4375 |
641,904 | 21.03.2018 15:08:48 | 25,200 | b3c1e8a29799de129d336061c9949ccf0d4c0b0c | make arithmetic more readable | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/discrete_model.py",
"new_path": "statsmodels/discrete/discrete_model.py",
"diff": "@@ -1468,8 +1468,10 @@ class GeneralizedPoisson(CountModel):\ndmudb = mu * exog\ndalpha = (mu_p * (y * ((y - 1) / a2 - 2 / a1) + a2 / a1**2))\n- dparams = d... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | make arithmetic more readable |
641,971 | 21.03.2018 23:46:25 | 14,400 | 6d0619120b9576d23c0613068c47b53514313f04 | TST: tukeyhsd: add smoke test for plot_simultaneous | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_pairwise.py",
"new_path": "statsmodels/stats/tests/test_pairwise.py",
"diff": "@@ -9,6 +9,12 @@ from statsmodels.compat.python import BytesIO, asbytes, range\nimport warnings\n+try:\n+ import matplotlib.pyplot as plt\n+ has_maplotl... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: tukeyhsd: add smoke test for plot_simultaneous |
641,971 | 22.03.2018 09:40:04 | 14,400 | 6746910faa4a929e66fe9241a15da58f32b7d35d | BUG/MAINT numpy compat, scalar index | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/stats/multicomp.py",
"new_path": "statsmodels/sandbox/stats/multicomp.py",
"diff": "@@ -728,7 +728,7 @@ class TukeyHSDResults(object):\nelse:\nif comparison_name not in self.groupsunique:\nraise ValueError('comparison_name not found in grou... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/MAINT numpy compat, scalar index |
641,971 | 27.01.2018 16:13:04 | 18,000 | f59661a48b478942b4a37bc9e8a0a87d3d6035f0 | TST: correct super call xfailing test in TestGlmPoissonPwNr | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/tests/test_glm_weights.py",
"new_path": "statsmodels/genmod/tests/test_glm_weights.py",
"diff": "@@ -197,12 +197,12 @@ class TestGlmPoissonPwNr(CheckWeight):\ncls.res2 = res_stata.results_poisson_pweight_nonrobust\n@pytest.mark.xfail(reason=... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: correct super call xfailing test in TestGlmPoissonPwNr |
641,971 | 27.01.2018 17:22:37 | 18,000 | 02731c7e5d2b654b67e4099b835c4323ba334171 | REF/TST: FutureWarning for resid_anscombe, silence unit tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/generalized_linear_model.py",
"new_path": "statsmodels/genmod/generalized_linear_model.py",
"diff": "@@ -1484,7 +1484,7 @@ class GLMResults(base.LikelihoodModelResults):\ndef resid_anscombe(self):\nimport warnings\nwarnings.warn('Anscombe re... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/TST: FutureWarning for resid_anscombe, silence unit tests |
641,971 | 27.01.2018 18:41:20 | 18,000 | ea966e7a104ff666affe81acbc1e5df608d82a72 | TST: silence warning in test_glm.py | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/tests/test_glm.py",
"new_path": "statsmodels/genmod/tests/test_glm.py",
"diff": "@@ -15,6 +15,7 @@ from statsmodels.genmod.generalized_linear_model import GLM\nfrom statsmodels.tools.tools import add_constant\nfrom statsmodels.tools.sm_excep... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: silence warning in test_glm.py |
641,971 | 27.01.2018 19:17:29 | 18,000 | b55649e42a935d4d2a6b2e90e4558f225d75e562 | TST: remove most warnings, cheating with start_params | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/tests/test_glm_weights.py",
"new_path": "statsmodels/genmod/tests/test_glm_weights.py",
"diff": "@@ -30,6 +30,7 @@ from __future__ import division\nfrom statsmodels.compat.testing import SkipTest\nimport warnings\n+from warnings import catch... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: remove most warnings, cheating with start_params |
641,971 | 27.01.2018 21:54:33 | 18,000 | 9094b726493352e37eebb42b739f234f0804ce98 | TST: remove print, module level filter array_split FutureWarning | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/tests/JMulTi_results/parse_jmulti_var_output.py",
"new_path": "statsmodels/tsa/vector_ar/tests/JMulTi_results/parse_jmulti_var_output.py",
"diff": "@@ -245,6 +245,7 @@ def load_results_jmulti(dataset, dt_s_list):\n# all possible combi... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: remove print, module level filter array_split FutureWarning |
641,971 | 27.01.2018 21:58:00 | 18,000 | 2a3dd6d508ad95a7293948359206511ed02ebcd9 | TST: silence warnings in vector_ar/tests, except one convergend in SVAR | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/tests/test_coint.py",
"new_path": "statsmodels/tsa/vector_ar/tests/test_coint.py",
"diff": "@@ -6,11 +6,13 @@ Author: Josef Perktold\n\"\"\"\nimport os\n+import warnings\nimport numpy as np\nfrom numpy.testing import assert_almost_equ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: silence warnings in vector_ar/tests, except one convergend in SVAR |
641,971 | 27.01.2018 23:08:40 | 18,000 | 0f79ff89e139f78acfab033b082d5cc7ebff1616 | REF/TST: count_models catch convergence warning in start_params fit, reduce test noise | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/count_model.py",
"new_path": "statsmodels/discrete/count_model.py",
"diff": "@@ -3,7 +3,7 @@ from __future__ import division\n__all__ = [\"ZeroInflatedPoisson\", \"ZeroInflatedGeneralizedPoisson\",\n\"ZeroInflatedNegativeBinomialP\"]\n-\n+... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/TST: count_models catch convergence warning in start_params fit, reduce test noise |
641,971 | 28.01.2018 00:50:21 | 18,000 | 9f3e32b64c57826dd278a775141fe07f7eebfe12 | TST: use pytest.warns | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_discrete.py",
"new_path": "statsmodels/discrete/tests/test_discrete.py",
"diff": "@@ -28,7 +28,9 @@ from statsmodels.discrete.discrete_margins import _iscount, _isdummy\nimport statsmodels.api as sm\nimport statsmodels.formula.a... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: use pytest.warns |
641,971 | 28.01.2018 09:06:18 | 18,000 | 2c0a583d2ed69a6ee6c86f51862a9bd4c23005e3 | REF: set warnings filter explicitly to always for UserWarning | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/sm_exceptions.py",
"new_path": "statsmodels/tools/sm_exceptions.py",
"diff": "@@ -11,6 +11,8 @@ warning_name_doc that services as a generic message to use when the warning is\nraised.\n\"\"\"\n+import warnings\n+\n# Errors\nclass PerfectSepar... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: set warnings filter explicitly to always for UserWarning |
641,971 | 28.01.2018 11:20:55 | 18,000 | 07ae00d282d769720d3e71455493202c9e5bc910 | TST: assert warns only if py > 3.3, assert converged flag | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_discrete.py",
"new_path": "statsmodels/discrete/tests/test_discrete.py",
"diff": "@@ -1460,12 +1460,16 @@ def test_perfect_prediction():\n# this will raise if you set maxiter high enough with a singular matrix\nfrom pandas.util.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: assert warns only if py > 3.3, assert converged flag |
641,971 | 22.03.2018 10:17:01 | 14,400 | e07539cce9cc09cdaec703c90c56f05bb40f309f | MAINT: numpy compat, keep old rcond in lstsq, see | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/nonparametric/smoothers_lowess_old.py",
"new_path": "statsmodels/nonparametric/smoothers_lowess_old.py",
"diff": "@@ -169,7 +169,7 @@ def _lowess_initial_fit(x_copy, y_copy, k, n):\nX[:,1] = x_copy[nn_indices[0]:nn_indices[1]]\ny_i = weights[i,:] *... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: numpy compat, keep old rcond in lstsq, see #3994 |
641,971 | 22.03.2018 12:07:56 | 14,400 | 22fceee5589b7813bb8cb3ac1c66e476afba9dd1 | TST/MAINT test_discrete skip assert_produces_warning on python <= 3.3 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_discrete.py",
"new_path": "statsmodels/discrete/tests/test_discrete.py",
"diff": "@@ -1499,9 +1499,16 @@ def test_poisson_newton():\nmod = sm.Poisson(y_count, x)\nfrom pandas.util.testing import assert_produces_warning\n# this i... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST/MAINT test_discrete skip assert_produces_warning on python <= 3.3 |
641,971 | 22.03.2018 12:08:51 | 14,400 | 197f4903d81f947ea4bbef46e967b7d7919a61d3 | TST: test_discrete add all disp=0 and one start_params | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_discrete.py",
"new_path": "statsmodels/discrete/tests/test_discrete.py",
"diff": "@@ -1661,7 +1661,7 @@ class TestGeneralizedPoisson_p2(object):\ndata = sm.datasets.randhie.load()\ndata.exog = sm.add_constant(data.exog, prepend=... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: test_discrete add all disp=0 and one start_params |
641,971 | 22.03.2018 16:38:50 | 14,400 | 735fe8fe3a7cd41616eacd1791ed0edf3e0d4d33 | BUG: outlier_test fix index with order closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/outliers_influence.py",
"new_path": "statsmodels/stats/outliers_influence.py",
"diff": "@@ -56,6 +56,8 @@ def outlier_test(model_results, method='bonf', alpha=.05, labels=None,\ndf = df_resid - 1.\n\"\"\"\nfrom scipy import stats # lazy impor... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: outlier_test fix index with order closes #3971 |
641,971 | 22.03.2018 17:25:59 | 14,400 | 662a3dc6754146818edc510dad67784cd4103de7 | ENH: add more options to outlier_test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/linear_model.py",
"new_path": "statsmodels/regression/linear_model.py",
"diff": "@@ -2556,7 +2556,8 @@ class OLSResults(RegressionResults):\nfrom statsmodels.stats.outliers_influence import OLSInfluence\nreturn OLSInfluence(self)\n- def ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add more options to outlier_test |
641,971 | 23.03.2018 09:06:59 | 14,400 | d1fceb73ae01f269ee359ee495186e9928bcbd0a | TST: skip parts if pandas < 0.17 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_diagnostic.py",
"new_path": "statsmodels/stats/tests/test_diagnostic.py",
"diff": "@@ -16,6 +16,11 @@ currently all tests are against R\nimport os\nimport numpy as np\n+import pandas as pd\n+\n+# skipping some parts\n+from distutil... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: skip parts if pandas < 0.17 |
641,904 | 23.03.2018 08:25:17 | 25,200 | f43cccaff2626eb026011f5314be77534986be4c | flake8 cleanup in regime_switching | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/regime_switching/__init__.py",
"new_path": "statsmodels/tsa/regime_switching/__init__.py",
"diff": "from statsmodels import PytestTester\ntest = PytestTester()\n-\n"
},
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/regime_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | flake8 cleanup in regime_switching |
641,904 | 23.03.2018 08:30:54 | 25,200 | 904d0596a6dc4e10836e4d551a623c9265d5e6d6 | cleanup in statespace | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/api.py",
"new_path": "statsmodels/tsa/statespace/api.py",
"diff": "+__all__ = [\"SARIMAX\", \"MLEModel\", \"MLEResults\", \"tools\"]\nfrom .sarimax import SARIMAX\nfrom .mlemodel import MLEModel, MLEResults\nfrom . import tools\n"
... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | cleanup in statespace |
642,048 | 05.03.2018 23:31:49 | 18,000 | dcb90b7a416f8c4acefbdd795dd5496c995e4cbc | ENH: Allow MICE to work with regularized regression | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/imputation/mice.py",
"new_path": "statsmodels/imputation/mice.py",
"diff": "@@ -200,6 +200,8 @@ class MICEData(object):\nif data.columns.dtype != np.dtype('O'):\nraise ValueError(\"MICEData data column names should be string type\")\n+ self.regular... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Allow MICE to work with regularized regression |
642,048 | 05.03.2018 23:41:24 | 18,000 | 42e7826399de6a7244e86ac5b9706b80408b5e06 | pep8 fixes to mice.py | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/imputation/mice.py",
"new_path": "statsmodels/imputation/mice.py",
"diff": "@@ -118,7 +118,6 @@ Opening Windows into the Black Box', Journal of Statistical Software,\nimport pandas as pd\nimport numpy as np\nimport patsy\n-import statsmodels\nfrom ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | pep8 fixes to mice.py |
642,048 | 06.03.2018 11:04:12 | 18,000 | 4ebca76438c1d0e44f5b0482d44055d25cf1eb81 | try to improve test coverage metrics | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/imputation/mice.py",
"new_path": "statsmodels/imputation/mice.py",
"diff": "@@ -912,14 +912,22 @@ class MICEData(object):\nreturn fig\n+ # Try to identify any auxiliary arrays (e.g. status vector in\n+ # PHReg) that need to be bootstrapped along wi... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | try to improve test coverage metrics |
642,048 | 06.03.2018 11:16:25 | 18,000 | 45c83df353c04721a670aa98bbcb63d1b830d449 | Further code coverage improvements | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/imputation/tests/test_mice.py",
"new_path": "statsmodels/imputation/tests/test_mice.py",
"diff": "@@ -166,8 +166,13 @@ class TestMICEData(object):\nfrom statsmodels.duration.hazard_regression import PHReg\n+ # Save the dataset size at each iteratio... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Further code coverage improvements |
641,904 | 22.03.2018 16:11:36 | 25,200 | a3f05a0a3effbbb7e3abc40fc423210c73b1210f | remove unused imports of assert_raises | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_count_model.py",
"new_path": "statsmodels/discrete/tests/test_count_model.py",
"diff": "from __future__ import division\nimport os\nimport numpy as np\n-from numpy.testing import (assert_, assert_raises, assert_almost_equal,\n+f... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | remove unused imports of assert_raises |
641,904 | 22.03.2018 16:18:10 | 25,200 | 14573e56bd566b2df21312efe47530f9ad0f21e8 | replace with pytest.mark | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/nonparametric/tests/test_kernel_density.py",
"new_path": "statsmodels/nonparametric/tests/test_kernel_density.py",
"diff": "import numpy as np\nimport numpy.testing as npt\n-import numpy.testing.decorators as dec\n+import pytest\nimport statsmodels... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | replace @dec with pytest.mark |
641,904 | 24.03.2018 10:20:15 | 25,200 | 2db4457c3abae198465468f1e0ad7746fb1c2a6f | deletion reverted by rebase | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/regime_switching/tests/test_markov_regression.py",
"new_path": "statsmodels/tsa/regime_switching/tests/test_markov_regression.py",
"diff": "@@ -12,7 +12,7 @@ import numpy as np\nimport pandas as pd\nfrom statsmodels.tsa.regime_switching import ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | deletion reverted by rebase |
641,971 | 24.03.2018 15:25:28 | 14,400 | 786cfce42e79e806b7f3c8e7fc90ef14f06b55e6 | ENH: inter_rater add randolph's kappa to fleiss_kappa, see | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/inter_rater.py",
"new_path": "statsmodels/stats/inter_rater.py",
"diff": "@@ -35,7 +35,7 @@ convenience functions to create required data format from raw data\n\"\"\"\n-\n+from __future__ import division\nimport numpy as np\nfrom scipy import... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: inter_rater add randolph's kappa to fleiss_kappa, see #4387 |
642,048 | 10.02.2018 13:34:19 | 18,000 | 06c87c059c13c069df8fd2ac0c86249a7843bf73 | wordsmith comment | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/elastic_net.py",
"new_path": "statsmodels/base/elastic_net.py",
"diff": "@@ -238,8 +238,8 @@ def fit_elasticnet(model, method=\"coord_descent\", maxiter=100,\nscale = 1.\n# The degrees of freedom should reflect the number of parameters\n- # in... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | wordsmith comment |
642,048 | 24.03.2018 19:38:26 | 14,400 | 413c0c5032260f15bfe218b9f37ceac6d8597108 | don't change model df | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/elastic_net.py",
"new_path": "statsmodels/base/elastic_net.py",
"diff": "@@ -240,6 +240,7 @@ def fit_elasticnet(model, method=\"coord_descent\", maxiter=100,\n# The degrees of freedom should reflect the number of parameters\n# in the refit mod... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | don't change model df |
642,048 | 25.03.2018 16:57:37 | 14,400 | cb99dcc4d0ace7bd0bf6ec6dd30531634e363b32 | Add comment pointing to issue 1723 for future reference | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/elastic_net.py",
"new_path": "statsmodels/base/elastic_net.py",
"diff": "@@ -239,7 +239,9 @@ def fit_elasticnet(model, method=\"coord_descent\", maxiter=100,\n# The degrees of freedom should reflect the number of parameters\n# in the refit mod... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Add comment pointing to issue 1723 for future reference |
641,971 | 29.03.2018 16:17:36 | 14,400 | 1dfdf52bd627c214522839cab600c92a0d3133b5 | BUG/ENH: proportion_confint: impose bounds, support asarray and pandas closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -67,6 +67,10 @@ def proportion_confint(count, nobs, alpha=0.05, method='normal'):\n'''\n+ pd_index = getattr(count, 'index', None)\n+ count = np.asarray(count)\n+ nobs... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/ENH: proportion_confint: impose bounds, support asarray and pandas closes #2742 |
641,971 | 29.03.2018 19:53:34 | 14,400 | 9cc4146e3958476f3c4021f40c9e0dcd63187da1 | TST: proportion_confint, unit test, corner case, 2-D, pandas | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/results/results_proportion.py",
"new_path": "statsmodels/stats/tests/results/results_proportion.py",
"diff": "@@ -30,9 +30,7 @@ res_binom[(18, 20)].ci_low = np.array([\n])\n#> mkarray2(bci$upper, \"res_binom[(18, 20)].ci_upp\")\nres_bin... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: proportion_confint, unit test, corner case, 2-D, pandas |
641,971 | 29.03.2018 21:28:25 | 14,400 | 33016f2cc082804b2084a9646021a7cdb41dd9ea | BUG: make list work, (count.index not callable) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -68,6 +68,9 @@ def proportion_confint(count, nobs, alpha=0.05, method='normal'):\n'''\npd_index = getattr(count, 'index', None)\n+ if pd_index is not None and hasattr(... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: make list work, (count.index not callable) |
641,971 | 30.03.2018 10:21:53 | 14,400 | c16ef02708f76fa4bc915ab5866ad13ef75145b9 | TST/DOC update docstring, test for 1-D counts | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -20,8 +20,8 @@ def proportion_confint(count, nobs, alpha=0.05, method='normal'):\nParameters\n----------\n- count : int or array\n- number of successes\n+ count : int ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST/DOC update docstring, test for 1-D counts |
641,971 | 05.04.2018 12:12:21 | 14,400 | 52465a6471f7ddbe2d00e7f5f4bb4d48aaa52214 | BUG/REF: GMM fix exog_names, summary closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/summary.py",
"new_path": "statsmodels/iolib/summary.py",
"diff": "@@ -463,6 +463,9 @@ def summary_params(results, yname=None, xname=None, alpha=.05, use_t=True,\n_, xname = _getnames(results, yname=yname, xname=xname)\n+ if len(xname) != len(... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/REF: GMM fix exog_names, summary closes #4340 |
641,971 | 05.04.2018 15:58:10 | 14,400 | c5120c5d779e330571eca686f70001a4a22f73c8 | BUG: tsa coint, nearly perfect colinearity, return (-inf, 0, ...) closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/stattools.py",
"new_path": "statsmodels/tsa/stattools.py",
"diff": "@@ -22,6 +22,7 @@ __all__ = ['acovf', 'acf', 'pacf', 'pacf_yw', 'pacf_ols', 'ccovf', 'ccf',\n'periodogram', 'q_stat', 'coint', 'arma_order_select_ic',\n'adfuller', 'kpss', 'bds... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: tsa coint, nearly perfect colinearity, return (-inf, 0, ...) closes #4237 |
641,971 | 05.04.2018 21:02:31 | 14,400 | ab0231a4f375cef48472d828439372d421ff160f | MAINT: ignore deprecation warning histogram normed | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/mlemodel.py",
"new_path": "statsmodels/tsa/statespace/mlemodel.py",
"diff": "@@ -2607,6 +2607,8 @@ class MLEResults(tsbase.TimeSeriesModelResults):\n# elements\nresid_nonmissing = resid[~(np.isnan(resid))]\nax = fig.add_subplot(222)\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: ignore deprecation warning histogram normed |
641,971 | 06.04.2018 10:05:58 | 14,400 | 23831fcbeb2dc4ecb95ec1ef381aa84284d664f8 | MAINT: test_glm, use pandas instead of genfromtxt | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/tests/results/results_glm.py",
"new_path": "statsmodels/genmod/tests/results/results_glm.py",
"diff": "@@ -6,6 +6,7 @@ Stata may be because Stata uses ML by default unless you specifically ask for\nIRLS.\n\"\"\"\nimport numpy as np\n+import ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: test_glm, use pandas instead of genfromtxt |
641,971 | 06.04.2018 11:41:06 | 14,400 | bc8c9c7aa262382e6dcc0fe54ea74020431f5c76 | TST: make genfromtxt usage depend on numpy version (plus whitespace) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/tests/results/results_glm.py",
"new_path": "statsmodels/genmod/tests/results/results_glm.py",
"diff": "@@ -12,6 +12,10 @@ from . import glm_test_resids\nimport os\nfrom statsmodels.api import add_constant, categorical\n+# for genfromtxt chan... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: make genfromtxt usage depend on numpy version (plus whitespace) |
641,971 | 06.04.2018 11:42:35 | 14,400 | bdb243900ee92e8d555efc029ba87946836555b9 | TST/MAINT : test_theil, add fittedvalues test, use pandas instead of genfromtxt | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/tests/test_theil.py",
"new_path": "statsmodels/regression/tests/test_theil.py",
"diff": "@@ -7,6 +7,7 @@ Author: Josef Perktold\nimport os\nimport numpy as np\n+import pandas as pd\nfrom scipy import stats\nfrom numpy.testing import asse... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST/MAINT : test_theil, add fittedvalues test, use pandas instead of genfromtxt |
641,971 | 06.04.2018 13:23:12 | 14,400 | 70415a88683e9014d2453440b4d0f31268f9b501 | MAINT: test_glm Lbw, old genfromtxt path for python2 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/tests/results/results_glm.py",
"new_path": "statsmodels/genmod/tests/results/results_glm.py",
"diff": "@@ -13,6 +13,8 @@ import os\nfrom statsmodels.api import add_constant, categorical\n# for genfromtxt changes\n+import sys\n+PY2 = (sys.ver... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: test_glm Lbw, old genfromtxt path for python2 |
641,971 | 06.04.2018 13:24:46 | 14,400 | cee0039368973ab30029f53adad0d71b19adbf7a | REF: boxplot: use asarray in jitter | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/graphics/boxplots.py",
"new_path": "statsmodels/graphics/boxplots.py",
"diff": "@@ -383,6 +383,7 @@ def beanplot(data, ax=None, labels=None, positions=None, side='both',\ndef _jitter_envelope(pos_data, xvals, violin, side):\n\"\"\"Determine envelop... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: boxplot: use asarray in jitter |
641,971 | 06.04.2018 13:37:56 | 14,400 | e213d072d3bb2d05eb8a0c73416d06fa73886075 | MAINT: test_ros pandas idxmax instead of argmax, fix intend | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/imputation/tests/test_ros.py",
"new_path": "statsmodels/imputation/tests/test_ros.py",
"diff": "@@ -204,7 +204,7 @@ class Test__ros_sort(object):\ndef test_censored_greater_than_max(self):\ndf = self.df.copy()\n- max_row = df['conc'].argmax()\n+ ma... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: test_ros pandas idxmax instead of argmax, fix intend |
641,971 | 06.04.2018 16:14:57 | 14,400 | bf8e9be7444b799def82e3bd1c89aa0c8c5dd24b | REF/BUG boxplots use asarray for data | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/graphics/boxplots.py",
"new_path": "statsmodels/graphics/boxplots.py",
"diff": "@@ -125,6 +125,7 @@ def violinplot(data, ax=None, labels=None, positions=None, side='both',\n\"\"\"\nfig, ax = utils.create_mpl_ax(ax)\n+ data = list(map(np.asarray, da... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/BUG boxplots use asarray for data |
641,971 | 06.04.2018 18:32:14 | 14,400 | 7afa3ddced85f1485d5d929a8b42795182985060 | TST: improve code in tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/tests/results/results_glm.py",
"new_path": "statsmodels/genmod/tests/results/results_glm.py",
"diff": "@@ -694,11 +694,12 @@ class Lbw(object):\n# https://github.com/statsmodels/statsmodels/pull/4432#issuecomment-379279617\nif NUMPY_LT_113 o... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: improve code in tests |
641,831 | 09.04.2018 20:37:20 | 14,400 | f9f8c92874e97c36dd0cf143715845ec5509e317 | ENH: Add support for RangeIndexes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/base/tsa_model.py",
"new_path": "statsmodels/tsa/base/tsa_model.py",
"diff": "@@ -7,12 +7,18 @@ import warnings\nimport numpy as np\nfrom pandas import (to_datetime, Int64Index, DatetimeIndex, Period,\nPeriodIndex, Timestamp, Series, Index)\n+#... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Add support for RangeIndexes |
641,904 | 09.04.2018 20:19:17 | 25,200 | 3c2b110070a8affae3de31bbf92356c49b497fd6 | use functions to reduce code dupliation | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/irf.py",
"new_path": "statsmodels/tsa/vector_ar/irf.py",
"diff": "@@ -79,6 +79,14 @@ class BaseIRAnalysis(object):\nelse:\nself._A = util.comp_matrix(model.coefs)\n+ def _choose_irfs(self, orth=False, svar=False):\n+ if orth:\n+ retur... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | use functions to reduce code dupliation |
641,831 | 11.04.2018 21:42:54 | 14,400 | 9381a58cde7d010e193fb26dfd836657edbc81ae | TST: Test (fails) sim. smth. w/ state intercept | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_simulation_smoothing.py",
"new_path": "statsmodels/tsa/statespace/tests/test_simulation_smoothing.py",
"diff": "@@ -623,3 +623,19 @@ def test_simulation_smoothing_obs_intercept():\nsim.simulate(disturbance_variates=np.zero... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Test (fails) sim. smth. w/ state intercept |
641,831 | 11.04.2018 21:46:32 | 14,400 | f9569988195b687032501efb9e024fe2edd75321 | BUG: Fix sim. smoothing w/ state intercept. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/_simulation_smoother.pyx.in",
"new_path": "statsmodels/tsa/statespace/_simulation_smoother.pyx.in",
"diff": "@@ -212,6 +212,8 @@ cdef class {{prefix}}SimulationSmoother(object):\nelse:\ndim2[0] = self.model.k_endog; dim2[1] = self.mo... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Fix sim. smoothing w/ state intercept. |
641,904 | 12.04.2018 20:18:40 | 25,200 | f6020e49d6eec3e404e791bc15ffa22246f17611 | check for Q == 1 explicitly | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/discrete_model.py",
"new_path": "statsmodels/discrete/discrete_model.py",
"diff": "@@ -2544,7 +2544,7 @@ class NegativeBinomial(CountModel):\nmu = self.predict(params)[:,None]\na1 = 1/alpha * mu**Q\nprob = a1 / (a1 + mu) # a1 aka \"size\" ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | check for Q == 1 explicitly |
641,831 | 12.04.2018 23:47:05 | 14,400 | c7930c7c8ebbd369eff6eda719d6fcf1c63fcaa5 | REF: Let Pandas select Int64Index vs RangeIndex | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/base/tsa_model.py",
"new_path": "statsmodels/tsa/base/tsa_model.py",
"diff": "@@ -212,7 +212,7 @@ class TimeSeriesModel(base.LikelihoodModel):\nint_index = isinstance(index, Int64Index)\nrange_index = isinstance(index, RangeIndex)\nhas_freq = i... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: Let Pandas select Int64Index vs RangeIndex |
642,064 | 13.04.2018 11:50:50 | 14,400 | 8ced2cd31b25b1b5137bd8815938be0cbf532a74 | Added **plotkwargs to qqplot function in gofplots.py to send plotting keywords to matplotlib. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/graphics/gofplots.py",
"new_path": "statsmodels/graphics/gofplots.py",
"diff": "@@ -404,7 +404,7 @@ class ProbPlot(object):\nreturn fig\ndef qqplot(data, dist=stats.norm, distargs=(), a=0, loc=0, scale=1, fit=False,\n- line=None, ax=None):\n+ line=... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Added **plotkwargs to qqplot function in gofplots.py to send plotting keywords to matplotlib. |
641,831 | 13.04.2018 19:45:58 | 14,400 | eab81b6591dbb0b434f0694153a18ae4ded87fae | REF: No need to create shim class in test. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_tsa_indexes.py",
"new_path": "statsmodels/tsa/tests/test_tsa_indexes.py",
"diff": "@@ -24,7 +24,6 @@ try:\nfrom pandas import RangeIndex\nhas_range_index = True\nexcept ImportError:\n- class RangeIndex(object):\npass\nfrom numpy.test... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: No need to create shim class in test. |
641,831 | 13.04.2018 19:47:39 | 14,400 | 2169f865bc95bd55e2e002aa00748d42e6d93a27 | BUG: Catch all RangeIndex indexing exceptions. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/base/tsa_model.py",
"new_path": "statsmodels/tsa/base/tsa_model.py",
"diff": "@@ -352,8 +352,15 @@ class TimeSeriesModel(base.LikelihoodModel):\ntry:\nindex[key]\n# We want to raise a KeyError in this case, to keep the exception\n- # consistent... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Catch all RangeIndex indexing exceptions. |
641,831 | 13.04.2018 19:48:49 | 14,400 | 28c3c5f2d6a9651a7d764f789767d3d46f1015d1 | TST: Allow default index to be Int64 or Range
(necessary to handle all of the Py2 and Py3 /
Pandas < 0.18 and Pandas >= 0.18 combinations) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_tsa_indexes.py",
"new_path": "statsmodels/tsa/tests/test_tsa_indexes.py",
"diff": "@@ -208,7 +208,8 @@ def test_instantiation_valid():\nwarnings.simplefilter('error')\nmod = tsa_model.TimeSeriesModel(endog)\n- assert_equal(type(mod._... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Allow default index to be Int64 or Range
(necessary to handle all of the Py2 and Py3 /
Pandas < 0.18 and Pandas >= 0.18 combinations) |
641,831 | 13.04.2018 19:52:01 | 14,400 | 708d5f771644806cd7da69a389223e353a381d52 | TST/DOC: Add descriptive note on index test cases | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_tsa_indexes.py",
"new_path": "statsmodels/tsa/tests/test_tsa_indexes.py",
"diff": "@@ -492,6 +492,9 @@ def test_prediction_increment_unsupported():\nwarnings.simplefilter('ignore')\nmod = tsa_model.TimeSeriesModel(endog)\n+ # Tests t... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST/DOC: Add descriptive note on index test cases |
641,831 | 13.04.2018 21:01:22 | 14,400 | 0b1bb281efdf3ccaddea6b1741e2f4e11b68c772 | TST: Allow Range or Int64 index w/ unsupported | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_tsa_indexes.py",
"new_path": "statsmodels/tsa/tests/test_tsa_indexes.py",
"diff": "@@ -450,7 +450,8 @@ def test_instantiation_valid():\nendog = base_endog.copy()\nendog.index = ix\nmod = tsa_model.TimeSeriesModel(endog)\n- assert_equ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Allow Range or Int64 index w/ unsupported |
641,831 | 13.04.2018 21:27:51 | 14,400 | 893f1d5c98c354709cd0de8af9f353ffe27d2496 | TST: Allow Range or Int64 index w/ unsupported (2) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_tsa_indexes.py",
"new_path": "statsmodels/tsa/tests/test_tsa_indexes.py",
"diff": "@@ -428,7 +428,8 @@ def test_instantiation_valid():\nendog = base_endog.copy()\nendog.index = ix\nmod = tsa_model.TimeSeriesModel(endog)\n- assert_equ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Allow Range or Int64 index w/ unsupported (2) |
641,831 | 13.04.2018 21:55:51 | 14,400 | ef4a07b8749001a4f73738caa23644696399d909 | REF: Put back RangeIndex shim. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_tsa_indexes.py",
"new_path": "statsmodels/tsa/tests/test_tsa_indexes.py",
"diff": "@@ -24,6 +24,7 @@ try:\nfrom pandas import RangeIndex\nhas_range_index = True\nexcept ImportError:\n+ class RangeIndex(object):\npass\nfrom numpy.test... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: Put back RangeIndex shim. |
641,971 | 16.04.2018 12:20:13 | 14,400 | 7677a9afc9c07dfbeda14c493a1ceb511e8c2cb7 | BUG: allow list exog in get_prediction, closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/_prediction.py",
"new_path": "statsmodels/genmod/_prediction.py",
"diff": "@@ -186,9 +186,8 @@ def get_prediction_glm(self, exog=None, transform=True, weights=None,\nif exog is not None:\nif row_labels is None:\n- if hasattr(exog, 'index'):\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: allow list exog in get_prediction, closes #4437 |
641,971 | 16.04.2018 21:04:29 | 14,400 | 379e0e785b52c7af3c016b45f27dd7f89e167304 | BUG: coint use autolag in adfuller call, closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/stattools.py",
"new_path": "statsmodels/tsa/stattools.py",
"diff": "@@ -933,6 +933,10 @@ def coint(y0, y1, trend='c', method='aeg', maxlag=None, autolag='aic',\nConstant or trend is included in 1st stage regression, i.e. in\ncointegrating equat... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: coint use autolag in adfuller call, closes #4490 |
641,904 | 16.04.2018 20:00:56 | 25,200 | 2dc25c3aa2556abdadd4c5a9f1455661b9c19223 | get rid of snowflake imports | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/vecm.py",
"new_path": "statsmodels/tsa/vector_ar/vecm.py",
"diff": "# -*- coding: utf-8 -*-\nfrom __future__ import division, print_function\n-import math\nfrom collections import defaultdict\n-from math import log\nimport numpy as np... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | get rid of snowflake imports |
641,971 | 17.04.2018 00:00:03 | 14,400 | 30330e3a335fd58d2e5db21be12609f92bae7aef | BUG: fix ARMA exog dynamic in-sample predict, closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima_model.py",
"new_path": "statsmodels/tsa/arima_model.py",
"diff": "@@ -739,7 +739,11 @@ class ARMA(tsbase.TimeSeriesModel):\nif dynamic:\nif self.k_exog > 0:\n# need the last k_ar exog for the lag-polynomial\n- exog = np.vstack((self.exog[... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix ARMA exog dynamic in-sample predict, closes #2982 |
641,971 | 17.04.2018 11:35:58 | 14,400 | 30b21c49ac89bc492fd3e45ee779530d1dd81a17 | BUG: fix rdataset cache writing on py3, closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/datasets/tests/test_utils.py",
"new_path": "statsmodels/datasets/tests/test_utils.py",
"diff": "@@ -8,6 +8,7 @@ from statsmodels.datasets import get_rdataset, webuse, check_internet, utils\ncur_dir = os.path.dirname(os.path.abspath(__file__))\n+\nd... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix rdataset cache writing on py3, closes #3831 |
642,064 | 17.04.2018 12:27:50 | 14,400 | 5f1c108f6e64e2f1eb86754eb5d6b897ad8189db | Added test of statsmodel.graphics.qqplot function with new plotkwargs feature. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/graphics/tests/test_gofplots.py",
"new_path": "statsmodels/graphics/tests/test_gofplots.py",
"diff": "@@ -163,6 +163,13 @@ class TestTopLevel(object):\ndef test_qqplot(self):\nfig = sm.qqplot(self.res, line='r')\n+ @skipif(not have_matplotlib, reas... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Added test of statsmodel.graphics.qqplot function with new plotkwargs feature. |
641,971 | 17.04.2018 13:31:45 | 14,400 | bb5756057a6413c708fea953be36e06d458f38d1 | BUG: AR undefined mu if trend='nc', closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/ar_model.py",
"new_path": "statsmodels/tsa/ar_model.py",
"diff": "@@ -211,6 +211,8 @@ class AR(tsbase.TimeSeriesModel):\nif method == 'mle': # use Kalman Filter to get initial values\nif k_trend:\nmu = params[0]/(1-np.sum(params[k_trend:]))\n+ ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: AR undefined mu if trend='nc', closes #3945 |
641,971 | 17.04.2018 19:15:49 | 14,400 | ce375b1385bc12ca5d32a4f2595bead70985a825 | MAINT: at timeout to urlopen rdatasets | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/datasets/utils.py",
"new_path": "statsmodels/datasets/utils.py",
"diff": "@@ -210,7 +210,7 @@ def _urlopen_cached(url, cache):\n# not using the cache or didn't find it in cache\nif not from_cache:\n- data = urlopen(url).read()\n+ data = urlopen(url... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: at timeout to urlopen rdatasets |
642,015 | 27.02.2018 20:33:58 | 18,000 | 0f06b1078e5ec634e2e979d9414a61569b6f2ba5 | Handle order=0 case in Hamilton filter | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/regime_switching/_hamilton_filter.pyx.in",
"new_path": "statsmodels/tsa/regime_switching/_hamilton_filter.pyx.in",
"diff": "@@ -38,19 +38,22 @@ def {{prefix}}hamilton_filter(int nobs, int k_regimes, int order,\n{{cython_type}} [:,:] filtered_jo... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Handle order=0 case in Hamilton filter |
642,015 | 17.04.2018 20:42:04 | 14,400 | 23b9bfb58b1a11b498391456227ebc63c62f8cde | Use assert_raises | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/regime_switching/tests/test_markov_regression.py",
"new_path": "statsmodels/tsa/regime_switching/tests/test_markov_regression.py",
"diff": "@@ -12,7 +12,7 @@ import numpy as np\nimport pandas as pd\nfrom statsmodels.tsa.regime_switching import ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Use assert_raises |
641,971 | 07.01.2018 10:53:11 | 18,000 | a72c5d91eabcf63b9365642fab82116ddace66b6 | MAINT: sandbox change file encoding to utf-8 [skip ci] | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/nonparametric/densityorthopoly.py",
"new_path": "statsmodels/sandbox/nonparametric/densityorthopoly.py",
"diff": "-# -*- coding: cp1252 -*-\n+# -*- coding: utf-8 -*-\n# some cut and paste characters are not ASCII\n'''density estimation base... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: sandbox change file encoding to utf-8 [skip ci] |
641,971 | 18.04.2018 07:37:21 | 14,400 | 6ade87d839e1317a2c414fe565bd84b02228040b | BUG: KDEMultivariate, fix undefined _bw_method closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/nonparametric/_kernel_base.py",
"new_path": "statsmodels/nonparametric/_kernel_base.py",
"diff": "@@ -123,8 +123,7 @@ class GenericKDE (object):\nself.bw_func = dict(normal_reference=self._normal_reference,\ncv_ml=self._cv_ml, cv_ls=self._cv_ls)\ni... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: KDEMultivariate, fix undefined _bw_method closes #3125 |
641,971 | 18.04.2018 10:01:05 | 14,400 | c8df0679b1ceb5a593524fce4066b0238f0c9f4d | BUG/ENH: summary2, try param_names before exog_names closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/summary2.py",
"new_path": "statsmodels/iolib/summary2.py",
"diff": "@@ -360,6 +360,9 @@ def summary_params(results, yname=None, xname=None, alpha=.05, use_t=True,\n'[' + str(alpha/2), str(1-alpha/2) + ']']\nif not xname:\n+ try:\n+ data.index... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/ENH: summary2, try param_names before exog_names closes #3324 |
641,971 | 18.04.2018 13:05:32 | 14,400 | 94098c4a0740b031b256fb265a0cd5d3729d8a98 | TST: summary_col with MixedLM | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/tests/test_lme.py",
"new_path": "statsmodels/regression/tests/test_lme.py",
"diff": "@@ -943,6 +943,39 @@ def test_handle_missing():\nassert_equal(len(result1.fittedvalues), result1.nobs)\n+def test_summary_col():\n+ from statsmodels.iol... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: summary_col with MixedLM |
641,816 | 26.09.2016 18:18:47 | 18,000 | 18edcf5c28d318a09a8d6f096b07cce8a524bc22 | ENH: Modify violinplot in boxplots.py to add data check and gaussian_kde bw_method | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/graphics/boxplots.py",
"new_path": "statsmodels/graphics/boxplots.py",
"diff": "@@ -58,6 +58,8 @@ def violinplot(data, ax=None, labels=None, positions=None, side='both',\n- 'label_fontsize', MPL fontsize. Adjusts fontsize only if given.\n- 'label_r... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Modify violinplot in boxplots.py to add data check and gaussian_kde bw_method |
641,888 | 06.04.2018 12:51:24 | -28,800 | 2eea77d0ddab318c0113350e1d5e22f7a55b9914 | Fit roots table into both txt and html format | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima_model.py",
"new_path": "statsmodels/tsa/arima_model.py",
"diff": "@@ -1660,15 +1660,16 @@ class ARMAResults(tsbase.TimeSeriesModelResults):\nif len(stubs): # not 0, 0\nmodulus = np.abs(roots)\ndata = np.column_stack((roots.real, roots.ima... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Fit roots table into both txt and html format |
641,971 | 17.04.2018 23:50:02 | 14,400 | 363cac9da58bd0e5eb061f6724eebfeeb9cf27ed | TST: ARMA summary rootstable, regression test for html | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_arima.py",
"new_path": "statsmodels/tsa/tests/test_arima.py",
"diff": "@@ -300,6 +300,32 @@ class Test_Y_ARMA22_Const(CheckArmaResultsMixin):\ncls.res1 = ARMA(endog, order=(2,2)).fit(trend=\"c\", disp=-1)\ncls.res2 = results_arma.Y_a... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: ARMA summary rootstable, regression test for html |
641,971 | 19.04.2018 11:32:33 | 14,400 | bd357dd811547b37cbcbb56dde25d85ee8d997db | BUG: allow ARMA/ARIMA with int endog in _fit_start_params_hr closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima_model.py",
"new_path": "statsmodels/tsa/arima_model.py",
"diff": "@@ -21,7 +21,7 @@ from statsmodels.tools.decorators import (cache_readonly,\nresettable_cache)\nimport statsmodels.tsa.base.tsa_model as tsbase\nimport statsmodels.base.wra... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: allow ARMA/ARIMA with int endog in _fit_start_params_hr closes #3504 |
642,048 | 24.03.2018 11:50:42 | 14,400 | 3ce524e8981f7ab691758aaa2ff69d560718342e | Multiple imputation via Gaussian model | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "statsmodels/imputation/bayes_mi.py",
"diff": "+import numpy as np\n+from statsmodels.base.model import LikelihoodModelResults\n+\n+\n+class BayesMI(object):\n+ \"\"\"\n+ BayesMI uses a Gaussian model to impute multivariate data.\n+\n+ The approa... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Multiple imputation via Gaussian model |
642,048 | 24.03.2018 14:41:22 | 14,400 | e99ac1e48d14c1dc53568f493a495c8c7ede9909 | Modify test tolerances | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/imputation/tests/test_bayes_mi.py",
"new_path": "statsmodels/imputation/tests/test_bayes_mi.py",
"diff": "@@ -81,7 +81,7 @@ def test_MI():\nr = mi.fit()\nr.summary() # smoke test\nassert_allclose(r.params, np.r_[\n- -0.05347919, -0.02479701, 0.1007... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Modify test tolerances |
642,048 | 24.03.2018 15:40:16 | 14,400 | 1f90866718a652c04b1d627704d88fd732e04f4f | Relax test tolerances{ | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/imputation/tests/test_bayes_mi.py",
"new_path": "statsmodels/imputation/tests/test_bayes_mi.py",
"diff": "@@ -81,12 +81,12 @@ def test_MI():\nr = mi.fit()\nr.summary() # smoke test\nassert_allclose(r.params, np.r_[\n- -0.05347919, -0.02479701, 0.10... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Relax test tolerances{ |
642,048 | 24.03.2018 15:59:04 | 14,400 | 36e0e7c92855e852e97388d60bb734880a2fa122 | add text to release notes | [
{
"change_type": "MODIFY",
"old_path": "docs/source/release/version0.9.rst",
"new_path": "docs/source/release/version0.9.rst",
"diff": "@@ -36,6 +36,18 @@ module. Binomial and Poisson models with independent random effects\ncan be fit using Bayesian methods (Laplace and mean field\napproximations to... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add text to release notes |
642,048 | 24.03.2018 19:19:21 | 14,400 | f1be38176056692a1567e7c0bb0b43032d195dba | modify thresholds | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/imputation/tests/test_bayes_mi.py",
"new_path": "statsmodels/imputation/tests/test_bayes_mi.py",
"diff": "@@ -81,12 +81,12 @@ def test_MI():\nr = mi.fit()\nr.summary() # smoke test\nassert_allclose(r.params, np.r_[\n- -0.05347919, -0.02479701, 0.10... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | modify thresholds |
642,048 | 25.03.2018 17:10:17 | 14,400 | f87ecfabc1058b6d042a1e33d135c4fcbb079f33 | Further adjust test tolerances | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/api.py",
"new_path": "statsmodels/api.py",
"diff": "@@ -22,6 +22,7 @@ from .tsa import api as tsa\nfrom .duration.survfunc import SurvfuncRight\nfrom .duration.hazard_regression import PHReg\nfrom .imputation.mice import MICE, MICEData\n+from .impu... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Further adjust test tolerances |
642,048 | 25.03.2018 18:45:42 | 14,400 | dbdc8d6fd07bfea698e12e907499c7be9b566fc4 | Further test threshold adjustments | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/imputation/tests/test_bayes_mi.py",
"new_path": "statsmodels/imputation/tests/test_bayes_mi.py",
"diff": "@@ -81,14 +81,14 @@ def test_MI():\nr = mi.fit()\nr.summary() # smoke test\n# TODO: why does the test tolerance need to be so slack?\n- # Ther... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Further test threshold adjustments |
642,048 | 31.03.2018 11:40:27 | 14,400 | 5907bacf33f1dcc52d8da95e833280644ab9183c | BUG: random effects extraction with variance components | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/mixed_linear_model.py",
"new_path": "statsmodels/regression/mixed_linear_model.py",
"diff": "@@ -861,6 +861,8 @@ class MixedLM(base.LikelihoodModel):\nif isinstance(groups, string_types):\ngroup_name = groups\ngroups = np.asarray(data[gr... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: random effects extraction with variance components |
642,048 | 31.03.2018 11:51:28 | 14,400 | 3ade276382b055be6e4d4248cc3f7b06cdef2e12 | privatize names list | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/mixed_linear_model.py",
"new_path": "statsmodels/regression/mixed_linear_model.py",
"diff": "@@ -945,7 +945,7 @@ class MixedLM(base.LikelihoodModel):\nif vc_formula is not None:\nmod.data.vcomp_names = mod._vc_names\n- mod.exog_vc_names ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | privatize names list |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.