author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
641,904
09.09.2018 18:21:51
25,200
920ba41e89b3f2ab95cfa194052bd89b4490502c
TST: Fix incorrect test closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_arima.py", "new_path": "statsmodels/tsa/tests/test_arima.py", "diff": "@@ -1826,7 +1826,8 @@ def test_arimax():\ndef test_bad_start_params():\n- endog = np.array([820.69093, 781.0103028, 785.8786988, 767.64282267,\n+ endog = np.array...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Fix incorrect test closes #4325
641,904
14.09.2018 18:37:43
25,200
b4ad9371e345242af9435e2ec058d5d45876faca
MAINT: Move misplaced duration results files
[ { "change_type": "RENAME", "old_path": "statsmodels/duration/tests/phreg_gentests.py", "new_path": "statsmodels/duration/tests/results/phreg_gentests.py", "diff": "" }, { "change_type": "RENAME", "old_path": "statsmodels/duration/tests/survival.R", "new_path": "statsmodels/duration/t...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: Move misplaced duration results files
641,971
14.09.2018 22:25:44
14,400
f68ca0bb5cc916516ae50fcf0370fd4a19ac2fe8
TST: improve unit tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/tests/test_generic_mle.py", "new_path": "statsmodels/miscmodels/tests/test_generic_mle.py", "diff": "@@ -11,7 +11,8 @@ import numpy as np\nfrom scipy import stats\nfrom statsmodels.base.model import GenericLikelihoodModel\n-from numpy.te...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: improve unit tests
642,048
23.06.2018 21:36:08
14,400
f611110e3fe31245d4b60d2476ec01d9f02375b6
initial commi for PR
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/contingency_tables.py", "new_path": "statsmodels/stats/contingency_tables.py", "diff": "@@ -923,9 +923,11 @@ class StratifiedTable(object):\nAn estimate of the pooled odds ratio. This is the\nMantel-Haenszel estimate of an odds ratio that is ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
initial commi for PR
642,048
23.06.2018 21:56:01
14,400
33a203f62d27668b2197b0cc99657d79236e4641
a few pep8 edits
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/contingency_tables.py", "new_path": "statsmodels/stats/contingency_tables.py", "diff": "@@ -148,7 +148,8 @@ class Table(object):\nself.table = self.table + 0.5\ndef __str__(self):\n- s = \"A %dx%d contingency table with counts:\\n\" % tuple(s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
a few pep8 edits
642,048
26.06.2018 23:55:30
14,400
21f8216b88ca5b7f3b228055a9ab7cfe3853af6c
add deprecation warning for deprecated method
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/contingency_tables.py", "new_path": "statsmodels/stats/contingency_tables.py", "diff": "@@ -30,8 +30,9 @@ from statsmodels.tools.decorators import cache_readonly, resettable_cache\nimport numpy as np\nfrom scipy import stats\nimport pandas as...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add deprecation warning for deprecated method
641,904
27.04.2018 16:01:14
25,200
b00cd958c0ffe9d211a619e7cceb56e63594be28
make arroots and maroots have consistent return type
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/arima_model.py", "new_path": "statsmodels/tsa/arima_model.py", "diff": "@@ -1412,8 +1412,6 @@ class ARMAResults(tsbase.TimeSeriesModelResults):\nroots.\n\"\"\"\nz = self.arroots\n- if not z.size:\n- return\nreturn np.arctan2(z.imag, z.real) / (...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
make arroots and maroots have consistent return type
641,904
16.09.2018 07:24:32
25,200
9929d389c152c50821b743463009ffa703cb22eb
Requested ue of assert_equal
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_arima.py", "new_path": "statsmodels/tsa/tests/test_arima.py", "diff": "@@ -1984,13 +1984,13 @@ class TestARMA00(object):\n# regression test; older implementation of arroots returned None\n# instead of en empty array\nroots = self.arm...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Requested ue of assert_equal
641,904
16.09.2018 07:25:44
25,200
2a4e7239601cf97484da4afcdde22cf4973a28c5
MAINT: reorder lint.sh
[ { "change_type": "MODIFY", "old_path": "lint.sh", "new_path": "lint.sh", "diff": "@@ -19,15 +19,14 @@ if [ \"$LINT\" == true ]; then\nflake8 --isolated \\\nstatsmodels/resampling/ \\\nstatsmodels/interface/ \\\n+ statsmodels/duration/__init__.py \\\n+ statsmodels/graphics/tsaplots.py \\\nstatsmodels...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: reorder lint.sh
641,904
16.09.2018 11:41:05
25,200
d01c03eb6354e66a08844e766e1df984a21b4a8a
MAINT: Remove outdated pandas compat shims
[ { "change_type": "MODIFY", "old_path": "examples/python/robust_models_1.py", "new_path": "examples/python/robust_models_1.py", "diff": "@@ -7,7 +7,6 @@ from scipy import stats\nimport matplotlib.pyplot as plt\nimport statsmodels.api as sm\n-from statsmodels.compat.pandas import sort_values\n# * An M...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: Remove outdated pandas compat shims
641,904
10.09.2018 15:47:01
25,200
0ba97789b58fdd2cb15d345c39d7cdf42dd21c52
MAINT: remove scratch/example corresponding to non-existent data file
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/kalmanf/kalmanfilter.py", "new_path": "statsmodels/tsa/kalmanf/kalmanfilter.py", "diff": "@@ -663,216 +663,3 @@ class KalmanFilter(object):\narma_model.sigma2 = sigma2\nreturn loglike\n-\n-\n-if __name__ == \"__main__\":\n- import numpy as np\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: remove scratch/example corresponding to non-existent data file
641,904
10.09.2018 15:51:14
25,200
2a8720259fd0cbceb58f13102bb1ac8c40b7548a
MAINT: remove 8-year-old commented-out code marked as being less accurate than KalmanFilter
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/kalmanf/kalmanfilter.py", "new_path": "statsmodels/tsa/kalmanf/kalmanfilter.py", "diff": "@@ -159,86 +159,6 @@ def kalmanfilter(F, A, H, Q, R, y, X, xi10, ntrain, history=False):\nelse:\nreturn -loglikelihood, np.asarray(state_vector[:-1])\n-#T...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: remove 8-year-old commented-out code marked as being less accurate than KalmanFilter
641,904
10.09.2018 15:53:23
25,200
ce7d09e36982caff8b07f27ca1c7a8dfecdab296
MAINT: remove 8-9 year old StatespaceModel supplanted by KalmanFilter/tsa.statespace
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/kalmanf/kalmanfilter.py", "new_path": "statsmodels/tsa/kalmanf/kalmanfilter.py", "diff": "@@ -160,213 +160,6 @@ def kalmanfilter(F, A, H, Q, R, y, X, xi10, ntrain, history=False):\nreturn -loglikelihood, np.asarray(state_vector[:-1])\n-class St...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: remove 8-9 year old StatespaceModel supplanted by KalmanFilter/tsa.statespace
641,904
10.09.2018 15:54:46
25,200
3fc0674738cec8c8e1e5169c1a384f2e8461a26c
MAINT: Remove supplanted helper functions
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/kalmanf/kalmanfilter.py", "new_path": "statsmodels/tsa/kalmanf/kalmanfilter.py", "diff": "@@ -50,138 +50,6 @@ def kalmansmooth(F, A, H, Q, R, y, X, xi10):\npass\n-def kalmanfilter(F, A, H, Q, R, y, X, xi10, ntrain, history=False):\n- \"\"\"\n- ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: Remove supplanted helper functions
641,904
10.09.2018 15:55:24
25,200
de5258ba3bdbe7f76488ae01472a1b9ca7c20cd6
MAINT: remove supplanted helper functions
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/kalmanf/kalmanfilter.py", "new_path": "statsmodels/tsa/kalmanf/kalmanfilter.py", "diff": "@@ -39,17 +39,6 @@ from . import kalman_loglike\n# but this is obviously macro model specific\n-def _init_diffuse(T,R):\n- m = T.shape[1] # number of stat...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: remove supplanted helper functions
642,065
29.05.2018 20:46:54
18,000
e40d90fda85e2cc3b0ac62d3cdf1f678c7a8030f
Configure doctr
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -23,6 +23,8 @@ env:\n- BLAS=\"mkl blas=*=mkl\" # Use Intel MKL by default\n- BUILD_INIT=tools/ci/travis_conda.sh\n- DEPEND_ALWAYS=\"pyyaml joblib pip colorama\"\n+ - # Doctr deploy key for statsmodels/statsm...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Configure doctr
641,904
11.09.2018 17:44:54
25,200
04fc37320f91ac3d28c5db2b0090650afea0956f
TST: parametrize tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_lme.py", "new_path": "statsmodels/regression/tests/test_lme.py", "diff": "+import os\n+import csv\nimport warnings\n+\nimport numpy as np\nimport pandas as pd\n+from scipy import sparse\n+import pytest\n+\nfrom statsmodels.reg...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: parametrize tests
641,904
11.09.2018 17:45:37
25,200
404e4f05be73c1f88b07267cff23b5f8df7bf290
MAINT: strict lint for test_lme
[ { "change_type": "MODIFY", "old_path": "lint.sh", "new_path": "lint.sh", "diff": "@@ -28,6 +28,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/iolib/tests/test_pickle.py \\\nstatsmodels/regression/mixed_linear_model.py \\\nstatsmodels/regression/recursive_ls.py \\\n+ statsmodels/regression/tests/te...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: strict lint for test_lme
641,831
19.09.2018 17:40:47
14,400
42dc1b1beafcbb8d2dfe60dc1f7dc02c1cfc1b19
BUG: Allow `summary` even if filter_results=None
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -2755,7 +2755,8 @@ class MLEResults(tsbase.TimeSeriesModelResults):\n('AIC', [\"%#5.3f\" % self.aic]),\n('BIC', [\"%#5.3f\" % self.bic]),\n('HQIC', [\"%#...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Allow `summary` even if filter_results=None
641,904
20.09.2018 12:15:40
25,200
ff808e3ea2281d71c5658aa47df54cbde83cc84d
MAINT: remove cythonize.py made unnecessary by
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -59,8 +59,6 @@ coverage_html_report/\n# Project specific\nstatsmodels/version.py\n-cythonize.dat\n-cythonize_exclusions.dat\nstatsmodels.egg-info/\niterate.dat\nhash_dict.pickle\n" }, { "change_type": ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: remove cythonize.py made unnecessary by #4871
642,018
19.09.2018 19:42:11
18,000
b6f78088bea26d6253e94c70bdf6013d8495a981
DOC: Added documentation of elements in anova_lm Docstring improvement for anova that clarifies the dataframes returned closes [skip appveyor] [skip ci]
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/anova.py", "new_path": "statsmodels/stats/anova.py", "diff": "@@ -5,7 +5,7 @@ from pandas import DataFrame, Index\nimport patsy\nfrom statsmodels.regression.linear_model import OLS\n-from statsmodels.compat.python import lrange, lmap\n+from s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Added documentation of elements in anova_lm Docstring improvement for anova that clarifies the dataframes returned closes #5233 [skip appveyor] [skip ci]
641,831
23.09.2018 12:26:17
14,400
17b958a8823a3069e6684b92dd0423e2520fce2f
TST: Test _get_index_loc and _get_index_label_loc
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/base/tests/test_tsa_indexes.py", "new_path": "statsmodels/tsa/base/tests/test_tsa_indexes.py", "diff": "@@ -11,6 +11,7 @@ License: BSD-3\n\"\"\"\nfrom __future__ import division, absolute_import, print_function\n+import pytest\nimport warnings\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Test _get_index_loc and _get_index_label_loc
641,831
23.09.2018 12:27:05
14,400
bc70be9f8eeb12671eafa0a6849086f1a9d1ad72
DOC: Improve _get_index_loc, _get_index_label_loc
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/base/tsa_model.py", "new_path": "statsmodels/tsa/base/tsa_model.py", "diff": "@@ -243,7 +243,9 @@ class TimeSeriesModel(base.LikelihoodModel):\nParameters\n----------\nkey : label\n- The key for which to find the location\n+ The key for which t...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Improve _get_index_loc, _get_index_label_loc
641,831
19.09.2018 17:43:12
14,400
93b0b2a75dc2e77b414140b4da70eaf3b8773cbe
BUG: Fix index location when using row_labels
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/base/tsa_model.py", "new_path": "statsmodels/tsa/base/tsa_model.py", "diff": "from statsmodels.compat.python import long\nfrom statsmodels.compat.pandas import is_numeric_dtype\n+import numbers\n+\nimport warnings\nimport numpy as np\nfrom pand...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Fix index location when using row_labels
641,831
25.09.2018 17:27:19
14,400
b00c083b35c0b884158b3962bdd1837e3ac43155
TST: Add test for sequential simulation.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_simulate.py", "new_path": "statsmodels/tsa/statespace/tests/test_simulate.py", "diff": "@@ -539,3 +539,17 @@ def test_known_initialization():\nstate_shocks=eps1)\ntmp = 100 * 0.5**np.arange(nobs)\nassert_allclose(actual, n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add test for sequential simulation.
641,831
25.09.2018 17:17:46
14,400
4c7bff1d8be668ba0a51e58e1fae6c022497d48b
BUG: Smoother, filter, repr updated on simulate.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/simulation_smoother.py", "new_path": "statsmodels/tsa/statespace/simulation_smoother.py", "diff": "@@ -131,20 +131,17 @@ class SimulationSmoother(KalmanSmoother):\ndef _simulate(self, nsimulations, measurement_shocks, state_shocks,\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Smoother, filter, repr updated on simulate.
642,048
29.09.2018 10:35:58
14,400
c556d4e39e4c4777ec3fdf0ebedf202c8a6b4d52
Fix incorrect parameter name in docstring
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/bayes_mixed_glm.py", "new_path": "statsmodels/genmod/bayes_mixed_glm.py", "diff": "@@ -88,9 +88,9 @@ _init_doc = r\"\"\"\nident : array-like\nArray of labels showing which random terms (columns of\n`exog_vc`) have a common variance.\n- vc_p ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix incorrect parameter name in docstring
641,904
29.09.2018 09:21:02
25,200
ec0c52e938ef99e16271c4fd8601b985a976eb3e
MAINT: remove self.table pinning; closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -2921,7 +2921,6 @@ class PredictionResults(pred.PredictionResults):\nto_include['mean_ci_lower'] = ci_mean[:, endog]\nto_include['mean_ci_upper'] = ci_me...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: remove self.table pinning; closes #5271
642,048
29.09.2018 19:31:43
14,400
63cd97273b123c6419cd5b41c6677cf7d1166a6b
Clarify/fix docs on scale estimation
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_estimating_equations.py", "new_path": "statsmodels/genmod/generalized_estimating_equations.py", "diff": "@@ -701,8 +701,11 @@ class GEE(base.Model):\ndef estimate_scale(self):\n\"\"\"\n- Returns an estimate of the scale parameter...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Clarify/fix docs on scale estimation
642,065
02.10.2018 13:18:22
18,000
486c002e2cffb237810dbfb0d525a1ee2edc6be0
DOC: Remove only_directive
[ { "change_type": "MODIFY", "old_path": "docs/source/conf.py", "new_path": "docs/source/conf.py", "diff": "@@ -35,7 +35,6 @@ extensions = ['sphinx.ext.autodoc',\n'sphinx.ext.autosummary',\n'sphinx.ext.inheritance_diagram',\n'matplotlib.sphinxext.plot_directive',\n- 'matplotlib.sphinxext.only_directiv...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Remove only_directive
642,018
02.10.2018 20:35:28
18,000
ae14b6c989918366bb793c3d43a3149de3d938d4
TST: Added random seed to test_gee and verifed working
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_gee.py", "new_path": "statsmodels/genmod/tests/test_gee.py", "diff": "@@ -291,6 +291,7 @@ class TestGEE(object):\n# Test missing data handling for calling from the api. Missing\n# data handling does not currently work for formulas...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Added random seed to test_gee and verifed working
641,904
06.09.2018 20:07:13
25,200
ca2e0e0de5b4c06704d037a7899650d6bb459b4d
CLN: Use cache_readonly instead of OneTimeProperty; fix usage of OneTimeProperty that would be incorrect
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/archive/linalg_covmat.py", "new_path": "statsmodels/sandbox/archive/linalg_covmat.py", "diff": "@@ -75,7 +75,7 @@ class AffineTransform(object):\nreturn - self.logabsdet + self.dist.logpdf(self.invtransform(x))\n-from .linalg_decomp_1 impor...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLN: Use cache_readonly instead of OneTimeProperty; fix usage of OneTimeProperty that would be incorrect
642,065
06.10.2018 01:37:54
18,000
47f4a30c8cde314f4f4ead98e3073583573c0076
DOC: Workarounds to fix docbuild
[ { "change_type": "MODIFY", "old_path": "tools/ci/docbuild_install.sh", "new_path": "tools/ci/docbuild_install.sh", "diff": "echo sudo apt-get install graphviz -qq\nsudo apt-get install graphviz -qq\n# Install required packages\n-echo conda install sphinx ipython jupyter nbconvert numpydoc tzlocal --...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Workarounds to fix docbuild
642,018
04.10.2018 11:43:18
18,000
03bbf92eebe8566f17115347b41ae3bb04defe42
Impute value to observed value closest to mean and added test case Previous code only imputed value as the distance from the mean for the closest observed value.
[ { "change_type": "MODIFY", "old_path": "statsmodels/imputation/mice.py", "new_path": "statsmodels/imputation/mice.py", "diff": "@@ -293,7 +293,7 @@ class MICEData(object):\ndi = self.data[col] - self.data[col].mean()\ndi = np.abs(di)\nix = di.idxmin()\n- imp = di.loc[ix]\n+ imp = self.data[col].loc[...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Impute value to observed value closest to mean and added test case Previous code only imputed value as the distance from the mean for the closest observed value.
641,904
30.09.2018 15:01:27
25,200
c2ed29f7edd18a3dafff552aed117b1afe6c3e1a
CLN: small cython cleanups
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_tools.pyx.in", "new_path": "statsmodels/tsa/statespace/_tools.pyx.in", "diff": "@@ -21,23 +21,28 @@ cimport scipy.linalg.cython_lapack as lapack\ncdef FORTRAN = 1\n+\n+# --------------------------------------------------------------...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLN: small cython cleanups
641,904
30.09.2018 15:04:05
25,200
5faba3fbb1d1d5e98ae436928903ea4986727f79
MAINT: dont expose private functions
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_tools.pxd", "new_path": "statsmodels/tsa/statespace/_tools.pxd", "diff": "@@ -29,26 +29,6 @@ cpdef int dldl(np.float64_t [::1, :] A) except *\ncpdef int cldl(np.complex64_t [::1, :] A) except *\ncpdef int zldl(np.complex128_t [::1, ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: dont expose private functions
641,904
30.09.2018 16:33:18
25,200
f3b70c96bbd84dacf904bc6c0199cf2f91980c77
Use fused types to wrap blas swap, copy
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_tools.pyx.in", "new_path": "statsmodels/tsa/statespace/_tools.pyx.in", "diff": "@@ -21,6 +21,12 @@ cimport scipy.linalg.cython_lapack as lapack\ncdef FORTRAN = 1\n+ctypedef fused sm_type_t:\n+ np.float64_t\n+ np.float32_t\n+ np.comp...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Use fused types to wrap blas swap, copy
641,904
30.09.2018 16:48:36
25,200
b4fb487f3b9f0ea32a8ef6dedc9d1e8a42acf423
use fused versions in a few more places
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_tools.pyx.in", "new_path": "statsmodels/tsa/statespace/_tools.pyx.in", "diff": "@@ -945,7 +945,7 @@ cdef int _{{prefix}}copy_missing_submatrix({{cython_type}} * a, {{cython_type}}\n# Perform replacement\nfor i in range(nobs):\n- bla...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
use fused versions in a few more places
641,904
13.10.2018 17:30:04
25,200
8ba3668f6c9443826f22e2d29ce46bbb6952a5dd
Swap kwarg order so we can set defaults for increments
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_tools.pyx.in", "new_path": "statsmodels/tsa/statespace/_tools.pyx.in", "diff": "@@ -56,8 +56,8 @@ cdef validate_vector_shape(str name, Py_ssize_t *shape, int nrows, nobs=None):\n# ----------------------------------------------------...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Swap kwarg order so we can set defaults for increments
641,904
13.10.2018 17:36:00
25,200
0ffa3e77d5775416ba47598f70b7858b14192338
finish using fused copy in tools
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_tools.pyx.in", "new_path": "statsmodels/tsa/statespace/_tools.pyx.in", "diff": "@@ -214,13 +214,13 @@ cdef int _{{prefix}}solve_discrete_lyapunov({{cython_type}} * a, {{cython_type}}\n# Get apI = a + I (stored in apI)\n# = (a + eye)...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
finish using fused copy in tools
641,831
15.10.2018 20:51:40
14,400
0f3a6864d7dc445f6f81ed29a688816f1dbd096c
ENH: theoretical version of arma_acovf
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/arima_process.py", "new_path": "statsmodels/tsa/arima_process.py", "diff": "@@ -81,7 +81,7 @@ def arma_generate_sample(ar, ma, nsample, sigma=1, distrvs=np.random.randn,\nreturn signal.lfilter(ma, ar, eta)[burnin:]\n-def arma_acovf(ar, ma, nobs...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: theoretical version of arma_acovf
641,831
15.10.2018 20:52:16
14,400
78e375b26a601e11bc4f0b0f92ae12d1b793a253
TST: additional arma_acf tests
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/tests/results/arma_acov.R", "diff": "+options(digits=15, scipen=999)\n+\n+# Example 3.3.2 from Brockwell and Davis\n+ar_params = c(1, -0.25)\n+ma_params = c(1)\n+print(ARMAacf(ar_params, ma_params, lag.max=9))\n+\n+# Custom examp...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: additional arma_acf tests
641,831
16.10.2018 21:16:22
14,400
e4e780a69ff562bb85d32779f73299db0b94afe6
TST: Fix incorrect innovations filter test.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_stattools.py", "new_path": "statsmodels/tsa/tests/test_stattools.py", "diff": "@@ -759,7 +759,7 @@ def test_innovations_filter_brockwell_davis():\nresid = innovations_filter(endog, theta)\nexpected = [endog[0]]\nfor i in range(1, 4):...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Fix incorrect innovations filter test.
641,831
16.10.2018 21:16:45
14,400
f571221619ed00b45cb17a54df383debec0188b8
TST: Innovations algo/filter test vs Kalman filter
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_stattools.py", "new_path": "statsmodels/tsa/tests/test_stattools.py", "diff": "@@ -20,6 +20,8 @@ from statsmodels.tsa.stattools import (adfuller, acf, pacf_yw,\narma_order_select_ic, levinson_durbin,\nlevinson_durbin_pacf, pacf_burg,...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Innovations algo/filter test vs Kalman filter
641,831
16.10.2018 21:19:25
14,400
4160feb765449c7654d8e812667dfae2f9d2ba7f
BUG: Fix check for positive integer `nobs`
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/stattools.py", "new_path": "statsmodels/tsa/stattools.py", "diff": "@@ -1005,9 +1005,9 @@ def innovations_algo(acov, nobs=None, rtol=None):\nrtol = 0.0 if rtol is None else rtol\nif not isinstance(rtol, float):\nraise ValueError('rtol must be a...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Fix check for positive integer `nobs`
641,831
16.10.2018 21:19:38
14,400
b3468a269df6a873919d4b42f878b2b77003b976
BUG: Fix forecast error computation.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/stattools.py", "new_path": "statsmodels/tsa/stattools.py", "diff": "@@ -1093,7 +1093,7 @@ def innovations_filter(endog, theta):\nhat = (theta[i, :i] * u[:i][::-1]).sum()\nelse:\nhat = (theta[i] * u[i - k:i][::-1]).sum()\n- u[i] = endog[i] + hat...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Fix forecast error computation.
641,831
16.10.2018 22:33:10
14,400
78eca942564b68396f756041733c7196b783b861
TST: Improve arma_acf results storage / generation
[ { "change_type": "RENAME", "old_path": "statsmodels/tsa/tests/results/arma_acov_results.py", "new_path": "statsmodels/tsa/tests/results/results_arma_acf.py", "diff": "+\"\"\"\n+ARMA autocorrelation results (from R's ARMAacf function)\n+\n+These numbers are printed out when running the R script resul...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Improve arma_acf results storage / generation
641,831
16.10.2018 22:33:45
14,400
0a46e49e1645f40c475b67cfa4fae2f1f6250094
ENH: arma_acf check for positive variance arg
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/arima_process.py", "new_path": "statsmodels/tsa/arima_process.py", "diff": "@@ -117,6 +117,9 @@ def arma_acovf(ar, ma, nobs=10, sigma2=1):\nq = len(ma) - 1\nm = max(p, q) + 1\n+ if sigma2 < 0:\n+ raise ValueError('Must have positive innovation ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: arma_acf check for positive variance arg
641,831
16.10.2018 22:41:41
14,400
e2bdd9a4e27441208c5be68f94c784efc43bcf45
TST: Split new test cases into new test function
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_arima_process.py", "new_path": "statsmodels/tsa/tests/test_arima_process.py", "diff": "@@ -75,7 +75,9 @@ def test_arma_acf():\nrep2 = acovf / (1. / (1 - phi ** 2))\nassert_allclose(rep1, rep2)\n- # Test other cases, against R's ARMAa...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Split new test cases into new test function
641,831
16.10.2018 22:42:13
14,400
96c35e25ddaf4c29ce13595c875817e0298af193
TST: Test against historical version of arma_acovf
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_arima_process.py", "new_path": "statsmodels/tsa/tests/test_arima_process.py", "diff": "@@ -96,6 +96,35 @@ def test_arma_acf_compare_R_ARMAacf():\nassert_allclose(example_7, results_arma_acf.custom_example_7)\n+def test_arma_acov_comp...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Test against historical version of arma_acovf
642,017
27.10.2018 16:52:53
-7,200
1da0694296d6b49a990716897f7596b511d49908
Set python3 as interpreter for doc tools The scripts require python3 so the interpreter should use that. python does not point to python3 on most distributions.
[ { "change_type": "MODIFY", "old_path": "tools/dataset_rst.py", "new_path": "tools/dataset_rst.py", "diff": "-#!/usr/bin/env python\n+#!/usr/bin/env python3\n\"\"\"\nRun this script to convert dataset documentation to ReST files. Relies\non the meta-information from the datasets of the currently inst...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Set python3 as interpreter for doc tools The scripts require python3 so the interpreter should use that. python does not point to python3 on most distributions.
641,904
28.10.2018 16:01:38
25,200
afc21e5294e544d9023bea4f572572b31224f97b
W605 fixups in vector_ar
[ { "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": "@@ -140,17 +140,17 @@ def load_results_jmulti(dataset, dt_s_list):\nresult_p = []\nsta...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
W605 fixups in vector_ar
641,904
01.11.2018 19:50:32
25,200
010e9e0f11f443123a6f0313078c6d466e2003a9
BUG: raise correct error
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/libqsturng/qsturng_.py", "new_path": "statsmodels/stats/libqsturng/qsturng_.py", "diff": "@@ -531,6 +531,7 @@ def _interpolate_p(p, r, v):\ny0 = _func(A[(p0, v)], p0, r, v) + 1.\nexcept:\nprint(p,r,v)\n+ raise\ny1 = _func(A[(p1, v)], p1, r, v...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: raise correct error
642,065
20.10.2018 18:31:54
18,000
2fe81409e236b6d620e4bb528b9806620d601440
Silence warnings for matrix warnings, remove noise form travis logs.
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -125,9 +125,9 @@ before_install:\nif [ ${COVERAGE} = true ]; then\npip install codecov coverage coveralls pytest-cov\nif [ -z ${SM_CYTHON_COVERAGE} ] || [ ${SM_CYTHON_COVERAGE} = false ]; then\n- export COVE...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Silence warnings for matrix warnings, remove noise form travis logs.
642,065
28.10.2018 21:22:32
18,000
5788ac9e3da72b56f2e4bf688bff3c9dab526f2d
TST: Loosen tolerance on test_mvn_mvt_3 Closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/distributions/tests/test_multivariate.py", "new_path": "statsmodels/sandbox/distributions/tests/test_multivariate.py", "diff": "Created on Sat Apr 16 15:02:13 2011\n@author: Josef Perktold\n\"\"\"\n-\nimport numpy as np\n-from numpy.testing...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Loosen tolerance on test_mvn_mvt_3 Closes #5354
642,065
02.11.2018 03:56:33
18,000
329363d495bfb882f9fc1293ac5d72ce61fbd871
E306 fix for lilliefors
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/_lilliefors.py", "new_path": "statsmodels/stats/_lilliefors.py", "diff": "@@ -164,9 +164,7 @@ def get_lilliefors_table(dist='norm'):\n[ 37, 39, 41, 45, 52, 61],\n[ 25, 26, 28, 30, 35, 42]])[:,::-1] / 1000.\n-\n# also build a table for larger ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
E306 fix for lilliefors
642,065
02.11.2018 12:21:34
18,000
0b5045276db2725d8c0036887774450e53863656
Change float to e format
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/distributions/tests/test_multivariate.py", "new_path": "statsmodels/sandbox/distributions/tests/test_multivariate.py", "diff": "@@ -70,9 +70,9 @@ class Test_MVN_MVT_prob(object):\nprobmvt_R = 0.9522146\nquadkwds = {'epsabs': 1e-08}\nprobmvt...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Change float to e format
642,065
02.11.2018 14:19:13
18,000
d762486232402ccbded2d238ff929e7b70c6c224
Ignore W605 in flake8
[ { "change_type": "MODIFY", "old_path": "setup.cfg", "new_path": "setup.cfg", "diff": "@@ -96,7 +96,7 @@ select=\n# W603: '<>' is deprecated, use '!='\nW604,\n# W604: backticks are deprecated, use 'repr()'\n- W605,\n+ # W605,\n# W605: invalid escape sequence 'x'\nW606,\n# W606: 'async' and 'await' ar...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Ignore W605 in flake8
642,048
25.10.2018 12:01:40
14,400
f0474f67f77c429172915f098785841a04bb1ce5
Allow dep_data to be specified using formula or names
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/cov_struct.py", "new_path": "statsmodels/genmod/cov_struct.py", "diff": "@@ -345,7 +345,7 @@ class Nested(CovStruct):\nThe variance components are estimated using least squares\nregression of the products r*r', for standardized residuals r a...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Allow dep_data to be specified using formula or names
642,048
25.10.2018 23:20:11
14,400
83725a00571569a45965e0df244539432e0306bd
Use isinstance instead of comparing types with ==
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_estimating_equations.py", "new_path": "statsmodels/genmod/generalized_estimating_equations.py", "diff": "@@ -679,23 +679,23 @@ class GEE(base.Model):\n\"\"\" % {'missing_param_doc': base._missing_param_doc}\ngroups_name = \"Group...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Use isinstance instead of comparing types with ==
642,048
29.09.2018 15:14:18
14,400
cff90e1fef64388a32e2ffcd93b3133e97bc7f5c
Modify indexing to remove numpy warnings
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/cov_struct.py", "new_path": "statsmodels/genmod/cov_struct.py", "diff": "+\"\"\"\n+Covariance models and estimators for GEE.\n+\n+Some details for the covariance calculations can be found in the Stata\n+docs:\n+\n+http://www.stata.com/manual...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Modify indexing to remove numpy warnings
642,048
03.11.2018 18:59:47
14,400
dc38ee73163b581e66a387dd7d41bc4033bfc2cf
minor comment/docstring cleanup
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/cov_struct.py", "new_path": "statsmodels/genmod/cov_struct.py", "diff": "@@ -23,14 +23,15 @@ class CovStruct(object):\nBase class for correlation and covariance structures.\nAn implementation of this class takes the residuals from a\n- regre...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
minor comment/docstring cleanup
641,831
13.11.2018 23:29:35
18,000
d24f40e8fea17301e3ffc70a220eb09d68b866ac
TST: Simulation smoothing with exact diffuse init
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_simulation_smoothing.py", "new_path": "statsmodels/tsa/statespace/tests/test_simulation_smoothing.py", "diff": "@@ -637,3 +637,19 @@ def test_simulation_smoothing_state_intercept():\nsim.simulate(disturbance_variates=np.ze...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Simulation smoothing with exact diffuse init
641,831
13.11.2018 22:53:21
18,000
0a05b196aa915892e69190656e753ffe77ee264f
BUG: Sim. smoother: exact diffuse initialization
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_simulation_smoother.pyx.in", "new_path": "statsmodels/tsa/statespace/_simulation_smoother.pyx.in", "diff": "@@ -378,10 +378,12 @@ cdef class {{prefix}}SimulationSmoother(object):\nraise RuntimeError(\"Statespace model not initialize...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Sim. smoother: exact diffuse initialization
641,831
14.11.2018 07:42:20
18,000
24687d70293cd5d804f0b71385ad9d3dbebda75a
TST: Test exact diffuse sim. smooth w/ missing val
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_simulation_smoothing.py", "new_path": "statsmodels/tsa/statespace/tests/test_simulation_smoothing.py", "diff": "@@ -644,6 +644,19 @@ def test_simulation_smoothing_state_intercept_diffuse():\nintercept = 100\nendog = np.one...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Test exact diffuse sim. smooth w/ missing val
642,048
17.11.2018 11:31:56
18,000
909c480193dc2368d1eb0465aad5594854d6a08d
BUG/ENH: modify stationary cov_struct for GEE
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/cov_struct.py", "new_path": "statsmodels/genmod/cov_struct.py", "diff": "@@ -131,7 +131,7 @@ class CovStruct(object):\nIf the covariance matrix is singular or not SPD, it is\nprojected to the nearest such matrix. These projection events\n- a...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/ENH: modify stationary cov_struct for GEE
641,904
17.09.2018 19:04:00
25,200
38a1676c1927a739baae36c684d5cf6490b1dc0d
REF: raise early on invalid method
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/count_model.py", "new_path": "statsmodels/discrete/count_model.py", "diff": "@@ -12,6 +12,7 @@ from statsmodels.discrete.discrete_model import (DiscreteModel, CountModel,\nPoisson, Logit, CountResults,\nL1CountResults, Probit,\n_discrete_r...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: raise early on invalid method
642,065
19.09.2018 23:52:39
18,000
523cef52fbb8ef7395a25c0c27996e6bae5b475a
TST: Add mac testing [skip appveyor]
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -93,6 +93,16 @@ matrix:\nenv:\n- PIP_PRE=true\n- BUILD_INIT=tools/ci/travis_pip.sh\n+ - os: osx\n+ language: generic\n+ env:\n+ - PYTHON=3.6.6\n+ - NUMPY=1.14\n+ - BUILD_INIT=tools/ci/travis_pip.sh\n+ - os: ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add mac testing [skip appveyor]
641,904
28.11.2018 17:04:56
28,800
8eb7e2bc786360373576ccedf53e73a7e9fc47e0
CLN: Fix some escape warnings
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -1221,7 +1221,7 @@ class GLM(base.LikelihoodModel):\ndef fit_regularized(self, method=\"elastic_net\", alpha=0.,\nstart_params=None, refi...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLN: Fix some escape warnings
641,904
11.12.2018 18:54:22
28,800
bd703b2dbd51c7d993c03d0f9f25e38cbf268e48
CLN: informative names for test functions
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_regression.py", "new_path": "statsmodels/regression/tests/test_regression.py", "diff": "@@ -934,9 +934,9 @@ def test_const_indicator():\nassert_almost_equal(modc.rsquared, mod.rsquared, 12)\n-def test_706():\n- # make sure one...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLN: informative names for test functions
642,065
12.12.2018 23:04:15
21,600
38510cf53b09bb986a4192f12b949cd8801265d8
BLD: conda-forge use gcc7
[ { "change_type": "MODIFY", "old_path": "tools/ci/docbuild_install.sh", "new_path": "tools/ci/docbuild_install.sh", "diff": "@@ -10,5 +10,5 @@ conda install sphinx \"ipython<7.0\" jupyter nbconvert numpydoc tzlocal \"testpath<\necho pip install colorama doctr pandas-datareader\npip install colorama d...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BLD: conda-forge use gcc7
641,892
14.12.2018 12:46:41
28,800
6af0b56994c68ac420c6e768d5186ba532def8ba
Misspelling in the documentation proportions_ztest Simple fix to the documentation to render the correct variable name. Not a big issue, more quality of life for documentation users.
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/proportion.py", "new_path": "statsmodels/stats/proportion.py", "diff": "@@ -795,7 +795,7 @@ def proportions_ztest(count, nobs, value=None, alternative='two-sided',\n>>> from statsmodels.stats.proportion import proportions_ztest\n>>> count = n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Misspelling in the documentation proportions_ztest Simple fix to the documentation to render the correct variable name. Not a big issue, more quality of life for documentation users.
641,904
26.09.2018 19:45:14
25,200
962d37b49793dea2efd1de3756b800787b4f790a
MAINT: fix typos in pca, wrap long lines
[ { "change_type": "MODIFY", "old_path": "lint.sh", "new_path": "lint.sh", "diff": "@@ -23,7 +23,12 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/graphics/tsaplots.py \\\nstatsmodels/examples/tests/ \\\nstatsmodels/iolib/smpickle.py \\\n+ statsmodels/iolib/tests/test_pickle.py \\\n+ statsmodels/multi...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: fix typos in pca, wrap long lines
641,831
26.12.2018 21:28:38
18,000
ab075976598b5793a2180ac807088e88c29ebb83
REF: Remove slower versions of innovations algos.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/innovations/_arma_innovations.pyx.in", "new_path": "statsmodels/tsa/innovations/_arma_innovations.pyx.in", "diff": "@@ -89,109 +89,6 @@ cdef {{prefix}}toeplitz(int n, int offset0, int offset1,\nout_matrix[offset0 + j, offset1 + i] = in_column[i...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: Remove slower versions of innovations algos.
641,831
26.12.2018 21:38:19
18,000
b4678b83885d2b40879429f7bc8448eb751a3a46
REF: Add innovations functions to API and docs.
[ { "change_type": "MODIFY", "old_path": "docs/source/tsa.rst", "new_path": "docs/source/tsa.rst", "diff": "@@ -112,6 +112,9 @@ Autogressive Moving-Average Processes (ARMA) and Kalman Filter\n.. currentmodule:: statsmodels.tsa\n+The basic ARIMA model and results classes that should be the starting poi...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: Add innovations functions to API and docs.
641,900
04.01.2019 07:23:51
-19,080
68d50f2261c027d5f424824abbaa1360f34aac08
EHN: Add linting instruction in CONTRIBUTING.rst
[ { "change_type": "MODIFY", "old_path": "CONTRIBUTING.rst", "new_path": "CONTRIBUTING.rst", "diff": "@@ -32,6 +32,17 @@ For a pull request to be accepted, you must meet the below requirements. This gr\nCheck that the build output does not have *any* warnings due to your changes.\n- Finally, please ad...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
EHN: Add linting instruction in CONTRIBUTING.rst
641,936
24.12.2015 00:30:39
-3,600
18d75b84bfdaa3e8cc377096f65591795fa1b52e
update glm and python 2-3 compatibility
[ { "change_type": "MODIFY", "old_path": "statsmodels/compat/python.py", "new_path": "statsmodels/compat/python.py", "diff": "@@ -232,3 +232,16 @@ def get_class(func):\nexcept AttributeError:\n#Python 3\nreturn func.__self__.__class__\n+\n+\n+def with_metaclass(meta, *bases):\n+ \"\"\"Create a base cl...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
update glm and python 2-3 compatibility
641,936
24.12.2015 09:29:32
-3,600
26787dee00f603726f632b7671be364d6bb7a4bd
protect matplolib
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -57,6 +57,9 @@ help\n.coverage\ncoverage_html_report/\n+# Idea IDE\n+.idea/\n+\n# Project specific\nstatsmodels/version.py\nstatsmodels.egg-info/\n" }, { "change_type": "MODIFY", "old_path": "stats...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
protect matplolib
641,936
24.12.2015 15:22:57
-3,600
148695b2956bdb47e8fe8232dbbdf7a384e2168b
python2 compatibility and cov_params in partial_values
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/gam.py", "new_path": "statsmodels/gam/gam.py", "diff": "@@ -150,10 +150,10 @@ class GLMGAMResults(GLMResults):\nmask = smoother.mask[variable]\ny = np.dot(smoother.basis_[:, mask], self.params[mask])\n# select the submatrix corresponding to a s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
python2 compatibility and cov_params in partial_values
641,936
24.12.2015 17:37:41
-3,600
839bf238928ca199845e4fc9450842bcad6bdd26
add unit test for cov_params
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/tests/test_gam.py", "new_path": "statsmodels/gam/tests/test_gam.py", "diff": "@@ -665,10 +665,12 @@ def test_partial_values2():\ny -= y.mean()\nbsplines = BSplines(x, degree=[3] * 2, df=[10] * 2)\n- alpha = 0.001\n+ alpha = 0.0\nglm_gam = GLMGa...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add unit test for cov_params
641,936
25.12.2015 19:07:23
-3,600
878294002b2064141d5e260fb2fe13f5829f3135
improve speed in partial values
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/gam.py", "new_path": "statsmodels/gam/gam.py", "diff": "@@ -153,8 +153,12 @@ class GLMGAMResults(GLMResults):\npartial_cov_params = self.cov_params()[mask, :]\npartial_cov_params = partial_cov_params[:, mask]\n- var = np.diag(smoother.basis_[:,...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
improve speed in partial values
641,971
03.10.2018 13:05:40
14,400
9f4a5debe7772aa3811d04db79fe00a2d5dfd5a8
BUG: fix two problems with refactored GLM
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/gam.py", "new_path": "statsmodels/gam/gam.py", "diff": "@@ -251,6 +251,8 @@ class GLMGam(PenalizedMixin, GLM):\nself._offset_exposure = 0\nself.scaletype = 'dev'\n+ # during iteration\n+ self.scale = 1\nif start_params is None:\nmu = self.famil...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix two problems with refactored GLM
641,971
18.10.2018 14:12:10
14,400
729a66395a66ccfd90a2d94d8b1464e357bf5563
BUG/REF: fix GLM cov_params in fit_gradient, see
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -1058,6 +1058,8 @@ class GLM(base.LikelihoodModel):\nself.scaletype = scale\nif method.lower() == \"irls\":\n+ if cov_type.lower() == 'ei...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/REF: fix GLM cov_params in fit_gradient, see #5316
641,971
18.10.2018 14:13:28
14,400
edfc54ec83c36797027e9864fab71f7c411f5ae2
ENH: TheilGLS: add use_t option
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/regression/penalized.py", "new_path": "statsmodels/sandbox/regression/penalized.py", "diff": "@@ -178,7 +178,7 @@ class TheilGLS(GLS):\nself.sigma_prior = sigma_prior\nself.sigma_prior_inv = np.linalg.pinv(sigma_prior) #or inv\n- def fit(se...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: TheilGLS: add use_t option
641,971
18.10.2018 14:16:25
14,400
fae6de5b61d215ae0a03b9feae1a703459820d72
REF/BUG: refactor GAM/Penalized, GAM exog, PenalizedMixin scale (messy)
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalized.py", "new_path": "statsmodels/base/_penalized.py", "diff": "@@ -54,13 +54,33 @@ class PenalizedMixin(object):\nself._null_drop_keys = getattr(self, '_null_drop_keys', [])\nself._null_drop_keys.extend(['penal'])\n+ def _handle_scale(...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/BUG: refactor GAM/Penalized, GAM exog, PenalizedMixin scale (messy)
641,971
18.10.2018 15:32:05
14,400
47d56353160662490dfc1cafc12918bfff032b19
TST: basic test against mgcv for TheilGLS and PenalizedMixin
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/gam/tests/results/motorcycle.csv", "diff": "+\"times\",\"accel\"\n+2.4,0\n+2.6,-1.3\n+3.2,-2.7\n+3.6,0\n+4,-2.7\n+6.2,-2.7\n+6.6,-2.7\n+6.8,-1.3\n+7.8,-2.7\n+8.2,-2.7\n+8.8,-1.3\n+8.8,-2.7\n+9.6,-2.7\n+10,-2.7\n+10.2,-5.4\n+10.6,-2.7...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: basic test against mgcv for TheilGLS and PenalizedMixin
641,971
19.10.2018 17:00:49
14,400
c124c3e02136e8a2584970ce48420bdba1c777c7
REF: GLM protect against hessian inversion failure, use rtol in a test
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -36,7 +36,10 @@ from . import _prediction as pred\nfrom statsmodels.genmod._prediction import PredictionResults\nfrom statsmodels.tools.s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: GLM protect against hessian inversion failure, use rtol in a test
641,971
19.10.2018 17:02:27
14,400
d6491c313843266c2a067bf30b3521c9bbf44367
BUG: RegressionResults attach use_t if not None, see
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -1494,7 +1494,8 @@ class RegressionResults(base.LikelihoodModelResults):\n'covariance matrix of the errors is correctly ' +\n'specified.'}\nif use_t is N...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: RegressionResults attach use_t if not None, see #5331
641,971
19.10.2018 17:06:22
14,400
203a8df4d0286cdade7818d458a868c5cd158f83
REF/TST: UnivariateGamPenalty use cov_der2 in func, test fittedvalues against mgcv with different parameterization
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/gam_penalties.py", "new_path": "statsmodels/gam/gam_penalties.py", "diff": "@@ -94,10 +94,13 @@ class UnivariateGamPenalty(Penalty):\n2) der2 is the second derivative of the splines basis\n'''\n+ if self.univariate_smoother.der2_basis_ is not N...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/TST: UnivariateGamPenalty use cov_der2 in func, test fittedvalues against mgcv with different parameterization
641,971
20.10.2018 10:17:03
14,400
cf45cc27b56f3442c660177646d32cad91e177fa
REF: move helper functions to tools.linalg
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/tests/test_penalized.py", "new_path": "statsmodels/gam/tests/test_penalized.py", "diff": "@@ -24,68 +24,11 @@ import statsmodels.base._penalties as smpen\nfrom statsmodels.gam.smooth_basis import BSplines, CubicSplines, CyclicCubicSplines\nfrom...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: move helper functions to tools.linalg
641,971
20.10.2018 10:19:53
14,400
4d716d51031a1ad7387da4b8535e9b5c8dad1e86
CLN: small cleanup in test_penalized
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/tests/test_penalized.py", "new_path": "statsmodels/gam/tests/test_penalized.py", "diff": "@@ -28,9 +28,6 @@ from statsmodels.tools.linalg import matrix_sqrt, transf_constraints\nfrom .results import results_pls\n-# temporary location\n-\n-\ncla...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLN: small cleanup in test_penalized
641,971
20.10.2018 12:06:23
14,400
e7caa9fedd3bd5f8cacdb2459e6bdb3647f02a38
ENH: add constraint transform to CyclicCubicSplines (plus pandas cleanup)
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/smooth_basis.py", "new_path": "statsmodels/gam/smooth_basis.py", "diff": "@@ -10,12 +10,11 @@ from __future__ import division\nfrom abc import ABCMeta, abstractmethod\nfrom statsmodels.compat.python import with_metaclass\n-from patsy import dma...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add constraint transform to CyclicCubicSplines (plus pandas cleanup)
641,971
20.10.2018 13:18:10
14,400
138526260ffb857685204ed7d63f8e8ec2d50ec5
REF: use keyword arguments, rename variable_names (plural)
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/smooth_basis.py", "new_path": "statsmodels/gam/smooth_basis.py", "diff": "@@ -351,7 +351,8 @@ class UnivariateGenericSmoother(UnivariateGamSmoother):\nself.der2_basis_ = der2_basis\nself.cov_der2_ = cov_der2\n- super(UnivariateGenericSmoother, ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: use keyword arguments, rename variable_names (plural)
641,971
20.10.2018 16:33:27
14,400
2358e29b74b93761770e2df5e6bb9edfde036028
REF/TST: add constraints to BSplines (no unit test), fix one, xfail two tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/smooth_basis.py", "new_path": "statsmodels/gam/smooth_basis.py", "diff": "@@ -390,11 +390,11 @@ class UnivariatePolynomialSmoother(UnivariateGamSmoother):\nclass UnivariateBSplines(UnivariateGamSmoother):\n- def __init__(self, x, degree, df, va...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/TST: add constraints to BSplines (no unit test), fix one, xfail two tests
641,971
21.10.2018 11:57:56
14,400
65ba8f4c0cbea070c2428cc222ab6fd9dbbffd4a
ENH/REF: initial support for exog_linear
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/gam.py", "new_path": "statsmodels/gam/gam.py", "diff": "@@ -205,8 +205,16 @@ class GLMGAMResults(GLMResults):\nclass GLMGam(PenalizedMixin, GLM):\n_results_class = GLMGAMResults\n- def __init__(self, endog, exog=None, smoother=None, alpha=0, fa...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF: initial support for exog_linear
641,971
22.10.2018 15:40:15
14,400
58262c7a0678f36c7895322ac64452eafd3c6300
REF: GAM PIRLS, multiply alpha by 2 to match gradient fit
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/gam.py", "new_path": "statsmodels/gam/gam.py", "diff": "@@ -310,7 +310,8 @@ class GLMGam(PenalizedMixin, GLM):\n- self._offset_exposure)\n# this defines the augmented matrix point 2a on page 136\n- wls_results = penalized_wls(wlsexog, wlsendog,...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: GAM PIRLS, multiply alpha by 2 to match gradient fit
641,971
23.10.2018 11:09:01
14,400
116cff4326bdcdb73f87b3a69955156467c3b145
TST: fix 2 xfailed tests so they pass
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/tests/test_gam.py", "new_path": "statsmodels/gam/tests/test_gam.py", "diff": "@@ -4,7 +4,11 @@ __author__ = 'Luca Puggini: <lucapuggio@gmail.com>'\n__date__ = '08/07/15'\nimport os\n-import pytest\n+import numpy as np\n+from numpy.testing impor...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: fix 2 xfailed tests so they pass
641,971
23.10.2018 13:05:18
14,400
ef82931364f946ee26c46eb47c5274fdd559ab02
CLN/TST: basic cleanup of unit test modules, (random seed and some pep-8)
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/tests/test_gam.py", "new_path": "statsmodels/gam/tests/test_gam.py", "diff": "@@ -9,14 +9,15 @@ from numpy.testing import assert_allclose\nimport pandas as pd\nfrom scipy.linalg import block_diag\n-from statsmodels.gam.smooth_basis import (Univ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLN/TST: basic cleanup of unit test modules, (random seed and some pep-8)
641,971
23.10.2018 14:08:11
14,400
a84ce53b263794a90d37472cbfcb5151a1e5cd39
STY/CLN: partial cleanup, line length, remove empty returns
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/gam.py", "new_path": "statsmodels/gam/gam.py", "diff": "@@ -155,7 +155,8 @@ class GLMGAMResults(GLMResults):\npartial_cov_params = self.cov_params()[mask, :]\npartial_cov_params = partial_cov_params[:, mask]\n- # var = np.diag(smoother.basis_[:...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
STY/CLN: partial cleanup, line length, remove empty returns
641,971
23.10.2018 19:22:46
14,400
a5f641ac07c12a5e518dfd88fa2e4d931b809b50
REF/CLN: remove PenalizedMixin and Penalty (used from `base`), more cleanup
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/gam.py", "new_path": "statsmodels/gam/gam.py", "diff": "-from __future__ import division\n+# -*- coding: utf-8 -*-\n+\"\"\"\n+Generalized Additive Models\n-__author__ = 'Luca Puggini: <lucapuggio@gmail.com>'\n-__date__ = '08/07/15'\n+Author: Lu...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/CLN: remove PenalizedMixin and Penalty (used from `base`), more cleanup