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,836
16.06.2021 22:17:41
25,200
96fb84b75d00f6cd4a4b15069ebe39e219b33b79
Add change to release note version0.13.rst (GH7508)
[ { "change_type": "MODIFY", "old_path": "docs/source/release/version0.13.rst", "new_path": "docs/source/release/version0.13.rst", "diff": "@@ -58,3 +58,6 @@ Submodules\n~~~~~~~\n- Allow fixing parameters in ARIMA estimator Hannan-Rissanen\n(:pr:`7497`, :pr:`7501`)\n+- Fix a false validation error in ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add change to release note version0.13.rst (GH7508)
642,008
18.06.2021 10:01:46
-7,200
f8caa1b01aa169b9da01451b3454e9e303d58834
BUG: Allow remove_data to work when cached attribute is not implemented (GH7510)
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -2221,7 +2221,10 @@ class LikelihoodModelResults(Results):\n# make sure the cached for value_attrs are evaluated; this needs to\n# occur _before_ any other attributes are removed....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Allow remove_data to work when cached attribute is not implemented (GH7510)
641,996
19.06.2021 08:05:56
-7,200
0d047a5acffae4ed243ecb34fb371ff0cff103b5
Remove typo in plot_pacf example example contained "sm.graphics.tsa.plot_acf", should be 'sm.graphics.tsa.plot_pacf'. (According 'plots/graphics_tsa_plot_pacf.py' already looks fine.)
[ { "change_type": "MODIFY", "old_path": "statsmodels/graphics/tsaplots.py", "new_path": "statsmodels/graphics/tsaplots.py", "diff": "@@ -331,7 +331,7 @@ def plot_pacf(\n>>> dta = sm.datasets.sunspots.load_pandas().data\n>>> dta.index = pd.Index(sm.tsa.datetools.dates_from_range('1700', '2008'))\n>>> ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Remove typo in plot_pacf example example contained "sm.graphics.tsa.plot_acf", should be 'sm.graphics.tsa.plot_pacf'. (According 'plots/graphics_tsa_plot_pacf.py' already looks fine.)
641,896
06.07.2021 14:14:15
-3,600
7a044b9e3ff08c2ebaac48064d0a8013676cf8b9
MAINT: Add github actions to build docs Add GH actions script to build docs
[ { "change_type": "ADD", "old_path": null, "new_path": ".github/workflows/generate-documentation.yml", "diff": "+name: Generate Documentation\n+\n+on:\n+ release:\n+ types: [published]\n+ push:\n+ branches:\n+ - main\n+ pull_request:\n+\n+jobs:\n+ build:\n+ runs-on: ubuntu-latest\n+ defaults:\n+ run:...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: Add github actions to build docs Add GH actions script to build docs
641,971
06.07.2021 11:02:01
14,400
c2f02b2ec447ccd9db31b9d3baac394666f8c321
BUG/ENH fix, add GLM, family get_distribution
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -10,7 +10,7 @@ The one parameter exponential family distributions used by GLM.\nimport warnings\nimport inspect\nimport numpy as np\n-from scipy import spe...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/ENH fix, add GLM, family get_distribution
641,971
06.07.2021 11:02:34
14,400
825d492caff05d404580aa60040902d8e872cd62
ENH get_distribution for family.Binomial with n_trials option
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -1078,6 +1078,31 @@ class Binomial(Family):\nresid *= np.sqrt(var_weights)\nreturn resid\n+ def get_distribution(self, mu, scale=1., var_weights=1., n_tria...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH get_distribution for family.Binomial with n_trials option
641,971
06.07.2021 11:38:44
14,400
ccf47c49f760427d6f956399102308586c256453
REF: GLM.get_distribution delegate to family.get_distribution
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -1091,7 +1091,7 @@ class Binomial(Family):\nvar_weights : array_like\n1d array of variance (analytic) weights. The default is 1.\nvar_weights are ignored f...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: GLM.get_distribution delegate to family.get_distribution
641,971
09.10.2014 21:16:10
14,400
6b19a230e57fd766792ef0bb7866999e427370ae
BUG: fix score, add score_factor and score_obs
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/betareg.py", "new_path": "statsmodels/miscmodels/betareg.py", "diff": "@@ -143,15 +143,33 @@ class Beta(GenericLikelihoodModel):\nreturn ll\n+\ndef score(self, params):\n\"\"\"\nReturns the score vector of the profile log-likelihood.\nht...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix score, add score_factor and score_obs
641,971
11.10.2014 16:22:43
14,400
c654a8ebdbfb74a0eec44a2c4100686e808e8690
ENH: add score_hessian_factor and hessian
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/betareg.py", "new_path": "statsmodels/miscmodels/betareg.py", "diff": "@@ -210,6 +210,65 @@ class Beta(GenericLikelihoodModel):\nreturn np.column_stack((sf1, sf2))\n+ def score_hessian_factor(self, params, return_hessian=False, observed=...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add score_hessian_factor and hessian
641,971
05.12.2014 10:06:24
18,000
362b1adcca0189a337dd4deb1a0d61440d660066
ENH: add `_start_params` based on iterations of WLS
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/betareg.py", "new_path": "statsmodels/miscmodels/betareg.py", "diff": "@@ -291,6 +291,53 @@ class Beta(GenericLikelihoodModel):\nreturn np.bmat([[d11, d12], [d12.T, d22]]).A\n+ def _start_params(self):\n+ \"\"\"find starting values\n+\n+...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add `_start_params` based on iterations of WLS
641,971
05.12.2014 14:08:29
18,000
bd32bc919c136988288419890e0becf3edc2cef7
REF: adjustments to `_start_params` (seems to work for linear link_precision
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/betareg.py", "new_path": "statsmodels/miscmodels/betareg.py", "diff": "@@ -291,7 +291,7 @@ class Beta(GenericLikelihoodModel):\nreturn np.bmat([[d11, d12], [d12.T, d22]]).A\n- def _start_params(self):\n+ def _start_params(self, niter=2, ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: adjustments to `_start_params` (seems to work for linear link_precision
641,971
05.12.2014 14:12:32
18,000
d3505eb6e37c094387a849d7a137d6975a24e182
ENH: add predict methods to model (mean, var, precision parameter)
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/betareg.py", "new_path": "statsmodels/miscmodels/betareg.py", "diff": "@@ -126,6 +126,47 @@ class Beta(GenericLikelihoodModel):\n**kwargs)\n+ def predict(self, params, exog=None):\n+ \"\"\"predict values for mean, conditional expectation...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add predict methods to model (mean, var, precision parameter)
641,971
05.12.2014 14:51:48
18,000
2175955e2187126efec800d6e4055045ab02b09c
REF/ENH: GenericLikelihoodModel, allow subclass Results class, see
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -958,7 +958,10 @@ class GenericLikelihoodModel(LikelihoodModel):\nmethod=method, maxiter=maxiter,\nfull_output=full_output,\ndisp=disp, callback=callback, **kwargs)\n- genericmlef...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/ENH: GenericLikelihoodModel, allow subclass Results class, see #2122
641,971
05.12.2014 23:48:42
18,000
c82bb63f4fdf730c8e66da350ede8dd718bf4f9d
ENH: add some methods and properties to results class
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/betareg.py", "new_path": "statsmodels/miscmodels/betareg.py", "diff": "@@ -17,6 +17,7 @@ from __future__ import print_function\nimport numpy as np\nimport pandas as pd\nimport statsmodels.api as sm\n+from statsmodels.tools.decorators imp...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add some methods and properties to results class
641,971
05.12.2014 23:49:53
18,000
57eafe77bf2bf44310e0fa6f69fb093fb3d8de13
TST: add test for results methods, fittedvalues, resid, distribution
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/tests/test_beta.py", "new_path": "statsmodels/miscmodels/tests/test_beta.py", "diff": "@@ -8,6 +8,7 @@ import pandas as pd\nimport patsy\nfrom statsmodels.miscmodels.betareg import Beta\nimport numpy as np\n+from numpy.testing import ass...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: add test for results methods, fittedvalues, resid, distribution
641,971
15.12.2014 09:59:29
18,000
bab850f117318b770b53188a95c0841516741437
TST: adjust test for score
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/tests/test_beta.py", "new_path": "statsmodels/miscmodels/tests/test_beta.py", "diff": "@@ -107,10 +107,12 @@ class TestBeta(object):\nlink_precision=link)\nrslt_m = mod2.fit()\n- analytical = rslt_m.model.score(rslt_m.params)\n- numerica...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: adjust test for score
641,971
30.01.2018 23:34:19
18,000
03dce25e20601b59abddf19770e69f7b61c7287e
TST pytest compatibility
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/tests/test_beta.py", "new_path": "statsmodels/miscmodels/tests/test_beta.py", "diff": "@@ -56,7 +56,7 @@ def assert_close(a, b, eps):\nclass TestBeta(object):\n@classmethod\n- def setupClass(self):\n+ def setup_class(self):\nmodel = \"I(...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST pytest compatibility
641,971
06.07.2021 15:35:09
14,400
104d5e8f713dd2a385b0bcb2008faa8d2cea16f6
STY: pep-8 changes, whitespace, formatting (no substantive changes)
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/betareg.py", "new_path": "statsmodels/miscmodels/betareg.py", "diff": "@@ -16,12 +16,11 @@ Psychological methods 11.1 (2006): 54.\nfrom __future__ import print_function\nimport numpy as np\nimport pandas as pd\n-import statsmodels.api as...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
STY: pep-8 changes, whitespace, formatting (no substantive changes)
641,971
08.07.2021 14:35:56
14,400
18a6528a025108ce7de41d49b16f77b812bc9b1b
REF: refactor, modernize, avoid digamma(0) in score
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/betareg.py", "new_path": "statsmodels/miscmodels/betareg.py", "diff": "@@ -27,6 +27,7 @@ from statsmodels.genmod.families import Binomial\nLogit = sm.families.links.logit\n+\n_init_example = \"\"\"\nBeta regression with default of logit-...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: refactor, modernize, avoid digamma(0) in score
641,971
09.07.2021 15:22:38
14,400
001debd5d19ce0b077c5a7e37697b654d02876c7
REF: clean up imports, streamline math, clip 0, add results wrapper
[ { "change_type": "MODIFY", "old_path": "statsmodels/miscmodels/betareg.py", "new_path": "statsmodels/miscmodels/betareg.py", "diff": "@@ -19,13 +19,13 @@ import pandas as pd\nfrom scipy.special import gammaln as lgamma\nimport patsy\n-import statsmodels.api as sm\n+import statsmodels.base.wrapper as...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: clean up imports, streamline math, clip 0, add results wrapper
642,048
29.05.2021 21:48:03
14,400
d6f4ac9145e3a991b4b408727b138b189a9af365
Allow user to configure nsteps in GEE qic
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_estimating_equations.py", "new_path": "statsmodels/genmod/generalized_estimating_equations.py", "diff": "@@ -1656,7 +1656,7 @@ class GEE(GLM):\nself, params)\nreturn margeff\n- def qic(self, params, scale, cov_params):\n+ def qic...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Allow user to configure nsteps in GEE qic
642,048
29.05.2021 22:51:37
14,400
5daecdaa06fc613580e2e9d72de4a1f83c12437f
rename nstep to n_step
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_estimating_equations.py", "new_path": "statsmodels/genmod/generalized_estimating_equations.py", "diff": "@@ -1656,7 +1656,7 @@ class GEE(GLM):\nself, params)\nreturn margeff\n- def qic(self, params, scale, cov_params, nstep=1000)...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
rename nstep to n_step
642,048
07.06.2021 11:56:04
14,400
af870076337c476f4ec3ba1f2733c92a5fea80fa
Initial commit Fix error in Tweedie QL Fix linting issues Add test comparing gradient fit to IRLS fit Fix linting issue
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -1619,6 +1619,10 @@ class Tweedie(Family):\nReferences\n----------\n+ R Kaas (2005). Compound Poisson Distributions and GLM's -- Tweedie's\n+ Distribution....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Initial commit Fix error in Tweedie QL Fix linting issues Add test comparing gradient fit to IRLS fit Fix linting issue
642,048
10.07.2021 21:00:19
14,400
32b2e81c1a6fcaa3a504032f07d470ede79304e3
Fix scale during elastic net iterations
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/elastic_net.py", "new_path": "statsmodels/base/elastic_net.py", "diff": "@@ -38,6 +38,12 @@ def _gen_npfuncs(k, L1_wt, alpha, loglike_kwds, score_kwds, hess_kwds):\narbitrary statsmodels regression model.\n\"\"\"\n+ # A scale parameter, if pre...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix scale during elastic net iterations
642,048
10.07.2021 23:22:01
14,400
eb04e5af3230eefac80e17557673870044e4f041
Move scale handling to genmod
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/elastic_net.py", "new_path": "statsmodels/base/elastic_net.py", "diff": "@@ -38,12 +38,6 @@ def _gen_npfuncs(k, L1_wt, alpha, loglike_kwds, score_kwds, hess_kwds):\narbitrary statsmodels regression model.\n\"\"\"\n- # A scale parameter, if pre...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Move scale handling to genmod
641,971
13.07.2021 11:21:42
14,400
4a625b09d60f30a65180ddf7d614f92ce65c448d
ENH: add base _LLRMixin, kwargs in GenericLikelihoodModel.__init__, enh Beta regresion
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -194,7 +194,6 @@ class Model(object):\n'design_info': design_info})\nmod = cls(endog, exog, *args, **kwargs)\nmod.formula = formula\n-\n# since we got a dataframe, attach the orig...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add base _LLRMixin, kwargs in GenericLikelihoodModel.__init__, enh Beta regresion
641,971
13.07.2021 12:59:37
14,400
193d0409513724458c720faf0024dad05a4f4292
BUG/REF: ModelData handle missing, leave nonarray kwargs unchanged
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/data.py", "new_path": "statsmodels/base/data.py", "diff": "@@ -220,7 +220,7 @@ class ModelData(object):\ncombined_2d_names = []\nif len(kwargs):\nfor key, value_array in kwargs.items():\n- if value_array is None or value_array.ndim == 0:\n+ if...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/REF: ModelData handle missing, leave nonarray kwargs unchanged
641,971
13.07.2021 13:28:22
14,400
af861a637159df0c8559b8dd0dacb8092e7a63d4
ENH: start new directory othermod
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/othermod/__init__.py", "diff": "+from statsmodels.tools._testing import PytestTester\n+\n+test = PytestTester()\n" }, { "change_type": "ADD", "old_path": "statsmodels/othermod/apy.py", "new_path": "statsmodels/othermo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: start new directory othermod
641,971
13.07.2021 14:20:25
14,400
a8ec88968bf32c34356d4effd3b7a171f63f7622
REF fix paths and clean
[ { "change_type": "RENAME", "old_path": "statsmodels/othermod/apy.py", "new_path": "statsmodels/othermod/api.py", "diff": "" }, { "change_type": "MODIFY", "old_path": "statsmodels/othermod/betareg.py", "new_path": "statsmodels/othermod/betareg.py", "diff": "@@ -13,9 +13,8 @@ Smith...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF fix paths and clean
641,971
13.07.2021 15:41:47
14,400
4e64f293f98fe632c9e23020b58c667e6950575b
TST: unit test against R EIM
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/othermod/tests/results/resid_methylation.csv", "diff": "+\"fittedvalues\",\"pearson\",\"deviance\",\"response\",\"weighted\",\"sweighted\",\"sweighted2\"\n+0.808801783033006,0.35152036037566,0.316277475404175,0.00619821696699407,0.01...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: unit test against R EIM
641,971
15.07.2021 12:39:58
14,400
40212c8ce578ed0aa37e7c409e48d1da67dbc69e
ENH/TST: "which" in predict, exog in get_distribution
[ { "change_type": "MODIFY", "old_path": "statsmodels/othermod/betareg.py", "new_path": "statsmodels/othermod/betareg.py", "diff": "@@ -139,19 +139,35 @@ class Beta(GenericLikelihoodModel):\nreturn super(Beta, cls).from_formula(formula, data, *args,\n**kwargs)\n- def predict(self, params, exog=None):\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/TST: "which" in predict, exog in get_distribution
641,971
16.07.2021 13:52:40
14,400
d343f64ec886e5aa784424ba0c83cdb7d7d4d90e
REF/DOC; rename to BetaModel, some api cleanup, docstrings, rst doc, api
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/source/othermodels.rst", "diff": "+\n+.. module:: statsmodels.othermod\n+.. currentmodule:: statsmodels.othermod\n+\n+\n+.. _othermod:\n+\n+\n+Other Models :mod:`othermod`\n+==============================\n+\n+:mod:`statsmodels.other` conta...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/DOC; rename to BetaModel, some api cleanup, docstrings, rst doc, api
641,971
18.07.2021 15:59:06
14,400
1c8fd4a69da4ba8238fda341218cb323576ae2c3
REF/BUG generic likelihood LLRMixin use df_resid for llr_pvalue see
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -2445,7 +2445,13 @@ class _LLRMixin():\nstatistic greater than llr. llr has a chi-squared distribution\nwith degrees of freedom `df_model`.\n\"\"\"\n- return stats.distributions.c...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/BUG generic likelihood LLRMixin use df_resid for llr_pvalue see #7584
641,881
03.07.2021 01:43:48
18,000
17a6883f63f2da03e06e209444fdf71f472d22fb
ENH: Adding loglog link
[ { "change_type": "MODIFY", "old_path": "docs/source/glm.rst", "new_path": "docs/source/glm.rst", "diff": "@@ -185,6 +185,7 @@ available link functions can be obtained by\nPower\ncauchy\ncloglog\n+ loglog\nidentity\ninverse_power\ninverse_squared\n" }, { "change_type": "MODIFY", "old_path...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Adding loglog link
641,971
20.07.2021 12:50:53
14,400
f059aad1618d9b2a98365ad34ffbb54d29316ee5
TST: check link increasing
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/tests/test_link.py", "new_path": "statsmodels/genmod/families/tests/test_link.py", "diff": "Test functions for genmod.families.links\n\"\"\"\nimport numpy as np\n-from numpy.testing import assert_allclose, assert_equal\n+from numpy....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: check link increasing
641,971
20.07.2021 14:31:51
14,400
f37fd895f618d0c89f5d6d12af46706ccc8d6467
BUG: regression, allow remove_data to drop wendog, wexog, wresid
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -188,7 +188,7 @@ class RegressionModel(base.LikelihoodModel):\n\"\"\"\ndef __init__(self, endog, exog, **kwargs):\nsuper(RegressionModel, self).__init__(...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: regression, allow remove_data to drop wendog, wexog, wresid
641,971
20.07.2021 15:51:50
14,400
89027c96bafabe9f3007c6692032fe0225d31d3b
TST: tighten shrink_pickle tests, so they can fail
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/tests/test_shrink_pickle.py", "new_path": "statsmodels/base/tests/test_shrink_pickle.py", "diff": "@@ -40,6 +40,7 @@ class RemoveDataPickle(object):\ncls.exog = x\ncls.xf = 0.25 * np.ones((2, 4))\ncls.predict_kwds = {}\n+ cls.reduction_factor ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: tighten shrink_pickle tests, so they can fail
642,008
20.07.2021 22:32:42
-7,200
5bdf5a4359cfd0c2cd63200865119ca03c44c1cd
Delete getattr call in LikelihoodModelResults.remove_data
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -2216,15 +2216,6 @@ class LikelihoodModelResults(Results):\ncls_attrs[name] = attr\ndata_attrs = [x for x in cls_attrs\nif isinstance(cls_attrs[x], cached_data)]\n- value_attrs = ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Delete getattr call in LikelihoodModelResults.remove_data
641,868
13.01.2021 11:55:14
-3,600
3881999bce3488143ec5e2853483ce01c1bb7144
ENH: sampling common copula and joint distribution
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/distributions/tests/test_joint_distribution.py", "diff": "+import numpy as np\n+from numpy.testing import assert_array_almost_equal\n+from scipy import stats\n+\n+from statsmodels.distributions.joint_distribution import (\n+ Independ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: sampling common copula and joint distribution
641,868
13.01.2021 13:24:21
-3,600
9145cdedff6457d71bf4fd98a8949e5e8fca7aed
MAINT: refactor seed management
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/tests/test_joint_distribution.py", "new_path": "statsmodels/distributions/tests/test_joint_distribution.py", "diff": "@@ -70,3 +70,4 @@ def test_joint_distribution():\ncopula = GaussianCopula(cov=[[1., 0.5], [0.5, 1.]])\njoint_dist = ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: refactor seed management
641,868
13.01.2021 13:51:12
-3,600
c6527696c1377ff55010accff494adb444f4133d
DOC: some maths about copula
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/joint_distribution.py", "new_path": "statsmodels/distributions/joint_distribution.py", "diff": "@@ -79,7 +79,13 @@ class Copula(ABC):\nclass IndependentCopula(Copula):\n- \"\"\"Independent copula.\"\"\"\n+ \"\"\"Independent copula.\n+...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: some maths about copula
641,868
13.01.2021 14:28:56
-3,600
b75d2be2235caa5b3d42261ef13541d1d18ee91e
ENH: common plot function
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/joint_distribution.py", "new_path": "statsmodels/distributions/joint_distribution.py", "diff": "@@ -3,6 +3,7 @@ from abc import ABC, abstractmethod\nimport numpy as np\nfrom scipy import stats\nfrom scipy._lib._util import check_rando...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: common plot function
641,868
13.01.2021 14:29:37
-3,600
d896945f15f38c0201688bab18ddba75f5253e70
ENH: some structure for additional methods for copula
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/joint_distribution.py", "new_path": "statsmodels/distributions/joint_distribution.py", "diff": "@@ -62,8 +62,7 @@ class Copula(ABC):\nParameters\n----------\nn : int, optional\n- Number of samples to generate in the parameter space.\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: some structure for additional methods for copula
641,868
13.01.2021 14:37:32
-3,600
35876bea6d203ec29224878ab9a0aece01df5ce2
FIX: plot function to scatter
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/joint_distribution.py", "new_path": "statsmodels/distributions/joint_distribution.py", "diff": "@@ -121,7 +121,7 @@ class Copula(ABC):\nsample = self.random(n=n, random_state=random_state)\nfig, ax = utils.create_mpl_ax(ax)\n- ax.plot...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
FIX: plot function to scatter
641,868
14.01.2021 18:24:00
-3,600
22aa62530393d3d2928f2780c444f1276de779d8
ENH: plot_pdf in base class
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/joint_distribution.py", "new_path": "statsmodels/distributions/joint_distribution.py", "diff": "@@ -4,6 +4,7 @@ import numpy as np\nfrom scipy import stats\nfrom scipy._lib._util import check_random_state\nfrom statsmodels.graphics im...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: plot_pdf in base class
641,868
14.01.2021 21:19:34
-3,600
c37d8b44c2de352d4a1a96b90941c026f87533a9
ENH: pdf and cdf of copulas
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/joint_distribution.py", "new_path": "statsmodels/distributions/joint_distribution.py", "diff": "@@ -186,6 +186,12 @@ class IndependentCopula(Copula):\n# v = ...\nreturn x # np.exp(- (-np.log(x) / v))\n+ def pdf(self, x):\n+ return np....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: pdf and cdf of copulas
641,868
14.01.2021 22:03:41
-3,600
f09d89ff49feba89350e333fa205bd2eb6d13cb4
ENH/CLN: dim option for IndependentCopula, abstractmethods and spacing
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/joint_distribution.py", "new_path": "statsmodels/distributions/joint_distribution.py", "diff": "@@ -78,17 +78,17 @@ class Copula(ABC):\n\"\"\"\n+ @abstractmethod\ndef pdf(self, x):\n\"\"\"Probability density function.\"\"\"\n- raise N...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/CLN: dim option for IndependentCopula, abstractmethods and spacing
641,868
17.01.2021 10:44:13
-3,600
035726a6471e52d2828e7c91f9606b46050ff929
ENH: theta from tau
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/joint_distribution.py", "new_path": "statsmodels/distributions/joint_distribution.py", "diff": "+\"\"\"Joint Distribution using Copula.\n+\n+PDF, CDF and theta formulas looked, and re-wrote, from `sdv-dev/Copulas\n+<https://github.com...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: theta from tau
641,868
08.02.2021 11:22:25
-3,600
59f6e1f0798c753cda425d793cc43c3b7193c732
FIX: Gaussian copula PDF, CDF and nans in pdf for plot
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/joint_distribution.py", "new_path": "statsmodels/distributions/joint_distribution.py", "diff": "@@ -168,8 +168,8 @@ class Copula(ABC):\npoints = np.vstack([xx.ravel(), yy.ravel()]).T\ndata = self.pdf(points).T.reshape(xx.shape)\n- min...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
FIX: Gaussian copula PDF, CDF and nans in pdf for plot
641,868
08.02.2021 11:29:40
-3,600
332acf5c80923a9ee53554b6a64f3cd57cf28cc4
FIX: t copula PDF, CDF
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/joint_distribution.py", "new_path": "statsmodels/distributions/joint_distribution.py", "diff": "@@ -321,10 +321,14 @@ class StudentCopula(Copula):\nreturn self.density.cdf(x)\ndef pdf(self, x):\n- return self.mv_density.pdf(x)\n+ u = ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
FIX: t copula PDF, CDF
641,868
08.02.2021 11:37:13
-3,600
fdf4630f83918bd6a58c0b4112ffe19ab6683d52
MAINT: x changed to u for PDF, CDF
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/joint_distribution.py", "new_path": "statsmodels/distributions/joint_distribution.py", "diff": "@@ -97,15 +97,15 @@ class Copula(ABC):\n\"\"\"\n@abstractmethod\n- def pdf(self, x):\n+ def pdf(self, u):\n\"\"\"Probability density funct...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: x changed to u for PDF, CDF
641,868
11.02.2021 12:33:25
-3,600
7a9b264eb44498a9a68f9e382389286d84d7d543
TST: comparison with R for PDF, CDF
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/tests/test_joint_distribution.py", "new_path": "statsmodels/distributions/tests/test_joint_distribution.py", "diff": "+\"\"\"Copula tests.\n+\n+The reference results are coming from the R package Copula. The following\n+script is used...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: comparison with R for PDF, CDF
641,868
11.02.2021 12:40:47
-3,600
5ffe7c977cba55839c0364d190d1d58d6f04aa91
FIX: CDF of Gumbel and Frank
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/joint_distribution.py", "new_path": "statsmodels/distributions/joint_distribution.py", "diff": "@@ -363,7 +363,7 @@ class ClaytonCopula(Copula):\nreturn a * b ** c\ndef cdf(self, u):\n- return (np.sum(u ** -self.theta, axis=1) - 1) **...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
FIX: CDF of Gumbel and Frank
641,868
11.02.2021 13:33:35
-3,600
9be49207f671ffe5e373e5ae56d7f46916b55013
TST: skip CDF student
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/joint_distribution.py", "new_path": "statsmodels/distributions/joint_distribution.py", "diff": "@@ -17,6 +17,7 @@ from scipy.optimize import least_squares\nimport matplotlib.pyplot as plt\nfrom statsmodels.graphics import utils\n+from...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: skip CDF student
641,868
25.03.2021 22:25:44
-3,600
ce561d9f92a41c14f684dcd15e0eebc45e44ed9c
MAINT/TEST: move tests and description of tests in separate file
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/distributions/copula/tests/copula_r_tests.rst", "diff": "+Copula tests\n+############\n+\n+The reference results are coming from the R package Copula. The following\n+script is used:\n+\n+ library(copula)\n+ sessionInfo()\n+\n+ u <- ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT/TEST: move tests and description of tests in separate file
641,868
25.03.2021 22:28:27
-3,600
aa41eef05841d6ddba064edf6a2814228bef6856
MAINT: remove abstract method for random in base copula
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/copulas.py", "new_path": "statsmodels/distributions/copula/copulas.py", "diff": "@@ -319,7 +319,6 @@ class Copula(ABC):\ndef __init__(self, d):\nself.d = d\n- @abstractmethod\ndef random(self, n=1, random_state=None):\n\"\"\"Dr...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: remove abstract method for random in base copula
641,971
07.04.2021 16:14:09
14,400
4c4fabb207d301c65b58ac8ea64f7300efb9fc71
ENH: call transform from archimedians and cleanup
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/archimedean.py", "new_path": "statsmodels/distributions/copula/archimedean.py", "diff": "@@ -9,7 +9,8 @@ License: BSD-3\nimport sys\nimport numpy as np\n-from scipy import stats, integrate as integrate\n+from scipy import stats...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: call transform from archimedians and cleanup
641,971
09.04.2021 13:18:22
14,400
3074347176078dbe9cba4fcc7d707362c6908196
TST: try with disabling multivariat_t unit test
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/archimedean.py", "new_path": "statsmodels/distributions/copula/archimedean.py", "diff": "@@ -227,7 +227,6 @@ class FrankCopula(ArchimedeanCopula):\nelse:\nraise NotImplementedError\n-\ndef _theta_from_tau(self, tau):\nMIN_FLOAT...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: try with disabling multivariat_t unit test
641,971
14.05.2021 11:20:18
14,400
52a970e6ff8ee99c575ee8b3bb0177d880c0206e
REF/ENH: partial refactor, names, location, and new methods for elliptical
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/api.py", "new_path": "statsmodels/distributions/copula/api.py", "diff": "@@ -5,5 +5,17 @@ from .copulas import CopulaDistribution\nfrom . import transforms\nfrom . import depfunc_ev\n+from statsmodels.distributions.copula.copul...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/ENH: partial refactor, names, location, and new methods for elliptical
641,971
18.05.2021 13:09:16
14,400
838923db1029e98373dca8a8fdf1c7871597bf7f
ENH/TST: add distribution tools, add/improve tests for rvs
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/tests/test_copula.py", "new_path": "statsmodels/distributions/copula/tests/test_copula.py", "diff": "@@ -11,11 +11,14 @@ from numpy.testing import assert_allclose, assert_array_almost_equal\nfrom scipy import stats\nimport pyte...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/TST: add distribution tools, add/improve tests for rvs
641,971
23.07.2021 21:07:48
14,400
1cc0da26bb58bed5b6fc1dab692d74e90ac2f40e
ENH/REF: add _ecdf_mv, rvs_kernel, tau for Frank and Clayton, api cleanup
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/archimedean.py", "new_path": "statsmodels/distributions/copula/archimedean.py", "diff": "@@ -117,6 +117,13 @@ class ClaytonCopula(ArchimedeanCopula):\ndef cdf(self, u):\nreturn (np.sum(u ** (-self.theta), axis=1) - 1) ** (-1.0 ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF: add _ecdf_mv, rvs_kernel, tau for Frank and Clayton, api cleanup
641,868
27.07.2021 19:17:41
-7,200
97025a32dbcc4ee78467de483655e75f6f237294
DOC: copula in user guide and examples
[ { "change_type": "ADD", "old_path": "docs/source/_static/images/copula.png", "new_path": "docs/source/_static/images/copula.png", "diff": "Binary files /dev/null and b/docs/source/_static/images/copula.png differ\n" }, { "change_type": "MODIFY", "old_path": "docs/source/distributions.rst...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: copula in user guide and examples
641,868
28.07.2021 18:03:27
-7,200
5af3d0ad86af6d44a6cbe4a621b571ab08eaf3c0
ENH: random number generation wrapper for rng, qrng
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/archimedean.py", "new_path": "statsmodels/distributions/copula/archimedean.py", "diff": "@@ -10,10 +10,10 @@ import sys\nimport numpy as np\nfrom scipy import stats, integrate, optimize\n-from scipy._lib._util import check_rand...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: random number generation wrapper for rng, qrng
641,868
28.07.2021 18:18:52
-7,200
4061185b603cf52f88d2214f7f420e85991f4a71
DOC: add estimation of theta
[ { "change_type": "MODIFY", "old_path": "examples/notebooks/copula.ipynb", "new_path": "examples/notebooks/copula.ipynb", "diff": "\"\\n\",\n\"Let's use a bi-variate example and assume first that we have a prior and know how to model the dependence between our 2 variables.\\n\",\n\"\\n\",\n- \"In thi...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: add estimation of theta
641,868
30.07.2021 13:17:51
-7,200
2aad5305968d6ec04dd2c19da821445a21c66c22
DOC: grammar typo with copula
[ { "change_type": "MODIFY", "old_path": "docs/source/distributions.rst", "new_path": "docs/source/distributions.rst", "diff": "@@ -58,7 +58,7 @@ Copula\n------\nThe `copula` sub-module provides classes to model the dependence between\n-parameters. Copula are used to construct a multivariate joint dis...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: grammar typo with copula
641,868
30.07.2021 14:22:28
-7,200
eb744747f7a91287fc28d878760a113de9cc866a
MAINT: remove ref to old NumPy
[ { "change_type": "MODIFY", "old_path": "statsmodels/tools/rng_qrng.py", "new_path": "statsmodels/tools/rng_qrng.py", "diff": "import numbers\n+from collections import Sequence\nimport numpy as np\nimport scipy.stats as stats\n@@ -9,13 +10,13 @@ def check_random_state(seed=None):\nParameters\n-------...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: remove ref to old NumPy
641,868
30.07.2021 14:54:29
-7,200
801b436b2ed16f9581fb25336b94949176974718
MAINT: invert logic and let NumPy check the seed
[ { "change_type": "MODIFY", "old_path": "statsmodels/tools/rng_qrng.py", "new_path": "statsmodels/tools/rng_qrng.py", "diff": "-import numbers\n-from collections import Sequence\n-\nimport numpy as np\nimport scipy.stats as stats\n@@ -32,12 +29,9 @@ def check_random_state(seed=None):\nRandom number g...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: invert logic and let NumPy check the seed
641,868
30.07.2021 18:31:39
-7,200
370a01bdd050d64d24072480696d415853373873
TST: fix seeding by passing the rng to random
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/tests/test_copula.py", "new_path": "statsmodels/distributions/copula/tests/test_copula.py", "diff": "@@ -333,9 +333,9 @@ class CheckCopula:\npass\ndef test_random(self):\n- np.random.seed(987124)\nnobs = 2000\n- self.rvs = rvs ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: fix seeding by passing the rng to random
641,868
30.07.2021 22:13:53
-7,200
93c88d452ac14b07d5f705f47bc6d2a52d926f62
MAINT: fix logic version scipy
[ { "change_type": "MODIFY", "old_path": "statsmodels/tools/rng_qrng.py", "new_path": "statsmodels/tools/rng_qrng.py", "diff": "@@ -29,10 +29,10 @@ def check_random_state(seed=None):\nRandom number generator.\n\"\"\"\n- if isinstance(seed, np.random.RandomState):\n+ if hasattr(stats.qmc, \"QMCEngine\"...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: fix logic version scipy
641,868
30.07.2021 23:48:04
-7,200
31bbdb69da4a6c8272844419404435878367d734
Update statsmodels/tools/rng_qrng.py
[ { "change_type": "MODIFY", "old_path": "statsmodels/tools/rng_qrng.py", "new_path": "statsmodels/tools/rng_qrng.py", "diff": "@@ -29,10 +29,10 @@ def check_random_state(seed=None):\nRandom number generator.\n\"\"\"\n- if hasattr(stats.qmc, \"QMCEngine\"):\n- if isinstance(seed, stats.qmc.QMCEngine):...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Update statsmodels/tools/rng_qrng.py
641,868
31.07.2021 09:45:40
-7,200
55a85f1819352ec03796c9af1ac01175bae5fd40
TST: fix generator for scipy
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/tests/test_copula.py", "new_path": "statsmodels/distributions/copula/tests/test_copula.py", "diff": "@@ -334,7 +334,7 @@ class CheckCopula:\ndef test_random(self):\nnobs = 2000\n- rng = np.random.default_rng(2765862239671916514...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: fix generator for scipy
641,871
02.08.2021 10:49:38
-7,200
9a2b31ba870c1c04684c3756445414f3b2563107
Implementation of RUR stationarity test The RUR test implementation comes from the paper "Range Unit-Root tests" by Aparicio et Al. [2006] The critical values table has been recalculate with more iterations than the paper
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/stattools.py", "new_path": "statsmodels/tsa/stattools.py", "diff": "@@ -12,6 +12,7 @@ import numpy as np\nfrom numpy.linalg import LinAlgError\nimport pandas as pd\nfrom scipy import stats\n+from scipy.interpolate import interp1d\nfrom statsmod...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Implementation of RUR stationarity test The RUR test implementation comes from the paper "Range Unit-Root tests" by Aparicio et Al. [2006] The critical values table has been recalculate with more iterations than the paper
641,871
02.08.2021 11:00:41
-7,200
4830cbbe0d3dd288eba66176d18fdab0013242bf
Fix null hypotesis
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/stattools.py", "new_path": "statsmodels/tsa/stattools.py", "diff": "@@ -2264,9 +2264,8 @@ look-up table. The actual p-value is {direction} than the p-value returned.\nrstore = ResultsStore()\nrstore.nobs = nobs\n- stationary_type = \"level\" if...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix null hypotesis
642,006
02.08.2021 17:40:57
-7,200
233061849a119f392009a7f1d874d1ad775f2f97
spelling error in docs fixed
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -1600,7 +1600,7 @@ class RegressionResults(base.LikelihoodModelResults):\nThe `alpha` level for the confidence interval. The default\n`alpha` = .05 retur...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
spelling error in docs fixed
641,871
03.08.2021 12:23:13
-7,200
0ee3b4ffdfef274336241c4abbd2be1c526a0f99
Tests implemented A simpler implementation has been used, since there is not an R implementation to use
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_stattools.py", "new_path": "statsmodels/tsa/tests/test_stattools.py", "diff": "@@ -44,9 +44,14 @@ from statsmodels.tsa.stattools import (\npacf_burg,\npacf_ols,\npacf_yw,\n+ range_unit_root_test,\nzivot_andrews,\n)\n+# Remove imports...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Tests implemented A simpler implementation has been used, since there is not an R implementation to use
641,836
15.08.2021 18:16:35
25,200
a65c2dfa2127766028cb074cc619c8952649132c
DOC: Update dev page flake8 command to follow PULL_REQUEST_TEMPLATE.md
[ { "change_type": "MODIFY", "old_path": "docs/source/dev/index.rst", "new_path": "docs/source/dev/index.rst", "diff": "@@ -52,7 +52,7 @@ greatly helps the job of maintaining and releasing the software a shared effort.\nCheck that the build output does not have *any* warnings due to your changes.\n- F...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Update dev page flake8 command to follow PULL_REQUEST_TEMPLATE.md
641,871
16.08.2021 10:06:53
-7,200
a66a393b0ebf2e5b6b30aa3b40bc56c8d0b2448a
Fixed rur critical values
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/stattools.py", "new_path": "statsmodels/tsa/stattools.py", "diff": "@@ -2198,15 +2198,15 @@ def range_unit_root_test(x, store=False):\ncrit = np.array([\n[0.6626, 0.8126, 0.9192, 1.0712, 2.4863, 2.7312],\n[0.7977, 0.9274, 1.0478, 1.1964, 2.6821...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fixed rur critical values
641,971
17.08.2021 13:25:43
14,400
0b47f1a466c3ad24650e10110e7a2c9f2adeef9a
BUG/REF improve arg handling for fit, bug in depfunc_ev HR deriv
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/archimedean.py", "new_path": "statsmodels/distributions/copula/archimedean.py", "diff": "@@ -151,6 +151,9 @@ class FrankCopula(ArchimedeanCopula):\nself.theta = theta\ndef _handle_args(self, args):\n+ # TODO: how to we handle n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/REF improve arg handling for fit, bug in depfunc_ev HR deriv
641,971
17.08.2021 19:13:38
14,400
d13ce64a906ec4eba6f52e005b023128ad8da024
REF/ENH: enable MLE fit with fixed cop_params in gaussian and Frank
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/copulas.py", "new_path": "statsmodels/distributions/copula/copulas.py", "diff": "@@ -360,7 +360,7 @@ class Copula(ABC):\ndef __init__(self, d):\nself.d = d\n- def random(self, nobs=1, random_state=None):\n+ def random(self, nob...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/ENH: enable MLE fit with fixed cop_params in gaussian and Frank
641,971
18.08.2021 16:58:43
14,400
104930c3b8378399e0a401c03e73618ccc7391a2
REF/ENH: more arg fixes, fit clayton/gumbel with fixed cop_args
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/archimedean.py", "new_path": "statsmodels/distributions/copula/archimedean.py", "diff": "@@ -102,19 +102,22 @@ class ClaytonCopula(ArchimedeanCopula):\nraise ValueError('Theta must be > -1 and !=0')\nself.theta = theta\n- def r...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/ENH: more arg fixes, fit clayton/gumbel with fixed cop_args
641,971
19.08.2021 09:59:45
14,400
b139b89a9202f1bbe1deefb3e769436f80065aad
REF, more args handling, ev and archimedean can have fixed cop_args in fit
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/archimedean.py", "new_path": "statsmodels/distributions/copula/archimedean.py", "diff": "@@ -18,14 +18,30 @@ from statsmodels.tools.rng_qrng import check_random_state\nclass ArchimedeanCopula(Copula):\n- def __init__(self, tran...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF, more args handling, ev and archimedean can have fixed cop_args in fit
641,971
19.08.2021 10:37:53
14,400
3013e27bb9aac50a8bac879e172476c3c0e6be1b
BUG: fix Independence copula pdf return shape
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/other_copulas.py", "new_path": "statsmodels/distributions/copula/other_copulas.py", "diff": "@@ -30,10 +30,10 @@ class IndependentCopula(Copula):\nx = rng.random((n, self.d))\nreturn x\n- def pdf(self, u):\n- return np.ones((le...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix Independence copula pdf return shape
641,971
20.08.2021 10:25:32
14,400
ab7e48a165aa4b88dedf91a11a8835be9fd3941a
REF: remove CopulaDistributionBivariate
[ { "change_type": "MODIFY", "old_path": "docs/source/distributions.rst", "new_path": "docs/source/distributions.rst", "diff": "@@ -70,7 +70,6 @@ provide a set of functions like sampling, PDF, CDF.\n:toctree: generated/\nCopulaDistribution\n- CopulaDistributionBivariate\nArchimedeanCopula\nFrankCopula...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: remove CopulaDistributionBivariate
641,971
20.08.2021 11:06:04
14,400
ce668224d1e5117bddd01282abab3a692e07f81a
REF: remove old copula cdf function, add `_TransfPower` (not tested)
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/copulas.py", "new_path": "statsmodels/distributions/copula/copulas.py", "diff": "@@ -20,110 +20,6 @@ from statsmodels.graphics import utils\nfrom statsmodels.tools.rng_qrng import check_random_state\n-def copula_bv_indep(u, v):...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: remove old copula cdf function, add `_TransfPower` (not tested)
641,971
20.08.2021 14:14:34
14,400
1f8eb3497c9a72c9393f5d246eccfeffc90f43e0
REF: renamings rvs, IndependenceCopula and more generic tau/theta
[ { "change_type": "MODIFY", "old_path": "docs/source/distributions.rst", "new_path": "docs/source/distributions.rst", "diff": "@@ -77,7 +77,7 @@ provide a set of functions like sampling, PDF, CDF.\nGaussianCopula\nStudentTCopula\nExtremeValueCopula\n- IndependentCopula\n+ IndependenceCopula\nDistribu...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: renamings rvs, IndependenceCopula and more generic tau/theta
641,971
20.08.2021 14:16:01
14,400
6343bba64c4d626632e9fd20773b8720ec2fac66
REF: rename, refactor k_dim, change args in elliptical
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/archimedean.py", "new_path": "statsmodels/distributions/copula/archimedean.py", "diff": "@@ -18,8 +18,8 @@ from statsmodels.tools.rng_qrng import check_random_state\nclass ArchimedeanCopula(Copula):\n- def __init__(self, transf...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: rename, refactor k_dim, change args in elliptical
641,971
23.08.2021 16:09:33
14,400
efae1f243f374bf0e0105ea88caa3bb45fe2deea
REF: archimedean, arge tuple unpacking, start with docstring cleanup, flake
[ { "change_type": "MODIFY", "old_path": "examples/notebooks/copula.ipynb", "new_path": "examples/notebooks/copula.ipynb", "diff": "\"outputs\": [],\n\"source\": [\n\"copula = GumbelCopula()\\n\",\n- \"theta = copula.fit_theta(sample)\\n\",\n+ \"theta = copula.fit_corr_param(sample)\\n\",\n\"print(the...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: archimedean, arge tuple unpacking, start with docstring cleanup, flake
642,074
28.05.2021 01:00:55
14,400
ca3f9bdf76dc605755078df0f7f3c211b1695c8e
handle multitests floating point precision issue
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/multitest.py", "new_path": "statsmodels/stats/multitest.py", "diff": "@@ -170,8 +170,10 @@ def multipletests(pvals, alpha=0.05, method='hs', is_sorted=False,\nreject = ~notreject\ndel notreject\n- pvals_corrected_raw = 1 - np.power((1. - pval...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
handle multitests floating point precision issue #7465
641,971
24.08.2021 11:32:52
14,400
e02f9bc2cf843e497a16dbde1bc86e83ce67ec9d
BUG: improve precision for sidak, test all methods
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/multitest.py", "new_path": "statsmodels/stats/multitest.py", "diff": "@@ -152,7 +152,7 @@ def multipletests(pvals, alpha=0.05, method='hs', is_sorted=False,\nelif method.lower() in ['s', 'sidak']:\nreject = pvals <= alphacSidak\n- pvals_corre...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: improve precision for sidak, test all methods
641,971
24.08.2021 12:44:39
14,400
f83c4a7969f284fd1764f0ec363360f527f84f1c
BUG: proportions_chisquare prevent integer overflow closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/proportion.py", "new_path": "statsmodels/stats/proportion.py", "diff": "@@ -748,6 +748,9 @@ def _table_proportion(count, nobs):\nrecent scipy has more elaborate contingency table functions\n'''\n+ count = np.asarray(count)\n+ dt = np.promote_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: proportions_chisquare prevent integer overflow closes #7603
641,971
24.08.2021 19:24:54
14,400
c7b75bdda36a37b29227f754cf895809bedd8cc6
BUG: ZI predict, fix offset default if None, allow exog_infl None if constant
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/count_model.py", "new_path": "statsmodels/discrete/count_model.py", "diff": "@@ -60,11 +60,13 @@ class GenericZeroInflated(CountModel):\nif exog_infl is None:\nself.k_inflate = 1\n+ self._no_exog_infl = True\nself.exog_infl = np.ones((endo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: ZI predict, fix offset default if None, allow exog_infl None if constant
641,971
28.08.2021 14:19:03
14,400
20a29e2393a227646bf916d7bdbeef6d16027d20
ENH/BUG: graphics.plot_partregress add eval_env options
[ { "change_type": "MODIFY", "old_path": "statsmodels/graphics/regressionplots.py", "new_path": "statsmodels/graphics/regressionplots.py", "diff": "@@ -301,7 +301,7 @@ def _partial_regression(endog, exog_i, exog_others):\ndef plot_partregress(endog, exog_i, exog_others, data=None,\ntitle_kwargs={}, ob...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/BUG: graphics.plot_partregress add eval_env options
641,971
26.01.2021 14:47:16
18,000
146f0fb472ebc19fdde1bcf2f4fb31d8b4454812
REF: change default numerical derivative in CDFLink
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/links.py", "new_path": "statsmodels/genmod/families/links.py", "diff": "@@ -674,6 +674,16 @@ class CDFLink(Logit):\n\"\"\"\nSecond derivative of the link function g''(p)\n+ implemented through numerical differentiation\n+ \"\"\"\n+ ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: change default numerical derivative in CDFLink
641,971
01.09.2021 10:55:52
14,400
756bbea89ac98707f70f3a5e72f68029214a103d
REF: change default CDFLink derivatives
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/links.py", "new_path": "statsmodels/genmod/families/links.py", "diff": "@@ -693,7 +693,7 @@ class CDFLink(Logit):\ndef inverse_deriv(self, z):\n\"\"\"\n- Derivative of the inverse of the CDF transformation link function\n+ Derivativ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: change default CDFLink derivatives
641,971
01.09.2021 15:05:19
14,400
a949d801c8cb979b9965c9347c592ce2ea610f17
ENH/REF add approx_fprime_scalar and case inside approx_prime_cs
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/links.py", "new_path": "statsmodels/genmod/families/links.py", "diff": "@@ -729,10 +729,11 @@ class CDFLink(Logit):\nThe inherited method is implemented through numerical differentiation.\n\"\"\"\n- from statsmodels.tools.numdiff im...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF add approx_fprime_scalar and case inside approx_prime_cs
641,971
01.09.2021 16:09:48
14,400
3f20823e6bd177858dec71da7d332401504832f6
ENH: add `_approx_fprime_cs_scalar` for vectorized scalar parameter
[ { "change_type": "MODIFY", "old_path": "statsmodels/tools/numdiff.py", "new_path": "statsmodels/tools/numdiff.py", "diff": "@@ -247,24 +247,58 @@ def approx_fprime_cs(x, f, epsilon=None, args=(), kwargs={}):\nx = np.asarray(x)\nn = x.shape[-1]\n- if x.ndim == 2 and n == 1:\n- epsilon = _get_epsilon(...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add `_approx_fprime_cs_scalar` for vectorized scalar parameter
641,971
02.09.2021 13:49:33
14,400
bfd8080f360975fcb53eee8916fa34c2602e79df
REF/DOC revert changes to old fprime functions, improve new docstrings
[ { "change_type": "MODIFY", "old_path": "statsmodels/tools/numdiff.py", "new_path": "statsmodels/tools/numdiff.py", "diff": "@@ -139,9 +139,7 @@ def approx_fprime(x, f, epsilon=None, args=(), kwargs={}, centered=False):\nwith the Jacobian of each observation with shape xk x nobs x xk. I.e.,\nthe Jaco...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/DOC revert changes to old fprime functions, improve new docstrings
641,971
03.09.2021 08:33:19
14,400
cc39a6ede56458a178b787f7bbbdc3d7105819cd
REF: use approx_fprime_cs_scalar in links.Link and copula depfunc_ev
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/copula/depfunc_ev.py", "new_path": "statsmodels/distributions/copula/depfunc_ev.py", "diff": "@@ -11,7 +11,7 @@ License: BSD-3\nimport numpy as np\nfrom scipy import stats\n-from statsmodels.tools.numdiff import approx_fprime_cs, appr...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: use approx_fprime_cs_scalar in links.Link and copula depfunc_ev
641,971
03.09.2021 08:33:27
14,400
9d89288be6a4775f56a7e38c95715c42131da34d
DOC small cleanup
[ { "change_type": "MODIFY", "old_path": "statsmodels/tools/numdiff.py", "new_path": "statsmodels/tools/numdiff.py", "diff": "@@ -191,13 +191,6 @@ def _approx_fprime_scalar(x, f, epsilon=None, args=(), kwargs={},\n-------\ngrad : ndarray\nArray of derivatives, gradient evaluated at parameters ``x``.\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC small cleanup
641,848
07.03.2021 14:30:18
-3,600
5e1ea42978db8e5c725e6f281d1e0d5d944e9dd9
ENH: McFadden and Cox&Snell Pseudo R squared added in the result.summary()
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -1731,6 +1731,20 @@ 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
ENH: McFadden and Cox&Snell Pseudo R squared added in the result.summary()