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,971
21.12.2017 11:31:06
18,000
cfd23e6342b72934f9b0154bf984bfc87e31814c
BUG: call super.__init__ before computing attributes, TST missing
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -107,11 +107,15 @@ class Factor(Model):\n_check_args_1(endog, n_factor, corr, nobs)\nif endog is not None:\n+ super(Factor, self).__init__(endog, exog=None, miss...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: call super.__init__ before computing attributes, TST missing
641,927
13.07.2017 12:24:48
-7,200
e8a68055dd9faf88c2cad5501879d49fa02ae08f
Adding Holtwinters Functionality to tsa
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/api.py", "new_path": "statsmodels/tsa/api.py", "diff": "@@ -24,3 +24,4 @@ from .statespace.varmax import VARMAX\nfrom .statespace.dynamic_factor import DynamicFactor\nfrom .regime_switching.markov_regression import MarkovRegression\nfrom .regim...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Adding Holtwinters Functionality to tsa
641,927
13.07.2017 14:08:21
-7,200
69ffd3bea387e81bf6a8fc55573d5ed828cae673
fixed some errros based on the tarvis accuracy for the decimals
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -325,9 +325,9 @@ def holt_winters(data, alpha=None, beta=None, gamma=None, m=None, h=1, trend=Non\nb[0] = b0\ns[:m] = s0\nphi_h = np.cumsum(np.repeat(phi,h)**np.arange(1...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed some errros based on the tarvis accuracy for the decimals
641,927
13.07.2017 14:43:03
-7,200
b4e685a54d63c0381018a8069ed8b8eb412c548a
fixed missing inv_boxcox in scipy < 0.19
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -11,7 +11,11 @@ import warnings\nfrom collections import namedtuple\nfrom scipy.stats import boxcox\n+try:\nfrom scipy.special import inv_boxcox\n+except ImportError:\n+...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed missing inv_boxcox in scipy < 0.19
641,927
13.07.2017 14:58:29
-7,200
1f8362d85535ee8684a9a2037f5a5b6c371a1f76
increased test code coverage except for the unstable versions
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_holtwinters.py", "new_path": "statsmodels/tsa/tests/test_holtwinters.py", "diff": "@@ -80,8 +80,12 @@ class TestHoltWinters(object):\ndef test_hw_seasonal(self):\nfit1 = holt_winters(self.aust, h=8, m=4, trend='add', seasonal='add', ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
increased test code coverage except for the unstable versions
641,927
13.07.2017 15:23:10
-7,200
0a1396eeeeab20fdae62485e9a2ededed675b9fd
fixed some version issues for pandas < 0.19 in test cases
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_holtwinters.py", "new_path": "statsmodels/tsa/tests/test_holtwinters.py", "diff": "@@ -17,22 +17,22 @@ class TestHoltWinters(object):\ndef setupClass(cls):\noildata_oil_json = '{\"851990400000\":446.6565229,\"883526400000\":454.47330...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed some version issues for pandas < 0.19 in test cases
641,927
13.07.2017 15:49:49
-7,200
13ccd1d6405c387b8879953d254702b85d71e6d3
added some more test coverage to test the unstable models
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_holtwinters.py", "new_path": "statsmodels/tsa/tests/test_holtwinters.py", "diff": "@@ -82,10 +82,14 @@ class TestHoltWinters(object):\nfit2 = holt_winters(self.aust, h=8, m=4, trend='add', seasonal='mul', boxcoxed=True)\nfit3 = holt_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
added some more test coverage to test the unstable models
641,927
13.07.2017 16:16:46
-7,200
53e56a35c73276d9e219399c42c1a7b6fb230956
fixed additional bug related boxcox='log'
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -370,7 +370,7 @@ def holt_winters(data, alpha=None, beta=None, gamma=None, m=None, h=1, trend=Non\nb[i:] = dampen(b[i],phi_h)\nfitted = trended(l,b)\nlevel = l[:i].copy(...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed additional bug related boxcox='log'
641,927
14.07.2017 14:13:35
-7,200
a2a760a2ee750972c7df5cbaddf87c1e4c85112a
fixed lam6da to lamda
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -15,7 +15,7 @@ from scipy.stats import boxcox\ntry:\nfrom scipy.special import inv_boxcox\nexcept ImportError:\n- inv_boxcox = lambda x, lam6da: (x**lam6da-1)/lam6da if ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed lam6da to lamda
641,927
14.07.2017 15:26:34
-7,200
1ce3a48dfc6cdaf9a3621433802a15c465c619e2
Changed function name in api.py
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/api.py", "new_path": "statsmodels/tsa/api.py", "diff": "@@ -24,4 +24,4 @@ from .statespace.varmax import VARMAX\nfrom .statespace.dynamic_factor import DynamicFactor\nfrom .regime_switching.markov_regression import MarkovRegression\nfrom .regim...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Changed function name in api.py
641,927
14.07.2017 16:03:31
-7,200
f8dcdf4a628d5bc0402e53521310f401540985e4
had to fix inv_boxcox to replicate the code scipy to past the tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "-#!/usr/bin/env python3\n-# -*- coding: utf-8 -*-\n\"\"\"\nCreated on Wed Jul 12 09:35:35 2017\n@@ -15,12 +13,11 @@ from scipy.stats import boxcox\ntry:\nfrom scipy.special...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
had to fix inv_boxcox to replicate the code scipy to past the tests
641,927
29.09.2017 09:55:10
-7,200
1fa382e944e5d512221a7cd8e5a0e182607b7b59
fixed up the tsa.api to reflect the new class
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/api.py", "new_path": "statsmodels/tsa/api.py", "diff": "@@ -24,4 +24,4 @@ from .statespace.varmax import VARMAX\nfrom .statespace.dynamic_factor import DynamicFactor\nfrom .regime_switching.markov_regression import MarkovRegression\nfrom .regim...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed up the tsa.api to reflect the new class
641,927
29.09.2017 13:18:03
-7,200
fc30156a8aa335a8f48a5d03f0e2154dfe5fe56e
created sub classes of Exponential Smoothing fixed up test removed the static methods autpep8 without aggressive
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -208,13 +208,11 @@ class HoltWintersResultsWrapper(wrap.ResultsWrapper):\n'level': 'rows',\n'resid': 'rows',\n'season': 'rows',\n- 'slope': 'rows'\n- }\n- _wrap_attrs = ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
created sub classes of Exponential Smoothing fixed up test removed the static methods autpep8 without aggressive
641,927
29.09.2017 13:23:28
-7,200
ef14da6c43033f8bb510098754f792cef11ab64b
updated .api
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/api.py", "new_path": "statsmodels/tsa/api.py", "diff": "@@ -24,4 +24,4 @@ from .statespace.varmax import VARMAX\nfrom .statespace.dynamic_factor import DynamicFactor\nfrom .regime_switching.markov_regression import MarkovRegression\nfrom .regim...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
updated .api
641,927
29.09.2017 13:36:45
-7,200
4afbb1aa1ece82db5c022029f3bd1079128f4c70
fixed backward compatability in inv_boxcox tried to sort out imports causing cyclic alert
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -14,9 +14,9 @@ Author: Terence L van Zyl\n\"\"\"\nimport numpy as np\n-import statsmodels.base.model as base\n-import statsmodels.base.wrapper as wrap\n-import statsmode...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed backward compatability in inv_boxcox tried to sort out imports causing cyclic alert
641,927
29.09.2017 15:21:29
-7,200
a5dd5a3b53418808df2eaf6b055e4916ea1ab78e
increased coverage of tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -270,8 +270,28 @@ class ExponentialSmoothing(TimeSeriesModel):\nself.m = 0\ndef predict(self, params, start=None, end=None):\n+ \"\"\"\n+ Returns in-sample and out-of-sa...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
increased coverage of tests
641,927
02.10.2017 18:12:49
-7,200
8509daa9e4414f5b2f645e7de20de4c5222958d4
getting documentaioon up to date
[ { "change_type": "MODIFY", "old_path": "docs/source/tsa.rst", "new_path": "docs/source/tsa.rst", "diff": "@@ -119,6 +119,20 @@ Autogressive Moving-Average Processes (ARMA) and Kalman Filter\narima_model.ARIMAResults\nkalmanf.kalmanfilter.KalmanFilter\n+\n+Exponential Smoothing ()\n+~~~~~~~~~~~~~~~~~...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
getting documentaioon up to date
641,927
23.10.2017 14:46:48
-7,200
bb8338ef2c89f15bec6f4e416fca46bceebb9247
passing all unit tests on my machine
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -680,11 +680,11 @@ class ExponentialSmoothing(TimeSeriesModel):\nif use_boxcox or use_boxcox == 'log' or isinstance(use_boxcox, float):\nfitted = inv_boxcox(fitted, lamd...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
passing all unit tests on my machine
641,927
23.10.2017 16:59:53
-7,200
8274e4ea78a15e4d96720867dc07b633b9f4f84d
fixed exception without a specific type
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -314,7 +314,8 @@ class HoltWintersResults(Results):\nstart = self.model._index[-1] + 1\nend = self.model._index[-1] + steps\nreturn self.model.predict(self.params, start...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed exception without a specific type
641,927
02.11.2017 14:20:42
-7,200
44aef6f5f505e8236acee3edcd16b37873d52ef3
added better unit tests, fixed level; and slope
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -359,8 +359,8 @@ class ExponentialSmoothing(TimeSeriesModel):\n-----\nThis is a full implementation of the holt winters exponential smoothing as\nper [1]. This includes ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
added better unit tests, fixed level; and slope
641,927
02.11.2017 15:00:51
-7,200
86e37403da949e35aae9c8293f5f208581ee844a
fixed some typos, set correct dates. neaten code
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -360,7 +360,7 @@ class ExponentialSmoothing(TimeSeriesModel):\nThis is a full implementation of the holt winters exponential smoothing as\nper [1]. This includes all the...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed some typos, set correct dates. neaten code
641,927
02.11.2017 15:52:30
-7,200
bebe61872cdb705fcf3cade4b5aebd47b92a87df
addressing some of comments
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters.py", "new_path": "statsmodels/tsa/holtwinters.py", "diff": "@@ -31,11 +31,12 @@ from scipy.stats import boxcox\ndef _holt_init(x, xi, p, y, l, b):\n\"\"\"Initialization for the Holt Models\"\"\"\np[xi] = x\n- alpha, beta, _, l0, b0,...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
addressing some of @Chad comments
641,927
02.11.2017 16:48:40
-7,200
d9f180479a8146eae138e2130835e8acd5884a21
had to reduce precison on a unit test due to limitations on old versions of scipy 0.14
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_holtwinters.py", "new_path": "statsmodels/tsa/tests/test_holtwinters.py", "diff": "@@ -101,7 +101,8 @@ class TestHoltWinters(object):\nassert_almost_equal(fit2.forecast(1), [501.837461], 4)\nassert_almost_equal(fit3.forecast(1), [496...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
had to reduce precison on a unit test due to limitations on old versions of scipy 0.14
641,927
06.12.2017 11:10:16
-7,200
cb1dbe738952d56d4fb53d3f85f168778ca5cb5e
fixed the notebook with the latest changes to the api as requested
[ { "change_type": "MODIFY", "old_path": "examples/notebooks/exponential_smoothing.ipynb", "new_path": "examples/notebooks/exponential_smoothing.ipynb", "diff": "\"execution_count\": null,\n\"metadata\": {\n\"ExecuteTime\": {\n- \"end_time\": \"2017-10-23T11:48:48.450816Z\",\n- \"start_time\": \"2017-...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed the notebook with the latest changes to the api as requested
641,971
21.12.2017 19:34:42
18,000
7d7d267d3f5dfa1b97c12f2a27579e491e2abeda
REF/DOC: factor_scoring add transform handling, warnings, improve docstrings
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -25,11 +25,12 @@ _opt_defaults = {'gtol': 1e-7}\ndef _check_args_1(endog, n_factor, corr, nobs):\n- msg = \"Either endog or corr must be provided, but not both\"...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/DOC: factor_scoring add transform handling, warnings, improve docstrings
641,971
21.12.2017 22:32:36
18,000
a2d0e091adbeccb63207ebc334c82e1907d69982
DOC/tst: small fix tsa.rst, line length in tests
[ { "change_type": "MODIFY", "old_path": "docs/source/tsa.rst", "new_path": "docs/source/tsa.rst", "diff": "@@ -120,8 +120,8 @@ Autogressive Moving-Average Processes (ARMA) and Kalman Filter\nkalmanf.kalmanfilter.KalmanFilter\n-Exponential Smoothing ()\n-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+Exponenti...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC/tst: small fix tsa.rst, line length in tests
641,948
23.12.2017 23:57:43
-28,800
d70e565a47a62f3763d1814c99d49cefc818fefc
DOC: fix patsy.dmatrices np array example Use return_type='matrix' instead of return_type='dataframe'. Document that the former returns patsy.DesignMatrix, which is a sub-class of np.ndarray.
[ { "change_type": "MODIFY", "old_path": "docs/source/example_formulas.rst", "new_path": "docs/source/example_formulas.rst", "diff": "@@ -158,10 +158,12 @@ To generate ``numpy`` arrays:\nimport patsy\nf = 'Lottery ~ Literacy * Wealth'\n- y, X = patsy.dmatrices(f, df, return_type='dataframe')\n+ y, X =...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: fix patsy.dmatrices np array example Use return_type='matrix' instead of return_type='dataframe'. Document that the former returns patsy.DesignMatrix, which is a sub-class of np.ndarray.
641,971
07.01.2018 10:56:12
18,000
f1c8c2fb23b57a3406df337bd9a36fc8e6d61c1d
TST: add unit tests GLM-Gaussian fit_constrained issue
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/genmod/tests/test_constrained.py", "diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Unit tests for fit_constrained\n+Tests for Poisson and Binomial are in discrete\n+\n+\n+Created on Sun Jan 7 09:21:39 2018\n+\n+Author: Josef Perktold\n+...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: add unit tests GLM-Gaussian fit_constrained issue #4193
641,971
07.01.2018 15:09:39
18,000
7ede34859a4157ef083f8e1a147c5d04c5507739
BUG: seasonal_decompose, fix extrapolation with 1-D closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/seasonal.py", "new_path": "statsmodels/tsa/seasonal.py", "diff": "@@ -34,12 +34,18 @@ def _extrapolate_trend(trend, npoints):\nk, n = np.linalg.lstsq(\nnp.c_[np.arange(front, front_last), np.ones(front_last - front)],\ntrend[front:front_last])[...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: seasonal_decompose, fix extrapolation with 1-D closes #4196
641,971
07.01.2018 16:48:33
18,000
5a7582aeb3534fa32a1c09d00c7d8157a2b39838
ENH fix scaling factor in cov_type closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/covtype.py", "new_path": "statsmodels/base/covtype.py", "diff": "@@ -136,6 +136,9 @@ def get_robustcov_results(self, cov_type='HC1', use_t=None, **kwds):\nif 'kernel' in kwds:\nkwds['weights_func'] = kwds.pop('kernel')\n+ # pop because HCx rai...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH fix scaling factor in cov_type closes #4198
641,971
07.01.2018 16:50:45
18,000
f94acdf44c60e9bb08eef6e70321ef1cf4feefa0
TST: GLM Binomial fit_constrained with cov_type='HC0' against Stata
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_constrained.py", "new_path": "statsmodels/discrete/tests/test_constrained.py", "diff": "@@ -491,6 +491,34 @@ class TestGLMLogitConstrained2(CheckGLMConstrainedMixin):\nassert_allclose(res_wrap.params, res2.params, rtol=1e-6)\n+c...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: GLM Binomial fit_constrained with cov_type='HC0' against Stata
641,971
07.01.2018 20:21:04
18,000
a2e65a2c8131547b6f2de5fa9107f96be21c2c8d
REF/BUG/ENH: fit_constrained set cov_params_default, closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_constraints.py", "new_path": "statsmodels/base/_constraints.py", "diff": "@@ -302,7 +302,13 @@ def fit_constrained_wrap(model, constraints, start_params=None, **fit_kwds):\nres = self.fit(start_params=params, maxiter=0,\nwarn_convergence=Fals...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/BUG/ENH: fit_constrained set cov_params_default, closes #4193
642,065
02.08.2017 19:53:43
18,000
ae09516c3a32bb7d78bdc2eecf9e40e17271b718
BUG/ENH: Revise genmod's scale calculation and update loglike functions per SPSS manual
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -232,9 +232,10 @@ class Family(object):\n\"\"\"\nreturn self.link(mu)\n- def loglike(self, endog, mu, iweights=1., scale=1.):\n+ def loglike_obs(self, endo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/ENH: Revise genmod's scale calculation and update loglike functions per SPSS manual
642,065
05.08.2017 15:52:45
18,000
5cfe3c91e702dba75755e33d3c665e689cfae8b2
All loglike's working but gaussian and Tweedie...
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -816,7 +816,7 @@ class Gamma(Family):\nweight_scale = var_weights / scale\nll_obs = weight_scale * np.log(weight_scale * endog_mu)\nll_obs -= weight_scale ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
All loglike's working but gaussian and Tweedie...
642,065
05.08.2017 21:36:40
18,000
6b8a24b68f8b1ade2dcba7740d7f96a4e2ca6739
Refactored deviance calculation Remove yield statement from tests Updated tests to match R
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -131,7 +131,7 @@ class Family(object):\n\"\"\"\nreturn 1. / (self.link.deriv(mu)**2 * self.variance(mu))\n- def deviance(self, endog, mu, iweights=1., scal...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Refactored deviance calculation Remove yield statement from tests Updated tests to match R
642,065
06.08.2017 18:12:14
18,000
468c6967c291f3f164c7f178a097ed46126022de
For classicial OLS, it appears that the big difference is that the Pearson chi2 scale estimate is simply divided by nobs instead of df_resid.
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -594,6 +594,8 @@ class Gaussian(Family):\nll_i = -1 / 2 \\sum_i * iweights_i * ((Y_i - mu_i)^2 / scale +\n\\log(2 * \\pi * scale))\n\"\"\"\n+ if isinstance...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
For classicial OLS, it appears that the big difference is that the Pearson chi2 scale estimate is simply divided by nobs instead of df_resid.
642,065
13.08.2017 13:58:01
18,000
78dcce22993de5b11e07f8636e3e474c535707ac
Doc pep8 and formatting fixes Correctly calculate scale for gaussian loglike with identity link
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -36,25 +36,18 @@ class Family(object):\n# TODO: change these class attributes, use valid somewhere...\nvalid = [-np.inf, np.inf]\nlinks = []\n- family_doc ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Doc pep8 and formatting fixes Correctly calculate scale for gaussian loglike with identity link
642,065
13.08.2017 14:48:58
18,000
a50dc81c3d6bd96748b8912a2b5620331810f320
Simplify binomial loglike
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -905,14 +905,13 @@ class Binomial(Family):\ndefined in Binomial initialize. This simply makes :math:`y_i` the\noriginal number of successes.\n\"\"\"\n- if ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Simplify binomial loglike
642,065
20.08.2017 12:09:13
18,000
2c3e1e16f55c948226e596ea31aba70795367f96
DOC: A few documentation bugs/bad references
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -133,7 +133,7 @@ class Family(object):\ndef deviance(self, endog, mu, var_weights=1., freq_weights=1., scale=1.):\nr\"\"\"\nThe deviance function evaluated...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: A few documentation bugs/bad references
642,065
31.10.2017 16:24:34
18,000
6f13fe903bcf399113a96f9d8323d7c943b62c49
Test coverage summary
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_glm_weights.py", "new_path": "statsmodels/genmod/tests/test_glm_weights.py", "diff": "-\"\"\"Test for weights in GLM, Poisson and OLS/WLS, continuous test_glm.py\n-\n+\"\"\"\n+Test for weights in GLM, Poisson and OLS/WLS, continuo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Test coverage summary
642,065
06.11.2017 13:14:03
21,600
b788d147b3c903cbff8526248d39148ab934a29e
Enable bfgs/newton comparison
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_glm_weights.py", "new_path": "statsmodels/genmod/tests/test_glm_weights.py", "diff": "@@ -3,27 +3,27 @@ Test for weights in GLM, Poisson and OLS/WLS, continuous test_glm.py\nBelow is a table outlining the test coverage.\n-========...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Enable bfgs/newton comparison
642,065
06.11.2017 13:53:32
21,600
35100526b811dc5fc28aadcacc07150dfa899fec
Newton works for TestBinomial0RepeatedvsAverage ... I think the case is just too difficult.
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_glm_weights.py", "new_path": "statsmodels/genmod/tests/test_glm_weights.py", "diff": "@@ -6,23 +6,23 @@ Below is a table outlining the test coverage.\n================================= ====================== ====== ===============...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Newton works for TestBinomial0RepeatedvsAverage ... I think the case is just too difficult.
642,065
07.11.2017 11:18:02
21,600
492a9382c5d068c1bba8f1a1af97c003730ee4d1
Binomial is already checked in the test_wtd_gradient_irls test. This is not stable.
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_glm_weights.py", "new_path": "statsmodels/genmod/tests/test_glm_weights.py", "diff": "@@ -19,7 +19,7 @@ TestRepeatedvsAggregated statsmodels.GLM X X\nTestRepeatedvsAverage statsmodels.GLM X X bfgs\nTestTweedieRepeatedvsAggregated ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Binomial is already checked in the test_wtd_gradient_irls test. This is not stable.
642,065
10.11.2017 12:37:44
21,600
c4f29dd858c4a5fb7b004b433d2aaafb5587b6f4
Remove duplicate pytest in test_glm_weights and formatting/doc review
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -156,16 +156,19 @@ class GLM(base.LikelihoodModel):\nNotes\n-----\n- Only the following combinations make sense for family and link ::\n-...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Remove duplicate pytest in test_glm_weights and formatting/doc review
642,065
06.01.2018 12:45:15
21,600
77d56ba9396d96173add3996395b5ccf45042b1a
Add a format to scale in summary
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -1681,7 +1681,7 @@ class GLMResults(base.LikelihoodModelResults):\ntop_right = [('No. Observations:', None),\n('Df Residuals:', None),\n(...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add a format to scale in summary
641,971
08.01.2018 08:20:48
18,000
8a65fc31eb923eafaf9b01a31040b580bfb2fe05
remove matplotlib import, adjust close() in tests, rename test file
[ { "change_type": "MODIFY", "old_path": "statsmodels/graphics/agreement.py", "new_path": "statsmodels/graphics/agreement.py", "diff": "@@ -6,8 +6,6 @@ License: BSD-3\n'''\nimport numpy as np\n-import matplotlib.pyplot as plt\n-\nfrom . import utils\ndef mean_diff_plot(m1, m2,\n@@ -152,5 +150,5 @@ def...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
remove matplotlib import, adjust close() in tests, rename test file
642,065
07.01.2018 22:47:09
21,600
24d8a78bcd35f66d3a5fcb8e94bf952cde3d746e
Add var_weights test to constrained fits, reduce rtol for scale, add cov_type to summary
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -1431,7 +1431,7 @@ class GLMResults(base.LikelihoodModelResults):\nself.use_t = use_t\n# temporary warning\n- ct = (cov_type == 'nonrobus...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add var_weights test to constrained fits, reduce rtol for scale, add cov_type to summary
642,065
13.01.2018 11:33:16
21,600
c1da9f8c7a179bedb549fd0419a7ba681974a85f
pytest.mark.xfail in front of a class seems to mark all succeeding classes in the file for xfail. I think you should only run it on a function.
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_glm_weights.py", "new_path": "statsmodels/genmod/tests/test_glm_weights.py", "diff": "@@ -178,7 +178,6 @@ class TestGlmPoissonAwNr(CheckWeight):\n# prob_weights fail with HC, not properly implemented yet\n-@pytest.mark.xfail\nclas...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
pytest.mark.xfail in front of a class seems to mark all succeeding classes in the file for xfail. I think you should only run it on a function.
642,065
13.01.2018 07:24:20
21,600
bb8fba9d4d9883be2991b43b29bfa3a9c3fb325a
Replace WarningManager with catch_warnings Used np.vectorize to strip the excess string identfiers and switch from string check to integer check for counts. Replaced rec.array with pd.DataFrame... life is easier.
[ { "change_type": "MODIFY", "old_path": "statsmodels/formula/tests/test_formula.py", "new_path": "statsmodels/formula/tests/test_formula.py", "diff": "@@ -8,7 +8,6 @@ from statsmodels.datasets.longley import load, load_pandas\nimport numpy.testing as npt\nfrom statsmodels.tools.testing import assert_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Replace WarningManager with catch_warnings Used np.vectorize to strip the excess string identfiers and switch from string check to integer check for counts. Replaced rec.array with pd.DataFrame... life is easier.
642,065
09.01.2018 15:56:36
21,600
b57d9624a3db5f85685667ffaffbbc7fa60d00d7
Weight anscombe residuals Revert resid_anscombe to unscaled. Add scaled equivalent.
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -308,7 +308,7 @@ class Family(object):\nll_obs = self.loglike_obs(endog, mu, var_weights, scale)\nreturn np.sum(ll_obs * freq_weights)\n- def resid_anscomb...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Weight anscombe residuals Revert resid_anscombe to unscaled. Add scaled equivalent.
642,065
15.01.2018 11:39:11
21,600
b64bf2b04bd80bb4cf4ef4645edffddb25d24bbb
Josef's comments and added a test for poisson
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -281,7 +281,7 @@ class Family(object):\nmu : array\nUsually but not always the fitted mean response variable.\nvar_weights : array-like\n- 1d array of vari...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Josef's comments and added a test for poisson
642,065
16.01.2018 12:28:51
21,600
69d1df120dcdec702ee2fc2901fd02941efc04ae
Rework resid_dev for each family as _resid_dev. Make resid_dev a method in the superclass.
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -161,8 +161,8 @@ class Family(object):\n.. math::\n- D = 2\\sum_i (freq\\_weights_i * (llf(endog_i, endog_i) -\n- llf(endog_i, \\mu_i)))\n+ D = 2\\sum_i (f...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Rework resid_dev for each family as _resid_dev. Make resid_dev a method in the superclass.
642,065
16.01.2018 18:27:22
21,600
adcd5ba2a47ddaef5de0483efd027cbf71950990
Small doc fix and adding test case
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -1048,8 +1048,6 @@ class InverseGaussian(Family):\nThe endogenous response variable.\nmu : array\nThe inverse of the link function at the linear predicted ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Small doc fix and adding test case
642,048
18.01.2018 08:46:38
18,000
bd3ab9abbd421f096a651f74146874fb1985ccf3
add additional em tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/tests/test_ml_factor.py", "new_path": "statsmodels/multivariate/tests/test_ml_factor.py", "diff": "@@ -62,6 +62,45 @@ def test_exact():\nrslt.summary() # smoke test\n+def test_exact_em():\n+ # Test if we can recover exact factor-struct...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add additional em tests
642,048
18.01.2018 10:34:54
18,000
8031f0c24de96dfd29a9563b60e8b6db40012e4b
linear algebra optimization for EM
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -448,26 +448,33 @@ class Factor(Model):\nfor k in range(iter):\nloadu = load / uniq[:, None]\n+\nf = np.dot(load.T, loadu)\nf.flat[::f.shape[0]+1] += 1\n- flu = ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
linear algebra optimization for EM
642,033
20.01.2018 20:46:58
0
1d568c3ecc36a2c11d1db417ec3251700da49753
BUG: changed np.linalg.pinv to np.linalg.inv in _get_sigma (Removed comments)
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -165,11 +165,6 @@ def _get_sigma(sigma, nobs):\nif sigma.shape != (nobs, nobs):\nraise ValueError(\"Sigma must be a scalar, 1d of length %s or a 2d \"\n\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: changed np.linalg.pinv to np.linalg.inv in _get_sigma (Removed comments)
641,862
21.01.2018 21:02:22
-3,600
69b05efccf0fbda07103d0c24280fd17c7f5764f
STY: Fixed some pep8 violations, removed unused imports
[ { "change_type": "MODIFY", "old_path": "statsmodels/nonparametric/bandwidths.py", "new_path": "statsmodels/nonparametric/bandwidths.py", "diff": "@@ -4,8 +4,6 @@ import numpy as np\nfrom scipy.stats import scoreatpercentile as sap\nfrom statsmodels.sandbox.nonparametric import kernels\n-#from scipy....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
STY: Fixed some pep8 violations, removed unused imports
641,831
31.01.2018 20:46:28
18,000
b49d3a714eb8737deee296cc0ba19e4b94ddcf37
REF: use full dtype in issubdtype call
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/kalmanf/kalmanfilter.py", "new_path": "statsmodels/tsa/kalmanf/kalmanfilter.py", "diff": "@@ -574,10 +574,10 @@ class KalmanFilter(object):\n\"\"\"\nReturns just the errors of the Kalman Filter\n\"\"\"\n- if issubdtype(paramsdtype, float):\n+ i...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: use full dtype in issubdtype call
642,065
19.02.2018 12:17:29
21,600
62cd8086c67504605681514b8777cc17f66fe075
Install conda3 instead
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -69,11 +69,10 @@ notifications:\n# Setup anaconda\nbefore_install:\n- - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh\n+ - wget http://repo.continuum.io/miniconda/M...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Install conda3 instead
641,995
25.02.2018 13:06:55
18,000
e06c881b9c1b5485fecb634fe83a38030e4631ec
TST: Modify test for summary col regressor order to catch issue
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/tests/test_summary2.py", "new_path": "statsmodels/iolib/tests/test_summary2.py", "diff": "import warnings\nimport numpy as np\n+import pandas as pd\nfrom numpy.testing import assert_equal\nfrom statsmodels.iolib.summary2 import summary_col\n@...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Modify test for summary col regressor order to catch issue #3767
641,995
25.02.2018 13:13:52
18,000
8e5b0a330cbd142e1c23315f00822cfbd3899d08
BUG: Fix summary col reordering regressors without reordering coefficients, fixing
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/summary2.py", "new_path": "statsmodels/iolib/summary2.py", "diff": "@@ -488,7 +488,7 @@ def summary_col(results, float_format='%.4f', model_names=(), stars=False,\norder = ordered + list(np.unique(unordered))\nf = lambda idx: sum([[x + 'coef'...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Fix summary col reordering regressors without reordering coefficients, fixing #3767
642,065
25.02.2018 18:57:43
21,600
6e1d1c0ff645e3cde990187d26fc25d9742e17e1
Notebook shoudl probably use Gaussian distribution for GLM fit
[ { "change_type": "MODIFY", "old_path": "examples/notebooks/distributed_estimation.ipynb", "new_path": "examples/notebooks/distributed_estimation.ipynb", "diff": "},\n{\n\"cell_type\": \"code\",\n- \"execution_count\": 1,\n- \"metadata\": {\n- \"collapsed\": false\n- },\n+ \"execution_count\": null,\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Notebook shoudl probably use Gaussian distribution for GLM fit
642,065
25.02.2018 23:29:45
21,600
5a9fbe4028bfc7e9feb9a72edb4fde1734e6ebad
All we have to do is update conda
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -77,8 +77,7 @@ before_install:\n- export NUMEXPR_NUM_THREADS=1\n- export OMP_NUM_THREADS=1\n- conda config --set always_yes yes\n- # Temporarily disabled until conda is fixed\n- # - conda update --quiet cond...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
All we have to do is update conda
642,065
26.02.2018 00:00:20
21,600
28c929fa9177c658632a638826edecaf821fcc93
maxiter in ARIMA is 500 [skip ci]
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/arima_model.py", "new_path": "statsmodels/tsa/arima_model.py", "diff": "@@ -850,7 +850,7 @@ class ARMA(tsbase.TimeSeriesModel):\napproximate the Hessian, projected gradient tolerance of 1e-8 and\nfactr = 1e2. You can change these by using kwarg...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
maxiter in ARIMA is 500 [skip ci]
641,831
03.03.2018 10:52:40
18,000
e67ce58ba1da341dad7e52564aa1a4cbfb4e8098
BUG: Results arparams, etc. w/ nonconsecutive lags
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/sarimax.py", "new_path": "statsmodels/tsa/statespace/sarimax.py", "diff": "@@ -1785,9 +1785,19 @@ class SARIMAXResults(MLEResults):\nself.param_terms = self.model.param_terms\nstart = end = 0\nfor name in self.param_terms:\n- end += ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Results arparams, etc. w/ nonconsecutive lags
641,831
03.03.2018 11:54:32
18,000
70b2b86275b3006cc0fcdf6904dcce6ea1b5a0b3
ENH: Add seasonalarparams, seasonalmaparams.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/sarimax.py", "new_path": "statsmodels/tsa/statespace/sarimax.py", "diff": "@@ -1842,18 +1842,40 @@ class SARIMAXResults(MLEResults):\ndef arparams(self):\n\"\"\"\n(array) Autoregressive parameters actually estimated in the model.\n- ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Add seasonalarparams, seasonalmaparams.
641,831
03.03.2018 12:07:25
18,000
b9e6c00ae6e07e3ec3cbb3224e04d4879caaaea6
TST: Add test for arparams, maparams, etc.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_sarimax.py", "new_path": "statsmodels/tsa/statespace/tests/test_sarimax.py", "diff": "@@ -1776,6 +1776,13 @@ class Test_sarimax_exogenous(SARIMAXCoverageTest):\nkwargs['exog'] = (endog - np.floor(endog))**2\nsuper(Test_sar...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add test for arparams, maparams, etc.
641,904
03.03.2018 10:09:52
28,800
20961c6ad0ff502c660c79daf877d1e8d63defb4
flake8 fixups in model.py
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "from __future__ import print_function\n-from statsmodels.compat.python import iterkeys, lzip, range, reduce\n+from statsmodels.compat.python import lzip, range, reduce\nimport numpy ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
flake8 fixups in model.py
641,904
03.03.2018 15:48:04
28,800
0e4e305b5a9e6bcec22d04942440dfd7c214ec51
get rid of redundant import
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_sandwich_cov.py", "new_path": "statsmodels/discrete/tests/test_sandwich_cov.py", "diff": "@@ -14,7 +14,6 @@ from statsmodels.genmod.generalized_linear_model import GLM\nfrom statsmodels.genmod import families\nfrom statsmodels.g...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
get rid of redundant import
641,971
03.03.2018 21:10:08
18,000
d0d1348453b86b9a868a68bdfebd99cdf40df217
TST: test_arima111_predict_exog_2127 skip for scipy < 0.16
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_arima.py", "new_path": "statsmodels/tsa/tests/test_arima.py", "diff": "@@ -3,6 +3,7 @@ from statsmodels.compat.testing import skip, skipif\nimport os\nimport warnings\n+from distutils.version import LooseVersion\nimport numpy as np\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: test_arima111_predict_exog_2127 skip for scipy < 0.16
642,048
04.01.2018 19:35:44
18,000
a0bd626f6b9cf04041d4e8d8ae0527d5d95de5f1
modify tests to be faster
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/mixed_glm.py", "new_path": "statsmodels/regression/mixed_glm.py", "diff": "@@ -63,19 +63,19 @@ class BayesMixedGLM(object):\nNotes\n-----\n- There are three types of values in the posterior: fixed effects\n- parameters (fep), correspondi...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
modify tests to be faster
642,048
04.01.2018 19:38:28
18,000
dbacfbf7390237f286448d50a6bbdc6e831d94ce
rename to specify bayes
[ { "change_type": "RENAME", "old_path": "statsmodels/regression/mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "" }, { "change_type": "RENAME", "old_path": "statsmodels/regression/tests/test_mixed_glm.py", "new_path": "statsmodels/regression/tests/test...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
rename to specify bayes
642,048
04.01.2018 20:07:21
18,000
371aed75cd434b5c0cf4bec8aae183db6f5ca04b
docstring work:
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -20,14 +20,9 @@ glw = [[0.2955242247147529, -0.1488743389816312],\n[0.0666713443086881, 0.9739065285171717]]\n-class BayesMixedGLM(object):\n- \"\"...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
docstring work:
642,048
04.01.2018 20:41:17
18,000
77e341163588e7992cfe31a3f3d0219e253a5580
remove common pieces to a superclass
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -91,6 +91,7 @@ _vb_fit_method = \"\"\"\nposterior. See the docstring to `fit_vb` for more information.\n\"\"\"\n+\nclass BayesMixedGLM(object):\n__...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
remove common pieces to a superclass
642,048
04.01.2018 22:09:34
18,000
a99f3dfe5d521e03ca42b984d23bc95402a39a70
modify to work with older scipy
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -292,7 +292,7 @@ class _VariationalBayesMixedGLM(BayesMixedGLM):\ntm = np.dot(self.exog_fe, fep_mean)\ntv = np.dot(self.exog_fe**2, fep_sd**2)\ntm ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
modify to work with older scipy
642,048
04.01.2018 22:13:14
18,000
32d4a8a316639c743d6642a3f78513e1307db22a
aviod repeated calculations
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -285,6 +285,17 @@ class BayesMixedGLM(object):\nclass _VariationalBayesMixedGLM(BayesMixedGLM):\n+ def __init__(self, endog, exog_fe, exog_vc, iden...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
aviod repeated calculations
642,048
04.01.2018 22:34:25
18,000
2d07ba8ee904b0325375cb5742431b3672138923
add docstring for results
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -431,6 +431,24 @@ class _VariationalBayesMixedGLM(BayesMixedGLM):\nclass BayesMixedGLMResults(object):\n+ \"\"\"\n+ Attributes\n+ ----------\n+ fe_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add docstring for results
642,048
05.01.2018 17:31:31
18,000
bfaa13e4b7be6e9643fd6835ee0895b70a9b63ae
change prior defaults
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -74,7 +74,9 @@ _init_doc = r\"\"\"\nThe random effect standard deviation parameters (vcp) have\nlog-normal prior distributions with mean 0 and stan...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
change prior defaults
642,048
05.01.2018 19:01:06
18,000
ac7ef804b56d7c042a588b947374f12867a62adc
add formula support
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -6,6 +6,7 @@ from statsmodels.iolib import summary2\nimport pandas as pd\nimport statsmodels\nimport warnings\n+import patsy\n# Gauss-Legendre weig...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add formula support
642,048
05.01.2018 21:23:53
18,000
45782c2566c656a7c97d54763ab5857f2b87983a
check passed starting values for proper length
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -410,13 +410,21 @@ class _VariationalBayesMixedGLM(BayesMixedGLM):\nself.verbose = verbose\nn = self.k_fep + self.k_vcp + self.k_vc\n+ ml = self.k_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
check passed starting values for proper length
642,048
06.01.2018 14:52:00
18,000
a5c2f19c54dac693c1ef7120e74ec66872d77f94
add poisson family for vb
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -62,8 +62,9 @@ _init_doc = r\"\"\"\nThere are three types of values in the posterior distribution:\nfixed effects parameters (fep), corresponding t...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add poisson family for vb
642,048
06.01.2018 22:42:34
18,000
c9409744d221cfe4a115e3063e6de3d0695d0ad6
refactor to better dry
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -356,6 +356,13 @@ class _VariationalBayesMixedGLM(BayesMixedGLM):\nimplementations.\n\"\"\"\n+ # Integration range (from -rng to +rng). The integra...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
refactor to better dry
642,048
06.01.2018 22:46:16
18,000
be12115aac3d5e7f2a54e04022d6f162a0214d09
fix self assignment
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -311,8 +311,7 @@ class BayesMixedGLM(object):\nif vcp_names is None:\nvcp_names = [\"VC_%d\" % (k + 1) for k in range(len(vc_formulas))]\n- else:\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix self assignment
642,048
06.01.2018 23:14:38
18,000
377f84e1e7805c9a273791a9e0b9d4816574d021
privatize base class, restructure as mixin
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -3,8 +3,8 @@ import numpy as np\nfrom scipy.optimize import minimize\nfrom scipy import sparse\nfrom statsmodels.iolib import summary2\n+import sta...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
privatize base class, restructure as mixin
642,048
07.01.2018 12:42:32
18,000
d9234557e7009f197889de2e416656d3c6c38913
modify unstable test
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "+\"\"\"\n+Bayesian inference for generalized linear mixed models.\n+\n+Currently only families without additional scale or shape parameters\n+are supp...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
modify unstable test
642,048
07.01.2018 12:48:53
18,000
3cbb0f28cb548116009cb57e80c08495a3b5f297
rectify method names
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -401,8 +401,8 @@ class _VariationalBayesMixedGLM(object):\nreturn tm, tv\n- def vb_elbo(self, h, tm, fep_mean, vcp_mean, vc_mean, fep_sd,\n- vcp_sd...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
rectify method names
642,048
07.01.2018 17:35:06
18,000
21e77dd10cd40a2ff1cce643f6990bc9359ab838
poisson test fails on old scipy
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_bayes_mixed_glm.py", "new_path": "statsmodels/regression/tests/test_bayes_mixed_glm.py", "diff": "@@ -334,7 +334,7 @@ def test_crossed_logit_vb_formula():\ndef test_crossed_poisson_vb():\n- y, exog_fe, exog_vc, ident = gen_cro...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
poisson test fails on old scipy
642,048
07.01.2018 18:47:00
18,000
7e2ec7d40b2f81002714b3c525c5cb88134fbd30
more work on poisson vb test
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_bayes_mixed_glm.py", "new_path": "statsmodels/regression/tests/test_bayes_mixed_glm.py", "diff": "@@ -348,9 +348,9 @@ def test_crossed_poisson_vb():\nrslt2.summary()\nassert_allclose(rslt1.params[0:5], np.r_[\n- -0.46012702, 0...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
more work on poisson vb test
642,048
08.01.2018 12:04:16
18,000
fef9661cebc125882d58a146b98ba06f5826ba6d
more checking of input parameters
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -135,6 +135,10 @@ class _BayesMixedGLM(object):\nfamily = sm.families.Gaussian()\nwarnings.Warn(\"Defaulting to Gaussian family\")\n+ if len(ident)...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
more checking of input parameters
642,048
11.01.2018 21:55:59
18,000
90d4e34ce352847303fc8277ce3a31cc0037c297
add method to extract random effect parameters
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -146,7 +146,7 @@ class _BayesMixedGLM(object):\ndef __init__(self, endog, exog_fe, exog_vc, ident, vcp_p=1,\nfe_p=2, family=None, fep_names=None,\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add method to extract random effect parameters
642,048
12.01.2018 22:28:56
18,000
fb9363cf65310e9ac78c4e61a377e3af038cb1c5
continue working on tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_bayes_mixed_glm.py", "new_path": "statsmodels/regression/tests/test_bayes_mixed_glm.py", "diff": "@@ -2,6 +2,8 @@ import numpy as np\nfrom statsmodels.regression.bayes_mixed_glm import (\nBinomialBayesMixedGLM, PoissonBayesMix...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
continue working on tests
642,048
12.01.2018 22:59:13
18,000
361d27422f75bd68e90b591a0a8837e8442ea561
use numdiff for hessian
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -406,7 +406,11 @@ class _BayesMixedGLM(object):\nnp.sqrt(np.sum(r.jac**2)))\nwarnings.warn(msg)\n- return BayesMixedGLMResults(self, r.x, r.hess_in...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
use numdiff for hessian
642,048
14.01.2018 12:04:45
18,000
3d40ce2c88f5c3d9f44a47e74ef95ef792679621
mored documentation work
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/bayes_mixed_glm.py", "new_path": "statsmodels/regression/bayes_mixed_glm.py", "diff": "@@ -139,6 +139,18 @@ _init_doc = r\"\"\"\nExamples\n--------{example}\n+\n+\n+ References\n+ ----------\n+ Introduction to generalized linear mixed mo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
mored documentation work
642,048
21.01.2018 17:40:12
18,000
542d9fc5c11b898403ad8e1f8fc91763222dea8b
add classes to genmod api
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/api.py", "new_path": "statsmodels/genmod/api.py", "diff": "from .generalized_linear_model import GLM\nfrom .generalized_estimating_equations import GEE, OrdinalGEE, NominalGEE\n+from .bayes_mixed_glm import BinomialBayesMixedGLM, PoissonBaye...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add classes to genmod api
642,048
21.01.2018 17:58:49
18,000
293a20cf5da44b67396b29e2a07479015f1ea00a
Docs, release notes, api, etc.
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/source/mixed_glm.rst", "diff": "+.. currentmodule:: statsmodels.genmod.bayes_mixed_glm\n+\n+Generalized Linear Mixed Effects Models\n+=======================================\n+\n+Generalized Linear Mixed Effects (GLIMMIX) models are general...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Docs, release notes, api, etc.
642,048
21.01.2018 18:01:59
18,000
51c56ae11d2f73e50e6b9c21bca346b0d4c076f6
spelling errors in docs
[ { "change_type": "MODIFY", "old_path": "docs/source/mixed_glm.rst", "new_path": "docs/source/mixed_glm.rst", "diff": "@@ -9,9 +9,9 @@ Statsmodels currently supports estimation of binomial and Poisson\nGLIMMIX models using two Bayesian methods: the Laplace approximation\nto the posterior, and a varia...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
spelling errors in docs
642,048
03.02.2018 16:39:00
18,000
c231dba9709d970d43adc5198dd83051b57b1ebb
refactor so that h() is easier to define
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/bayes_mixed_glm.py", "new_path": "statsmodels/genmod/bayes_mixed_glm.py", "diff": "@@ -149,7 +149,8 @@ _init_doc = r\"\"\"\nSAS documentation:\nhttps://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_intromix...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
refactor so that h() is easier to define
642,048
26.02.2018 08:46:33
18,000
90ad21c272c77f0f7f4a88401f508c82be882570
change formula interface to resemble MixedLM
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/bayes_mixed_glm.py", "new_path": "statsmodels/genmod/bayes_mixed_glm.py", "diff": "@@ -8,7 +8,8 @@ Two estimation approaches are supported: Laplace approximation\n(maximum a posteriori), and variational Bayes (mean field\napproximation to th...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
change formula interface to resemble MixedLM
641,904
05.03.2018 17:22:27
28,800
8c13ee650b50261770a817eeeed82f64ab4c97f7
fix unclosed files
[ { "change_type": "MODIFY", "old_path": "statsmodels/datasets/template_data.py", "new_path": "statsmodels/datasets/template_data.py", "diff": "@@ -58,6 +58,6 @@ def load_pandas():\ndef _get_data():\nfilepath = dirname(abspath(__file__))\n##### EDIT THE FOLLOWING TO POINT TO DatasetName.csv #####\n- d...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix unclosed files
642,048
06.03.2018 09:58:16
18,000
3cb06e105d98aad43e1e5b85a62189595c9cd83a
New tests for mixedlm
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_lme.py", "new_path": "statsmodels/regression/tests/test_lme.py", "diff": "@@ -363,6 +363,62 @@ class TestMixedLM(object):\nassert_allclose(result.params, result2.params)\nassert_allclose(result.bse, result2.bse)\n+ def test_di...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
New tests for mixedlm