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,834
04.07.2016 11:38:45
-7,200
4c13d74942b1ef27d213c39836206cb7618db795
implement and test translation from VAR to VEC representation (also: changed the dimensions of the return value of the other translation (VEC-->VAR) and adapted the test correspondingly)
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/results/parse_jmulti_output.py", "new_path": "statsmodels/tsa/vecm/tests/results/parse_jmulti_output.py", "diff": "@@ -92,7 +92,7 @@ def load_results_jmulti(dataset):\nif 'Covariance:' in line:\nsigmau_section_reached = True\nrow = r...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
implement and test translation from VAR to VEC representation (also: changed the dimensions of the return value of the other translation (VEC-->VAR) and adapted the test correspondingly)
641,834
05.07.2016 18:38:14
-7,200
200abf6d805f238d4c83499464422e02f21233dc
fixed testing problems in Python 2 and maybe found solution for failing test with seasonal terms.
[ { "change_type": "MODIFY", "old_path": "statsmodels/datasets/__init__.py", "new_path": "statsmodels/datasets/__init__.py", "diff": "@@ -3,7 +3,8 @@ Datasets module\n\"\"\"\n#__all__ = filter(lambda s:not s.startswith('_'),dir())\nfrom . import (anes96, cancer, committee, ccard, copper, cpunish, elni...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed testing problems in Python 2 and maybe found solution for failing test with seasonal terms.
641,834
20.07.2016 22:50:20
-7,200
43e8d53150b89e8f22d1974d2860aa4b05704cae
commented in all tests (92/92 passing)
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "new_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "diff": "@@ -172,125 +172,125 @@ def test_ml_beta():\n\"p-VALUES\\n\"+err_msg\n-# def test_ml_c(): # test const outside coint relation and seasonal terms\n-# if de...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
commented in all tests (92/92 passing)
641,834
21.07.2016 15:12:28
-7,200
236ec49d7314efdbb222421cf8f91d32b4611550
add the necessery files for the tests (forgotten in last commit)
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/vecm/tests/results/e6_jmulti_co.txt", "diff": "+*** Tue, 21 Jun 2016 11:28:38 ***\n+VEC REPRESENTATION\n+endogenous variables: Dp R\n+exogenous variables:\n+deterministic variables: CONST\n+endogenous lags (diffs): 3\n+exogenous ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add the necessery files for the tests (forgotten in last commit)
641,834
23.07.2016 16:24:41
-7,200
8690dbe322b1e264cc6ab5f0a3b75c73d9e029b0
change API for seasonal deterministic terms Now information about seasonal terms is supplied to VECM(Results) via an integer as seasonal argument. TODO: generate the necessary JMulTi output for currently missing combinations of deterministic terms to be able to test more than the two current combinations (constant and ...
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/results_JMulTi/parse_jmulti_output.py", "new_path": "statsmodels/tsa/vecm/tests/results_JMulTi/parse_jmulti_output.py", "diff": "@@ -35,13 +35,45 @@ def print_debug_output(results, dt):\nprint(results[\"se\"][\"C\"])\n-def load_resul...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
change API for seasonal deterministic terms Now information about seasonal terms is supplied to VECM(Results) via an integer as seasonal argument. TODO: generate the necessary JMulTi output for currently missing combinations of deterministic terms to be able to test more than the two current combinations (constant and...
641,834
28.07.2016 10:55:53
-7,200
61e2a5b145518145721f89ff4984c05ced73005d
change "" to "nc" for no deterministic terms as suggested by Josef
[ { "change_type": "RENAME", "old_path": "statsmodels/tsa/vecm/tests/results_JMulTi/e6_jmulti_.txt", "new_path": "statsmodels/tsa/vecm/tests/results_JMulTi/e6_jmulti_nc.txt", "diff": "" }, { "change_type": "RENAME", "old_path": "statsmodels/tsa/vecm/tests/results_JMulTi/e6_jmulti__Sigmau.t...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
change "" to "nc" for no deterministic terms as suggested by Josef
641,834
28.07.2016 11:41:04
-7,200
ca5222f714c2a364dfa7de975769a0ba8a8c0e88
move parameters from fit() to __init__().
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "new_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "diff": "@@ -39,13 +39,11 @@ def load_data(dataset, data_dict): # TODO: make function compatible with other\ndef load_results_statsmodels(dataset):\nresults_per_de...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
move parameters from fit() to __init__().
641,834
28.07.2016 22:16:35
-7,200
87d02357cae52fab5906289a5771082c04cc16f0
start with point forecasts - works already if no deterministic terms are present Most combinations of det. terms are currently commented out for testing, but will be commented in when the forecast related code can handle deterministic terms.
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/vecm/tests/results_JMulTi/e6_jmulti_ci_fc5.txt", "diff": "+*** Thu, 28 Jul 2016 16:41:32 ***\n+FORECASTING\n+Reference: Ltkepohl (1993), IMTSA, 2ed, ch. 5.2.6, ch. 10.5\n+CI coverage: 0.95\n+forecast horizon: 5 periods\n+using st...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
start with point forecasts - works already if no deterministic terms are present Most combinations of det. terms are currently commented out for testing, but will be commented in when the forecast related code can handle deterministic terms.
641,834
29.07.2016 23:37:20
-7,200
b5376749a3c842d0aae489da203ad15ec464de96
finish point forecasts Point forecasts now also work with deterministic terms. Some VAR code has been reused and rewritten. The main idea for rewriting the forecast function were taken from statsmodels/statsmodels#3028. Tests: Before implementing forecasts: 224/226 passing After: 234/236 passing
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/results_JMulTi/parse_jmulti_output.py", "new_path": "statsmodels/tsa/vecm/tests/results_JMulTi/parse_jmulti_output.py", "diff": "@@ -3,7 +3,7 @@ import os\nimport numpy as np\n-debug_mode = True\n+debug_mode = False\ndef print_debug_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
finish point forecasts Point forecasts now also work with deterministic terms. Some VAR code has been reused and rewritten. The main idea for rewriting the forecast function were taken from statsmodels/statsmodels#3028. Tests: Before implementing forecasts: 224/226 passing After: 234/236 passin...
641,834
01.08.2016 22:40:42
-7,200
eb96b4867bc2d1d3b773b79215fb96db440ed7c2
API changes in __init__() and fit(), clean up a bit (PEP8,...) The change (partial undo of a former change) of the signatures of __init__ and fit was suggested by Josef on Github.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/results_JMulTi/parse_jmulti_output.py", "new_path": "statsmodels/tsa/vecm/tests/results_JMulTi/parse_jmulti_output.py", "diff": "@@ -22,15 +22,15 @@ def print_debug_output(results, dt):\nprint(\"beta:\")\nprint(str(type(beta)) + str(...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
API changes in __init__() and fit(), clean up a bit (PEP8,...) The change (partial undo of a former change) of the signatures of __init__ and fit was suggested by Josef on Github.
641,834
02.08.2016 10:53:55
-7,200
d02bea901b2dc6c1776c98b75723f5348c2b5c96
optimize _sij() in vecm.py
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/vecm.py", "new_path": "statsmodels/tsa/vecm/vecm.py", "diff": "@@ -205,11 +205,14 @@ def _sij(delta_x, delta_y_1_T, y_min1):\n\"\"\"\nT = y_min1.shape[1]\nr0, r1 = _r_matrices(T, delta_x, delta_y_1_T, y_min1)\n- # p. 294: optimizable: e.g....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
optimize _sij() in vecm.py
641,834
02.08.2016 17:39:21
-7,200
7e6aaae5c8440759118b9e57d60975dc62738f13
fix introduced VAR-related error Error was introduced by changing a signature in var_model.py. (Errors started to show up in test_var.py) Now the signature has been changed again to support not only the parameters needed by the VECM framework, but to also work again with the tests for VAR.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/var_model.py", "new_path": "statsmodels/tsa/vector_ar/var_model.py", "diff": "@@ -194,7 +194,7 @@ def mse(ma_coefs, sigma_u, steps):\nreturn forc_covs\n-def forecast(y, coefs, trend_coefs, steps, exog):\n+def forecast(y, coefs, trend_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix introduced VAR-related error Error was introduced by changing a signature in var_model.py. (Errors started to show up in test_var.py) Now the signature has been changed again to support not only the parameters needed by the VECM framework, but to also work again with the tests for VAR.
641,834
04.08.2016 11:58:54
-7,200
e7f0af80d9fb21aa060502ecc91bf82be7874289
add file forgotten in last commit.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "new_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "diff": "@@ -4,8 +4,8 @@ import numpy as np\nfrom numpy.testing import assert_, assert_allclose\nimport statsmodels.datasets.interest_inflation.data as e6\n-from ....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add file forgotten in last commit.
641,834
04.08.2016 21:33:59
-7,200
c9bcdf1195e64d57ca35f36bb729d6adc3ca1820
parse JMulTi results regarding Granger/instantaneous causality
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/JMulTi_results/parse_jmulti_output.py", "new_path": "statsmodels/tsa/vecm/tests/JMulTi_results/parse_jmulti_output.py", "diff": "@@ -290,6 +290,12 @@ def load_results_jmulti(dataset, dt_s_list):\nresults[\"fc\"][\"upper\"] = upper\n#...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
parse JMulTi results regarding Granger/instantaneous causality
641,834
18.08.2016 22:36:15
-7,200
dbf4bcd836ed5418f5beb1900239c2308483c618
fix two bugs in vector_ar/irf.py
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/irf.py", "new_path": "statsmodels/tsa/vector_ar/irf.py", "diff": "@@ -343,7 +343,7 @@ class IRAnalysis(BaseIRAnalysis):\nreturn lower, upper\n- def err_band_sz2(self, orth=False, repl=1000, signif=0.05,\n+ def err_band_sz2(self, orth=...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix two bugs in vector_ar/irf.py
641,834
22.08.2016 10:42:41
-7,200
2ce2d1a240fa8595bca7c19e795344660483ac01
implement lag order selection for VECMs This feature works in the absence of deterministic terms. When VAR-refactoring is done (allowing arbitrary deterministic terms in VAR models), this feature will also work with deterministic terms.
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/vecm/tests/JMulTi_results/e6_jmulti_ci_lagorder.txt", "diff": "+*** Sun, 21 Aug 2016 09:36:25 ***\n+OPTIMAL ENDOGENOUS LAGS FROM INFORMATION CRITERIA\n+\n+endogenous variables: Dp R\n+deterministic variables: CONST\n+sample range...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
implement lag order selection for VECMs This feature works in the absence of deterministic terms. When VAR-refactoring is done (allowing arbitrary deterministic terms in VAR models), this feature will also work with deterministic terms.
641,834
25.08.2016 21:40:33
-7,200
dc95c6f451adbf1d99fdf79ef6d497232e04ba23
Change Granger-causality-test in VAR in the same way as in VECM This includes the possibility to have now more than one caused variable and the bug fix (i.e. restricting `caused` to always be the complement of `causing`.)
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/vecm.py", "new_path": "statsmodels/tsa/vecm/vecm.py", "diff": "@@ -1160,8 +1160,9 @@ class VECMResults(object):\ndef test_granger_causality(self, causing, signif=0.05, verbose=True):\n\"\"\"\nTest for Granger-causality as described in chap...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Change Granger-causality-test in VAR in the same way as in VECM This includes the possibility to have now more than one caused variable and the bug fix (i.e. restricting `caused` to always be the complement of `causing`.)
641,834
27.08.2016 14:50:42
-7,200
cdabe13199ad269d290a3a2825a69b3336e06f3e
treat corner case "lag order (in diff.) = 0" correctly
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/vecm.py", "new_path": "statsmodels/tsa/vecm/vecm.py", "diff": "@@ -179,33 +179,33 @@ def _endog_matrices(endog_tot, diff_lags, deterministic, seasons=0):\nT = y_1_T.shape[1]\ndelta_y = np.diff(y)\ndelta_y_1_T = delta_y[:, p-1:]\n- y_min1 =...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
treat corner case "lag order (in diff.) = 0" correctly
641,834
06.09.2016 21:16:22
-7,200
03fadaa0b21d0c9ec56f247e12b7590d3c76a79f
VECM: test for non-normality now implemented This function gives the same results as JMulTi for all 10 tested combinations of deterministic terms.
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/vecm/tests/JMulTi_results/e6_jmulti_ci_diag.txt", "diff": "+*** Mon, 25 Jul 2016 13:43:33 ***\n+PORTMANTEAU TEST (H0:Rh=(r1,...,rh)=0)\n+\n+tested order: 16\n+test statistic: 47.2544\n+ p-value: 0.5842\n+adjusted test statistic: ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: test for non-normality now implemented This function gives the same results as JMulTi for all 10 tested combinations of deterministic terms.
641,834
22.10.2016 21:45:22
-7,200
b3222a407160a13f04986857327e8c00884938b0
VAR: test impulse response function
[ { "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": "@@ -274,6 +274,43 @@ def load_results_jmulti(dataset, dt_s_list):\nresults[\"inst_caus...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VAR: test impulse response function
641,834
22.10.2016 22:18:48
-7,200
e0278a52a8570b39e70116f72ce3c18598f88e53
VAR: test test_normality()
[ { "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": "@@ -334,6 +334,39 @@ def load_results_jmulti(dataset, dt_s_list):\nresults[\"lagorder\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VAR: test test_normality()
641,834
23.10.2016 14:37:22
-7,200
61bf20494024e9f408af6bdf7f989fa8cd5976ea
VECM: make test cases pass for t- & p-values of all parameters
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/vecm.py", "new_path": "statsmodels/tsa/vecm/vecm.py", "diff": "@@ -212,7 +212,7 @@ def _endog_matrices(endog_tot, diff_lags, deterministic, seasons=0,\n# y_min1 = H.T.dot(y_min1)\nif \"li\" in deterministic: # p. 299\n- y_min1_stack.append...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: make test cases pass for t- & p-values of all parameters
641,834
23.10.2016 14:49:36
-7,200
90c9d9b186462b130780dd29083671bcfb9bf575
VECM: implement test for whiteness of residuals and add corresponding test cases
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/JMulTi_results/parse_jmulti_output.py", "new_path": "statsmodels/tsa/vecm/tests/JMulTi_results/parse_jmulti_output.py", "diff": "@@ -489,6 +489,51 @@ def load_results_jmulti(dataset, dt_s_list):\nresults[\"test_norm\"][\"joint_pvalue...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: implement test for whiteness of residuals and add corresponding test cases
641,834
28.10.2016 11:08:40
-7,200
88243db4600b54f25e119eb770bc613691b58666
VAR: Add reference files (JMulTi output) for test cases (normality & whiteness)
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/vector_ar/tests/JMulTi_results/macrodata_jmulti_c_diag.txt", "diff": "+*** Fri, 7 Oct 2016 13:04:15 ***\n+PORTMANTEAU TEST (H0:Rh=(r1,...,rh)=0)\n+Reference: Ltkepohl (1993), Introduction to Multiple Time Series Analysis, 2ed, p....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VAR: Add reference files (JMulTi output) for test cases (normality & whiteness)
641,834
30.10.2016 18:07:03
-3,600
c19e26ba9016522b7dc631b5e7cb78d04d0958e3
VECM: fix Python2-related bug
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/util.py", "new_path": "statsmodels/tsa/vector_ar/util.py", "diff": "\"\"\"\nMiscellaneous utility code for VAR estimation\n\"\"\"\n+from __future__ import division\n+\nfrom statsmodels.compat.python import range, string_types, asbytes...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: fix Python2-related bug
641,834
31.10.2016 16:04:44
-3,600
fd8373da5a3cb66bd0807fa58bc01cb6eb46d46a
increase test coverage To this end a few test cases where made verbose. Now the output producing lines of code should also be covered by the test cases.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "new_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "diff": "@@ -479,6 +479,11 @@ def test_granger_causality():\nerr_msg_g_p = build_err_msg(ds, dt, \"GRANGER CAUS. - p-VALUE\")\nerr_msg_g_t = build_err_msg(ds, dt, ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
increase test coverage To this end a few test cases where made verbose. Now the output producing lines of code should also be covered by the test cases.
641,834
12.01.2017 17:09:39
-3,600
44f518112dc82edb035e6ffdfdb6556b6d5f8f3b
VECM: skip a few tests on platforms that can't import assert_raises_regex
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "new_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "diff": "@@ -2,7 +2,6 @@ from __future__ import absolute_import, print_function\nimport numpy as np\nfrom numpy.testing import assert_, assert_allclose, assert_rai...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: skip a few tests on platforms that can't import assert_raises_regex
641,834
17.01.2017 15:48:27
-3,600
5c6b2770413e648fa303e29114643ee10acc7124
VECM: add Josef's coint_tables.py and add Johansen cointegration test to VECM.
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/coint_tables.py", "diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Thu Aug 30 12:26:38 2012\n+Author: Josef Perktold\n+\"\"\"\n+'''\n+function jc = c_sja(n,p)\n+% PURPOSE: find critical values for Johansen maximum eigenval...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: add Josef's coint_tables.py and add Johansen cointegration test to VECM.
641,834
17.01.2017 22:25:43
-3,600
1a2dd75e05716da787aa034caa456c8c7eeeceef
VECM: fix a bug I introduced with my last commit
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/vecm.py", "new_path": "statsmodels/tsa/vecm/vecm.py", "diff": "@@ -351,7 +351,7 @@ def _sij(delta_x, delta_y_1_T, y_min1):\n# reorder eig_vals to make them decreasing (and order eig_vecs accordingly)\nlambd_order = np.argsort(lambd)[::-1]\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: fix a bug I introduced with my last commit
641,834
01.02.2017 17:05:09
-3,600
0a0d893094903206d7a83b23e8bda8abec5aa743
Add Josef's tests (test_coint.py) and the data for these tests (test_coint.csv) The two files were only added to this branch. The next step is to adapt them to use the coint_johansen-method of the VECM-class in this branch.
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/tests/results/test_coint.csv", "diff": "+ 2.8300000e+02 9.9000000e+01 5.6500000e+02 1.2000000e+02 3.1200000e+02 4.8100000e+02 9.2000000e+01 6.9700000e+02\n+ 2.8200000e+02 9.9000000e+01 5.5800000e+02 1.2100000e+02 3.0900000e+02 4....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add Josef's tests (test_coint.py) and the data for these tests (test_coint.csv) The two files were only added to this branch. The next step is to adapt them to use the coint_johansen-method of the VECM-class in this branch.
641,834
11.03.2017 17:14:08
-3,600
ff1510d5cc2ab4952d6a308ce0e3d7b08cb46e22
VECM: 1) add Josef's coint_johansen() & 2) change forecast plots slightly 1) Change coint_johansen() such that it matches the code in Josef's PR statsmodels/statsmodels#453. 2) Now the legend in forecast plots appears in the lower left corner and thus it cannot cover the forecast or forecast interval.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_coint.py", "new_path": "statsmodels/tsa/tests/test_coint.py", "diff": "@@ -8,7 +8,7 @@ Author: Josef Perktold\nimport os\nimport numpy as np\nfrom numpy.testing import assert_almost_equal, assert_equal\n-from statsmodels.tsa.johansen...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: 1) add Josef's coint_johansen() & 2) change forecast plots slightly 1) Change coint_johansen() such that it matches the code in Josef's PR statsmodels/statsmodels#453. 2) Now the legend in forecast plots appears in the lower left corner and thus it cannot cover the forecast or forecast interval.
641,834
11.03.2017 17:36:29
-3,600
68150d9d5cc66da44ad776dafe23ea615b64081b
VECM: move the tests for coint_johansen() from tsa/tests to tsa/vecm/tests
[ { "change_type": "RENAME", "old_path": "statsmodels/tsa/tests/results/test_coint.csv", "new_path": "statsmodels/tsa/vecm/tests/test_coint.csv", "diff": "" }, { "change_type": "RENAME", "old_path": "statsmodels/tsa/tests/test_coint.py", "new_path": "statsmodels/tsa/vecm/tests/test_coi...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: move the tests for coint_johansen() from tsa/tests to tsa/vecm/tests
641,834
14.03.2017 22:13:51
-3,600
106dcdd1b5b3f046a844ed2c6717848bd002becd
VECM: make coint_johansen PEP8-compliant
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/vecm.py", "new_path": "statsmodels/tsa/vecm/vecm.py", "diff": "@@ -399,7 +399,32 @@ def _sij(delta_x, delta_y_1_T, y_min1):\nreturn s00, s01, s10, s11, s11_, lambd, v\n-def coint_johansen(x, p, k, coint_trend=None):\n+def coint_johansen(en...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: make coint_johansen PEP8-compliant
641,834
20.03.2017 22:54:11
-3,600
1e79ecb2f7286b0d81980046425b17dac17451fb
VECM: add wrapper function for coint_johansen() for higher usability The new function select_coint_rank() uses coint_johansen() to calculate and return the cointegration rank. The function (optionally) prints a table which summarizes the conducted tests.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "new_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "diff": "@@ -12,7 +12,7 @@ from statsmodels.tsa.vecm.tests.JMulTi_results.parse_jmulti_output import \\\nfrom statsmodels.tsa.vector_ar.util import seasonal_dummie...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: add wrapper function for coint_johansen() for higher usability The new function select_coint_rank() uses coint_johansen() to calculate and return the cointegration rank. The function (optionally) prints a table which summarizes the conducted tests.
641,834
22.03.2017 16:39:57
-3,600
7ca258c484a0d51ea14d00389bf2b3a6ba7f8d54
VECM: remove comments and coint_trend argument in coint_johansen
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/vecm.py", "new_path": "statsmodels/tsa/vecm/vecm.py", "diff": "@@ -400,8 +400,8 @@ def _sij(delta_x, delta_y_1_T, y_min1):\nreturn s00, s01, s10, s11, s11_, lambd, v\n-def select_coint_rank(endog_tot, det_order, k_ar, coint_trend=None,\n- ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: remove comments and coint_trend argument in coint_johansen
641,834
22.03.2017 18:22:19
-3,600
1c0175ba1924b1f7aaeb6fcc18a633eb4fe4af30
VECM: move test_coint.csv to make Travis find it. As Josef explained to me, Travis needs this file to reside in a directory whose name ends with "results". Now the corresponding test cases should pass again.
[ { "change_type": "RENAME", "old_path": "statsmodels/tsa/vecm/tests/test_coint.csv", "new_path": "statsmodels/tsa/vecm/tests/Matlab_results/test_coint.csv", "diff": "" }, { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/test_coint.py", "new_path": "statsmodels/tsa/ve...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: move test_coint.csv to make Travis find it. As Josef explained to me, Travis needs this file to reside in a directory whose name ends with "results". Now the corresponding test cases should pass again.
641,834
22.03.2017 22:05:21
-3,600
8d3c0d415f68fafa41fc46e1cbc7d89e8c5776aa
VECM: correct unused R-code before deleting it
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/results_R_tsDyn/tsDyn_output_generator.r", "new_path": "statsmodels/tsa/vecm/tests/results_R_tsDyn/tsDyn_output_generator.r", "diff": "@@ -4,10 +4,11 @@ library(tsDyn)\ndta = read.table(\"E6_jmulti.csv\", header = FALSE, sep = \" \")...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: correct unused R-code before deleting it
641,834
29.03.2017 18:53:07
-7,200
580ce41e1ebb07ecd2bbd252123c690d66499741
VECM: docstrings (add Notes about deterministics,...)
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/vecm.py", "new_path": "statsmodels/tsa/vecm/vecm.py", "diff": "@@ -49,10 +49,8 @@ def select_order(data, maxlags, deterministic=\"nc\", seasons=0, exog=None,\n* \"li\" - linear trend within the cointegration relation\nCombinations of these...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: docstrings (add Notes about deterministics,...)
641,834
29.03.2017 21:44:05
-7,200
bc545edcef1724f1a572dcd00e9e9861cde2e45b
VAR: fix bugs, improve readability of edited code, delete corresponding todos The code was buggy because VAR() was called without specifying trend and exog so always the default values (i.e. a constant deterministic term) were used.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/irf.py", "new_path": "statsmodels/tsa/vector_ar/irf.py", "diff": "@@ -287,7 +287,7 @@ class IRAnalysis(BaseIRAnalysis):\nsignif=signif, seed=seed,\nburn=burn, cum=False)\nelse:\n- return model.irf_errband_mc(orth=orth, repl=repl, T=pe...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VAR: fix bugs, improve readability of edited code, delete corresponding todos The code was buggy because VAR() was called without specifying trend and exog so always the default values (i.e. a constant deterministic term) were used.
641,834
04.06.2017 22:30:36
-7,200
daf220ee6936d1f44302d44d6ecc58ef3b3c82a2
Change code according to suggestions in the WIP-PR This also closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "new_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "diff": "@@ -1494,4 +1494,3 @@ def setup():\nresults_sm[ds] = load_results_statsmodels(ds)\nresults_sm_exog[ds] = load_results_statsmodels_exog(ds)\nresults_sm_exo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Change code according to @jbrockmendel's suggestions in the WIP-PR This also closes #3615.
641,834
21.06.2017 23:23:58
-7,200
f1c5f50478e9b2a1dd7b3827a4cff4acaaa6c2ec
VECM: cointegration rank tests change signif to alpha instead of 1-alpha (e.g. 0.05 instead of 0.95) fix bug in the `summary`-method of `CointRankResults` which caused an `IndexError` if `rank==neqs`.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "new_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "diff": "@@ -1372,12 +1372,12 @@ def test_exceptions():\n# select_coint_rank:\nyield assert_raises, ValueError, select_coint_rank, endog, 0, 3, \\\n- \"my_method\"...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: cointegration rank tests - change signif to alpha instead of 1-alpha (e.g. 0.05 instead of 0.95) - fix bug in the `summary`-method of `CointRankResults` which caused an `IndexError` if `rank==neqs`.
641,834
27.06.2017 13:03:07
-7,200
a0be32ca85c5c900d052c0c35497df87df276404
add test results which were missing after last commit
[ { "change_type": "ADD", "old_path": "statsmodels/tsa/vector_ar/tests/Matlab_results/__init__.py", "new_path": "statsmodels/tsa/vector_ar/tests/Matlab_results/__init__.py", "diff": "" }, { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/vector_ar/tests/Matlab_resu...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add test results which were missing after last commit
641,834
27.06.2017 17:10:43
-7,200
91eade6c3335cd10da74acf7156158ab857f9080
VECM: delete unneeded files which haven't been moved to `vector_ar`
[ { "change_type": "DELETE", "old_path": "statsmodels/tsa/vecm/__init__.py", "new_path": null, "diff": "-from statsmodels import NoseWrapper as Tester\n-test = Tester().test\n" }, { "change_type": "DELETE", "old_path": "statsmodels/tsa/vecm/tests/JMulTi_results/__init__.py", "new_path"...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
VECM: delete unneeded files which haven't been moved to `vector_ar`
641,834
27.06.2017 17:30:32
-7,200
bf2d2b0d0cf76d99149503aee17925eaf4d117c4
remove vecm-module also from tsa/api.py
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/api.py", "new_path": "statsmodels/tsa/api.py", "diff": "@@ -3,9 +3,9 @@ from .arima_model import ARMA, ARIMA\nfrom . import vector_ar as var\nfrom .arima_process import arma_generate_sample, ArmaProcess\nfrom .vector_ar.var_model import VAR\n+f...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
remove vecm-module also from tsa/api.py
641,860
30.05.2017 00:33:34
-10,800
7659e9d36a87c224f5adac3d0cec1d96f97377ea
Added llf for Generalized Poisson model
[ { "change_type": "MODIFY", "old_path": "statsmodels/api.py", "new_path": "statsmodels/api.py", "diff": "@@ -12,7 +12,8 @@ from .genmod.api import GLM, GEE, OrdinalGEE, NominalGEE, families, cov_struct\nfrom . import robust\nfrom .robust.robust_linear_model import RLM\nfrom .discrete.discrete_model i...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Added llf for Generalized Poisson model
641,860
30.05.2017 23:51:40
-10,800
93139f278c14d91307d3dd3764e253b8693d95fa
Score for GP-p
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -1202,7 +1202,7 @@ class GeneralizedPoisson(CountModel):\nsuper(GeneralizedPoisson, self).__init__(endog, exog, offset=offset,\nexposure=exposure,\nmissi...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Score for GP-p
641,860
03.06.2017 01:41:48
-10,800
f278a9ce5e8c42a944dff5abcc074f95764f1d1f
Added implementation of Fit method and Result class
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -1203,6 +1203,9 @@ class GeneralizedPoisson(CountModel):\nexposure=exposure,\nmissing=missing, **kwargs)\nself.parameterization = p - 1\n+ self.exog_name...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Added implementation of Fit method and Result class
641,860
07.06.2017 02:27:25
-10,800
8ca5c2d3bbc49928ebf59dcdf789b1596f2c6f1f
Added score for p-parameter
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -1205,7 +1205,40 @@ class GeneralizedPoisson(CountModel):\nself.parameterization = p - 1\nself.exog_names.append('alpha')\nself.k_extra = 1\n- self._tran...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Added score for p-parameter
641,860
08.06.2017 00:14:23
-10,800
cffbe400030d4f1b1d7fb5d4b3ef4551c79bea1e
Refactored score for p parameterr, deleted pdf
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -1207,39 +1207,6 @@ class GeneralizedPoisson(CountModel):\nself.k_extra = 1\nself._transparams = False\n- def pdf(self, Y):\n- \"\"\"\n- Generalized Pois...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Refactored score for p parameterr, deleted pdf
641,860
08.06.2017 01:43:29
-10,800
ad0bc4cfcb35c8828f724566019d66e8e772f38a
Implemented genpoisson_p
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_discrete.py", "new_path": "statsmodels/discrete/tests/test_discrete.py", "diff": "@@ -1589,10 +1589,10 @@ class TestGeneralizedPoisson(object):\nDECIMAL_4)\ndef test_aic(self):\n- assert_almost_equal(self.res1.aic, self.res2.aic...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Implemented genpoisson_p
641,860
08.06.2017 03:15:37
-10,800
4914eb5b66862865fafba31e98d48a4ef6202de1
Increased precision in tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/results/results_discrete.py", "new_path": "statsmodels/discrete/tests/results/results_discrete.py", "diff": "@@ -961,28 +961,31 @@ class RandHIE(object):\ndef generalizedpoisson_gp2(self):\n# Stata gnpoisson function\n- self.params =...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Increased precision in tests
641,860
08.06.2017 10:34:20
-10,800
2b2545f69253df7d298fc658c57bde31ebb1776f
Refactored tests, added wald tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/results/results_discrete.py", "new_path": "statsmodels/discrete/tests/results/results_discrete.py", "diff": "@@ -962,20 +962,19 @@ class RandHIE(object):\ndef generalizedpoisson_gp2(self):\n# Stata gnpoisson function\nself.llf = -433...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Refactored tests, added wald tests
641,860
08.06.2017 12:59:19
-10,800
4250ae8537bf3d50c9fc1239b3a190ca3e974fe4
Added tests for GP-p distribution
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -1446,6 +1446,7 @@ class GeneralizedPoisson(CountModel):\na2 = mu + alpha * mu_p * y\na3 = alpha * p * mu ** (p - 1)\na4 = a3 * y\n+ a5 = p * mu ** (p - ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Added tests for GP-p distribution
641,860
08.06.2017 23:32:18
-10,800
0b6dbe603e650327fd05e19510cfb91a89c4f487
Added predict function
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -42,6 +42,7 @@ from statsmodels.compat.numpy import np_matrix_rank\nfrom pandas.core.api import get_dummies\nfrom statsmodels.base.l1_slsqp import fit_l1...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Added predict function
641,860
09.06.2017 11:29:44
-10,800
58e8ec8393e7a8a459330a607173d67174280724
Added tests for t_test and underdispersion
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -1286,8 +1286,8 @@ class GeneralizedPoisson(CountModel):\nself._transparams = False\nmlefit._results.params[-1] = np.exp(mlefit._results.params[-1])\n- g...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Added tests for t_test and underdispersion
641,860
09.06.2017 12:13:44
-10,800
9496668cefa511c09c3c0880a1f7b9e33f1e93d2
Added formulas to docs, fixed tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -49,6 +49,8 @@ try:\nexcept ImportError:\nhave_cvxopt = False\n+import warnings\n+\n#TODO: When we eventually get user-settable precision, we need to cha...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Added formulas to docs, fixed tests
641,860
10.06.2017 18:35:52
-10,800
298939764c54803e309509f743b231e7cf77ef18
Changed optimization method in test
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_discrete.py", "new_path": "statsmodels/discrete/tests/test_discrete.py", "diff": "@@ -1666,7 +1666,7 @@ class TestGeneralizedPoisson_underdispersion(object):\nendog = sm.distributions.genpoisson_p.rvs(mu_true,\ncls.expected_para...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Changed optimization method in test
641,860
10.06.2017 19:56:31
-10,800
ae14fbf1dac6fe61af67888f43980a008920ce67
Changed params to fix build problem
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_discrete.py", "new_path": "statsmodels/discrete/tests/test_discrete.py", "diff": "@@ -1657,20 +1657,20 @@ class TestGeneralizedPoisson_p1(object):\nclass TestGeneralizedPoisson_underdispersion(object):\n@classmethod\ndef setupCl...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Changed params to fix build problem
641,860
11.06.2017 16:28:43
-10,800
2d032ad4a7127bf5f9f4cc74fc6f8e28db962996
Changed boundary in logpmf
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/discrete.py", "new_path": "statsmodels/distributions/discrete.py", "diff": "@@ -11,8 +11,8 @@ class genpoisson_p_gen(rv_discrete):\ndef _logpmf(self, x, mu, alpha, p):\nmu_p = mu ** (p - 1.)\n- a1 = np.maximum(0, 1 + alpha * mu_p)\n- ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Changed boundary in logpmf
641,860
12.06.2017 09:10:00
-10,800
9efee685c7e417526b7aeec4a5c11dabb12b2e36
New params for test_discrete
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_discrete.py", "new_path": "statsmodels/discrete/tests/test_discrete.py", "diff": "@@ -1657,7 +1657,7 @@ class TestGeneralizedPoisson_p1(object):\nclass TestGeneralizedPoisson_underdispersion(object):\n@classmethod\ndef setupClas...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
New params for test_discrete
641,860
12.06.2017 11:17:02
-10,800
e7f573ca256c414ab5be9f67f076a86fca9e17d6
Changed underdispersion test to test mean and var
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_discrete.py", "new_path": "statsmodels/discrete/tests/test_discrete.py", "diff": "@@ -1637,7 +1637,7 @@ class TestGeneralizedPoisson_p1(object):\ngenpoisson_score = sm.GeneralizedPoisson(\nself.data.endog, self.data.exog, p=1).s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Changed underdispersion test to test mean and var
641,860
27.06.2017 01:12:15
-10,800
1d6c444ffb86d8906485d23feff9791406293df1
Fixed bug in GeneralizedPoisson predict
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -1539,8 +1539,8 @@ class GeneralizedPoisson(CountModel):\ncounts = np.atleast_2d(np.arange(0, np.max(self.endog)+1))\nmu = self.predict(params, exog=exog...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fixed bug in GeneralizedPoisson predict
641,860
27.06.2017 20:14:51
-10,800
3c1833ae937f452225e155056d0f64c264b321c6
TST: tests for transparams
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -3521,52 +3521,3 @@ wrap.populate_wrapper(L1MultinomialResultsWrapper, L1MultinomialResults)\nif __name__==\"__main__\":\nimport numpy as np\nimport stat...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: tests for transparams
641,971
27.06.2017 04:12:27
14,400
c6fd7504e1ca078c3540f7d9c46b0160ecdf002c
TST: more genpoisson underdispersion unit tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_discrete.py", "new_path": "statsmodels/discrete/tests/test_discrete.py", "diff": "@@ -1707,15 +1707,52 @@ class TestGeneralizedPoisson_underdispersion(object):\nmodel_gp = sm.GeneralizedPoisson(cls.endog, exog, p=1)\ncls.res = m...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: more genpoisson underdispersion unit tests
641,971
27.06.2017 06:06:58
14,400
3a1f9800a6a3369d0b3fec2ce57a529e07d2a58c
BUG/TST: add size in rvs
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_discrete.py", "new_path": "statsmodels/discrete/tests/test_discrete.py", "diff": "@@ -1703,7 +1703,7 @@ class TestGeneralizedPoisson_underdispersion(object):\nexog[:nobs//2, 1] = 2\nmu_true = np.exp(exog.dot(cls.expected_params[...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/TST: add size in rvs
641,971
27.06.2017 19:49:16
14,400
b5b308f46cab67a415acd2b4c6bec365af27b682
TST: add basic tests for GeneralizedPoisson.fit_regularized
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_discrete.py", "new_path": "statsmodels/discrete/tests/test_discrete.py", "diff": "@@ -1693,6 +1693,26 @@ class TestGeneralizedPoisson_p1(object):\nt_test = self.res1.t_test(unit_matrix)\nassert_allclose(self.res1.tvalues, t_test...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: add basic tests for GeneralizedPoisson.fit_regularized
641,904
30.06.2017 11:22:05
25,200
c3c781532d7b86808d48a7c9154fdda15043063c
Use prepare_exog instead of identical code in many places
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/regime_switching/markov_regression.py", "new_path": "statsmodels/tsa/regime_switching/markov_regression.py", "diff": "@@ -95,7 +95,7 @@ class MarkovRegression(markov_switching.MarkovSwitching):\nself.switching_variance = switching_variance\n# E...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Use prepare_exog instead of identical code in many places
641,904
30.06.2017 11:23:27
25,200
d6391d42dc7c13640146d7764ef036946d6a8e48
Avoid unnecessary global usage
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tools.py", "new_path": "statsmodels/tsa/statespace/tools.py", "diff": "@@ -34,9 +34,7 @@ prefix_copy_index_vector_map = {}\ndef set_mode(compatibility=None):\n- global compatibility_mode, has_trmm, prefix_statespace_map, \\\n- prefix...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Avoid unnecessary global usage
642,048
04.07.2017 00:25:08
14,400
b1f501ca149d2298881c61b1e6e9b7119bdd8e7b
Doc edit for mixedlm
[ { "change_type": "MODIFY", "old_path": "docs/source/mixed_linear.rst", "new_path": "docs/source/mixed_linear.rst", "diff": ".. currentmodule:: statsmodels.regression.mixed_linear_model\n-\n.. _mixedlmmod:\nLinear Mixed Effects Models\n===========================\n-\nLinear Mixed Effects models are u...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Doc edit for mixedlm
641,904
06.07.2017 09:35:48
25,200
bd2a46e396bd0fa5d6a7a79c72ad28f231917af2
Simplify cov_params methods by calling hessian with kwargs instead of calling _hessian_xyz
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -574,6 +574,7 @@ class MLEModel(tsbase.TimeSeriesModel):\nreturn result\n+ # TODO: _handle_args does not use `self`. Does it need to be a method?\ndef _h...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Simplify cov_params methods by calling hessian with kwargs instead of calling _hessian_xyz
642,048
26.06.2017 18:26:08
14,400
3bbf42c14ae72dc56f43dcb4e5d0b89da55c5802
Allow list to be passed to Table2x2
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/contingency_tables.py", "new_path": "statsmodels/stats/contingency_tables.py", "diff": "@@ -664,6 +664,9 @@ class Table2x2(SquareTable):\ndef __init__(self, table, shift_zeros=True):\n+ if type(table) is list:\n+ table = np.asarray(table)\n+\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Allow list to be passed to Table2x2
642,048
26.06.2017 23:57:58
14,400
ac8da416125dbd0d5e530b85f667704a48ecce3b
flake8 edits
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/contingency_tables.py", "new_path": "statsmodels/stats/contingency_tables.py", "diff": "@@ -34,7 +34,6 @@ from statsmodels import iolib\nfrom statsmodels.tools.sm_exceptions import SingularMatrixWarning\n-\ndef _make_df_square(table):\n\"\"\"...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
flake8 edits
642,048
27.06.2017 08:16:51
14,400
6135f2f50c49f616ae9ee18f54afcde59344b913
fix broken make_df_square
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/contingency_tables.py", "new_path": "statsmodels/stats/contingency_tables.py", "diff": "@@ -45,10 +45,10 @@ def _make_df_square(table):\nreturn table\n# If the table is not square, make it square\n- if table.shape[0] != table.shape[1]:\n+ if ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix broken make_df_square
642,048
27.06.2017 09:39:17
14,400
ce1ab803ea506ea24c517cb701c1ab1ec985b8ad
fix StratifiedTable from_data
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/contingency_tables.py", "new_path": "statsmodels/stats/contingency_tables.py", "diff": "@@ -971,15 +971,15 @@ class StratifiedTable(object):\nParameters\n----------\nvar1 : int or string\n- The column index or name of `data` containing the va...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix StratifiedTable from_data
642,048
27.06.2017 09:44:40
14,400
eb4d434f90214080db8e7c5d483de017925a70c1
Further refinements to from_data methods
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/contingency_tables.py", "new_path": "statsmodels/stats/contingency_tables.py", "diff": "@@ -991,7 +991,7 @@ class StratifiedTable(object):\n\"\"\"\nif not isinstance(data, pd.DataFrame):\n- data1 = pd.DataFrame(index=data.index, column=[var1,...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Further refinements to from_data methods
642,048
27.06.2017 10:02:15
14,400
e9eefdd76b218bc882af85e3faff5a9eb1e63b92
Add __str__ so tables can be printed
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/contingency_tables.py", "new_path": "statsmodels/stats/contingency_tables.py", "diff": "@@ -15,9 +15,9 @@ The main classes are:\ncontingency table.\n* StratifiedTable : implements methods that can be applied to a\n- collection of contingency ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add __str__ so tables can be printed
642,048
27.06.2017 12:50:09
14,400
d8d8af985c8536d955f7cf7a8378329abf683bc0
fix test since str is inconsistent between py2/3
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_contingency_tables.py", "new_path": "statsmodels/stats/tests/test_contingency_tables.py", "diff": "@@ -61,7 +61,7 @@ def test_SquareTable_from_data():\nrslt3.summary().as_text())\ns = str(rslt1)\n- assert_equal(s, 'A 5x5 contingenc...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix test since str is inconsistent between py2/3
642,048
02.04.2017 10:11:23
14,400
dc5a92395e66a879a0b8304302606b6e30514706
Missing data handling for mixedlm
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/mixed_linear_model.py", "new_path": "statsmodels/regression/mixed_linear_model.py", "diff": "@@ -751,9 +751,11 @@ class MixedLM(base.LikelihoodModel):\nreturn exog_names + param_names + vc_names, exog_re_names, param_names\n+\n@classmeth...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Missing data handling for mixedlm
642,048
02.04.2017 11:28:17
14,400
e951b4f06d436f6c782889a6885e02aabfc13eaf
Fix Py2 compat issues
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/mixed_linear_model.py", "new_path": "statsmodels/regression/mixed_linear_model.py", "diff": "@@ -2604,11 +2604,16 @@ def _handle_missing(data, groups, formula, re_formula, vc_formula):\nforms.extend(vc_formula.values())\nimport tokenize\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix Py2 compat issues
642,048
02.04.2017 13:01:28
14,400
b9ddd20c0cabc52d9340301c25b0276272aa8be0
Further Py2 compat fixing
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/mixed_linear_model.py", "new_path": "statsmodels/regression/mixed_linear_model.py", "diff": "@@ -2604,6 +2604,7 @@ def _handle_missing(data, groups, formula, re_formula, vc_formula):\nforms.extend(vc_formula.values())\nimport tokenize\n+...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Further Py2 compat fixing
642,048
03.04.2017 22:01:14
14,400
7a0d355b48dbadd8cda1eec52870f43982361f6f
better names for random effects in summary table
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/mixed_linear_model.py", "new_path": "statsmodels/regression/mixed_linear_model.py", "diff": "@@ -639,7 +639,7 @@ class MixedLM(base.LikelihoodModel):\nself.k_re2 = 1\nself.exog_re = np.ones((len(endog), 1), dtype=np.float64)\nself.data.e...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
better names for random effects in summary table
642,048
02.07.2017 22:53:30
14,400
2bb1e71d4a9122738d5867fa720f181f61571011
py 2/3 compat
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/mixed_linear_model.py", "new_path": "statsmodels/regression/mixed_linear_model.py", "diff": "@@ -153,6 +153,7 @@ from scipy import sparse\nimport pandas as pd\nimport patsy\nfrom statsmodels.compat.collections import OrderedDict\n+from s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
py 2/3 compat
642,048
08.07.2017 21:14:19
14,400
450ab921e0fbcfdc921b4fc25fc505ce2403e83b
Added note in release notes regarding compatability
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/source/release/version0.9.rst", "diff": "+:orphan:\n+\n+===========\n+0.9 Release\n+===========\n+\n+Release 0.9.0\n+=============\n+\n+Release summary\n+---------------\n+\n+Statsmodels is using now github to store the updated documentatio...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Added note in release notes regarding compatability
641,971
16.07.2017 02:36:22
14,400
3946adf1421f7dee4cf0eebccc7881120da56e6d
BUG: VAR, VECM forecast horizon, season dummies, see
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/var_model.py", "new_path": "statsmodels/tsa/vector_ar/var_model.py", "diff": "@@ -305,7 +305,7 @@ def forecast_interval(y, coefs, trend_coefs, sig_u, steps=5, alpha=0.05,\nq = util.norm_signif_level(alpha)\npoint_forecast = forecast(y...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: VAR, VECM forecast horizon, season dummies, see #3775
642,002
18.07.2017 17:49:39
-7,200
fd86097d25ff726560b67e5629e5b944b0f39f6c
Add absolute import for pyinstaller compatibility Adding an absolute import here solves an error when compiling apps with pyinstaller that use statsmodels. pyinstaller: issue:
[ { "change_type": "MODIFY", "old_path": "statsmodels/__init__.py", "new_path": "statsmodels/__init__.py", "diff": "@@ -5,7 +5,7 @@ from numpy import errstate\nfrom numpy.testing import Tester\nfrom warnings import simplefilter\n-from .tools.sm_exceptions import (ConvergenceWarning, CacheWriteWarning,...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add absolute import for pyinstaller compatibility Adding an absolute import here solves an error when compiling apps with pyinstaller that use statsmodels. pyinstaller: https://github.com/pyinstaller/pyinstaller issue: https://github.com/pyinstaller/pyinstaller/issues/2183
641,971
20.07.2017 04:05:22
14,400
2818c4fc2bb89cca3c69ff157909922a6bea33d1
TST: add tests VECM seasonal dummies and forecast
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/tests/test_vecm.py", "new_path": "statsmodels/tsa/vector_ar/tests/test_vecm.py", "diff": "from __future__ import absolute_import, print_function\nimport numpy as np\n-from numpy.testing import assert_, assert_allclose, assert_raises\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: add tests VECM seasonal dummies and forecast
641,971
22.07.2017 05:28:06
14,400
1283efd5e5cf41ca75304f4dd40bfde499486b88
BUG: fix confidence interval in contingency table summary closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/contingency_tables.py", "new_path": "statsmodels/stats/contingency_tables.py", "diff": "@@ -884,7 +884,7 @@ class Table2x2(SquareTable):\nself.oddsratio_pvalue()]],\n[fmt(x) for x in [self.log_oddsratio, self.log_oddsratio_se,\nlcb2, ucb2, se...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix confidence interval in contingency table summary closes #3822
642,059
02.08.2017 11:31:37
25,200
eb37e35a406664224849097c7527ba3a9c8ab58c
Correct spelling error in linearl_model.py Line 1321: "Model degress of freedom" -> "Model degrees of freedom"
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -1318,7 +1318,7 @@ class RegressionResults(base.LikelihoodModelResults):\ncov_type\nParameter covariance estimator used for standard errors and t-stats\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Correct spelling error in linearl_model.py Line 1321: "Model degress of freedom" -> "Model degrees of freedom"
641,891
03.08.2017 14:29:04
-10,800
d178af3181545d668475efd7b36509c4a56fa6be
NullDistribution description fix NullDistribution description fix
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/multitest.py", "new_path": "statsmodels/stats/multitest.py", "diff": "@@ -549,7 +549,7 @@ class NullDistribution(object):\nzscores : array-like\nThe observed Z-scores.\nnull_lb : float\n- Z-scores between `null_lb` and `null_lb` are all consi...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
NullDistribution description fix NullDistribution description fix
641,971
16.08.2017 21:47:52
14,400
64ba4619e2ba3817576e54411527395dd0b451d1
ENH: add csv for fair dataset PT (count data) [skip ci]
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/datasets/fair/fair_pt.csv", "diff": "+identifier,constant,sex,age,nmarried,nchildren,religious,education,occupation,rate_marriage,naffairs\n+4,1.0,1,37.0,10.0,0,3,18.0,7,4,0.0\n+5,1.0,0,27.0,4.0,0,4,14.0,6,4,0.0\n+11,1.0,0,32.0,15.0,...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add csv for fair dataset PT (count data) [skip ci]
641,971
07.07.2017 13:45:11
14,400
31fa617f4251700c9bd29ee0354eeb6296a21a2a
BUG/ENH: discrete margins, handle extra param (e.g. NegativeBinomial)
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_margins.py", "new_path": "statsmodels/discrete/discrete_margins.py", "diff": "@@ -541,6 +541,8 @@ class DiscreteMargins(object):\n_, const_idx = _get_const_index(model.exog)\nif const_idx is not None:\nexog_names.pop(const_idx[0])...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/ENH: discrete margins, handle extra param (e.g. NegativeBinomial)
641,971
08.07.2017 03:49:03
14,400
61dc3387f5022ec7b5ef39cd78676a0225f9a097
BUG/ENH: discrete margins fix eyex and dummy,count for extra params, attach idx
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_margins.py", "new_path": "statsmodels/discrete/discrete_margins.py", "diff": "@@ -216,7 +216,8 @@ def _margeff_cov_params_dummy(model, cov_margins, params, exog, dummy_ind,\nK = dfdb.shape[1] // (J-1)\ncov_margins[i::K, :] = dfdb\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/ENH: discrete margins fix eyex and dummy,count for extra params, attach idx
641,971
08.07.2017 13:51:16
14,400
deb9a31ed348b157abed096c196eef9b14bf1cb1
BUG: fix discrete margins summary_frame for extra params
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_margins.py", "new_path": "statsmodels/discrete/discrete_margins.py", "diff": "@@ -459,6 +459,9 @@ class DiscreteMargins(object):\n'Conf. Int. Low', 'Cont. Int. Hi.']\nind = self.results.model.exog.var(0) != 0 # True if not a const...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix discrete margins summary_frame for extra params
641,971
16.08.2017 15:13:19
14,400
a49b574b2c1ecafb1a481fceba355e6ec439c1cc
TST: add test for margins Poisson, NegativeBinomial
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/discrete/tests/results/results_count_margins.py", "diff": "+import numpy as np\n+\n+est = dict(\n+ rank = 7,\n+ N = 17,\n+ ic = 6,\n+ k = 7,\n+ k_eq = 1,\n+ k_dv = 1,\n+ converged = 1,\n+ rc = 0,\n+ k_autoCns = 0,\n+ ll = -28.4628572...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: add test for margins Poisson, NegativeBinomial
641,860
24.07.2017 16:48:52
-10,800
39726feb32c1442a65d4b037229e0cedcde83cd6
Implemented llf for Negative Binomial with p parameter
[ { "change_type": "MODIFY", "old_path": "statsmodels/api.py", "new_path": "statsmodels/api.py", "diff": "@@ -13,7 +13,8 @@ from . import robust\nfrom .robust.robust_linear_model import RLM\nfrom .discrete.discrete_model import (Poisson, Logit, Probit,\nMNLogit, NegativeBinomial,\n- GeneralizedPoisson...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Implemented llf for Negative Binomial with p parameter
641,860
25.07.2017 17:08:21
-10,800
ea437261dd8144f721ee68854dd0e471a086387f
Implemented score and hessian for NB-p
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -2800,11 +2800,102 @@ class NegativeBinomial_p(CountModel):\nreturn llf\n+ def score_obs(self, params):\n+ if self._transparams:\n+ alpha = np.exp(params...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Implemented score and hessian for NB-p
641,860
26.07.2017 11:29:37
-10,800
6c83d115ff2833d8cde0aacd22477a75dbd83449
Implemented predict
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -2826,7 +2826,6 @@ class NegativeBinomial_p(CountModel):\nnp.log(a1 / a2) +\n1 - a3 / a2))\n- #multiply above by constant outside sum to reduce rounding ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Implemented predict
641,860
27.07.2017 12:10:28
-10,800
566d721b96fff11a64f6ca26c62011e4e63e861d
Added tests for NB-p
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -18,11 +18,11 @@ W. Greene. `Econometric Analysis`. Prentice Hall, 5th. edition. 2003.\nfrom __future__ import division\n__all__ = [\"Poisson\", \"Logit\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Added tests for NB-p
641,860
01.08.2017 23:28:53
-10,800
cf560167e8481b741724ec627f7762b9a34532ab
Added tests for predict prob
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -2727,6 +2727,7 @@ class NegativeBinomial_p(CountModel):\nLog(exposure) is added to the linear prediction with coefficient\nequal to 1.\n\"\"\" + base._m...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Added tests for predict prob
641,860
16.08.2017 23:50:01
-10,800
a8762d2b0861eab10f1d6ad2a9b22e152fc6dfd5
Updated docs, refactored tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -2710,7 +2710,7 @@ class NegativeBinomial(CountModel):\nclass NegativeBinomialP(CountModel):\n__doc__ = \"\"\"\n- Negative Binomial model for count data\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Updated docs, refactored tests