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
03.09.2021 16:11:00
14,400
7a69cbeec74281976cb2fd357b97fd31e3f694a1
REF/TST: enable WLS case in GLM null, add start_params to null, also loosen tol in test_tweedie_score
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -1658,9 +1658,11 @@ class GLMResults(base.LikelihoodModelResults):\nkwargs = model._get_init_kwds()\nkwargs.pop('family')\n- if hasattr(s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/TST: enable WLS case in GLM null, add start_params to null, also loosen tol in test_tweedie_score
641,971
05.09.2021 15:44:43
14,400
4440b9060d158bef62a7c567fed6edb9317386ba
REF: convert attributes to method, cox-snell in summary
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -1733,19 +1733,34 @@ class GLMResults(base.LikelihoodModelResults):\n\"\"\"\nreturn self.llf_scaled()\n- @cache_readonly\n- def prsquared...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: convert attributes to method, cox-snell in summary
641,971
06.09.2021 13:21:04
14,400
efa856c166a687fff1286e7a0a2e097158e4ff85
ENH: add dk_params option to GLM info_criteria
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -1768,7 +1768,7 @@ class GLMResults(base.LikelihoodModelResults):\nAkaike Information Criterion\n-2 * `llf` + 2 * (`df_model` + 1)\n\"\"\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add dk_params option to GLM info_criteria
641,971
06.09.2021 15:27:13
14,400
d9d82b9d110cd4302167657350c0fb454c75d013
ENH: add RegressionResults info_criteria, fix up Rolling results
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -1826,7 +1826,7 @@ class RegressionResults(base.LikelihoodModelResults):\nFor a model with a constant :math:`-2llf + 2(df\\_model + 1)`. For a\nmodel wit...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add RegressionResults info_criteria, fix up Rolling results
642,029
08.01.2020 12:13:40
18,000
fe5606db787bf73ea126f9aaeb6e0db0f0fa1886
ENH: init to dimension of x matrix rather than rank
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/quantile_regression.py", "new_path": "statsmodels/regression/quantile_regression.py", "diff": "@@ -144,7 +144,7 @@ class QuantReg(RegressionModel):\nn_iter = 0\nxstar = exog\n- beta = np.ones(exog_rank)\n+ beta = np.ones(exog.shape[1])\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: init to dimension of x matrix rather than rank
641,971
06.09.2021 18:45:36
14,400
d5a4e70879b1ae7e24ac53337091e09a9137ae3e
TST: test fittedvalues for singular exog
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_quantile_regression.py", "new_path": "statsmodels/regression/tests/test_quantile_regression.py", "diff": "@@ -296,8 +296,8 @@ def test_collinear_matrix():\n[1, 0, 1.5], [1, 0, .25]], dtype=np.float64)\ny = np.array([0, 1, 2, 3...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: test fittedvalues for singular exog
642,053
06.09.2021 19:53:51
14,400
b46e9c23132217f5a978ea7e80f338767e2fb779
ENH: option for slim ols results summary Add slim parameter to summary function. slim=True generates a minimal result table, default or slim=False generates the original output.
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -2618,7 +2618,7 @@ class RegressionResults(base.LikelihoodModelResults):\nself, exog=exog, transform=transform, weights=weights,\nrow_labels=row_labels, ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: option for slim ols results summary Add slim parameter to summary function. slim=True generates a minimal result table, default or slim=False generates the original output.
641,971
06.09.2021 19:54:12
14,400
ff020f78ac445249622e6b53274db6f01e4e90f7
TST: test length of slim summary
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_regression.py", "new_path": "statsmodels/regression/tests/test_regression.py", "diff": "@@ -331,6 +331,12 @@ class TestOLS(CheckRegressionResults):\nmodel_norm_resid = self.res1.resid_pearson\nassert_almost_equal(model_norm_re...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: test length of slim summary
641,880
07.09.2021 14:45:49
-7,200
063035587a96792bcb3cf3e83bf8feb8506ed09e
Add failing test for single-column DataFrame
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_lilliefors.py", "new_path": "statsmodels/stats/tests/test_lilliefors.py", "diff": "import numpy as np\n+import pandas as pd\nimport pytest\nfrom numpy.testing import assert_almost_equal\nfrom scipy import stats\n@@ -83,6 +84,16 @@ ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add failing test for single-column DataFrame
641,880
07.09.2021 14:53:32
-7,200
58ebb37398c4f90d13783bc0b860cb327cb796a7
Clarify test name to indicate testing single-column dataframes
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_lilliefors.py", "new_path": "statsmodels/stats/tests/test_lilliefors.py", "diff": "@@ -84,7 +84,7 @@ class TestLilliefors(object):\nx = np.random.randn(10000)\nlilliefors(x, pvalmethod='approx')\n- def test_dataframe(self):\n+ def ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Clarify test name to indicate testing single-column dataframes
641,880
07.09.2021 14:54:56
-7,200
22f0f87ff77076e025c10d6aac7bdc97915104ad
Squeeze kstest_fit input to 1d and raise ValueError when unsuccesful
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/_lilliefors.py", "new_path": "statsmodels/stats/_lilliefors.py", "diff": "@@ -266,7 +266,10 @@ def kstest_fit(x, dist='norm', pvalmethod=\"table\"):\npvalmethod = string_like(pvalmethod,\n\"pvalmethod\",\noptions=(\"approx\", \"table\"))\n- x...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Squeeze kstest_fit input to 1d and raise ValueError when unsuccesful
642,011
23.08.2021 03:11:51
-19,080
28e44737250d744013a36fa124acf662c88e71f6
ENH: add tricube kernel class
[ { "change_type": "MODIFY", "old_path": "statsmodels/nonparametric/kde.py", "new_path": "statsmodels/nonparametric/kde.py", "diff": "@@ -33,6 +33,7 @@ kernel_switch = dict(\ntriw=kernels.Triweight,\ncos=kernels.Cosine,\ncos2=kernels.Cosine2,\n+ tric=kernels.Tricube\n)\n" }, { "change_type": "...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add tricube kernel class
641,971
07.09.2021 11:09:18
14,400
e6791c5d310507c5631f5ccac5e5f41fefce11c0
TST: add test for tricube values
[ { "change_type": "MODIFY", "old_path": "statsmodels/nonparametric/tests/test_kernels.py", "new_path": "statsmodels/nonparametric/tests/test_kernels.py", "diff": "@@ -149,3 +149,19 @@ class TestBiweight(CheckKernelMixin):\nkern = kernels.Biweight()\nse_n_diff = 9\nlow_rtol = 0.3\n+\n+\n+def test_tric...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: add test for tricube values
641,880
07.09.2021 20:41:49
-7,200
8b29bb218b79b66718dc55a786462c379bd4e999
Only support one-column arrays in lilliefors and raise otherwise
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/_lilliefors.py", "new_path": "statsmodels/stats/_lilliefors.py", "diff": "@@ -266,10 +266,13 @@ def kstest_fit(x, dist='norm', pvalmethod=\"table\"):\npvalmethod = string_like(pvalmethod,\n\"pvalmethod\",\noptions=(\"approx\", \"table\"))\n- ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Only support one-column arrays in lilliefors and raise otherwise
641,880
07.09.2021 20:42:42
-7,200
5264c59daa702f908bcd4bc41258bec76f94ac75
Add tests for lilliefors 1d array checks
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_lilliefors.py", "new_path": "statsmodels/stats/tests/test_lilliefors.py", "diff": "@@ -84,6 +84,16 @@ class TestLilliefors(object):\nx = np.random.randn(10000)\nlilliefors(x, pvalmethod='approx')\n+ def test_single_column_2d_array(...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add tests for lilliefors 1d array checks
641,880
07.09.2021 21:31:26
-7,200
c192885030f3b28119f021f365a6d1ea8d2e0c83
Reduce line lengths to satisfy linter
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_lilliefors.py", "new_path": "statsmodels/stats/tests/test_lilliefors.py", "diff": "@@ -99,7 +99,8 @@ class TestLilliefors(object):\nx_n = stats.norm.rvs(size=500)\nsingle_column_df = pd.DataFrame(data=x_n)\n- d_ks_norm, p_norm = li...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Reduce line lengths to satisfy linter
641,880
08.09.2021 08:59:49
-7,200
4b72427721311c89bf50fab2c7538f322271fb3e
Consolidate lilliefors input dimension tests into a single teste
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_lilliefors.py", "new_path": "statsmodels/stats/tests/test_lilliefors.py", "diff": "@@ -84,43 +84,42 @@ class TestLilliefors(object):\nx = np.random.randn(10000)\nlilliefors(x, pvalmethod='approx')\n- def test_single_column_2d_array...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Consolidate lilliefors input dimension tests into a single teste
641,982
11.03.2021 10:16:30
21,600
2749e2651e32d4905a421aca4c3b438986c7fa8c
TST: Increase number of iterations of EM so that test is more accurate
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/tests/test_ml_factor.py", "new_path": "statsmodels/multivariate/tests/test_ml_factor.py", "diff": "@@ -78,7 +78,7 @@ def test_exact_em():\ns = np.sqrt(np.diag(c))\nc /= np.outer(s, s)\nfa = Factor(corr=c, n_factor=n_factor, method='ml'...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Increase number of iterations of EM so that test is more accurate
641,982
08.09.2021 12:27:28
14,400
aa332e7fb768e980b6153aaa8610476c8e77c3fe
BUG: Ensure Factor._fit_ml_em doesn't change singleton random state
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -433,12 +433,13 @@ class Factor(Model):\nreturn FactorResults(self)\n- def _fit_ml_em(self, iter):\n+ def _fit_ml_em(self, iter, random_state=None):\n\"\"\"estim...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Ensure Factor._fit_ml_em doesn't change singleton random state
642,022
05.06.2020 21:44:02
-3,600
3a8a5144622b1968c8c8a272628962d452396983
Adding pandas dataframe capability to variance_inflation_factor
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/outliers_influence.py", "new_path": "statsmodels/stats/outliers_influence.py", "diff": "@@ -9,6 +9,7 @@ License: BSD-3\nfrom collections import defaultdict\nimport numpy as np\n+import pandas as pd\nfrom statsmodels.compat.python import lzip\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Adding pandas dataframe capability to variance_inflation_factor
641,831
12.02.2021 20:31:48
18,000
7912f2ce1dda71e999b143bc5071a5745b087b11
TST: add test for percentiles in Description frame.
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_descriptivestats.py", "new_path": "statsmodels/stats/tests/test_descriptivestats.py", "diff": "@@ -164,7 +164,15 @@ def test_description_basic(df):\ndef test_odd_percentiles(df):\npercentiles = np.linspace(7.0, 93.0, 13)\nres = Des...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: add test for percentiles in Description frame.
641,831
12.02.2021 20:32:05
18,000
d5fcc81f75d4b8f597d3e29f04d51443da5aae1d
BUG: fix percentiles being dropped in Description frame.
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/descriptivestats.py", "new_path": "statsmodels/stats/descriptivestats.py", "diff": "@@ -525,6 +525,9 @@ class Description:\noutput = f\"{{0:{fmt}}}%\"\nperc.index = [output.format(val) for val in index]\n+ # Add in the names of the percentile...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix percentiles being dropped in Description frame.
642,061
10.08.2019 17:53:44
18,000
f81f0cce53bac8f6582eff1a4490d18ac8f9243c
added different parameters/variance
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/oaxaca.py", "new_path": "statsmodels/stats/oaxaca.py", "diff": "-# TODO Variance can be calculated for the three_fold\n-# TODO Group Size Effects can be accounted for\n-# TODO Non-Linear Oaxaca-Blinder can be used\n+# TODO Non-Linear Regressi...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
added different parameters/variance
642,061
26.08.2019 23:23:46
18,000
9d9f0d0805ee464170e33bb56564b00f9480507c
added standard error calculations
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/oaxaca.py", "new_path": "statsmodels/stats/oaxaca.py", "diff": "@@ -115,20 +115,22 @@ class OaxacaBlinder(object):\n\"\"\"\ndef __init__(self, endog, exog, bifurcate, hasconst=True,\n- swap=True, var=False, cov_type='nonrobust', cov_kwds=None...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
added standard error calculations
642,061
01.09.2019 13:58:00
18,000
65e5eefa27722055fb646d103f4a54cb94590b77
added tests for variance
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/oaxaca.py", "new_path": "statsmodels/stats/oaxaca.py", "diff": "@@ -191,7 +191,6 @@ class OaxacaBlinder(object):\nint_eff_list = []\nexp_eff_list = []\nunexp_eff_list = []\n-\nfor _ in range(0, n):\nendog = np.column_stack((self.bi_col, self....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
added tests for variance
642,061
01.09.2019 15:41:38
18,000
3c4a95c2f42054b5ab6ed70317607fde7fd96f14
used internal keyword instead of external/fixed types
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_oaxaca.py", "new_path": "statsmodels/stats/tests/test_oaxaca.py", "diff": "@@ -205,7 +205,7 @@ class TestOneModel(object):\nhasconst=False).two_fold(\nTrue,\ntwo_fold_type='self_submitted',\n- self_weight=1)\n+ submitted_weight=1)\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
used internal keyword instead of external/fixed types
642,061
01.09.2019 16:17:47
18,000
37711a5a52ff3119b9ce8859c3374be6877ddb4f
tested this, but thought I deleted it. Just needless extension. Had the same output though.
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/oaxaca.py", "new_path": "statsmodels/stats/oaxaca.py", "diff": "@@ -412,7 +412,7 @@ class OaxacaBlinder(object):\nelif two_fold_type == 'reimers':\nsubmitted_weight = [.5, .5]\n- self.t_params = .5 * (self._f_model.params) + .5 * (self._s_mod...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
tested this, but thought I deleted it. Just needless extension. Had the same output though.
641,971
13.09.2021 19:20:30
14,400
d602699fb52ae736a6ae705a27e4398b23048c87
REF/ENH: more consistency in theta/tau, add FrankCopula.tau
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/archimedean.py", "new_path": "statsmodels/distributions/copula/archimedean.py", "diff": "@@ -16,6 +16,16 @@ from .copulas import Copula\nfrom statsmodels.tools.rng_qrng import check_random_state\n+def _debye(alpha):\n+ EPSILON ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/ENH: more consistency in theta/tau, add FrankCopula.tau
641,971
14.09.2021 21:35:13
14,400
ca1c25150479589405199fde9a7dff2fbcf14154
REF: cleanup api, renames, args in CopulaDistribution, docstrings
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/archimedean.py", "new_path": "statsmodels/distributions/copula/archimedean.py", "diff": "@@ -27,6 +27,21 @@ def _debye(alpha):\nclass ArchimedeanCopula(Copula):\n+ \"\"\"Base class for Archimedean copulas\n+\n+ Parameters\n+ --...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: cleanup api, renames, args in CopulaDistribution, docstrings
641,971
15.09.2021 10:03:02
14,400
246a0c0adf02d6b4e2059bb754a0ec074d94be65
REF: elliptical base class, ValueError for invalid args
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/elliptical.py", "new_path": "statsmodels/distributions/copula/elliptical.py", "diff": "@@ -7,6 +7,7 @@ Author: Pamphile Roy\nLicense: BSD-3\n\"\"\"\n+import warnings\nimport numpy as np\nfrom scipy import stats\n# scipy compat:...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: elliptical base class, ValueError for invalid args
641,971
15.09.2021 11:29:16
14,400
a73eb98906e436aaaaae5c6789fdde4aaaf2e766
DOC: update notebook for changes, no default copula=None
[ { "change_type": "MODIFY", "old_path": "examples/notebooks/copula.ipynb", "new_path": "examples/notebooks/copula.ipynb", "diff": "},\n\"outputs\": [],\n\"source\": [\n- \"from statsmodels.distributions.copula.api import CopulaDistribution, GumbelCopula\\n\",\n+ \"from statsmodels.distributions.copul...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: update notebook for changes, no default copula=None
641,971
16.09.2021 16:30:35
14,400
58cbba9d4b1c6095c9f1cfb206bdd8ba15c01659
DOC: improve Beta regression docs and docstrings
[ { "change_type": "MODIFY", "old_path": "docs/source/other_models.rst", "new_path": "docs/source/other_models.rst", "diff": "Other Models :mod:`othermod`\n==============================\n-:mod:`statsmodels.other` contains model classes and that do not fit into\n+:mod:`statsmodels.othermod` contains m...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: improve Beta regression docs and docstrings
641,971
16.09.2021 16:33:32
14,400
ceea2528808ba92335b841938e27b880d3b1ff59
DOC: try docstring inheritance, improve OrderedModel docstrings
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -961,11 +961,7 @@ class GenericLikelihoodModel(LikelihoodModel):\ndef fit(self, start_params=None, method='nm', maxiter=500, full_output=1,\ndisp=1, callback=None, retall=0, **kwa...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: try docstring inheritance, improve OrderedModel docstrings
641,971
20.09.2021 14:22:48
14,400
ba9909c8dc5314805d52cb10e4c70a4e11c1a8ea
DOC: various docstring improvements,
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -906,7 +906,19 @@ class GenericLikelihoodModel(LikelihoodModel):\nreturn -self.loglikeobs(params).sum(0)\ndef loglikeobs(self, params):\n- \"\"\"Log-likelihood of individual obser...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: various docstring improvements,
641,971
20.09.2021 23:37:16
14,400
56ae6f3b46ac317ed3768bdb39156694aac7725f
MAINT/DoC: add to stats.api, nonprametric.api, cleanup namespaces in stats
[ { "change_type": "MODIFY", "old_path": "docs/source/stats.rst", "new_path": "docs/source/stats.rst", "diff": "@@ -188,6 +188,7 @@ Non-Parametric Tests\nrank_compare_2indep\nrank_compare_2ordinal\n+ RankCompareResult\ncohensd2problarger\nprob_larger_continuous\nrankdata_2samp\n@@ -580,9 +581,11 @@ Mo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT/DoC: add to stats.api, nonprametric.api, cleanup namespaces in stats
641,971
21.09.2021 13:28:56
14,400
6f18ef06158b97eabd15966ff87332c6e84e18f3
MAINT: more additions to api.py and api.rst
[ { "change_type": "MODIFY", "old_path": "docs/source/api.rst", "new_path": "docs/source/api.rst", "diff": "@@ -25,9 +25,9 @@ Regression\n.. autosummary::\n~statsmodels.regression.linear_model.OLS\n+ ~statsmodels.regression.linear_model.WLS\n~statsmodels.regression.linear_model.GLS\n~statsmodels.regre...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: more additions to api.py and api.rst
641,971
23.09.2021 15:51:36
14,400
bebda9ed39d26f3b01deb710cfc4bb8e2a9a49fd
DOC: add to release notes, smaller doc fixes, references
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/ordinal_model.py", "new_path": "statsmodels/miscmodels/ordinal_model.py", "diff": "@@ -265,7 +265,8 @@ class OrderedModel(GenericLikelihoodModel):\nreturn model\n- from_formula.__doc__ = Model.from_formula.__doc__\n+ from_formula.__func_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: add to release notes, smaller doc fixes, references
641,971
23.09.2021 15:55:25
14,400
d9e1f5eb5055445f5064f8360e5b5939efb6fc5a
BUG: fix summary().as_latex, line in top table dropped, closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_discrete.py", "new_path": "statsmodels/discrete/tests/test_discrete.py", "diff": "@@ -142,6 +142,16 @@ class CheckModelResults(CheckModelMixin):\nscore = self.res1.model.score(self.res1.params)\nassert_almost_equal(jacsum, score...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix summary().as_latex, line in top table dropped, closes #7747
641,971
24.09.2021 01:32:00
14,400
517d6b5922073a41a3500654c169fc3ec63c0826
ENH: warn if unknown kwargs in GLM.__init__ see
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -289,6 +289,15 @@ class GLM(base.LikelihoodModel):\nexposure=None, freq_weights=None, var_weights=None,\nmissing='none', **kwargs):\n+ # ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: warn if unknown kwargs in GLM.__init__ see #7741
641,971
24.09.2021 11:35:03
14,400
65e9f0e16de2a7f01dbc6804f24c2cb2e56500eb
REF: GLM init invalid kwargs use ValueWarning
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -43,6 +43,7 @@ from statsmodels.tools.sm_exceptions import (\nDomainWarning,\nHessianInversionWarning,\nPerfectSeparationError,\n+ ValueW...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: GLM init invalid kwargs use ValueWarning
641,971
24.09.2021 13:13:39
14,400
a815cb2cc253fc6fb50ca43547c625ea2c4f81ce
ENH: add kwarg check to `OLS.__init__`
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -79,6 +79,10 @@ class Model(object):\n# Default is 1, which is more common. Override in models when needed\n# Set to None to skip check\n_formula_max_endog = 1\n+ # kwargs that ar...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add kwarg check to `OLS.__init__`
641,971
25.09.2021 01:47:16
14,400
92f1ab4e2f78c221414d66a52f8377630c9f63c7
ENH: check_args in discrete, RLM, Quantreg, warn weights in OLS
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -110,6 +110,22 @@ class Model(object):\nreturn kwds\n+ def _check_kwargs(self, kwargs, keys_extra=None, error=True):\n+\n+ kwargs_allowed = [\n+ \"missing\", 'missing_idx', 'formu...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: check_args in discrete, RLM, Quantreg, warn weights in OLS
641,971
25.09.2021 18:26:45
14,400
648a0ad7890d76c539708a8f0c51797d9424620d
ENH/REF: add check_args to GEE, use generic for GLM
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_estimating_equations.py", "new_path": "statsmodels/genmod/generalized_estimating_equations.py", "diff": "@@ -496,9 +496,10 @@ class GEE(GLM):\nexposure=None, dep_data=None, constraint=None,\nupdate_dep=True, weights=None, **kwarg...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF: add check_args to GEE, use generic for GLM
641,971
25.09.2021 18:28:15
14,400
19cae58310cc671bd18c81a816a4a177d9746ecf
BUG: GLS fit_regularized: fix if signa is 1-dim closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -625,7 +625,14 @@ class GLS(RegressionModel):\n# Need to adjust since RSS/n term in elastic net uses nominal\n# n in denominator\nif self.sigma is not No...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: GLS fit_regularized: fix if signa is 1-dim closes #7755
641,971
26.09.2021 13:19:08
14,400
843d01e0076b1a6ac50339808aef20121a84b706
BUG/ENH: fix check_kwargs for GLM penalized subclass, `GLMResults.null`
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_penalized.py", "new_path": "statsmodels/base/_penalized.py", "diff": "@@ -51,7 +51,7 @@ class PenalizedMixin(object):\nself._init_keys.extend(['penal', 'pen_weight'])\nself._null_drop_keys = getattr(self, '_null_drop_keys', [])\n- self._null_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/ENH: fix check_kwargs for GLM penalized subclass, `GLMResults.null`
641,971
26.09.2021 14:43:36
14,400
16f99fc7aaa5b4f2fb5c4dd42bb4b318c7420342
REF: switch to warning in init check_kwargs, code comment in archimedean
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -29,6 +29,8 @@ from statsmodels.tools.sm_exceptions import (\nfrom statsmodels.tools.tools import nan_dot, recipr\nfrom statsmodels.tools.validation import bool_like\n+ERROR_INIT_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: switch to warning in init check_kwargs, code comment in archimedean
641,971
27.09.2021 11:49:35
14,400
ae8bbb86eefab598ec4b8a8425843118f8801169
BUG: missing warnings import in ordinal_model, nan endog label
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/ordinal_model.py", "new_path": "statsmodels/miscmodels/ordinal_model.py", "diff": "@@ -6,6 +6,8 @@ Author: Josef Perktold\nLicense: BSD-3\n\"\"\"\n+import warnings\n+\nfrom statsmodels.compat.pandas import Appender\nimport numpy as np\n@...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: missing warnings import in ordinal_model, nan endog label
641,971
27.09.2021 11:50:22
14,400
6bd74bc2372edb88e41a04c5399f7439e5f0d744
TST: GLM numdiff check, tighten tolerance
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_glm.py", "new_path": "statsmodels/genmod/tests/test_glm.py", "diff": "@@ -1176,16 +1176,16 @@ def check_score_hessian(results):\n# avoid checking score at MLE, score close to zero\nsc = results.model.score(params * 0.98, scale=1)\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: GLM numdiff check, tighten tolerance
642,028
29.09.2021 11:53:36
14,400
53718455cf915d8fe445e732d69e2f0908b0eee6
BUG: fix lowess spikes/nans from epsilon values Resolves and
[ { "change_type": "MODIFY", "old_path": "statsmodels/nonparametric/_smoothers_lowess.pyx", "new_path": "statsmodels/nonparametric/_smoothers_lowess.pyx", "diff": "@@ -328,6 +328,7 @@ cdef bool calculate_weights(np.ndarray[DTYPE_t, ndim = 1] x,\nnp.ndarray[DTYPE_t, ndim = 1] dist_i_j = np.abs(x_j - xv...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix lowess spikes/nans from epsilon values Resolves #7700 and #2449
641,971
01.10.2021 10:59:34
14,400
1ddec0e88aaf1c2e50549144f79ed1deda33a66b
ENH: add options to meta-analysis plot_forest
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/meta_analysis.py", "new_path": "statsmodels/stats/meta_analysis.py", "diff": "@@ -276,13 +276,31 @@ class CombineResults(object):\nresults = pd.DataFrame(res, index=labels, columns=col_names)\nreturn results\n- def plot_forest(self, ax=None, ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add options to meta-analysis plot_forest
641,933
01.10.2021 14:57:18
18,000
a45a9cb0e20c26551be9f17937dbbfb5ed0d7fbf
Update proportion.py Remove docstring for arguments that don't exist in function.
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/proportion.py", "new_path": "statsmodels/stats/proportion.py", "diff": "@@ -979,9 +979,6 @@ def proportions_chisquare_allpairs(count, nobs, multitest_method='hs'):\nthe number of successes in nobs trials.\nnobs : int\nthe number of trials or ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Update proportion.py Remove docstring for arguments that don't exist in function.
641,919
11.10.2021 14:19:30
-10,800
93b76e78ee31c8b0f749bf0d8b8554a9938a25ac
Fixed HW predictions for freq type of int
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/holtwinters/model.py", "new_path": "statsmodels/tsa/holtwinters/model.py", "diff": "@@ -496,7 +496,7 @@ class ExponentialSmoothing(TimeSeriesModel):\nif start is None:\nfreq = getattr(self._index, \"freq\", 1)\nif isinstance(freq, int):\n- star...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fixed HW predictions for freq type of int
642,038
20.10.2021 08:40:53
-7,200
d9067a7ab7e0224b5af5e4ebe1b10687c20024b6
fix ZivotAndrewsUnitRoot.run() docstrings
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/stattools.py", "new_path": "statsmodels/tsa/stattools.py", "diff": "@@ -2508,11 +2508,11 @@ class ZivotAndrewsUnitRoot(object):\ncvdict : dict\nThe critical values for the test statistic at the 1%, 5%, and 10%\nlevels.\n+ baselag : int\n+ The n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix ZivotAndrewsUnitRoot.run() docstrings
641,971
11.12.2020 12:45:30
18,000
2ba5096d736c9e5c544607317fa18b67439b804d
ENH: add discrete PoissonDiagnostic
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/discrete/diagnostic.py", "diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Created on Wed Nov 18 15:17:58 2020\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\n+\"\"\"\n+\n+import numpy as np\n+\n+from statsmodels.tools.decorators import ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add discrete PoissonDiagnostic
641,971
11.12.2020 12:46:30
18,000
dbca779e0da671b42fce32655a6e41749c59c1fd
BUG: dean dispersion test did not return 2-sided pvalue
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/_diagnostic_other.py", "new_path": "statsmodels/stats/_diagnostic_other.py", "diff": "@@ -701,9 +701,9 @@ def dispersion_poisson(results):\ndean_b = var_resid_endog_sum / std1\ndean_c = (var_resid_endog / fitted).sum() / np.sqrt(2 * nobs)\n- ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: dean dispersion test did not return 2-sided pvalue
641,971
13.12.2020 23:34:35
18,000
cf3b1f233c9c0cd55ad350ffaee61130b794eef4
ENH: add get_prediction in Poisson, add derivatives to Poisson, CountModel
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -913,6 +913,28 @@ class CountModel(DiscreteModel):\nreturn self._derivative_exog_helper(margeff, params, exog,\ndummy_idx, count_idx, transform)\n+ def _...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add get_prediction in Poisson, add derivatives to Poisson, CountModel
641,971
14.12.2020 00:58:00
18,000
a9280b64ae76e1931dd22991d90c81cb2a352f70
ENH: add im_ratio, tic and gbic to discrete
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -32,6 +32,7 @@ from statsmodels.base.data import handle_data # for mnlogit\nfrom statsmodels.base.l1_slsqp import fit_l1_slsqp\nimport statsmodels.base.m...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add im_ratio, tic and gbic to discrete
641,971
14.12.2020 12:31:22
18,000
a8daea5088b3099b331b8e3c3804154064420f87
TST: test Poisson MLEInfluence agains GLMInfluence
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -998,7 +998,7 @@ class Poisson(CountModel):\nequal to 1.\n\"\"\" + base._missing_param_doc + _check_rank_doc}\n- @property\n+ @cache_readonly\ndef family...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: test Poisson MLEInfluence agains GLMInfluence
641,971
14.12.2020 12:33:18
18,000
bf3eb065b1d90e64156cce85917d40fbce419d88
ENH: add get_prediction, family, score_factor, hess factor to Logit, enables MLEInfluence
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -565,6 +565,27 @@ class BinaryModel(DiscreteModel):\nreturn self._derivative_exog_helper(margeff, params, exog,\ndummy_idx, count_idx, transform)\n+ def ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add get_prediction, family, score_factor, hess factor to Logit, enables MLEInfluence
641,971
15.12.2020 13:10:46
18,000
82f536c1db1cded0d2fb0a21930023c77d646f81
REF/TST: remove warnings when testing test_glm.py
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -1661,18 +1661,23 @@ class GLMResults(base.LikelihoodModelResults):\nkwargs = model._get_init_kwds().copy()\nkwargs.pop('family')\n+\nfor...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/TST: remove warnings when testing test_glm.py
641,971
15.12.2020 14:02:20
18,000
f869c5a27de8cb77679e552c59e18536ee92b25f
TST: fix disptest numbers after bugfix in pvalue, add test for linpred.se_mean
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_glm_weights.py", "new_path": "statsmodels/genmod/tests/test_glm_weights.py", "diff": "@@ -136,6 +136,10 @@ class CheckWeight(object):\nassert_allclose(self.res1.pearson_chi2, self.res2.deviance_p,\natol=1e-6, rtol=1e-6)\n+ def tes...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: fix disptest numbers after bugfix in pvalue, add test for linpred.se_mean
641,971
15.12.2020 15:12:15
18,000
423ce6971b416aa970f29ed71cfa713f41737d37
TST/CLN: some code and pep-8 cleanup in test_glm_weights
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_glm_weights.py", "new_path": "statsmodels/genmod/tests/test_glm_weights.py", "diff": "@@ -98,17 +98,22 @@ class CheckWeight(object):\nreturn None # use SkipError instead\nresid_all = dict(zip(res2.resids_colnames, res2.resids.T))\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST/CLN: some code and pep-8 cleanup in test_glm_weights
641,971
15.12.2020 15:49:00
18,000
b4ebcc00b674afc0db0afa9f19dc4cdd316178ae
BUG/TST: fix link in Logit, adjust test, add test_get_prediction
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -579,8 +579,7 @@ class BinaryModel(DiscreteModel):\nThe value of the derivative of the expected endog with respect\nto the parameter vector.\n\"\"\"\n- f...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/TST: fix link in Logit, adjust test, add test_get_prediction
641,971
21.07.2021 16:02:39
14,400
b395b9d976874f53ae5fe9a1a88831bacdb2af4a
BUG: fix optimizer keywords to avoid exception
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_influence.py", "new_path": "statsmodels/stats/tests/test_influence.py", "diff": "@@ -255,7 +255,7 @@ class TestInfluenceLogitCompare(InfluenceCompareExact):\ndf = data_bin\nmod = GLM(df['constrict'], df[['const', 'log_rate', 'log_v...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix optimizer keywords to avoid exception
641,971
29.09.2021 15:35:41
14,400
9b3639e98a732851f7fe4547306d967a7eb50493
REF: add info_criteria method to DiscreteResults, move tic and gbic
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -3786,13 +3786,45 @@ class DiscreteResults(base.LikelihoodModelResults):\ndef im_ratio(self):\nreturn pinf.im_ratio(self)\n- @cache_readonly\n- def tic(s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: add info_criteria method to DiscreteResults, move tic and gbic
641,971
22.10.2021 17:28:18
14,400
f626a155a6f508a669070dbca49a8477dbe3a7bc
REF: diagnostic_other poisson dispersion test switch HC1 to HC3
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_score_test.py", "new_path": "statsmodels/genmod/tests/test_score_test.py", "diff": "@@ -25,13 +25,15 @@ class TestScoreTest(object):\n# regression numbers\nres_pvalue = [0.31786373532550893, 0.32654081685271297]\nskip_wooldridge =...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: diagnostic_other poisson dispersion test switch HC1 to HC3
641,971
22.10.2021 17:29:05
14,400
a2733ba6cae1fc6df28785b836e2bc27d1af7c17
BUG/ENH: Poisson.predict add which, fix PoissonDiagnostic
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/_diagnostics_count.py", "new_path": "statsmodels/discrete/_diagnostics_count.py", "diff": "@@ -32,6 +32,8 @@ def _combine_bins(edge_index, x):\nReturns\n-------\nx_new : ndarray\n+ k_li : ndarray\n+ Count of columns combined in bin.\nExamp...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/ENH: Poisson.predict add which, fix PoissonDiagnostic
641,971
25.10.2021 15:06:07
14,400
8365fbbdc77f0f3247c0c9e7067001c95367dfa1
ENH/REF/DOC: add He test test_poisson_zeros, renames, docstrings, flake
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/diagnostic.py", "new_path": "statsmodels/discrete/diagnostic.py", "diff": "@@ -7,17 +7,27 @@ License: BSD-3\n\"\"\"\n+import warnings\n+\nimport numpy as np\nfrom statsmodels.tools.decorators import cache_readonly\nfrom statsmodels.stats._...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF/DOC: add He test test_poisson_zeros, renames, docstrings, flake
641,971
28.10.2021 12:20:34
14,400
0158af15fd5209023c71fd479b859214d20a33bd
REF/ENH: return HolderTuple, add get_influence, limit number bins in _chisquare_binned
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/diagnostic.py", "new_path": "statsmodels/discrete/diagnostic.py", "diff": "@@ -37,7 +37,7 @@ class CountDiagnostic(object):\nclass PoissonDiagnostic(CountDiagnostic):\n\"\"\"Diagnostic and specification tests and plots for Poisson model\n-...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/ENH: return HolderTuple, add get_influence, limit number bins in _chisquare_binned
641,971
05.06.2018 21:42:37
14,400
c27a941f3bd84fa03fbfb51c25ecd18b3647cfd2
ENH: add score_factor, hessian_factor to discrete (copy/paste), see also
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_parameter_inference.py", "new_path": "statsmodels/base/_parameter_inference.py", "diff": "@@ -9,7 +9,7 @@ import numpy as np\nfrom scipy import stats\n-# this is a copy from stats._diagnostic_other\n+# this is a copy from stats._diagnostic_ot...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add score_factor, hessian_factor to discrete (copy/paste), see also #4714
641,971
05.06.2018 23:48:08
14,400
78a181a315ad9749937e95d78123ff5bac76ae73
ENH: add offset to discrete Binary, Logit, Probit
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -457,19 +457,23 @@ class DiscreteModel(base.LikelihoodModel):\nclass BinaryModel(DiscreteModel):\n_continuous_ok = False\n- def __init__(self, endog, exo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add offset to discrete Binary, Logit, Probit
641,971
06.06.2018 16:53:04
14,400
0d2d7590350f0905122720434ddefcf99e3e3b12
ENH: add fit_constrained to discrete.BinaryModel
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -32,7 +32,9 @@ from statsmodels.base.data import handle_data # for mnlogit\nfrom statsmodels.base.l1_slsqp import fit_l1_slsqp\nimport statsmodels.base.m...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add fit_constrained to discrete.BinaryModel
641,971
06.06.2018 22:41:21
14,400
9cd220292d5eabefc40903d0094b11c8bd6b6913
ENH: add score_test to Results GLM and Discrete
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -34,6 +34,7 @@ import statsmodels.base.model as base\nimport statsmodels.base.wrapper as wrap\nfrom statsmodels.base._constraints import fit_constrained_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add score_test to Results GLM and Discrete
641,971
29.10.2021 11:16:12
14,400
d5ad98ec06e3de41203951106458afd3cb940b71
REF MLEInfluence fix sign of hessian_factor, change modul name shortcut, pep8
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -33,9 +33,7 @@ from statsmodels.base.l1_slsqp import fit_l1_slsqp\nimport statsmodels.base.model as base\nimport statsmodels.base.wrapper as wrap\nfrom s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF MLEInfluence fix sign of hessian_factor, change modul name shortcut, pep8
641,971
31.10.2021 14:53:12
14,400
3e272b4f73e5c79aef8d7e4e8ed922239886e56a
REF/CLN: add warnings if weights in GLM score_test, cleanup, flake
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_parameter_inference.py", "new_path": "statsmodels/base/_parameter_inference.py", "diff": "@@ -245,7 +245,8 @@ def score_test(self, exog_extra=None, params_constrained=None,\npval = stats.chi2.sf(chi2stat, k_constraints)\nreturn chi2stat, pval...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/CLN: add warnings if weights in GLM score_test, cleanup, flake
641,971
28.02.2015 07:17:26
18,000
476bebb27093d5fbd9a9db4befb05a5a89ee9003
ENH/REF: NonlinearDeltaCov add methods and options
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/count.py", "new_path": "statsmodels/miscmodels/count.py", "diff": "@@ -53,14 +53,19 @@ class NonlinearDeltaCov(object):\nequations follow Greene\n'''\n- def __init__(self, fun, params, cov_params):\n+ def __init__(self, fun, params, cov_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF: NonlinearDeltaCov add methods and options
641,971
28.02.2015 08:44:37
18,000
a0212059a3b582129124066e4369f5851884482a
REF: renames expected -> predicted, wald_test
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/count.py", "new_path": "statsmodels/miscmodels/count.py", "diff": "@@ -75,17 +75,18 @@ class NonlinearDeltaCov(object):\ncovar = np.dot(np.dot(g, self.cov_params), g.T)\nreturn covar\n- def expected(self):\n+ def predicted(self):\n# rena...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: renames expected -> predicted, wald_test
641,971
28.02.2015 08:45:30
18,000
bacb61b6ad3d58de2c500b74cf1c9aba31e05ef8
BUG/ENH fix grad argument, add summary via ContrastResults
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/count.py", "new_path": "statsmodels/miscmodels/count.py", "diff": "@@ -52,19 +52,23 @@ class NonlinearDeltaCov(object):\nequations follow Greene\n+ This class does not use any caching. The intended usage is as a helper\n+ function. Extra...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/ENH fix grad argument, add summary via ContrastResults
641,971
28.02.2015 09:09:34
18,000
4760a25e15e15df84b39686a082f180cbe1cbfb4
BUG: fix summary (use of ContrastResults) for scalar case
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/count.py", "new_path": "statsmodels/miscmodels/count.py", "diff": "@@ -134,6 +134,10 @@ class NonlinearDeltaCov(object):\nfrom statsmodels.stats.contrast import ContrastResults\npredicted = self.predicted()\nse = self.se_vectorized()\n+ ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix summary (use of ContrastResults) for scalar case
641,971
28.02.2015 17:57:00
18,000
78442c24c698cffe1d0c6ef8431d42e336e7637e
REF move NonlinearDeltaCov to stats._delta_method
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/count.py", "new_path": "statsmodels/miscmodels/count.py", "diff": "@@ -40,114 +40,6 @@ def maxabs(arr1, arr2):\ndef maxabsrel(arr1, arr2):\nreturn np.max(np.abs(arr2 / arr1 - 1))\n-class NonlinearDeltaCov(object):\n- '''Asymptotic covari...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF move NonlinearDeltaCov to stats._delta_method
641,971
01.03.2015 00:06:51
18,000
5021fb1abe1d6db0c614550c3d640fbeeedb831d
REF/ENH: ref NonlinearDeltaCov, add `LikelihoodModelResults._wald_test_nl`
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -2081,6 +2081,33 @@ class LikelihoodModelResults(Results):\nfactor_labels=factor_labels)\nreturn res\n+ def _wald_test_nl(self, func, deriv=None): #, func_args=None):\n+ \"\"\"Exp...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/ENH: ref NonlinearDeltaCov, add `LikelihoodModelResults._wald_test_nl`
641,971
01.03.2015 08:33:26
18,000
bbdecfe71af9dae014a14c7d58b61f49463844c6
TST: add unittests for NonlinearDeltaCov, LikelihoodResults._wald_test_nl
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/stats/tests/test_deltacov.py", "diff": "+# -*- coding: utf-8 -*-\n+\"\"\"Unit tests for NonlinearDeltaCov and LikelihoodResults._wald_test_nl\n+Created on Sun Mar 01 01:05:35 2015\n+\n+Author: Josef Perktold\n+License: BSD-3\n+\n+\"\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: add unittests for NonlinearDeltaCov, LikelihoodResults._wald_test_nl
641,971
26.09.2021 19:03:38
14,400
8b133e884e53de26068675304b9ddc792f6b2b55
DOC: add/improve docstrings
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -2086,7 +2086,7 @@ class LikelihoodModelResults(Results):\nParameters\n----------\n- func : function of params\n+ func : callable, f(params)\nnonlinear function of the estimation ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: add/improve docstrings
641,971
31.10.2021 16:17:58
14,400
b9b0501c9c393de27a5f0886d2e3d7effcfa0cb7
BUG: fix refactoring bugs, some pep-8
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -2104,7 +2104,7 @@ class LikelihoodModelResults(Results):\nfrom statsmodels.stats._delta_method import NonlinearDeltaCov\nfunc_args = None # TODO: not yet implemented, maybe skip ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix refactoring bugs, some pep-8
641,971
02.11.2021 09:47:09
14,400
d86a20f6383461e3db6deca86de26bf4418000e6
REF: rename to results._get_wald_nonlinear, replace lambda
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -2081,7 +2081,7 @@ class LikelihoodModelResults(Results):\nfactor_labels=factor_labels)\nreturn res\n- def _wald_test_nl(self, func, deriv=None): #, func_args=None):\n+ def _get_w...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: rename to results._get_wald_nonlinear, replace lambda
642,023
03.11.2021 09:18:52
10,800
a602d84bfa946f61f87bc67741135a00872f2a76
DOC: Fixes typo "Welsh ttest" to "Welch ttest" Some mentions to "Welch ttest" were written "Welsh ttest", this commit fixes it.
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/weightstats.py", "new_path": "statsmodels/stats/weightstats.py", "diff": "@@ -920,7 +920,7 @@ class CompareMeans(object):\nusevar : str, 'pooled' or 'unequal'\nIf ``pooled``, then the standard deviation of the samples is\nassumed to be the sa...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Fixes typo "Welsh ttest" to "Welch ttest" Some mentions to "Welch ttest" were written "Welsh ttest", this commit fixes it.
641,971
04.11.2021 15:28:00
14,400
b77e9c45bb6e899007873ee1e55552bb00a3b2a9
BUG: GLM score_test, use correct df_resid, some unit test refactor
[ { "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
BUG: GLM score_test, use correct df_resid, some unit test refactor
641,971
08.11.2021 13:11:16
18,000
64c8b479c7c81795e2cb0021430a298a61fdf5a2
TST: add start_params to TestPenalizedPoissonOraclePenalized2, see
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/tests/test_penalized.py", "new_path": "statsmodels/base/tests/test_penalized.py", "diff": "@@ -320,12 +320,20 @@ class TestPenalizedPoissonOraclePenalized2(CheckPenalizedPoisson):\nmodp = PoissonPenalized(y, x[:, :cls.k_nonzero], penal=cls.pen...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: add start_params to TestPenalizedPoissonOraclePenalized2, see #7866
641,971
08.11.2021 14:34:05
18,000
4024e8fedfdd696077381013ad85640b33e1b79f
BUG/ENH: raise notimplemented in zero inflated derivatives (not exp mean)
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/count_model.py", "new_path": "statsmodels/discrete/count_model.py", "diff": "@@ -470,6 +470,24 @@ class GenericZeroInflated(CountModel):\nelse:\nraise ValueError('which = %s is not available' % which)\n+ def _derivative_predict(self, param...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/ENH: raise notimplemented in zero inflated derivatives (not exp mean)
641,971
10.11.2021 10:04:13
18,000
ec59ff66a4947c553896d54b61c9b1b76e674afb
REF: move genmod._prediction to base._prediction_inference
[ { "change_type": "RENAME", "old_path": "statsmodels/genmod/_prediction.py", "new_path": "statsmodels/base/_prediction_inference.py", "diff": "" }, { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: move genmod._prediction to base._prediction_inference
641,856
11.11.2021 23:28:22
18,000
181bc6cdf157edf79ae1a6677a0a96a3fc8a2444
BUG: Use sorted residual to calcualte _cpr closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/gam/generalized_additive_model.py", "new_path": "statsmodels/gam/generalized_additive_model.py", "diff": "@@ -356,7 +356,8 @@ class GLMGamResults(GLMResults):\nif cpr:\n# TODO: resid_response does not make sense with nonlinear link\n# use resid_wor...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Use sorted residual to calcualte _cpr closes #7872
641,971
14.11.2021 10:00:26
18,000
a37d8a9bc220d59e0b88a3aba9519c5e0166b963
ENH/REF: add get_prediction_monotonic, add get_prediction to CountResults, ZI
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_prediction_inference.py", "new_path": "statsmodels/base/_prediction_inference.py", "diff": "@@ -11,8 +11,150 @@ import numpy as np\nfrom scipy import stats\nimport pandas as pd\n-# this is similar to ContrastResults after t_test, partially co...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF: add get_prediction_monotonic, add get_prediction to CountResults, ZI
641,971
16.11.2021 13:50:19
18,000
1985a2317045c3d532a4d97200da28cfea2c96fa
REF/TST: refactor Prediction results
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_prediction_inference.py", "new_path": "statsmodels/base/_prediction_inference.py", "diff": "@@ -12,6 +12,127 @@ from scipy import stats\nimport pandas as pd\n+# this is based on PredictionResults, copied and adjusted\n+class PredictionResults...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/TST: refactor Prediction results
641,971
18.11.2021 11:50:06
18,000
b16c508caa9876551cb597726432bce485bdd4d9
ENH/REF/BUG: renamings, move get_prediction to DiscreteResults
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_prediction_inference.py", "new_path": "statsmodels/base/_prediction_inference.py", "diff": "@@ -283,8 +283,8 @@ class PredictionResultsMean(object):\ndef __init__(self, predicted_mean, var_pred_mean, var_resid=None,\ndf=None, dist=None, row_l...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF/BUG: renamings, move get_prediction to DiscreteResults
641,971
18.11.2021 12:00:55
18,000
c764bbcc71c1a6add89f32f6858f5b3306d9518b
REF: PredictionResults classes: inherit methods
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_prediction_inference.py", "new_path": "statsmodels/base/_prediction_inference.py", "diff": "@@ -12,7 +12,7 @@ from scipy import stats\nimport pandas as pd\n-# this is based on PredictionResults, copied and adjusted\n+# this is similar to Cont...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: PredictionResults classes: inherit methods
641,994
18.11.2021 17:02:23
0
f054779121b32657ad043a19a6df505af94ae3d1
FIX: Issue Uses correct object for lower and upper bounds
[ { "change_type": "MODIFY", "old_path": "examples/notebooks/ols.ipynb", "new_path": "examples/notebooks/ols.ipynb", "diff": "\"outputs\": [],\n\"source\": [\n\"pred_ols2 = res2.get_prediction()\\n\",\n- \"iv_l = pred_ols.summary_frame()[\\\"obs_ci_lower\\\"]\\n\",\n- \"iv_u = pred_ols.summary_frame()...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
FIX: Issue #7889 Uses correct object for lower and upper bounds
641,971
18.11.2021 16:48:09
18,000
6e484f4e7e233ce7b99e41c6817ce1fec29f9178
DOC/TST improve docstrings, unit test for prediction t_test
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_prediction_inference.py", "new_path": "statsmodels/base/_prediction_inference.py", "diff": "@@ -14,6 +14,8 @@ import pandas as pd\n# this is similar to ContrastResults after t_test, partially copied, adjusted\nclass PredictionResultsBase(obje...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC/TST improve docstrings, unit test for prediction t_test
641,971
21.11.2021 13:30:06
18,000
2a523be9642115616f41e8fb6a74f79e0f968965
REF/ENH: add CountResults.get_diagnostic, move 3 methods to Countdiagnostic
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/diagnostic.py", "new_path": "statsmodels/discrete/diagnostic.py", "diff": "@@ -31,7 +31,99 @@ from statsmodels.discrete._diagnostics_count import (\nclass CountDiagnostic(object):\n- pass\n+ \"\"\"Diagnostic and specification tests and plo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/ENH: add CountResults.get_diagnostic, move 3 methods to Countdiagnostic
641,971
23.11.2021 15:38:40
18,000
92a47b818e9448f603739bea8fa95fa639e1888d
ENH/BUG: add get_prediction_linear, fix linear get_prediction for NBP
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_prediction_inference.py", "new_path": "statsmodels/base/_prediction_inference.py", "diff": "@@ -478,6 +478,73 @@ def get_prediction_glm(self, exog=None, transform=True,\nrow_labels=row_labels, linpred=linpred, link=link)\n+def get_prediction_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/BUG: add get_prediction_linear, fix linear get_prediction for NBP
641,971
24.11.2021 15:03:55
18,000
f9657aa103b817049c6cbb78606cb0cfd8f64cce
REF/ENH: add GenericLikelihoodModelResults.get_prediction, test BetaModel
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/_prediction_inference.py", "new_path": "statsmodels/base/_prediction_inference.py", "diff": "@@ -690,6 +690,107 @@ def get_prediction_delta(\nreturn res\n+def get_prediction(self, exog=None, transform=True, which=\"mean\",\n+ row_labels=None, ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/ENH: add GenericLikelihoodModelResults.get_prediction, test BetaModel