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
24.11.2021 16:41:18
18,000
c01f2b13c97c74bf270b420357150c0adb04fd9b
ENH: add agg_weights to get_prediction
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_prediction_inference.py", "new_path": "statsmodels/base/_prediction_inference.py", "diff": "@@ -625,6 +625,7 @@ def get_prediction_delta(\nexog=None,\nwhich=\"mean\",\naverage=False,\n+ agg_weights=None,\ntransform=True,\nrow_labels=None,\npr...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add agg_weights to get_prediction
641,971
25.11.2021 11:04:01
18,000
41ea243d30d385376972d05b6b0719b1c8ae850b
REF/ENH: BetaModel: add which="var", privatize predict_var, _precision
[ { "change_type": "MODIFY", "old_path": "statsmodels/othermod/betareg.py", "new_path": "statsmodels/othermod/betareg.py", "diff": "@@ -172,6 +172,7 @@ class BetaModel(GenericLikelihoodModel):\n-------\nndarray, predicted values\n\"\"\"\n+ # compatibility with old names and misspelling\nif which == \"...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/ENH: BetaModel: add which="var", privatize predict_var, _precision
641,971
25.11.2021 14:16:39
18,000
2b89fea4db3840d853ef5e704f90b917b31f909f
REF: BetaModel: score_factor, score_hessian_factor return tuple
[ { "change_type": "MODIFY", "old_path": "statsmodels/othermod/betareg.py", "new_path": "statsmodels/othermod/betareg.py", "diff": "@@ -340,10 +340,10 @@ class BetaModel(GenericLikelihoodModel):\nscore : ndarray\nFirst derivative of loglikelihood function.\n\"\"\"\n- sf = self.score_factor(params)\n+ ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: BetaModel: score_factor, score_hessian_factor return tuple
641,971
25.11.2021 14:31:44
18,000
9b7106b2311f871e7ae4002da9fa40066aa3235d
ENH: GenericLikelihood add `cov_type="nonrobust"` if not in kwargs
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -1002,6 +1002,10 @@ class GenericLikelihoodModel(LikelihoodModel):\nelse:\nstart_params = 0.1 * np.ones(self.nparams)\n+ if \"cov_type\" not in kwargs:\n+ # this will add default ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: GenericLikelihood add `cov_type="nonrobust"` if not in kwargs
641,971
26.11.2021 12:58:17
18,000
420d0c52056899c7761f2d867e5e7ad30f2e0b24
ENH: score_test for 2-exog BetaModel
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_parameter_inference.py", "new_path": "statsmodels/base/_parameter_inference.py", "diff": "@@ -79,7 +79,7 @@ def _lm_robust(score, constraint_matrix, score_deriv_inv, cov_score,\ndef score_test(self, exog_extra=None, params_constrained=None,\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: score_test for 2-exog BetaModel
641,971
26.11.2021 14:36:42
18,000
1a573938d6bac3aada2089bc83c5bff93d0f3dc7
REF: discrete GPP, NBP: return tuple in score_factor, hessian_factor
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -1769,8 +1769,8 @@ class GeneralizedPoisson(CountModel):\nparams = params[:-1]\np = self.parameterization\n- y = self.endog[:,None]\n- mu = self.predict(...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: discrete GPP, NBP: return tuple in score_factor, hessian_factor
641,971
27.11.2021 20:41:35
18,000
4247624b4877e0fe9d7a42b23a025394d5f4b85d
ENH: generic _scorehess_extra for 2-parameter models, NBP, GPP
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_parameter_inference.py", "new_path": "statsmodels/base/_parameter_inference.py", "diff": "@@ -166,13 +166,15 @@ def score_test(self, exog_extra=None, params_constrained=None,\nscore_obs without degrees of freedom correction.\n\"\"\"\n# TODO: ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: generic _scorehess_extra for 2-parameter models, NBP, GPP
641,971
28.11.2021 09:34:58
18,000
904947f87dc2914d512f83495470a85dd3a76e0f
ENH: MLEInfluence works with BetaModel
[ { "change_type": "MODIFY", "old_path": "statsmodels/othermod/betareg.py", "new_path": "statsmodels/othermod/betareg.py", "diff": "@@ -363,7 +363,7 @@ class BetaModel(GenericLikelihoodModel):\n\"\"\"\nreturn super(BetaModel, self).score(params)\n- def score_factor(self, params):\n+ def score_factor(s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: MLEInfluence works with BetaModel
641,971
29.11.2021 13:06:25
18,000
409f35413f0d9f7145dd781734ab135c3fcefaea
ENH/REF: MLEInfluence works for NBP and GPP, smoke tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -998,6 +998,9 @@ class CountModel(DiscreteModel):\nlin_pred = self.predict(params, which=\"linear\")\nidl = link.inverse_deriv(lin_pred)\ndmat = self.exo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF: MLEInfluence works for NBP and GPP, smoke tests
641,978
29.11.2021 22:22:16
18,000
e14c4ea9c88828eb490d950c67b6d47136d09c97
DOC: update maxlag to maxlags
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/covtype.py", "new_path": "statsmodels/base/covtype.py", "diff": "@@ -109,7 +109,7 @@ def get_robustcov_results(self, cov_type='HC1', use_t=None, **kwds):\n- 'HAC': heteroskedasticity-autocorrelation robust covariance\n- ``maxlag`` : integer, r...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: update maxlag to maxlags
642,005
04.12.2021 21:41:26
0
c115959f8248c5a96a37eadafbb11a1fc679fbeb
Clarify output size in statsmodels.tsa.stattools DOC: Clarify output size in statsmodels.tsa.stattools.acf and statsmodels.tsa.stattools.pacf: nlags behaved unpredictably and still does, but at least it now does so explicitely.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/stattools.py", "new_path": "statsmodels/tsa/stattools.py", "diff": "@@ -585,7 +585,8 @@ def acf(\nIf True, then denominators for autocovariance are n-k, otherwise n.\nnlags : int, optional\nNumber of lags to return autocorrelation for. If not p...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Clarify output size in statsmodels.tsa.stattools DOC: Clarify output size in statsmodels.tsa.stattools.acf and statsmodels.tsa.stattools.pacf: nlags behaved unpredictably and still does, but at least it now does so explicitely.
642,005
05.12.2021 16:11:49
0
e76dd0b50986f2d002d287936f28cb018385cddb
fixed line length line 941 and others
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/stattools.py", "new_path": "statsmodels/tsa/stattools.py", "diff": "@@ -585,8 +585,8 @@ def acf(\nIf True, then denominators for autocovariance are n-k, otherwise n.\nnlags : int, optional\nNumber of lags to return autocorrelation for. If not p...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed line length line 941 and others
642,071
06.12.2021 16:45:39
21,600
fc7640cdfcbda9baa53bad68d8f3d81bbe9933bf
using initvalues on varsim
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/util.py", "new_path": "statsmodels/tsa/vector_ar/util.py", "diff": "@@ -215,10 +215,11 @@ def varsim(coefs, intercept, sig_u, steps=100, initvalues=None, seed=None):\nobservations to start the autoregressive process.\nIf offset is not...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
using initvalues on varsim
642,071
06.12.2021 16:53:08
21,600
2f005fa2173bd83542441f99322466441ad9582b
Using initial_state on simulate_var
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/var_model.py", "new_path": "statsmodels/tsa/vector_ar/var_model.py", "diff": "@@ -923,7 +923,7 @@ class VARProcess(object):\n\"\"\"\nreturn is_stable(self.coefs, verbose=verbose)\n- def simulate_var(self, steps=None, offset=None, seed...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Using initial_state on simulate_var
641,971
06.12.2021 13:43:31
18,000
0d729e7419147bb8547226b6c471b7cb3322df99
ENH/REF: discrete add get_distribution, add which="var" for NBP, GPP
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -4,6 +4,7 @@ from functools import reduce\nimport warnings\nimport numpy as np\n+import pandas as pd\nfrom scipy import stats\nfrom statsmodels.base.data import handle_data\n@@ -1...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF: discrete add get_distribution, add which="var" for NBP, GPP
642,071
07.12.2021 13:11:38
21,600
47c7e2802bc54461c6da988460cc48f8b21a3f5e
Option of using (neqs,) and other changes and cleaning
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/util.py", "new_path": "statsmodels/tsa/vector_ar/util.py", "diff": "@@ -4,6 +4,7 @@ Miscellaneous utility code for VAR estimation\n\"\"\"\nfrom statsmodels.compat.pandas import frequencies\nfrom statsmodels.compat.python import asbyte...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Option of using (neqs,) and other changes and cleaning
642,071
08.12.2021 13:03:39
21,600
c11d37a914dc8a89b2a50822a6cc0a40ccb307c2
Tests for initial values in VAR
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/tests/test_var.py", "new_path": "statsmodels/tsa/vector_ar/tests/test_var.py", "diff": "@@ -725,6 +725,7 @@ class TestVARExtras(object):\ndata = mdata.values\ndata = np.diff(np.log(data), axis=0) * 400\ncls.res0 = VAR(data).fit(maxlag...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Tests for initial values in VAR
641,971
07.12.2021 13:03:04
18,000
38b507623707a0356e2794230b8d4a5ee07460c6
ENH: predict which="var" in more discrete models, and NB which="prob"
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -516,6 +516,10 @@ class BinaryModel(DiscreteModel):\nreturn self.cdf(linpred)\nelif which == \"linear\":\nreturn linpred\n+ if which == \"var\":\n+ mu = ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: predict which="var" in more discrete models, and NB which="prob"
642,071
08.12.2021 14:16:33
21,600
9326ba113de5f1180c2d9bbca7b8c5ba4c5878f2
Added test with one lag
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/tests/test_var.py", "new_path": "statsmodels/tsa/vector_ar/tests/test_var.py", "diff": "@@ -725,6 +725,7 @@ class TestVARExtras(object):\ndata = mdata.values\ndata = np.diff(np.log(data), axis=0) * 400\ncls.res0 = VAR(data).fit(maxlag...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Added test with one lag
641,971
10.12.2021 13:35:04
18,000
30deeb4a40083aea735f5e4c2f5c8a0b2649a60f
BUG/ENH: add get_distribution for ZI, fix rename distribution _mean, _var
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/count_model.py", "new_path": "statsmodels/discrete/count_model.py", "diff": "@@ -581,6 +581,18 @@ class ZeroInflatedPoisson(GenericZeroInflated):\nstart_params = np.append(np.ones(self.k_inflate) * 0.1, start_params)\nreturn start_params\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/ENH: add get_distribution for ZI, fix rename distribution _mean, _var
641,971
12.12.2021 12:48:56
18,000
7d9505e5a0765c64fb2aaccf0abc97aa433b7968
ENH: add `which="var"` to zero inflated predict
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/count_model.py", "new_path": "statsmodels/discrete/count_model.py", "diff": "@@ -467,6 +467,9 @@ class GenericZeroInflated(CountModel):\nreturn prob_zero\nelif which == 'prob-main':\nreturn prob_main\n+ elif which == 'var':\n+ mu = np.exp(...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add `which="var"` to zero inflated predict
641,971
12.12.2021 16:43:35
18,000
370c357a3680be821033e7f3bb6be473ad9da15c
TST: add Logit and Probit to distribution test
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_predict.py", "new_path": "statsmodels/discrete/tests/test_predict.py", "diff": "@@ -16,6 +16,9 @@ from statsmodels.tools.tools import add_constant\nfrom statsmodels.base._prediction_inference import PredictionResultsMonotonic\nf...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: add Logit and Probit to distribution test
641,971
12.12.2021 21:02:38
18,000
3b9042f1f71efc565120e6bfd9e9a16548ef5f9f
ENH: add DiscreteResults resid_pearson, generic using predict which="var"
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -4352,6 +4352,15 @@ class DiscreteResults(base.LikelihoodModelResults):\n\"\"\"\nreturn self.model.endog - self.predict()\n+ @cache_readonly\n+ def resid...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add DiscreteResults resid_pearson, generic using predict which="var"
641,971
13.12.2021 13:13:22
18,000
e7753c08689565df925196e78c256e2565389bdf
REF/DOC: more deprecation of predict `linear`. work on docstrings
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/count_model.py", "new_path": "statsmodels/discrete/count_model.py", "diff": "@@ -363,31 +363,51 @@ class GenericZeroInflated(CountModel):\ndef predict(self, params, exog=None, exog_infl=None, exposure=None,\noffset=None, which='mean', y_va...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/DOC: more deprecation of predict `linear`. work on docstrings
641,971
14.12.2021 16:25:49
18,000
2b09e060a5fa4dd9d77aefaf555556ea13c6a919
ENH: add get_influence to DiscreteResults (only 4 models supported)
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -632,7 +632,7 @@ class BinaryModel(DiscreteModel):\nThe value of the derivative of the expected endog with respect\nto the parameter vector.\n\"\"\"\n- l...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add get_influence to DiscreteResults (only 4 models supported)
641,971
15.12.2021 12:32:07
18,000
9d9a7ba26cb7c464738458927f106a19691182d7
REF: use scaled pearson_resid for GLM and MLE Influence
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_predict.py", "new_path": "statsmodels/discrete/tests/test_predict.py", "diff": "@@ -382,3 +382,8 @@ def test_distr(case):\ninflu = res.get_influence()\ninflu.summary_frame()\nassert influ.resid.shape == (len(y2), )\n+\n+ resid =...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: use scaled pearson_resid for GLM and MLE Influence
642,071
15.12.2021 14:06:17
21,600
e3ec3d197bac5b5c97240aa12303cab92bd7c4f2
Added code to simulate VAR process n times
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/util.py", "new_path": "statsmodels/tsa/vector_ar/util.py", "diff": "@@ -191,7 +191,7 @@ def acf_to_acorr(acf):\nreturn acf / np.sqrt(np.outer(diag, diag))\n-def varsim(coefs, intercept, sig_u, steps=100, initial_values=None, seed=None...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Added code to simulate VAR process n times
642,071
16.12.2021 12:13:32
21,600
f4959cfab41b38773d4d5ac1319fc5cbbb96afb7
Added tests for multiple simulations
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/tests/test_var.py", "new_path": "statsmodels/tsa/vector_ar/tests/test_var.py", "diff": "@@ -14,6 +14,7 @@ import numpy as np\nfrom numpy.testing import assert_allclose, assert_almost_equal, assert_equal\nimport pandas as pd\nimport py...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Added tests for multiple simulations
642,071
16.12.2021 13:49:47
21,600
d6e21c27046cd6a3ce4ea301ab97f3aa7f640ad3
Deleted incorrect tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/tests/test_var.py", "new_path": "statsmodels/tsa/vector_ar/tests/test_var.py", "diff": "@@ -14,7 +14,6 @@ import numpy as np\nfrom numpy.testing import assert_allclose, assert_almost_equal, assert_equal\nimport pandas as pd\nimport py...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Deleted incorrect tests
642,071
16.12.2021 14:35:23
21,600
fcb0d810f972af3228524062acc4717c94345931
Corrected to nsimulations on tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vector_ar/tests/test_var.py", "new_path": "statsmodels/tsa/vector_ar/tests/test_var.py", "diff": "@@ -894,12 +894,12 @@ class TestVARExtras(object):\ninit = self.data[-k_ar:]\nsim1 = res0.simulate_var(seed=987128, steps=10)\n- sim2 = res0.simul...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Corrected to nsimulations on tests
641,971
17.12.2021 14:25:18
18,000
242b1f61ba41735b08f0c8e8790d707125415b0d
ENH/REF: add deriv to Probit and ZI, MLEInfluence: allow hatmatrix is None
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/count_model.py", "new_path": "statsmodels/discrete/count_model.py", "diff": "@@ -257,6 +257,7 @@ class GenericZeroInflated(CountModel):\nmu = self.model_main.predict(params_main)\n+ # TODO: need to allow for complex to use CS numerical der...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF: add deriv to Probit and ZI, MLEInfluence: allow hatmatrix is None
641,971
20.12.2021 11:50:35
18,000
0273e14b3e0dc3807203cadde0ff60ef448d056a
ENH/REF: support no generalized leverage, refactor plot_influence
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_predict.py", "new_path": "statsmodels/discrete/tests/test_predict.py", "diff": "@@ -395,3 +395,8 @@ def test_distr(case):\npass\nresid = influ.resid_score()\nassert resid.shape == (len(y2), )\n+\n+ try:\n+ influ.plot_influence()...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF: support no generalized leverage, refactor plot_influence
641,971
20.12.2021 14:27:52
18,000
15e97c016f8f0d21d5c7f4e70932b05ebe769914
ENH/DOC add get_influence to BetaModel, improve docstrings
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/count_model.py", "new_path": "statsmodels/discrete/count_model.py", "diff": "@@ -101,6 +101,11 @@ class GenericZeroInflated(CountModel):\nself._init_keys.extend(['exog_infl', 'inflation'])\nself._null_drop_keys = ['exog_infl']\n+ def _get_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/DOC add get_influence to BetaModel, improve docstrings
641,971
21.12.2021 13:40:05
18,000
61909dbc84a1e0d0ba4ecea40fe5c4403e62e35a
DOC: add domain restriction, eg. NB or ZI, to pitfalls
[ { "change_type": "MODIFY", "old_path": "docs/source/pitfalls.rst", "new_path": "docs/source/pitfalls.rst", "diff": "@@ -92,3 +92,27 @@ The only currently known case is a perfect fit in robust linear model estimation\nFor RLM, if residuals are equal to zero, then it does not cause an exception,\nbut ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: add domain restriction, eg. NB or ZI, to pitfalls
641,860
02.07.2017 18:50:16
-10,800
59acd0eafda19c12bdcd8fe3786e13c2b5181a53
ENH Implemented Truncated, Censored and Hurdle model (squashed)
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/results/results_discrete.py", "new_path": "statsmodels/discrete/tests/results/results_discrete.py", "diff": "@@ -1222,3 +1222,27 @@ class RandHIE(object):\nreturn obj\nzero_inflated_negative_binomial = zero_inflated_negative_binomial...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH Implemented Truncated, Censored and Hurdle model (squashed)
641,860
22.08.2017 17:05:49
-10,800
34ab478541666677b17ff4246c428b17f9a4dedc
Implemented Truncated Generalized Negative Binomial model with tests
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/results/results_discrete.py", "new_path": "statsmodels/discrete/tests/results/results_discrete.py", "diff": "@@ -1246,3 +1246,12 @@ class RandHIE(object):\n[ 1.469346, 1.502939]]\nself.aic = 89151.71\nself.bic = 89189.39\n+\n+ def ze...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Implemented Truncated Generalized Negative Binomial model with tests
641,860
24.08.2017 16:29:12
-10,800
56f6eabc1822be17511675e481a684433a6cb877
Refactored Truncated NB-P model
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_truncated_model.py", "new_path": "statsmodels/discrete/tests/test_truncated_model.py", "diff": "@@ -122,9 +122,9 @@ class TestTruncatedNBP_predict(object):\natol=2e-1, rtol=2e-1)\ndef test_var(self):\n- #assert_allclose((self.re...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Refactored Truncated NB-P model
641,860
28.08.2017 18:01:56
-10,800
3c8b9d224e767059d6599e9d11201e73cf072b1a
Refactored hurdle model
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/truncated_model.py", "new_path": "statsmodels/discrete/truncated_model.py", "diff": "@@ -234,48 +234,6 @@ class GenericTruncated(CountModel):\n\"\"\"\nreturn approx_hess(params, self.loglike)\n-class Truncated(GenericTruncated):\n- \"\"\"\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Refactored hurdle model
641,860
29.08.2017 15:18:36
-10,800
0e5dd79b46ef638583633dc00d831f98cb9ab962
Implemented Censored Genralized Poisson model
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/truncated_model.py", "new_path": "statsmodels/discrete/truncated_model.py", "diff": "@@ -12,6 +12,7 @@ from statsmodels.discrete.discrete_model import (DiscreteModel, CountModel,\nL1CountResults, Probit,\nNegativeBinomial,\nNegativeBinomia...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Implemented Censored Genralized Poisson model
641,860
02.07.2017 18:50:16
-10,800
47ea32c810351bbbdd9b60b68b42c40db102ab71
BUG/REF: partial fix and compatibility updates
[ { "change_type": "MODIFY", "old_path": "statsmodels/api.py", "new_path": "statsmodels/api.py", "diff": "@@ -84,6 +84,11 @@ from .discrete.discrete_model import (\nPoisson,\nProbit,\n)\n+from .discrete.truncated_model import (\n+ TruncatedPoisson,\n+ TruncatedNegativeBinomialP,\n+ Hurdle,\n+ )\nfrom ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/REF: partial fix and compatibility updates
641,971
04.01.2022 10:54:11
18,000
9e58ef49fc332d2f8815b9b78ddfe8730cb19d83
STY: partial pep-8
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/truncated_model.py", "new_path": "statsmodels/discrete/truncated_model.py", "diff": "@@ -19,6 +19,7 @@ from statsmodels.tools.numdiff import (approx_fprime, approx_hess,\nfrom statsmodels.tools.decorators import cache_readonly\nfrom copy i...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
STY: partial pep-8
641,971
04.01.2022 10:55:03
18,000
88e48f9f2f93645687fd62413d07c8b1f60a8407
BUG: fix truncated predict, truncated distributions
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/truncated_model.py", "new_path": "statsmodels/discrete/truncated_model.py", "diff": "@@ -324,13 +324,15 @@ class TruncatedPoisson(GenericTruncated):\nreturn np.exp(linpred) / (1 - np.exp(-np.exp(linpred)))\nelif which == 'linear':\nreturn ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix truncated predict, truncated distributions
641,971
06.01.2022 15:13:07
18,000
4c4ec051113c35e80b912412a1b34dfe6a43c9ee
BUG/ENH/TST: truncatedNBP fix predict mean, truncated distr allow trunc = -1
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/discrete/tests/results/results_truncated.py", "diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Thu Jan 6 13:55:50 2022\n+\n+Author: Josef Perktod\n+License: BSD-3\n+\"\"\"\n+# flake8: noqa\n+\n+import numpy as np\n+\n+from sta...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/ENH/TST: truncatedNBP fix predict mean, truncated distr allow trunc = -1
641,971
06.01.2022 20:12:18
18,000
b6f2be387be275215a51c1da3b88da8e5a43b44b
BUG: fix discret infocriteria closes fix and test hurdle ic, df_resid
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -4462,7 +4462,8 @@ class DiscreteResults(base.LikelihoodModelResults):\nAkaike information criterion. `-2*(llf - p)` where `p` is the number\nof regresso...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix discret infocriteria closes #7990, fix and test hurdle ic, df_resid
641,971
06.01.2022 22:15:34
18,000
b087ba4ae0d7d7293d1e73d41a52f5db4dd29c21
STY: more pep-8 fixes
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/results/results_discrete.py", "new_path": "statsmodels/discrete/tests/results/results_discrete.py", "diff": "@@ -1229,7 +1229,7 @@ class RandHIE(object):\nself.bse = [.0042718, .0157994, .002791, .0023491, .0123182]\nself.conf_int = ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
STY: more pep-8 fixes
641,831
06.01.2022 22:12:53
18,000
97c5aa7441691732bd1bf93115bf12dfdb406545
ENH: forecasts using filtered/smoothed results
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/dynamic_factor_mq.py", "new_path": "statsmodels/tsa/statespace/dynamic_factor_mq.py", "diff": "@@ -3571,8 +3571,9 @@ class DynamicFactorMQResults(mlemodel.MLEResults):\nreturn fig\ndef get_prediction(self, start=None, end=None, dynam...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: forecasts using filtered/smoothed results
641,831
06.01.2022 23:08:33
18,000
42f7aa09db69532b9b25932446afd9e5a680b915
ENH: prediction of the "signal" only
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/kalman_filter.py", "new_path": "statsmodels/tsa/statespace/kalman_filter.py", "diff": "@@ -2215,6 +2215,12 @@ class PredictionResults(FilterResults):\nself.ndynamic = ndynamic\nself.nforecast = nforecast\n+ self._predicted_signal = N...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: prediction of the "signal" only
641,831
07.01.2022 19:18:27
18,000
da770f7a57e5e19ef37e0d5667a22ac5fa163ba6
BUG: _validate_out_of_sample_exog w/o k_exog
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -1763,7 +1763,8 @@ class MLEModel(tsbase.TimeSeriesModel):\nA numpy array of shape (out_of_sample, k_exog) if the model\ncontains an `exog` component, or...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: _validate_out_of_sample_exog w/o k_exog
641,831
07.01.2022 19:18:50
18,000
b277ffae8611c86022b18150a05e75f443db210f
TST: predict w/ information_set and signal_only
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_prediction.py", "new_path": "statsmodels/tsa/statespace/tests/test_prediction.py", "diff": "@@ -10,9 +10,16 @@ import pytest\nimport numpy as np\nimport pandas as pd\n-from statsmodels.tsa.statespace import sarimax, varmax...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: predict w/ information_set and signal_only
641,831
07.01.2022 20:00:59
18,000
abbe06699698eb4af887aa8c304bb274808c2165
REF: clean up DFM-MQ get_prediction
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/dynamic_factor_mq.py", "new_path": "statsmodels/tsa/statespace/dynamic_factor_mq.py", "diff": "@@ -3571,10 +3571,10 @@ class DynamicFactorMQResults(mlemodel.MLEResults):\nreturn fig\ndef get_prediction(self, start=None, end=None, dyn...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: clean up DFM-MQ get_prediction
641,831
07.01.2022 20:01:29
18,000
770bc9f107dc43ae6311e197a7e708e187ebc039
DOC: Add documentation for new prediction args
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/dynamic_factor_mq.py", "new_path": "statsmodels/tsa/statespace/dynamic_factor_mq.py", "diff": "@@ -3598,6 +3598,25 @@ class DynamicFactorMQResults(mlemodel.MLEResults):\nprediction; starting with this observation and continuing throu...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Add documentation for new prediction args
641,831
07.01.2022 20:09:40
18,000
96c60088068028be31053d84d357f5c577955b1a
REF: remove duplicate definitions
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/kalman_filter.py", "new_path": "statsmodels/tsa/statespace/kalman_filter.py", "diff": "@@ -2395,30 +2395,6 @@ class PredictionResults(FilterResults):\nsignal_only=True))\nreturn self._smoothed_signal_cov\n- @property\n- def filtered_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: remove duplicate definitions
641,831
06.01.2022 22:09:24
18,000
f0d8d69a44208d7bd79d5a2d3293ec6628e5579c
BUG: Initial seasonal parameters w/ estimated init
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/exponential_smoothing.py", "new_path": "statsmodels/tsa/statespace/exponential_smoothing.py", "diff": "@@ -75,6 +75,9 @@ class ExponentialSmoothing(MLEModel):\nNotes\n-----\n+\n+ **Overview**\n+\nThe parameters and states of this mod...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Initial seasonal parameters w/ estimated init
641,831
07.01.2022 20:38:31
18,000
74d953a0bef4bc855c4b6fcfef04051bba18b8c1
TST: Fix tests for improved seasonal defintions
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_exponential_smoothing.py", "new_path": "statsmodels/tsa/statespace/tests/test_exponential_smoothing.py", "diff": "@@ -430,7 +430,8 @@ class TestHoltWintersNoTrendETSEstimated(CheckExponentialSmoothing):\ndef test_mle_estim...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Fix tests for improved seasonal defintions
641,831
07.01.2022 22:09:18
18,000
1a5a61479c9a24b5c56d93bc51659691174312b3
BUG: correct subsetting of insample results
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/kalman_filter.py", "new_path": "statsmodels/tsa/statespace/kalman_filter.py", "diff": "@@ -2252,7 +2252,7 @@ class PredictionResults(FilterResults):\n# Get a copy\nvalue = getattr(self.results, attr).copy()\nif self.ndynamic > 0:\n- ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: correct subsetting of insample results
641,831
07.01.2022 22:09:31
18,000
4bf098941523ce9e202da45498f82d49fb517c04
TST: Add tests for dynamic prediction
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_prediction.py", "new_path": "statsmodels/tsa/statespace/tests/test_prediction.py", "diff": "@@ -495,3 +495,121 @@ def test_predicted_filtered_smoothed_TVSS(reset_randomstate):\nassert_allclose(s_signal.var_pred_mean[50:], ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add tests for dynamic prediction
641,875
10.01.2022 17:25:07
-39,600
1aa881652e1dfb276fab5dc12662dd7223127b99
DOC: ETS model loglike doc typo fix Typo in the documentation of loglike method in ETSModel class is fixed. Refer to ticket 7443
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/exponential_smoothing/ets.py", "new_path": "statsmodels/tsa/exponential_smoothing/ets.py", "diff": "@@ -1201,7 +1201,7 @@ class ETSModel(base.StateSpaceMLEModel):\n.. math::\n- s^2 = \\frac{1}{n}\\sum\\limits_{t=1}^n \\frac{\\hat{y}_t - y_t}{k_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: ETS model loglike doc typo fix Typo in the documentation of loglike method in ETSModel class is fixed. Refer to ticket 7443
641,963
10.01.2022 11:39:40
18,000
529d72bbfa1c921994973e2131c154e9b5bc2091
new census binaries have different tails Hi, I am working on linux and needed to additional binary types to get it to work. one of my favorite python projects, its an honor to contribute
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/x13.py", "new_path": "statsmodels/tsa/x13.py", "diff": "@@ -24,8 +24,8 @@ from statsmodels.tools.sm_exceptions import (X13NotFoundError,\n__all__ = [\"x13_arima_select_order\", \"x13_arima_analysis\"]\n-_binary_names = ('x13as.exe', 'x13as', 'x...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
new census binaries have different tails Hi, I am working on linux and needed to additional binary types to get it to work. one of my favorite python projects, its an honor to contribute
641,971
07.01.2022 13:57:17
18,000
602b3eb6c1a0f8068ad3760b76021c3b333ac3db
BUG/TST: truncated poisson negbin, init_keys, warnings, test versus Stata
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/discrete/tests/results/results_truncated_st.py", "diff": "+# flake8: noqa\n+# file is autogenerated\n+\n+import numpy as np\n+\n+est = dict(\n+ r2_p = .0777591927880298,\n+ p = 0,\n+ chi2 = 2117.638300165287,\n+ df_m = 2,\n+ ll_0 = -...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/TST: truncated poisson negbin, init_keys, warnings, test versus Stata
641,971
10.01.2022 16:56:41
18,000
409cd77c3e8bbafaef7f96177ba9de0b4c13405e
STY/REF: more pep-8, don't add to `distribution.__init__`
[ { "change_type": "MODIFY", "old_path": "statsmodels/api.py", "new_path": "statsmodels/api.py", "diff": "@@ -10,6 +10,7 @@ __all__ = [\n\"GLS\",\n\"GLSAR\",\n\"GeneralizedPoisson\",\n+ \"Hurdle\",\n\"Logit\",\n\"MANOVA\",\n\"MI\",\n@@ -32,6 +33,8 @@ __all__ = [\n\"RLM\",\n\"RecursiveLS\",\n\"Survfunc...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
STY/REF: more pep-8, don't add to `distribution.__init__`
641,971
10.01.2022 21:15:10
18,000
9774c7f13425baa24615cab6d7c0ecdc87127a31
ENH: add predict 'prob-main', 'mean' if trunc>0, 'var' to trunc poisson, negbin
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -1647,6 +1647,8 @@ class Poisson(CountModel):\n)[:, None]\n# uses broadcasting\nreturn stats.poisson.pmf(y_values, mu)\n+ else:\n+ raise ValueError('Valu...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add predict 'prob-main', 'mean' if trunc>0, 'var' to trunc poisson, negbin
641,831
11.01.2022 23:43:17
18,000
e0b378fcba5457c3358a761ad5036f9d78bdc9c2
REF: remove python version of weights, see GH8013
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tools.py", "new_path": "statsmodels/tsa/statespace/tools.py", "diff": "@@ -1900,265 +1900,6 @@ def _safe_cond(a):\nreturn np.inf\n-def _compute_obs_weights_smoothed_state(res, compute_t=None, compute_j=None,\n- refilter=True):\n- # G...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: remove python version of weights, see GH8013
641,831
12.01.2022 18:28:33
18,000
20824a0cf6c995c7689716f7d367379306fc744d
ENH: compute prior weights, add resmooth check
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_tools.pxd", "new_path": "statsmodels/tsa/statespace/_tools.pxd", "diff": "@@ -92,18 +92,18 @@ cdef int _zselect_cov(int k_states, int k_posdef, int k_states_total,\nnp.complex128_t * cov,\nnp.complex128_t * selected_cov)\n-cpdef _sc...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: compute prior weights, add resmooth check
641,831
12.01.2022 21:16:09
18,000
123dda3b2d79a8ad8b0452cc434b2899a137ed82
BUG: incorrect array allocation
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_tools.pyx.in", "new_path": "statsmodels/tsa/statespace/_tools.pyx.in", "diff": "@@ -1200,8 +1200,8 @@ cpdef _{{prefix}}compute_smoothed_state_weights(\nnp.int32_t [:] store_t, store_j\nnp.npy_intp dim1[1]\nnp.npy_intp dim2[2]\n- np....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: incorrect array allocation
641,831
12.01.2022 23:16:08
18,000
62530c9e195249e98d6f63a8a5af6a8de38fee71
DOC: improve some state space docstrings.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -1925,6 +1925,11 @@ class MLEModel(tsbase.TimeSeriesModel):\nbe a Pandas DataFrame that has a MultiIndex for the columns, with\nthe first level containin...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: improve some state space docstrings.
641,896
13.01.2022 00:01:44
0
19d1867b8917de7fdf9e8929026041b525cdc13b
MAINT: Add stcklevel to warnings Add stcaklevel to improve accuracy of warning.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/ar_model.py", "new_path": "statsmodels/tsa/ar_model.py", "diff": "@@ -230,12 +230,14 @@ class AutoReg(tsa_model.TimeSeriesModel):\n'When using deterministic, trend must be \"n\" and '\n\"seasonal must be False.\",\nSpecificationWarning,\n+ stac...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: Add stcklevel to warnings Add stcaklevel to improve accuracy of warning.
642,056
11.01.2022 00:35:06
21,600
414d73b80cdbde0872bd6b2a6c0723427f3111bf
move GEE _check_args call, to handle lists and tuples
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_estimating_equations.py", "new_path": "statsmodels/genmod/generalized_estimating_equations.py", "diff": "@@ -522,8 +522,6 @@ class GEE(GLM):\nexposure = exposure[ii]\ndel kwargs[\"missing_idx\"]\n- _check_args(endog, exog, groups...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
move GEE _check_args call, to handle lists and tuples
641,971
12.01.2022 14:17:21
18,000
60f6326411565c9a45a8b558ae4008b55464f456
ENH: add Hurdle.predict
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -1650,6 +1650,14 @@ class Poisson(CountModel):\nelse:\nraise ValueError('Value of the `which` option is not recognized')\n+ def _prob_nonzero(self, mu, p...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add Hurdle.predict
641,971
17.01.2022 16:08:54
18,000
e78dbb038d05d7a122d68ab14ad7129789d2c433
ENH/BUG: hurdle: add predict "var", fix bugs with negbin hurdle k_extra
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -4282,7 +4282,7 @@ class NegativeBinomialP(CountModel):\ninternal use in Censored model, will be refactored or removed\n\"\"\"\nalpha = params[-1]\n- p =...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/BUG: hurdle: add predict "var", fix bugs with negbin hurdle k_extra
641,971
17.01.2022 21:38:07
18,000
8e91c370619dfc35631698b9a901f9b8c4f2ec03
BUG: Truncated df_resid
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_truncated_model.py", "new_path": "statsmodels/discrete/tests/test_truncated_model.py", "diff": "@@ -180,11 +180,13 @@ class CheckTruncatedST():\nassert_allclose(res1.tvalues[:k], pt2[:k, 2], rtol=5e-4, atol=5e-4)\nassert_allclos...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Truncated df_resid
642,063
21.01.2022 08:53:40
-32,400
a4130c0cb3b050c2105bda97b65ea676d7256702
bugfix tsa/stattools.py grangercausalitytest() with uncentered_tss if not k_constant
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/stattools.py", "new_path": "statsmodels/tsa/stattools.py", "diff": "@@ -1522,7 +1522,7 @@ def grangercausalitytests(x, maxlag, addconst=True, verbose=True):\nif res2djoint.model.k_constant:\ntss = res2djoint.centered_tss\nelse:\n- tss = res2djo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
bugfix tsa/stattools.py grangercausalitytest() with uncentered_tss if not k_constant
641,971
21.01.2022 11:21:34
18,000
11ee63206c68dae8ed5c96a6d530db9369e88622
REF: renamings in truncated count modules
[ { "change_type": "MODIFY", "old_path": "statsmodels/api.py", "new_path": "statsmodels/api.py", "diff": "@@ -10,7 +10,7 @@ __all__ = [\n\"GLS\",\n\"GLSAR\",\n\"GeneralizedPoisson\",\n- \"Hurdle\",\n+ \"HurdleCountModel\",\n\"Logit\",\n\"MANOVA\",\n\"MI\",\n@@ -33,8 +33,8 @@ __all__ = [\n\"RLM\",\n\"R...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: renamings in truncated count modules
641,971
21.01.2022 14:04:23
18,000
6ad39f0d36512f8b002c483b938678e721b14593
REF: generic predict in TruncatedLFGeneric, remove in subclasses
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -1658,6 +1658,13 @@ class Poisson(CountModel):\nprob_nz = - np.expm1(-mu)\nreturn prob_nz\n+ def _var(self, mu, params=None):\n+ \"\"\"variance implied b...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: generic predict in TruncatedLFGeneric, remove in subclasses
641,831
21.01.2022 20:20:55
18,000
2afd69938a9238013ff1f0bc4744ccfa04b53324
PERF: improve weights performance
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_tools.pyx.in", "new_path": "statsmodels/tsa/statespace/_tools.pyx.in", "diff": "@@ -1461,31 +1461,36 @@ cpdef _{{prefix}}compute_smoothed_state_weights(\nblas.{{prefix}}copy(&kfilter.k_states2, &kfilter.predicted_state_cov[0, 0, t],...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
PERF: improve weights performance
642,063
24.01.2022 07:33:19
-32,400
6d44b01ce5c709d65e3e3e0457242be2aef25bc9
added test for tsa/stattools.py grangercausalitytest()
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_tsa_tools.py", "new_path": "statsmodels/tsa/tests/test_tsa_tools.py", "diff": "@@ -790,3 +790,10 @@ class TestLagmat2DS(object):\ndata = np.zeros((100, 2, 2))\nwith pytest.raises(ValueError):\nstattools.lagmat2ds(data, 5)\n+\n+\n+def...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
added test for tsa/stattools.py grangercausalitytest()
641,849
12.01.2022 15:32:22
28,800
835cf221e1da5e05ef5fa3c40b75cbe12e44438d
ENH: use studentized range in tukey hsd when available update tests: `test_hochberg_intervals` update tolerance `test_tukeyhsd` improve input precision
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/stats/multicomp.py", "new_path": "statsmodels/sandbox/stats/multicomp.py", "diff": "@@ -76,6 +76,13 @@ from statsmodels.stats.multitest import multipletests, _ecdf as ecdf, fdrcorrect\nfrom statsmodels.graphics import utils\nfrom statsmodel...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: use studentized range in tukey hsd when available update tests: - `test_hochberg_intervals` update tolerance - `test_tukeyhsd` improve input precision
641,896
26.01.2022 00:10:17
0
c989b2ed580a61e55cfe5df84716c255b6ca5b57
DOC: Apply small docstring corrections
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/count_model.py", "new_path": "statsmodels/discrete/count_model.py", "diff": "@@ -122,7 +122,7 @@ class GenericZeroInflated(CountModel):\nSee notes.\nNotes\n- --------\n+ -----\n.. math:: \\\\ln L=\\\\sum_{y_{i}=0}\\\\ln(w_{i}+(1-w_{i})*P_{...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Apply small docstring corrections
641,849
29.01.2022 13:57:57
28,800
b311c2bc33d19f43442f206dd9247e8269d22c39
ENH: replace interpolants with scipy studentized range, rename interpolants to studentized_range if SciPy.version < 1.7.
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/stats/multicomp.py", "new_path": "statsmodels/sandbox/stats/multicomp.py", "diff": "@@ -61,6 +61,8 @@ TODO\n'''\n+from collections import namedtuple\n+\nfrom statsmodels.compat.python import lzip, lrange\nimport copy\n@@ -77,11 +79,13 @@ fr...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: replace interpolants with scipy studentized range, rename interpolants to studentized_range if SciPy.version < 1.7.
641,893
01.02.2022 12:18:36
-3,600
d980c37159e0676c795359911427120970af2391
BUG: denominator needs to be a vector multivariate_t_rvs function currently seems to fail with "cannot apply subscript to float" in df==np.inf case
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/distributions/multivariate.py", "new_path": "statsmodels/sandbox/distributions/multivariate.py", "diff": "@@ -110,7 +110,7 @@ def multivariate_t_rvs(m, S, df=np.inf, n=1):\nm = np.asarray(m)\nd = len(m)\nif df == np.inf:\n- x = 1.\n+ x = np...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: denominator needs to be a vector multivariate_t_rvs function currently seems to fail with "cannot apply subscript to float" in df==np.inf case
641,971
01.02.2022 15:56:36
18,000
2602b817e190ab485f995a8f26891ebd07cd2137
BUG: use nobs ratio in power and samplesize proportions_2indep closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/proportion.py", "new_path": "statsmodels/stats/proportion.py", "diff": "@@ -1891,7 +1891,7 @@ def _std_2prop_power(diff, p2, ratio=1, alpha=0.05, value=0):\np2_alt = p2\np1_alt = p2_alt + diff\n- std_null = _std_diff_prop(p1_vnull, p2_vnull)\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: use nobs ratio in power and samplesize proportions_2indep closes #8049
641,875
08.02.2022 09:25:09
-39,600
33787ca27ca518d59566b2d1b0c6b33ce347e219
DOC: DEV Guide del redundant text Deleting/modifying some redundant text from DEV guide
[ { "change_type": "MODIFY", "old_path": "docs/source/dev/examples.rst", "new_path": "docs/source/dev/examples.rst", "diff": "@@ -22,11 +22,8 @@ and follow the instructions that follow.\nFile Format\n-----------\n-Examples are best contributed as IPython notebooks. Save your notebook with all\n-output...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: DEV Guide del redundant text Deleting/modifying some redundant text from DEV guide
641,896
09.02.2022 07:32:44
0
490721da9cb8be830e79281f3e652c7f26d76b6a
MAINT: noqa import not at the top of the file Tell flake to ignore import that can't come at the top
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -22,7 +22,7 @@ import pkg_resources\nSETUP_DIR = Path(__file__).parent.resolve()\nsys.path.append(str(SETUP_DIR))\n-import versioneer\n+import versioneer # noqa: E402\ndel sys.path[-1]\n@@ -59,7 +59,7 @@ INSTALL_R...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: noqa import not at the top of the file Tell flake to ignore import that can't come at the top
641,837
09.02.2022 23:08:06
0
79b3b911b5a90a04ba3d7ddd7a87bc22d064bfd8
ENH: add burg as an option for method to pacf
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/stattools.py", "new_path": "statsmodels/tsa/stattools.py", "diff": "@@ -925,6 +925,7 @@ def pacf(x, nlags=None, method=\"ywadjusted\", alpha=None):\ncorrection.\n- \"ldb\" or \"ldbiased\" : Levinson-Durbin recursion without bias\ncorrection.\n+...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add burg as an option for method to pacf
641,837
13.02.2022 10:33:33
0
f98d87ef0a504267c861a49b8ba0b4c3763d6e1b
BUG: Fix ValueError output in lagmat when using pandas
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tsatools.py", "new_path": "statsmodels/tsa/tsatools.py", "diff": "@@ -383,7 +383,7 @@ def lagmat(x,\ntrim = trim.lower()\nif is_pandas and trim in (\"none\", \"backward\"):\nraise ValueError(\n- \"trim cannot be 'none' or 'forward' when used on...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Fix ValueError output in lagmat when using pandas
641,818
18.02.2022 13:04:35
0
cae648ca5af8f3b5b3574e1caf3ee4bfe347e227
ENH: Add _repr_latex_ methods to iolib tables
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/summary.py", "new_path": "statsmodels/iolib/summary.py", "diff": "@@ -764,6 +764,10 @@ class Summary(object):\n'''Display as HTML in IPython notebook.'''\nreturn self.as_html()\n+ def _repr_latex_(self):\n+ '''Display as LaTeX when converting...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Add _repr_latex_ methods to iolib tables
641,818
18.02.2022 16:39:57
0
56ff196f45f7a5e6a07aa5ec112dd2068c3effad
BUG: Fix incorrect function call
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/table.py", "new_path": "statsmodels/iolib/table.py", "diff": "@@ -222,7 +222,7 @@ class SimpleTable(list):\nreturn self.as_html(**fmt_dict)\ndef _repr_latex_(self, **fmt_dict):\n- return self.as_latex(**fmt_dict)\n+ return self.as_latex_tabul...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Fix incorrect function call
641,818
18.02.2022 18:10:56
0
9c0676f6c50b70727814e853697639e5d886b53c
TST: _repr_latex_ unit test for summary2
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/tests/test_summary2.py", "new_path": "statsmodels/iolib/tests/test_summary2.py", "diff": "@@ -115,6 +115,38 @@ parentheses.\nif line.startswith(variable):\nassert line in str(actual)\n+ def test__repr_latex_(self):\n+ desired = r'''\n+\\begin...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: _repr_latex_ unit test for summary2
641,818
18.02.2022 18:21:36
0
c833a0276c004e5c989dfa5ce677d75e9fb0de86
TST: _repr_latex_ unit test for summary(1)
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/tests/test_summary.py", "new_path": "statsmodels/iolib/tests/test_summary.py", "diff": "import numpy as np # noqa: F401\nimport pytest\n+from numpy.testing import assert_equal\nfrom statsmodels.datasets import macrodata\n+from statsmodels.too...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: _repr_latex_ unit test for summary(1)
641,818
18.02.2022 19:26:15
0
2b8d878ad6dccbfd82556224de886655bc67845e
TST: _repr_latex_ test for SimpleTable
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/tests/test_table.py", "new_path": "statsmodels/iolib/tests/test_table.py", "diff": "@@ -241,3 +241,24 @@ stub2 1.95038 2.6\ntxt_fmt=default_txt_fmt)\nactual = '\\n%s\\n' % actual.as_text()\nassert_equal(desired, str(actual))\n+\n+ def test__r...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: _repr_latex_ test for SimpleTable
641,818
18.02.2022 19:30:51
0
84a24e4bcaa8ab9b87b8df16b2e85bef33f80cae
BUG: Further corrections to _repr_latex_ syntax
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/table.py", "new_path": "statsmodels/iolib/table.py", "diff": "@@ -221,8 +221,8 @@ class SimpleTable(list):\ndef _repr_html_(self, **fmt_dict):\nreturn self.as_html(**fmt_dict)\n- def _repr_latex_(self, **fmt_dict):\n- return self.as_latex_tab...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Further corrections to _repr_latex_ syntax
641,818
18.02.2022 19:34:39
0
1c734b2f00348469f749c9c2142411b1a39cd32f
STY: Remove excess whitespace
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/tests/test_summary.py", "new_path": "statsmodels/iolib/tests/test_summary.py", "diff": "@@ -32,6 +32,7 @@ def test_wrong_len_xname(reset_randomstate):\nwith pytest.raises(ValueError):\nres.summary(xname=['x1', 'x2', 'x3'])\n+\nclass TestSumma...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
STY: Remove excess whitespace
641,922
18.02.2022 17:04:02
0
04450345d5c8c43021073c7cad539bf9885a0cb2
BUG: Make ygrid work for etest_poisson_2indep Add y_grid as parameter and deprecate ygrid. Solves
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/rates.py", "new_path": "statsmodels/stats/rates.py", "diff": "@@ -7,6 +7,8 @@ License: BSD-3\nimport numpy as np\n+import warnings\n+\nfrom scipy import stats\nfrom statsmodels.stats.base import HolderTuple\n@@ -57,7 +59,7 @@ def test_poisson...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Make ygrid work for etest_poisson_2indep Add y_grid as parameter and deprecate ygrid. Solves #8135 https://github.com/statsmodels/statsmodels/issues/8135
641,881
24.02.2022 16:21:46
21,600
8f29c1f80c0fe3be953d628e22270c96f88e3919
Adding logc link Update links.py
[ { "change_type": "MODIFY", "old_path": "docs/source/glm.rst", "new_path": "docs/source/glm.rst", "diff": "@@ -180,6 +180,7 @@ available link functions can be obtained by\nCDFLink\nCLogLog\nLogLog\n+ LogC\nLog\nLogit\nNegativeBinomial\n@@ -191,6 +192,7 @@ available link functions can be obtained by\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Adding logc link Update links.py
641,837
28.02.2022 13:26:17
0
ee1a3cf0fdf0fa2a057f4f321418ec4bb7be5c0a
ENH: Add mstl method for time series decomposition
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/mstl.py", "diff": "+\"\"\"\n+Author: Kishan Manani\n+License: BSD-3 Clause\n+\n+An implementation of MSTL [1], an algorithm for time series decomposition when\n+there are multiple seasonal components.\n+\n+This implementation has...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Add mstl method for time series decomposition
641,837
28.02.2022 13:29:16
0
fe075adf1a32aed86a1e84621e1589451588f05c
ENH: Add example notebook for mstl
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/notebooks/mstl_decomposition.ipynb", "diff": "+{\n+ \"cells\": [\n+ {\n+ \"cell_type\": \"markdown\",\n+ \"id\": \"adjustable-shadow\",\n+ \"metadata\": {},\n+ \"source\": [\n+ \"# Seasonal-Trend decomposition using LOESS for multiple s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Add example notebook for mstl
641,837
01.03.2022 21:19:46
0
6a7f986f4c5721390ba0cfd3db9f67631a44d91a
STY: Remove **kwargs in constructor and add keyword only args
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/mstl.py", "new_path": "statsmodels/tsa/mstl.py", "diff": "@@ -29,7 +29,7 @@ from statsmodels.tsa.tsatools import freq_to_period\nclass MSTL:\n\"\"\"\n- MSTL(endog, periods=None, windows=None, lmbda=None, iterate=2, **kwargs)\n+ MSTL(endog, peri...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
STY: Remove **kwargs in constructor and add keyword only args
641,837
01.03.2022 21:44:25
0
4f6677fb13b64ce900e6d1d17410a3d7269de1e7
REF: Move stl related modules into single directory
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -153,7 +153,7 @@ DEFINE_MACROS = [\nexts = dict(\n- _stl={\"source\": \"statsmodels/tsa/_stl.pyx\"},\n+ _stl={\"source\": \"statsmodels/tsa/stl/_stl.pyx\"},\n_exponential_smoothers={\n\"source\": \"statsmodels/tsa...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: Move stl related modules into single directory
641,837
01.03.2022 22:10:57
0
9bb9f0428637f1ec1d1bd819f3881c7f1c81e636
DOC: Add example image and update landing.yml
[ { "change_type": "ADD", "old_path": "docs/source/_static/images/mstl_decomposition.png", "new_path": "docs/source/_static/images/mstl_decomposition.png", "diff": "Binary files /dev/null and b/docs/source/_static/images/mstl_decomposition.png differ\n" }, { "change_type": "MODIFY", "old_p...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Add example image and update landing.yml
641,837
03.03.2022 00:25:33
0
2c26cf6b4efadb8894b66f6f29488c38d1973001
ENH: Add iter params of STL to stl_kwargs
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/stl/mstl.py", "new_path": "statsmodels/tsa/stl/mstl.py", "diff": "@@ -106,7 +106,7 @@ class MSTL:\nself.periods = self._process_periods(periods)\nself.windows = self._process_windows(windows)\nself.iterate = iterate\n- self._stl_kwargs = self._...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Add iter params of STL to stl_kwargs
641,881
24.02.2022 16:21:46
21,600
2643d8ea31893537ac62537a55daea71277de8c3
Adding logc link
[ { "change_type": "MODIFY", "old_path": "docs/source/glm.rst", "new_path": "docs/source/glm.rst", "diff": "@@ -180,6 +180,7 @@ available link functions can be obtained by\nCDFLink\nCLogLog\nLogLog\n+ LogC\nLog\nLogit\nNegativeBinomial\n@@ -191,6 +192,7 @@ available link functions can be obtained by\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Adding logc link