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,831
05.02.2020 17:28:55
18,000
d533dcaab7929dd7b311058a1b2b55e1efc3653a
ENH/DOC: Add validation, TODO
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_cfa_simulation_smoother.pyx.in", "new_path": "statsmodels/tsa/statespace/_cfa_simulation_smoother.pyx.in", "diff": "\"\"\"\n\"Cholesky Factor Algorithm\" (CFA) simulation smoothing\n+TODO:\n+\n+- Allow fewer simulations than nobs / ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/DOC: Add validation, TODO
641,831
06.02.2020 21:10:24
18,000
6e8dabfc3dfe1b16afe966cf869ab2e69ddf370c
ENH: Allow pickle
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_cfa_simulation_smoother.pxd", "new_path": "statsmodels/tsa/statespace/_cfa_simulation_smoother.pxd", "diff": "@@ -34,6 +34,8 @@ cdef class sCFASimulationSmoother(object):\ncdef np.float32_t * _HiZ\ncdef np.float32_t * _ymd\n+ cdef v...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Allow pickle
641,831
10.02.2020 17:59:13
18,000
3b2de5dd3d440db884271ddf36fd3b55ddbffb05
ENH: Support complex dtype.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/cfa_simulation_smoother.py", "new_path": "statsmodels/tsa/statespace/cfa_simulation_smoother.py", "diff": "@@ -43,6 +43,13 @@ class CFASimulationSmoother(object):\nself._simulated_state = None\n+ @property\n+ def _simulation_smoother...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Support complex dtype.
641,831
10.02.2020 17:59:44
18,000
beafbedf0ad38c0a6ddc1a6c6253d89a140d91e6
ENH/DOC: Improve output handling and documentation
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/cfa_simulation_smoother.py", "new_path": "statsmodels/tsa/statespace/cfa_simulation_smoother.py", "diff": "@@ -5,18 +5,69 @@ Author: Chad Fulton\nLicense: BSD-3\n\"\"\"\n+import numpy as np\n+\nfrom . import tools\nclass CFASimulatio...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/DOC: Improve output handling and documentation
641,831
10.02.2020 18:05:19
18,000
7a24f0c61f5d171d890044877e91749eaf63aceb
TST: Add basic unit tests for CFA sim. smoothing
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/statespace/tests/test_cfa_simulation_smoothing.py", "diff": "+\"\"\"\n+Tests for CFA simulation smoothing\n+\n+Author: Chad Fulton\n+License: Simplified-BSD\n+\"\"\"\n+import os\n+\n+import numpy as np\n+from numpy.testing import...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add basic unit tests for CFA sim. smoothing
641,831
10.02.2020 20:32:13
18,000
dd482ad34d53f4a24796b47e2c2b377477258d4e
DOC: update notes on SARIMA, VARMA
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/cfa_simulation_smoother.py", "new_path": "statsmodels/tsa/statespace/cfa_simulation_smoother.py", "diff": "@@ -49,8 +49,8 @@ class CFASimulationSmoother(object):\nterms directly into account when constructing the posterior covariance...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: update notes on SARIMA, VARMA
641,831
10.02.2020 20:35:04
18,000
6f0b6c90cfb2b487acee9e03e6ced22dc8983aa9
ENH/REF: state dimension now a class attribute
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_cfa_simulation_smoother.pxd", "new_path": "statsmodels/tsa/statespace/_cfa_simulation_smoother.pxd", "diff": "@@ -15,6 +15,7 @@ cdef class sCFASimulationSmoother(object):\n# Statespace object\ncdef readonly sStatespace model\ncdef r...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF: state dimension now a class attribute
641,915
14.02.2020 09:40:29
-3,600
de99d60c281c170267effdfcaeaea8f30ae3ef31
ENH: Add option for original Breusch-Pagan heteroscedasticity test
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_diagnostic.py", "new_path": "statsmodels/stats/tests/test_diagnostic.py", "diff": "@@ -194,6 +194,15 @@ class TestDiagnosticG(object):\nbp = smsdia.het_breuschpagan(res.resid, res.model.exog)\ncompare_to_reference(bp, bptest, decim...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Add option for original Breusch-Pagan heteroscedasticity test
641,915
14.02.2020 10:54:15
-3,600
5fcf6153fe27fdc9bee9e98f07f8f6348bb9d5f6
Rename iid parameter to robust
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_diagnostic.py", "new_path": "statsmodels/stats/tests/test_diagnostic.py", "diff": "@@ -200,7 +200,7 @@ class TestDiagnosticG(object):\nbptest = dict(statistic=1.302014063483341, pvalue=0.5215203247110649,\nparameters=(2,), distr='f...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Rename iid parameter to robust
641,915
14.02.2020 11:07:44
-3,600
5aebf021f8cd5d238695bfc8596a442daca77404
Reverse bool values of robust parameter
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/diagnostic.py", "new_path": "statsmodels/stats/diagnostic.py", "diff": "@@ -824,7 +824,7 @@ def acorr_breusch_godfrey(res, nlags=None, store=False):\nreturn lm, lmpval, fval, fpval\n-def het_breuschpagan(resid, exog_het, robust=False):\n+def ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Reverse bool values of robust parameter
641,958
15.02.2020 14:11:42
0
5ad42c6edc85b5e92f3fdc840543a0274f18353d
BUG: fixes to work for array-like bandwidth
[ { "change_type": "MODIFY", "old_path": "statsmodels/nonparametric/bandwidths.py", "new_path": "statsmodels/nonparametric/bandwidths.py", "diff": "@@ -168,7 +168,7 @@ def select_bandwidth(x, bw, kernel):\nif bw not in bandwidth_funcs:\nraise ValueError(\"Bandwidth %s not understood\" % bw)\nbandwidth...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fixes #6511 to work for array-like bandwidth
642,048
15.02.2020 09:57:36
18,000
83522a4dbffebad653939f3c37616a2fea2ce22d
ENH: use GLM starting values for QIF
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/qif.py", "new_path": "statsmodels/genmod/qif.py", "diff": "@@ -2,6 +2,7 @@ import numpy as np\nfrom collections import defaultdict\nimport statsmodels.base.model as base\nfrom statsmodels.genmod import families\n+from statsmodels.genmod.gene...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: use GLM starting values for QIF
642,048
20.01.2020 21:14:21
18,000
ce97d571bb4fc242947a799d70a4740dc9cd9489
change default optimizer for glm/ridge and make it user-settable
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -1201,7 +1201,8 @@ class GLM(base.LikelihoodModel):\nreturn GLMResultsWrapper(glm_results)\ndef fit_regularized(self, method=\"elastic_ne...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
change default optimizer for glm/ridge and make it user-settable
642,048
21.01.2020 18:58:11
18,000
a7cf63826996e4f21b6bde74db9361284deb5a78
change regression test
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_glm.py", "new_path": "statsmodels/genmod/tests/test_glm.py", "diff": "@@ -1983,9 +1983,9 @@ def test_tweedie_EQL():\nrtol=rtol, atol=atol)\n# Series of ridge fits using gradients\n- ev = (np.array([1.00186882, -0.99213087, 0.00717...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
change regression test
641,958
15.02.2020 14:51:59
0
99d4b6cab2c9747c9a4242cf6eac2dd77d07bc61
TST: added small unit test to check when BW is zero
[ { "change_type": "MODIFY", "old_path": "statsmodels/nonparametric/tests/test_bandwidths.py", "new_path": "statsmodels/nonparametric/tests/test_bandwidths.py", "diff": "@@ -15,6 +15,7 @@ from statsmodels.nonparametric.bandwidths import select_bandwidth\nfrom numpy.testing import assert_allclose\n+imp...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: added small unit test to check when BW is zero
641,958
15.02.2020 15:01:36
0
cf474b2abd2fb0bf73572e0c073ff8651003c2aa
TST: removed unnecessary argument from test_bandwidth_zero()
[ { "change_type": "MODIFY", "old_path": "statsmodels/nonparametric/tests/test_bandwidths.py", "new_path": "statsmodels/nonparametric/tests/test_bandwidths.py", "diff": "@@ -75,7 +75,7 @@ class TestTriweight(CheckNormalReferenceConstant):\nclass BandwidthZero(object):\n- def test_bandwidth_zero(self, ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: removed unnecessary argument from test_bandwidth_zero()
641,958
15.02.2020 15:58:33
0
80727f99a6506e34a7b9623edb985000aad557cf
STY: fixed PEP8 W293 and E501
[ { "change_type": "MODIFY", "old_path": "statsmodels/nonparametric/tests/test_bandwidths.py", "new_path": "statsmodels/nonparametric/tests/test_bandwidths.py", "diff": "@@ -79,7 +79,8 @@ class BandwidthZero(object):\nkern = kernels.Gaussian()\nfor bw in ['scott', 'silverman', 'normal_reference']:\n- ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
STY: fixed PEP8 W293 and E501
641,971
16.02.2020 14:31:29
18,000
2d5bb91f8e984654df1a1dc87fd41c94f00eb6c1
BUG: fix GAM for 1-dim exog_linear closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/generalized_additive_model.py", "new_path": "statsmodels/gam/generalized_additive_model.py", "diff": "@@ -526,7 +526,7 @@ class GLMGam(PenalizedMixin, GLM):\nif xnames_linear is None:\nxnames_linear = self.data_linear.xnames\nif exog is not Non...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix GAM for 1-dim exog_linear closes #6506
641,971
16.02.2020 14:47:56
18,000
6ad114d21c96fbfc03d137244bc2ded8a5f4727c
BUG: GAM predict exog_smooth add np.asarray, closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/generalized_additive_model.py", "new_path": "statsmodels/gam/generalized_additive_model.py", "diff": "@@ -158,6 +158,8 @@ class GLMGamResults(GLMResults):\nexog_transformed : ndarray\ndesign matrix for the prediction\n\"\"\"\n+ if exog_smooth i...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: GAM predict exog_smooth add np.asarray, closes #6487
641,831
17.02.2020 09:53:55
18,000
aa9e7fcd9ffa163330c58b2a44e33f6a10d69ec6
ENH: Add support for diffuse CFA method
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_cfa_simulation_smoother.pyx.in", "new_path": "statsmodels/tsa/statespace/_cfa_simulation_smoother.pyx.in", "diff": "@@ -222,6 +222,9 @@ cdef class {{prefix}}CFASimulationSmoother(object):\n# Invert initial state covariance matrix\n#...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Add support for diffuse CFA method
641,831
17.02.2020 09:54:13
18,000
6419feac7c6437a7abd491c370fde8135916f6ce
BUG: Fix raveling of variates in CFA.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/cfa_simulation_smoother.py", "new_path": "statsmodels/tsa/statespace/cfa_simulation_smoother.py", "diff": "@@ -230,9 +230,9 @@ class CFASimulationSmoother(object):\n# Validate variates and get in required datatype\nif variates is not...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Fix raveling of variates in CFA.
641,831
17.02.2020 09:54:27
18,000
de78ce13710f706965ed0067bd859bc06a44cddb
BUG: Reset posterior moments after update
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/cfa_simulation_smoother.py", "new_path": "statsmodels/tsa/statespace/cfa_simulation_smoother.py", "diff": "@@ -247,6 +247,9 @@ class CFASimulationSmoother(object):\n# Update posterior moments, if requested\nif update_posterior:\nsim....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Reset posterior moments after update
641,831
17.02.2020 09:55:58
18,000
fd32a31a94bfebba5e73a93f60945c2d8a66ddc8
TST: Update test for new variates, results shapes
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_cfa_simulation_smoothing.py", "new_path": "statsmodels/tsa/statespace/tests/test_cfa_simulation_smoothing.py", "diff": "Tests for CFA simulation smoothing\nAuthor: Chad Fulton\n-License: Simplified-BSD\n+License: BSD-3\n\"...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Update test for new variates, results shapes
641,831
17.02.2020 10:00:48
18,000
0c48c3273b0bbab8d89e81fdda37988841c372d8
TST/ENH: Add CFA test based on TVP VAR model
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/statespace/tests/results/cfa_tvpvar_Omega_11.csv", "diff": "+1.680061423,2.863975903,2.574208072,6.25761809\n+2.863975903,26.19021019,6.25761809,29.68598955\n" }, { "change_type": "ADD", "old_path": null, "new_pat...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST/ENH: Add CFA test based on TVP VAR model
641,971
17.02.2020 15:11:27
18,000
85c0b19b13ea25814ae4998ac13d36cd6e2a920b
BUG/REF: replace patsy LinearConstraints class in fit_constrained closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_constraints.py", "new_path": "statsmodels/base/_constraints.py", "diff": "@@ -10,6 +10,90 @@ License: BSD-3\nimport numpy as np\n+class LinearConstraints(object):\n+ \"\"\"Class to hold linear constraints information\n+\n+ Affine constraints ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/REF: replace patsy LinearConstraints class in fit_constrained closes #6427
641,831
19.02.2020 21:02:45
18,000
2888b7b29a6ade7ec9ab0f95e08f72980fa0a289
REF: more general `method` arg fro sim. smoother
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/simulation_smoother.py", "new_path": "statsmodels/tsa/statespace/simulation_smoother.py", "diff": "@@ -200,7 +200,7 @@ class SimulationSmoother(KalmanSmoother):\nsimulated_state[:, :nsimulations].T\n)\n- def simulation_smoother(self,...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: more general `method` arg fro sim. smoother
642,035
19.02.2020 19:12:21
0
5c172871f9ee57e647e92fcf301f9abcdc399305
full info for new example on Bayesian est of SARIMAX
[ { "change_type": "ADD", "old_path": "docs/source/_static/images/statespace_bayesian_sarimax.png", "new_path": "docs/source/_static/images/statespace_bayesian_sarimax.png", "diff": "Binary files /dev/null and b/docs/source/_static/images/statespace_bayesian_sarimax.png differ\n" }, { "change_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
full info for new example on Bayesian est of SARIMAX
641,866
25.02.2020 23:36:36
-3,600
caa1a743adb8e95a255aba1f42323c407691e128
ENH: implemented simulation for ETS(M,A,M) model Currently results are very close to results obtained with R's forecast package, but not exactly the same.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -430,6 +430,78 @@ class HoltWintersResults(Results):\nreturn smry\n+ def simulate(self, steps, error=\"add\"):\n+ \"\"\"\n+ Out-of-sample simulations using the state spa...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: implemented simulation for ETS(M,A,M) model Currently results are very close to results obtained with R's forecast package, but not exactly the same.
642,072
27.02.2020 09:20:29
0
14ac690aacba6c737d60f63418979d7b520670c6
BUG: fixes sliced predicted values according to predicted index
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/ar_model.py", "new_path": "statsmodels/tsa/ar_model.py", "diff": "@@ -468,8 +468,6 @@ class AutoReg(tsa_model.TimeSeriesModel):\nreturn x\ndef _wrap_prediction(self, prediction, start, end):\n- if not isinstance(self.data.orig_endog, (pd.Series...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fixes #6553, sliced predicted values according to predicted index
641,866
28.02.2020 13:52:43
-3,600
883cee17114c35a597351b7cc0f1b7e040352d54
ENH: Holt-Winters simulations Implementation of Holt-Winters simulations as a first step to obtain confidence intervals as discussed in Tests are not complete yet, this is only a first draft.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -430,28 +430,130 @@ class HoltWintersResults(Results):\nreturn smry\n- def simulate(self, steps, error=\"add\"):\n- \"\"\"\n- Out-of-sample simulations using the state s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Holt-Winters simulations Implementation of Holt-Winters simulations as a first step to obtain confidence intervals as discussed in #6359. Tests are not complete yet, this is only a first draft.
641,866
28.02.2020 14:07:09
-3,600
a9705ad6ff6c3157823be014fa4797c355a41910
TST: Deleted test script
[ { "change_type": "DELETE", "old_path": "statsmodels/tsa/tests/holtwinters_test.py", "new_path": null, "diff": "-# testing environment for holtwinters simulation\n-\n-import matplotlib\n-import matplotlib.pyplot as plt\n-import pandas as pd\n-from statsmodels.tsa.holtwinters import ExponentialSmoothi...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Deleted test script
642,072
28.02.2020 17:00:53
0
2f4773c0c9ea5acced1e15d06d91a9921063e58a
added unit test, GH#6553
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_ar.py", "new_path": "statsmodels/tsa/tests/test_ar.py", "diff": "@@ -1203,3 +1203,13 @@ def test_forecast_start_end_equiv(dynamic):\ndates = pd.date_range(\"1-1-1950\", periods=1021, freq=\"M\")\npred_dates = res.predict(dates[1000],...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
added unit test, GH#6553
642,072
28.02.2020 17:06:40
0
311de64185ed374b2be708679b9820fccee23be6
fixed numpy prediction output
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/ar_model.py", "new_path": "statsmodels/tsa/ar_model.py", "diff": "@@ -468,6 +468,9 @@ class AutoReg(tsa_model.TimeSeriesModel):\nreturn x\ndef _wrap_prediction(self, prediction, start, end):\n+ n_values = end - start\n+ if not isinstance(self.d...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed numpy prediction output
641,866
03.03.2020 10:41:39
-3,600
ec7cde3716b295a1bbd6909182462dd0dbbfaff2
TST: new test setup for simulate The new setup uses fixtures for the test data and pytest.mark.parametrize for setting up all the tests.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -562,7 +562,8 @@ class HoltWintersResults(Results):\nbeta = self.params['smoothing_slope']\ngamma = self.params['smoothing_seasonal']\nphi = self.params['damping_slope']...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: new test setup for simulate The new setup uses fixtures for the test data and pytest.mark.parametrize for setting up all the tests.
641,866
03.03.2020 16:22:27
-3,600
da359bf7001ae5dc83160c222215af8428de2db1
BUG: correct damping with multiplicative trend Corrected the equations so that b**phi is calculated instead of b*phi when using a multiplicative trend.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -475,15 +475,16 @@ class HoltWintersResults(Results):\n[1]_. Additionally, let :math:`\\circ_b` be the operation linking level\nand trend (i.e. + if the trend is additiv...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: correct damping with multiplicative trend Corrected the equations so that b**phi is calculated instead of b*phi when using a multiplicative trend.
641,866
03.03.2020 19:08:48
-3,600
478170013b1a79dfc77a4b8a84f20843698cbaf5
ENH: more options for random errors As suggested, it is now possible to set a seed/RandomState, use a distribution function from scipy.stats, and use bootstrapped errors.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -430,7 +430,8 @@ class HoltWintersResults(Results):\nreturn smry\n- def simulate(self, steps, start=-1, nsim=1, error=\"add\"):\n+ def simulate(self, steps, start=-1, ns...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: more options for random errors As suggested, it is now possible to set a seed/RandomState, use a distribution function from scipy.stats, and use bootstrapped errors.
641,866
04.03.2020 11:45:36
-3,600
ab90aa89175b886395004afa702a77d277ed72ae
TST: Simulation test with exact R states Changed test_simulate_expected_R to set exactly the same parameters and final state as in R. This tests whether the state space equations are correct. Results match up to 5 decimals.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_holtwinters.py", "new_path": "statsmodels/tsa/tests/test_holtwinters.py", "diff": "@@ -558,31 +558,33 @@ def austourists():\n@pytest.fixture\n-def simulate_expected_results():\n- # obtained from ets.simulate in the R package forecast...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Simulation test with exact R states Changed test_simulate_expected_R to set exactly the same parameters and final state as in R. This tests whether the state space equations are correct. Results match up to 5 decimals.
641,866
04.03.2020 12:43:09
-3,600
0cfebedffe9fdc7ece1543bb54c5ae61abfc827f
TST: Added test for simulate kwargs
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -17,6 +17,9 @@ from scipy.optimize import basinhopping, brute, minimize\nfrom scipy.spatial.distance import sqeuclidean\nfrom scipy.special import inv_boxcox\nfrom scipy...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Added test for simulate kwargs
641,866
07.03.2020 09:38:09
-3,600
47d668101fc8eea832e0621cdadaba7e4dd2715f
DOC: Fixed format of docstring
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -451,24 +451,24 @@ class HoltWintersResults(Results):\nError model for state space formulation. Default is ``\"add\"``.\nrandom_errors : optional\nSpecifies how the rand...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Fixed format of docstring
641,866
07.03.2020 09:48:07
-3,600
7fb98cbdfa7101f3a6fc559a196df8d92ae88719
TST: Removed unused variable
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_holtwinters.py", "new_path": "statsmodels/tsa/tests/test_holtwinters.py", "diff": "@@ -842,7 +842,6 @@ def test_simulate_keywords(austourists):\nfit.simulate(4, start=0, nsim=4)\n# test different random error options\n- rv = scipy.st...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Removed unused variable
641,866
07.03.2020 09:52:25
-3,600
8dc0ce7b37e9338fafc585eebdc9e430b780ef44
BUG: Removed unused keyword argument
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -434,7 +434,7 @@ class HoltWintersResults(Results):\nreturn smry\ndef simulate(self, steps, start=-1, nsim=1, error=\"add\",\n- random_errors=None, seed=None, estimate_e...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Removed unused keyword argument
641,866
07.03.2020 15:32:28
-3,600
375ef782de0585043630fd82568d16fbeaca86d7
ENH: Renamed seed argument to random_state
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -434,7 +434,7 @@ class HoltWintersResults(Results):\nreturn smry\ndef simulate(self, steps, start=-1, nsim=1, error=\"add\",\n- random_errors=None, seed=None):\n+ random...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Renamed seed argument to random_state
641,866
07.03.2020 16:34:18
-3,600
8f123609b073eaa9988b8c3fb1116b53d023d1ab
ENH: Renamed l to lvl to appease linter
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -603,13 +603,14 @@ class HoltWintersResults(Results):\n# set initial values\n# (notation as in https://otexts.com/fpp2/ets.html)\n+ # using lvl instead of l because of E...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Renamed l to lvl to appease linter
641,831
11.03.2020 23:34:11
14,400
82b1fde3993c0a0b34390bc1dd34025f55e4fbc3
TST: Test states index / columns
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_mlemodel.py", "new_path": "statsmodels/tsa/statespace/tests/test_mlemodel.py", "diff": "@@ -18,7 +18,7 @@ from statsmodels.tsa.statespace import (sarimax, varmax, kalman_filter,\nfrom statsmodels.tsa.statespace.mlemodel im...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Test states index / columns
641,831
11.03.2020 23:34:22
14,400
bd636bc45e9a13a51ddb54f6ed72cf0627df38da
BUG: Fix predicted states index.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -195,32 +195,32 @@ class MLEModel(tsbase.TimeSeriesModel):\n# Other dimensions, now that `ssm` is available\nself.k_endog = self.ssm.k_endog\n- def _get_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Fix predicted states index.
641,831
12.03.2020 07:32:40
14,400
2ba436749fefbbecb0d97d376223b1b26dca1fc8
COMPAT: RangeIndex start, stop, step for pd < 0.25
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -213,9 +213,17 @@ class MLEModel(tsbase.TimeSeriesModel):\nelse:\nraise NotImplementedError\nelif isinstance(self._index, pd.RangeIndex):\n- index = pd.R...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
COMPAT: RangeIndex start, stop, step for pd < 0.25
642,048
12.03.2020 22:53:50
14,400
9f52b178a325ee732f6e064006fad2bae65bd207
Allow weights to vary within clusters
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_estimating_equations.py", "new_path": "statsmodels/genmod/generalized_estimating_equations.py", "diff": "@@ -213,9 +213,7 @@ _gee_init_doc = \"\"\"\nIf true, the dependence parameters are optimized, otherwise\nthey are held fixed...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Allow weights to vary within clusters
641,920
17.03.2020 18:06:52
10,800
9092564244de6595e7d218ec7b0d34785397a9ad
Include figsize as parameter
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/irf.py", "new_path": "statsmodels/tsa/vector_ar/irf.py", "diff": "@@ -88,7 +88,7 @@ class BaseIRAnalysis(object):\nraise NotImplementedError\ndef plot(self, orth=False, impulse=None, response=None,\n- signif=0.05, plot_params=None, su...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Include figsize as parameter
641,920
17.03.2020 18:17:57
10,800
15190e326a31c8f8584e8529c66903c1b95f3c00
Fix type of variable in documentation
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/irf.py", "new_path": "statsmodels/tsa/vector_ar/irf.py", "diff": "@@ -109,7 +109,7 @@ class BaseIRAnalysis(object):\npass {'fontsize' : 8} or some number to your taste.\nplot_params : dict\n- figsize: (int, int), default (10, 10)\n+ f...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix type of variable in documentation
641,920
20.03.2020 21:57:34
10,800
0d5f3a4ea1d052a76a8063fb05df61a9d852cd95
Specify keyword-only args
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/irf.py", "new_path": "statsmodels/tsa/vector_ar/irf.py", "diff": "@@ -87,7 +87,7 @@ class BaseIRAnalysis(object):\ndef cum_effect_cov(self, *args, **kwargs):\nraise NotImplementedError\n- def plot(self, orth=False, impulse=None, respo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Specify keyword-only args
641,920
20.03.2020 21:57:57
10,800
059ca1d345dab9a4f51e4a0529efe6ba5bf50ca8
Add tests for irf plots figsize
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/tests/test_var.py", "new_path": "statsmodels/tsa/vector_ar/tests/test_var.py", "diff": "@@ -209,6 +209,17 @@ class CheckIRF(object):\nself.irf.plot_cum_effects(orth=True)\nself.irf.plot_cum_effects(impulse=0, response=1, orth=True)\n+...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add tests for irf plots figsize
641,866
21.03.2020 17:54:22
-3,600
e1fd02f29f34aaed1b85d0783e2e8e7ece4825b3
ENH: better return type and works with boxcox simulate now returns a pandas Series or DataFrame with forecast times as index simulate also works if the fit has been performed using a Box-Cox-transform
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -586,30 +586,46 @@ class HoltWintersResults(Results):\ntrend = self.model.trend\ndamped = self.model.damped\nseasonal = self.model.seasonal\n-\n+ use_boxcox = self.param...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: better return type and works with boxcox - simulate now returns a pandas Series or DataFrame with forecast times as index - simulate also works if the fit has been performed using a Box-Cox-transform
642,027
24.03.2020 15:21:25
21,600
923c9704a1f404027a0d468eb76fb4bab1a89349
Update interactions_anova.ipynb Fix URL that has been changed.
[ { "change_type": "MODIFY", "old_path": "examples/notebooks/interactions_anova.ipynb", "new_path": "examples/notebooks/interactions_anova.ipynb", "diff": "\"cell_type\": \"markdown\",\n\"metadata\": {},\n\"source\": [\n- \"Note: This script is based heavily on Jonathan Taylor's class notes http://www...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Update interactions_anova.ipynb Fix URL that has been changed.
641,831
26.03.2020 12:56:25
14,400
5e2d2fb47fb512ae42ef72c22156d8096c6d7c4f
TST: Add smoke tests for time-varying simulate
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_simulate.py", "new_path": "statsmodels/tsa/statespace/tests/test_simulate.py", "diff": "@@ -7,10 +7,11 @@ License: Simplified-BSD\nimport numpy as np\nimport pandas as pd\n-from numpy.testing import assert_, assert_allclos...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add smoke tests for time-varying simulate
641,831
26.03.2020 12:58:47
14,400
b15cf3fe95407f36f908955732c53be8e5a93e8b
BUG: Simulate with time-varying covariances.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/initialization.py", "new_path": "statsmodels/tsa/statespace/initialization.py", "diff": "@@ -539,7 +539,7 @@ class Initialization(object):\nstate_intercept = model['state_intercept', ix1, 0]\ntransition = model[('transition',) + ix2 ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Simulate with time-varying covariances.
641,866
27.03.2020 11:37:54
-3,600
56a085024265a793100c75ded96a2b272a6825e8
ENH: shorter state space formulation
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -501,72 +501,82 @@ class HoltWintersResults(Results):\nInserting these equations into the smoothing equation formulation leads\nto the state space equations. The notatio...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: shorter state space formulation
641,989
27.03.2020 22:57:30
-28,800
07350d7244c1fc5c4dc0f58ed161e5222585315c
add test for statsmodels.regression.linear_model.OLS.fit_regularized()
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_regression.py", "new_path": "statsmodels/regression/tests/test_regression.py", "diff": "@@ -1107,6 +1107,39 @@ class TestRegularizedFit(object):\nassert_almost_equal(rslt1.params, rslt2.params, decimal=3)\nassert_almost_equal(...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add test for statsmodels.regression.linear_model.OLS.fit_regularized()
641,989
28.03.2020 23:29:19
-28,800
8cfd1854cb7b613acdfab1f450dd547e2aaf5285
BUG: convert alpha to np.array
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -615,6 +615,8 @@ class GLS(RegressionModel):\ndef fit_regularized(self, method=\"elastic_net\", alpha=0.,\nL1_wt=1., start_params=None, profile_scale=Fal...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: convert alpha to np.array
641,989
29.03.2020 00:29:10
-28,800
cd97a7f159da957962f0ed244230c24b794c17b8
BUG: convert alpha to np.ndarray Revise typo: isscaler->isscalar
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -615,7 +615,7 @@ class GLS(RegressionModel):\ndef fit_regularized(self, method=\"elastic_net\", alpha=0.,\nL1_wt=1., start_params=None, profile_scale=Fal...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: convert alpha to np.ndarray Revise typo: isscaler->isscalar
641,831
28.03.2020 19:18:54
14,400
4757d458d760eb819a144559bed95107f2fb05cc
TST: Add collapsed test with missing, k_states=1
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_collapsed.py", "new_path": "statsmodels/tsa/statespace/tests/test_collapsed.py", "diff": "@@ -14,6 +14,7 @@ import pytest\nimport os\nfrom statsmodels import datasets\n+from statsmodels.tsa.statespace import dynamic_factor...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add collapsed test with missing, k_states=1
641,831
28.03.2020 19:19:18
14,400
9be90a4456557aa4f5620dc80e2d887777d60dee
BUG: Fix bug with missing obs, collapsed
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_representation.pxd", "new_path": "statsmodels/tsa/statespace/_representation.pxd", "diff": "@@ -70,10 +70,10 @@ cdef class sStatespace(object):\ncdef np.float32_t * _initial_diffuse_state_cov\n# Current location\n- cdef int t\n+ cde...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Fix bug with missing obs, collapsed
641,831
09.03.2020 20:46:42
14,400
4edaac1f2f5a8be2136b76203a3fc82fde8baa0b
ENH: store innovations transition matrix L_t
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_kalman_smoother.pxd", "new_path": "statsmodels/tsa/statespace/_kalman_smoother.pxd", "diff": "@@ -53,7 +53,7 @@ cdef class sKalmanSmoother(object):\ncdef readonly np.float32_t [::1,:,:] smoothed_measurement_disturbance_cov\ncdef rea...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: store innovations transition matrix L_t
641,831
09.03.2020 20:49:49
14,400
4ca0a0802752d41d26c531835f71d3b065e71912
ENH: Smoothed state autocovariances, lags >= 1
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/kalman_smoother.py", "new_path": "statsmodels/tsa/statespace/kalman_smoother.py", "diff": "@@ -709,6 +709,201 @@ class SmootherResults(FilterResults):\nself.scaled_smoothed_estimator_cov /= self.scale\nself.smoothing_error /= self.sc...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Smoothed state autocovariances, lags >= 1
641,831
12.03.2020 19:58:35
14,400
49f72bd33190203c12601a25eab8dbd67dea72b1
BUG/TST: Fix t = mod.nobs, expand oos tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/kalman_smoother.py", "new_path": "statsmodels/tsa/statespace/kalman_smoother.py", "diff": "@@ -858,8 +858,8 @@ class SmootherResults(FilterResults):\nN = self.scaled_smoothed_estimator_cov.T[_start:_end]\n# If applicable, get the req...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/TST: Fix t = mod.nobs, expand oos tests
641,831
15.03.2020 22:59:14
14,400
b9575963dfb657a97f0edad086030a4118b94ddc
DOC/CLEAN: Misc. doc / comment / quality
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/kalman_smoother.py", "new_path": "statsmodels/tsa/statespace/kalman_smoother.py", "diff": "@@ -712,6 +712,8 @@ class SmootherResults(FilterResults):\ndef _smoothed_state_autocovariance(self, shift, start, end,\nextend_kwargs=None):\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC/CLEAN: Misc. doc / comment / quality
641,831
16.03.2020 07:37:43
14,400
37272a456c009900cdaa7663fb73588b759e81bb
TST: Prevent filter convergence for test precision
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_smoothing.py", "new_path": "statsmodels/tsa/statespace/tests/test_smoothing.py", "diff": "@@ -1066,7 +1066,8 @@ def get_acov_model(missing, filter_univariate, tvp, oos=None, params=None,\nendog = endog.reindex(new_ix)\nif ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Prevent filter convergence for test precision
641,989
29.03.2020 09:48:33
-28,800
746f2b6fe02e02f6e83d61646d3a152a5b14f66e
BUG: convert alpha to np.ndarray
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -615,7 +615,7 @@ class GLS(RegressionModel):\ndef fit_regularized(self, method=\"elastic_net\", alpha=0.,\nL1_wt=1., start_params=None, profile_scale=Fal...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: convert alpha to np.ndarray
641,989
29.03.2020 10:23:34
-28,800
4d0ff644b414ff040464aba16449c1754a5ee112
BUG: convert alpha to np.ndarray Revert an incorrect edit.
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -1138,7 +1138,7 @@ class OLS(WLS):\nv = vt.T\nq = np.dot(u.T, self.endog) * s\ns2 = s * s\n- if not np.isscalar(alpha):\n+ if np.isscalar(alpha):\nsd = s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: convert alpha to np.ndarray Revert an incorrect edit.
641,998
30.03.2020 19:09:17
-7,200
fe969192ddaf33cb2ef0364cb44451137b5e23a4
Stationarity and detrending (ADF/KPSS)
[ { "change_type": "ADD", "old_path": "docs/source/_static/images/stationarity_detrending_adf_kpss.png", "new_path": "docs/source/_static/images/stationarity_detrending_adf_kpss.png", "diff": "Binary files /dev/null and b/docs/source/_static/images/stationarity_detrending_adf_kpss.png differ\n" }, ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Stationarity and detrending (ADF/KPSS)
641,873
02.04.2020 10:42:02
14,400
4284f3f21caf1e6e3df1ad0370ed54420c376c11
Fix `true` type on statespace docs page Found an instance of `true` lowercase which is a bug and should be `True`.
[ { "change_type": "MODIFY", "old_path": "docs/source/statespace.rst", "new_path": "docs/source/statespace.rst", "diff": "@@ -194,7 +194,7 @@ For examples of the use of this model, see the `example notebook <examples/noteb\n# We could further add a damped stochastic cycle as follows\nmod_cycle = sm.ts...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix `true` type on statespace docs page Found an instance of `true` lowercase which is a bug and should be `True`.
641,866
03.04.2020 16:09:56
-7,200
caa9344c0ab35b9fcb6cfcfc25d20c323badf412
ENH: Better keywords and return types for simulate `anchor` instead of `start`, similar to MLEModel.simulate `nsimulations` instead of `steps` `repetitions` instead of `nsim` return type is now either a pandas type or an np.ndarray blacked for PEP8
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -21,6 +21,7 @@ from scipy.stats import (\n_distn_infrastructure, rv_continuous, rv_discrete\n)\n+from statsmodels.base.data import PandasData\nfrom statsmodels.base.mode...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Better keywords and return types for simulate - `anchor` instead of `start`, similar to MLEModel.simulate - `nsimulations` instead of `steps` - `repetitions` instead of `nsim` - return type is now either a pandas type or an np.ndarray - blacked for PEP8
642,048
04.04.2020 23:02:15
14,400
2a37255013204310d17a8b6a888da57284a1600d
Allow optional regulariztionin local fdr
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/multitest.py", "new_path": "statsmodels/stats/multitest.py", "diff": "@@ -452,7 +452,7 @@ def fdrcorrection_twostage(pvals, alpha=0.05, method='bky', iter=False,\ndef local_fdr(zscores, null_proportion=1.0, null_pdf=None, deg=7,\n- nbins=30):...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Allow optional regulariztionin local fdr
642,048
04.04.2020 23:57:16
14,400
366776958fe9b4718cbade7fad7a35e7e071e53f
Rescale local fdr design matrix
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/multitest.py", "new_path": "statsmodels/stats/multitest.py", "diff": "@@ -517,14 +517,22 @@ def local_fdr(zscores, null_proportion=1.0, null_pdf=None, deg=7,\n# The design matrix at bin centers\ndmat = np.vander(zbins, deg + 1)\n+ # Rescale t...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Rescale local fdr design matrix
642,048
05.04.2020 11:15:56
14,400
6ead3c0fc32aa7033765126f37c611e80662bea3
Add tests, improve implementation
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/cov_struct.py", "new_path": "statsmodels/genmod/cov_struct.py", "diff": "@@ -709,14 +709,22 @@ class Autoregressive(CovStruct):\ndef _update_grid(self, params):\n+ cached_means = self.model.cached_means\n+ scale = self.model.estimate_scale()...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add tests, improve implementation
641,890
06.04.2020 01:35:55
-7,200
b77ae3a51142d4ce14d068934d37fc723de0bc88
allow multiple groups in duration logrank test
[ { "change_type": "MODIFY", "old_path": "statsmodels/duration/survfunc.py", "new_path": "statsmodels/duration/survfunc.py", "diff": "@@ -602,15 +602,11 @@ def survdiff(time, status, group, weight_type=None, strata=None,\npvalue : The p-value for the chi^2 test\n\"\"\"\n- # TODO: extend to handle more...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
allow multiple groups in duration logrank test
641,890
06.04.2020 03:04:21
-7,200
547114da3fde7a8efde8f2146e6422330535ba22
add tests. fix weights multiplication
[ { "change_type": "MODIFY", "old_path": "statsmodels/duration/survfunc.py", "new_path": "statsmodels/duration/survfunc.py", "diff": "@@ -720,7 +720,7 @@ def _survdiff(time, status, group, weight_type, gr, entry=None,\nif weights is not None:\noe = weights * oe\n- var = weights**2 * var\n+ var = (weig...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add tests. fix weights multiplication
641,890
06.04.2020 15:50:14
-7,200
5da474069b9c987f60980a84680ed18a8ed1e9a0
fix variance. mistake in the source
[ { "change_type": "MODIFY", "old_path": "statsmodels/duration/survfunc.py", "new_path": "statsmodels/duration/survfunc.py", "diff": "@@ -633,6 +633,7 @@ def _survdiff(time, status, group, weight_type, gr, entry=None,\n**kwargs):\n# logrank test for one stratum\n# calculations based on https://web.sta...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix variance. mistake in the source
641,890
06.04.2020 16:04:23
-7,200
7f8a3a80aa7c53b52cbeb082fd7829d8bb6c3daa
refactor. leave comments
[ { "change_type": "MODIFY", "old_path": "statsmodels/duration/survfunc.py", "new_path": "statsmodels/duration/survfunc.py", "diff": "@@ -703,27 +703,30 @@ def _survdiff(time, status, group, weight_type, gr, entry=None,\nraise ValueError(\"weight_type not implemented\")\ndfs = len(gr) - 1\n- r = np.vs...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
refactor. leave comments
641,866
06.04.2020 17:50:07
-7,200
4cdfd0e3147b4636ae3af07e54e28b764b370ba9
ENH: store box-cox-fitted states before transform Currently, when using a Box-Cox transform the model states (level, slope, season) are backtransformed. For simulating we need the untransformed states, which are now stored in private attributes (_untransformed_level, ...).
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -669,6 +669,14 @@ class HoltWintersResults(Results):\nneutral_s = 0\n# set initial values\n+ if use_boxcox:\n+ level = self.model._untransformed_level\n+ slope = self.mo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: store box-cox-fitted states before transform Currently, when using a Box-Cox transform the model states (level, slope, season) are backtransformed. For simulating we need the untransformed states, which are now stored in private attributes (_untransformed_level, ...).
641,866
07.04.2020 13:07:40
-7,200
55bc58a328faa21701e02a7d203e5784732be811
DOC/TST: minor fixes for holtwinters simulate aligned equations in docstring of simulate test RNG with seed, so it doesn't fail randomly
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -531,26 +531,26 @@ class HoltWintersResults(Results):\n.. math::\n- B_t = b_{t-1} \\circ_d \\phi\\\\\n- L_t = l_{t-1} \\circ_b B_t\\\\\n- S_t = s_{t-m}\\\\\n- Y_t = L_t ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC/TST: minor fixes for holtwinters simulate - aligned equations in docstring of simulate - test RNG with seed, so it doesn't fail randomly
641,890
09.04.2020 10:30:45
-7,200
27dc66aedcd86ffdb190e3602660de117a5c2c3f
optimize inverse multiplied by vector in chi2
[ { "change_type": "MODIFY", "old_path": "statsmodels/duration/survfunc.py", "new_path": "statsmodels/duration/survfunc.py", "diff": "@@ -623,7 +623,7 @@ def survdiff(time, status, group, weight_type=None, strata=None,\nobs += obs1\nvar += var1\n- chisq = obs.dot(np.linalg.inv(var)).dot(obs)\n+ chisq ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
optimize inverse multiplied by vector in chi2
641,876
21.04.2020 23:54:44
-3,600
1c2c11ea1e18ac5f48b3aa969b4b36f9c98bfa67
Handle pathlib.Path objects
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/openfile.py", "new_path": "statsmodels/iolib/openfile.py", "diff": "@@ -55,12 +55,15 @@ def get_file_obj(fname, mode='r', encoding=None):\n\"\"\"\nif _is_string_like(fname):\nreturn _open(fname, mode, encoding)\n+ try:\n+ return open(fname, m...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Handle pathlib.Path objects
641,990
23.04.2020 13:21:20
14,400
47ac33057bdd32399c3c859530cdb43ef5016f01
DOC: change OLS example to use dataset
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -837,25 +837,36 @@ class OLS(WLS):\nExamples\n--------\n>>> import statsmodels.api as sm\n- >>> Y = [1,3,4,5,2,3,4]\n- >>> X = range(1,8)\n+ >>> import n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: change OLS example to use dataset
641,876
24.04.2020 08:28:59
-3,600
3cfd48fdc9bb5f4e542e94fe8878ace25a76bc03
Improve avoid writing twice to the same file
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/tests/test_pickle.py", "new_path": "statsmodels/iolib/tests/test_pickle.py", "diff": "@@ -19,16 +19,17 @@ def test_pickle():\nassert_equal(a, b)\n# test with pathlib\n- path_pathlib = pathlib.Path(tmpdir) / \"res.pkl\"\n+ path_pathlib = pathl...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Improve #6654: avoid writing twice to the same file
641,876
25.04.2020 17:42:21
-3,600
7df74f8e9bed4d2d42094165a7518b94f2357320
Update docs after implementing
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/openfile.py", "new_path": "statsmodels/iolib/openfile.py", "diff": "@@ -34,13 +34,14 @@ def _open(fname, mode, encoding):\ndef get_file_obj(fname, mode='r', encoding=None):\n\"\"\"\n- Light wrapper to handle strings and let files (anything el...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Update docs after implementing #6654
641,840
25.04.2020 16:51:39
18,000
1f48e609ed816d77711e6d8dd12b173acc8a8f2b
speed up HC2/HC3 standard error calculation, and use less memory
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -1850,6 +1850,10 @@ class RegressionResults(base.LikelihoodModelResults):\nscale[:, None] * self.model.pinv_wexog.T)\nreturn H\n+ def _abat_diagonal(self...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
speed up HC2/HC3 standard error calculation, and use less memory
641,822
22.04.2020 21:50:36
18,000
3e9814ba5089b6edeca2d75c6cb94de65a3835e2
fix constraint and bunds when use scipy minizie
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/optimizer.py", "new_path": "statsmodels/base/optimizer.py", "diff": "@@ -258,7 +258,7 @@ def _fit_minimize(f, score, start_params, fargs, kwargs, disp=True,\nkwargs.setdefault('min_method', 'BFGS')\n# prepare options dict for minimize\n- filte...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix constraint and bunds when use scipy minizie
641,971
07.04.2020 14:18:46
14,400
8da1119b0a179963065ddad5b3bc92fa82445a1e
ENH: add meta-analysis (basic methods)
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/stats/meta_analysis.py", "diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Thu Apr 2 14:34:25 2020\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\n+\"\"\"\n+\n+import numpy as np\n+import pandas as pd\n+from scipy import stats...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add meta-analysis (basic methods)
641,971
07.04.2020 17:29:02
14,400
276bc48f75ae72fd84e7d03aee898d615f8dfdd3
ENH/TST: add I2, H2, more unit tests against metafor
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/meta_analysis.py", "new_path": "statsmodels/stats/meta_analysis.py", "diff": "@@ -18,6 +18,10 @@ class CombineResults(object):\nself.__dict__.update(kwds)\nself._ini_keys = list(kwds.keys())\n+ # explained variance measures\n+ self.h2 = self....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/TST: add I2, H2, more unit tests against metafor
641,971
07.04.2020 22:56:40
14,400
58a00308431f1502c54f08edc2edd5e748e04ed0
ENH: add test_heterogeneity (chisquare version) and hksj scale and var
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/meta_analysis.py", "new_path": "statsmodels/stats/meta_analysis.py", "diff": "@@ -22,6 +22,10 @@ class CombineResults(object):\nself.h2 = self.q / (self.k - 1)\nself.i2 = 1 - 1 / self.h2\n+ def test_heterogeneity(self):\n+ pvalue = stats.chi2...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add test_heterogeneity (chisquare version) and hksj scale and var
641,971
08.04.2020 15:46:28
14,400
5199f62beb7e9f943b043189855655e6dd556cb8
REF: renames smd -> eff, test_homogeneity
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/meta_analysis.py", "new_path": "statsmodels/stats/meta_analysis.py", "diff": "@@ -22,22 +22,22 @@ class CombineResults(object):\nself.h2 = self.q / (self.k - 1)\nself.i2 = 1 - 1 / self.h2\n- def test_heterogeneity(self):\n+ def test_homogenei...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: renames smd -> eff, test_homogeneity
641,971
08.04.2020 16:02:21
14,400
1ef2b6074e2d20bf0881dd998e56209f113c79e4
ENH/REF: add method_re argument, default is iterated/pm
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/meta_analysis.py", "new_path": "statsmodels/stats/meta_analysis.py", "diff": "@@ -90,11 +90,10 @@ def effectsize_smd(mean2, sd2, nobs2, mean1, sd1, nobs1, row_names=None,\nreturn smd_bc, var_smdbc\n-def combine_effects(effect, variance, row_n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF: add method_re argument, default is iterated/pm
641,971
10.04.2020 11:21:25
14,400
3eb95fce8f3af213e1fe92067739d4bc634db337
REF/DOC: add confints, plot to CombineResults (conf_int_sample is messy)
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/meta_analysis.py", "new_path": "statsmodels/stats/meta_analysis.py", "diff": "@@ -13,39 +13,159 @@ from scipy import stats\nclass CombineResults(object):\n+ \"\"\"Results from combined estimate of means or effect sizes\n+\n+ This currently in...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/DOC: add confints, plot to CombineResults (conf_int_sample is messy)
641,971
18.04.2020 20:04:09
14,400
3a5d1702d5eed8a349e63ee349b9e8d6e5d15972
ENH/REF: add effectsize_2proportions, refactor for cleanup/consistency
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/meta_analysis.py", "new_path": "statsmodels/stats/meta_analysis.py", "diff": "@@ -40,7 +40,22 @@ class CombineResults(object):\nci_func=None):\n\"\"\"confidence interval for the overall mean estimate\n+ Additional information needs to be prov...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF: add effectsize_2proportions, refactor for cleanup/consistency
641,971
23.04.2020 16:20:48
14,400
5fcf2a9db05513e175eea7699c79664d00bef4cb
TST: unit test for log-odds-ratio compared to R package meta
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/results/results_meta.py", "new_path": "statsmodels/stats/tests/results/results_meta.py", "diff": "@@ -315,3 +315,178 @@ v_as = np.array([\neff_prop1 = Holder(y_rd=y_rd, v_rd=v_rd, y_rr=y_rr, v_rr=v_rr,\ny_or=y_or, v_or=v_or, y_as=y_as, ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: unit test for log-odds-ratio compared to R package meta
641,971
29.04.2020 13:59:23
14,400
e250f23dca15916f332a200e09d8657a90adf97a
DOC/TST docstrings and unit tests GLM
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/meta_analysis.py", "new_path": "statsmodels/stats/meta_analysis.py", "diff": "@@ -260,7 +260,7 @@ def effectsize_2proportions(count1, nobs1, count2, nobs2, statistic=\"diff\",\n----------\ncount1, nobs1, count2, nobs2 : array_like\ndata for t...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC/TST docstrings and unit tests GLM
641,971
29.04.2020 15:01:33
14,400
c897bb85f62cf965d353b39eb9e8de93db6d602d
DOC: add notebook
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/notebooks/metaanalysis1.ipynb", "diff": "+{\n+ \"cells\": [\n+ {\n+ \"cell_type\": \"markdown\",\n+ \"metadata\": {},\n+ \"source\": [\n+ \"# Meta-Analysis in statmodels\\n\",\n+ \"\\n\",\n+ \"Statsmodels include basic methods for meta-...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: add notebook
641,971
29.04.2020 16:16:02
14,400
1a14405b22e22e6dbbf0a4ba2229e87f842e122d
TST: add assert, lint unused variable
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_meta.py", "new_path": "statsmodels/stats/tests/test_meta.py", "diff": "@@ -112,6 +112,7 @@ class TestEffSmdMeta(object):\n# It's likely a small difference in bias correction\nassert_allclose(eff, yi, rtol=1e-5)\nassert_allclose(var...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: add assert, lint unused variable
641,971
30.04.2020 01:06:39
14,400
ae8bdb98447df8bbd56cb3f4e9c690e24a5c7997
ENH: stats.base, add HolderTuple, Holder class with indexing
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/base.py", "new_path": "statsmodels/stats/base.py", "diff": "@@ -7,6 +7,29 @@ Author: Josef Perktold\n\"\"\"\nfrom statsmodels.compat.python import lzip\nimport numpy as np\n+from statsmodels.tools.testing import Holder\n+\n+\n+class HolderTup...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: stats.base, add HolderTuple, Holder class with indexing
641,971
30.04.2020 19:26:23
14,400
1a9609e63231aaf4010ac1885868ad2fbdbc2f39
ENH: allow filling array with instance
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/base.py", "new_path": "statsmodels/stats/base.py", "diff": "@@ -28,8 +28,11 @@ class HolderTuple(Holder):\ndef __getitem__(self, idx):\nreturn self.tuple[idx]\n- def __array__(self):\n- return np.asarray(list(self.tuple))\n+ def __len__(self)...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: allow filling array with instance