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
04.02.2017 17:34:00
18,000
9ca6fedd9c8987646b6e401d4223405e9a97af9d
BUG: missing term in family Poisson deviance closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -380,7 +380,9 @@ class Poisson(Family):\nD = 2 * \\sum_i (freq\\_weights_i * Y_i * \\log(Y_i / \\mu_i))/ scale\n'''\nendog_mu = self._clean(endog / mu)\n- ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: missing term in family Poisson deviance closes #3355
641,971
04.02.2017 21:21:41
18,000
684ddd51fa31f7a14c17b250388f875376ba2ed6
TST: GLMPoisson constrained tighten convergence tolerance, loosen precision
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_constrained.py", "new_path": "statsmodels/discrete/tests/test_constrained.py", "diff": "@@ -338,9 +338,10 @@ class TestGLMPoissonConstrained1a(CheckPoissonConstrainedMixin):\nconstr = 'C(agecat)[T.4] = C(agecat)[T.5]'\nlc = pats...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: GLMPoisson constrained tighten convergence tolerance, loosen precision
641,971
04.02.2017 21:38:09
18,000
483f25ab8eeb0b1b999b3204f84bac8e08b5804c
MAINT numy 1.12.0 compatibility integer division
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_lme.py", "new_path": "statsmodels/regression/tests/test_lme.py", "diff": "@@ -264,7 +264,7 @@ class TestMixedLM(object):\n# The random effects\nexog_re = np.random.normal(size=(n, 2))\n- slopes = np.random.normal(size=(n / 16,...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT numy 1.12.0 compatibility integer division
641,831
05.02.2017 10:31:36
18,000
1325556f6cb5ec65cb1fc3aaed80ee72ba1b3a04
REF: Consistent naming of seasonal_periods.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/sarimax.py", "new_path": "statsmodels/tsa/statespace/sarimax.py", "diff": "@@ -169,7 +169,7 @@ class SARIMAX(MLEModel):\nHighest moving average order in the model, zero-indexed.\nk_ma_params : int\nNumber of moving average parameters...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: Consistent naming of seasonal_periods.
641,831
05.02.2017 10:19:07
18,000
87374a2ef7b824820319ba76e9942e154727eaae
TST: Test types accepted by predict start / end
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/base/tests/test_base.py", "new_path": "statsmodels/tsa/base/tests/test_base.py", "diff": "@@ -3,6 +3,7 @@ import numpy.testing as npt\nimport pandas as pd\nfrom statsmodels.tsa.base.tsa_model import TimeSeriesModel\nfrom statsmodels.tools.testi...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Test types accepted by predict start / end
641,971
05.02.2017 12:15:36
18,000
0c43fc88223078d43727377216da36d58dcc422b
DOC update release notes for 0.8 [skip ci]
[ { "change_type": "MODIFY", "old_path": "docs/source/release/version0.8.rst", "new_path": "docs/source/release/version0.8.rst", "diff": "@@ -120,6 +120,27 @@ Other improvements to the state space framework include:\n* Ongoing refactoring and bug fixes in fringes and corner cases\n+Time Series Analysi...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC update release notes for 0.8 [skip ci]
641,971
05.02.2017 17:33:28
18,000
5dae3598bb6a1f503c378ad50b64f6c11596b676
ENH/DOC: add missing objects to stats.api stats.rst [skip ci]
[ { "change_type": "MODIFY", "old_path": "docs/source/stats.rst", "new_path": "docs/source/stats.rst", "diff": "@@ -362,9 +362,13 @@ positive definite and close to the original matrix.\n.. autosummary::\n:toctree: generated/\n- corr_nearest\ncorr_clipped\n+ corr_nearest\n+ corr_nearest_factor\n+ corr_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/DOC: add missing objects to stats.api stats.rst [skip ci]
641,917
06.02.2017 07:51:12
21,600
a607f9e021b96d979e9d0784e835909f1f831774
DOC: Mediation analysis
[ { "change_type": "MODIFY", "old_path": "docs/source/stats.rst", "new_path": "docs/source/stats.rst", "diff": "@@ -390,3 +390,24 @@ kurtosis and cummulants.\ncorr2cov\nse_cov\n+\n+Mediation Analysis\n+------------------\n+\n+Mediation analysis focuses on the relationships among three key variables:\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Mediation analysis
641,917
06.02.2017 07:56:39
21,600
15ab612d47133950e593e767dae4277b837f33fd
DOC: local_fdr
[ { "change_type": "MODIFY", "old_path": "docs/source/stats.rst", "new_path": "docs/source/stats.rst", "diff": "@@ -210,6 +210,13 @@ to one way ANOVA, but still in developement\npairwise_tukeyhsd\n+.. currentmuodule:: statsmodels.stats.multitest\n+\n+.. autosummary::\n+ :toctree: generated/\n+\n+ loca...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: local_fdr
641,917
06.02.2017 08:18:32
21,600
8cf43efb4ef6b517bf5c4ff674e69afe09b83617
DOC/API: More stats imports Added local_fdr, NullDistribution and Mediation to stats.api.py Fixed a typo RuntimeError in multitest.py
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/api.py", "new_path": "statsmodels/stats/api.py", "diff": "@@ -14,7 +14,8 @@ from .diagnostic import (\n)\nfrom . import multicomp\n-from .multitest import (multipletests, fdrcorrection, fdrcorrection_twostage)\n+from .multitest import (multip...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC/API: More stats imports Added local_fdr, NullDistribution and Mediation to stats.api.py Fixed a typo RuntimeError in multitest.py
641,955
10.09.2016 09:12:42
-10,800
ce70a61e885fef65d02cd329fbc7cc30e23f69a1
add minimize optimization method as a wrapper to scipy.optimize.minimize
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -273,6 +273,7 @@ class LikelihoodModel(Model):\n- 'cg' for conjugate gradient\n- 'ncg' for Newton-conjugate gradient\n- 'basinhopping' for global basin-hopping solver\n+ - 'minimi...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add minimize optimization method as a wrapper to scipy.optimize.minimize
641,976
12.02.2017 17:03:48
-3,600
0734b64108876e565c70930862d67da8e71e5cb1
BoxCox implementation and tests
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -37,6 +37,7 @@ marks.bzr\n.#*\n*.bak\n*.tmp\n+/.idea\n*.tgz\n*.rej\n*.org\n" }, { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/base/tests/test_transform.py", "diff": "+i...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BoxCox implementation and tests
641,976
12.02.2017 23:31:44
-3,600
7c98b06a613a1886578bba3dc4b7e0b1dd66b81a
Changed R to window_length Docstring changes
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/tests/test_transform.py", "new_path": "statsmodels/base/tests/test_transform.py", "diff": "@@ -53,12 +53,12 @@ class TestTransform:\n# `l <- BoxCox.lambda(x, method=\"guerrero\")` on a ts object\n# with frequency 4 (BoxCox.lambda defaults to 2...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Changed R to window_length Docstring changes
642,048
07.02.2016 13:55:24
18,000
773d39c1a74b16698b924f353c92a927a623827a
Fix PHRegResults.predict docstring
[ { "change_type": "MODIFY", "old_path": "statsmodels/duration/hazard_regression.py", "new_path": "statsmodels/duration/hazard_regression.py", "diff": "@@ -29,9 +29,7 @@ _predict_docstring = \"\"\"\nregression model.\nParameters\n- ----------\n- params : array-like\n- The proportional hazards model pa...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix PHRegResults.predict docstring
641,831
04.02.2017 14:10:39
18,000
414ac0e1a3f368d760a7ea266f702b48055b2b85
CLEAN: Add pyx files to gitignore
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -65,6 +65,7 @@ salary.table\n.ipynb_checkpoints\nstatsmodels/tsa/statespace/_statespace.pyx\nstatsmodels/tsa/regime_switching/_hamilton_filter.pyx\n+statsmodels/tsa/regime_switching/_kim_smoother.pyx\nstatsmod...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLEAN: Add pyx files to gitignore
641,831
04.02.2017 14:11:01
18,000
b62a61897671d3e87a7eaf1b1ca585ade67ca117
CLEAN: print_function and print statements
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/kalman_filter.py", "new_path": "statsmodels/tsa/statespace/kalman_filter.py", "diff": "@@ -1856,8 +1856,6 @@ class FilterResults(FrozenRepresentation):\n# with predicted data during dynamic forecasting\nendog = model._representations...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLEAN: print_function and print statements
641,831
04.02.2017 14:47:20
18,000
1acd4cd9f44b8d78338e706d60caabd0b9f53c1e
CLEAN: pyflakes
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/regime_switching/markov_switching.py", "new_path": "statsmodels/tsa/regime_switching/markov_switching.py", "diff": "@@ -13,7 +13,6 @@ import pandas as pd\nfrom statsmodels.compat.collections import OrderedDict\nfrom scipy.misc import logsumexp\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLEAN: pyflakes
641,831
04.02.2017 15:09:40
18,000
1bd196c13ca65254ddd190e563e62192abddf91e
TST: Fix or suppress irrelevant warnings
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_dynamic_factor.py", "new_path": "statsmodels/tsa/statespace/tests/test_dynamic_factor.py", "diff": "@@ -74,6 +74,8 @@ class CheckDynamicFactor(object):\ndef test_results(self):\n# Smoke test for creating the summary\n+ wit...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Fix or suppress irrelevant warnings
641,831
11.02.2017 13:21:16
18,000
cc4d3247f12af090b5f438d30c378d978116f053
REF: Clarify loglike, score, hessian methods by moving argument handling code out.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -573,6 +573,33 @@ class MLEModel(tsbase.TimeSeriesModel):\nreturn result\n+ def _handle_args(self, names, defaults, *args, **kwargs):\n+ output_args = []...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: Clarify loglike, score, hessian methods by moving argument handling code out.
641,831
21.02.2017 19:03:17
18,000
fec4603274fd5623386eb87b49370dea5add79ee
REF: Use self.ssm for state space matrix access
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/dynamic_factor.py", "new_path": "statsmodels/tsa/statespace/dynamic_factor.py", "diff": "@@ -258,7 +258,7 @@ class DynamicFactor(MLEModel):\nif self.error_order > 0:\nstart = self._factor_order\nend = self._factor_order + self.k_endo...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: Use self.ssm for state space matrix access
641,831
25.02.2017 14:58:02
18,000
6753fc092d89a382f06cf97bb881baa7b86b63c6
REF: Reduce invertibility threshold slightly.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tools.py", "new_path": "statsmodels/tsa/statespace/tools.py", "diff": "@@ -433,7 +433,7 @@ def concat(series, axis=0, allow_mix=False):\nreturn concatenated\n-def is_invertible(polynomial, threshold=1.):\n+def is_invertible(polynomia...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: Reduce invertibility threshold slightly.
641,831
25.02.2017 15:10:23
18,000
7d0ecb4280368228a757a46db568cc25b8a44f0f
BUG: Initialization: ergodic mean with trend.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/sarimax.py", "new_path": "statsmodels/tsa/statespace/sarimax.py", "diff": "@@ -725,20 +725,33 @@ class SARIMAX(MLEModel):\n# Add in the initialized stationary components\nif self._k_order > 0:\n+ transition = self.ssm['transition', s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Initialization: ergodic mean with trend.
641,831
25.02.2017 15:42:58
18,000
7b4836f87f41d75d61b3bb1c32757bac69af0f18
REF: Revert default params: loglike score hessian
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -598,7 +598,7 @@ class MLEModel(tsbase.TimeSeriesModel):\nreturn tuple(output_args) + (kwargs,)\n_loglike_param_names = ['transformed', 'complex_step']\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: Revert default params: loglike score hessian
641,831
25.02.2017 14:58:16
18,000
c1fac810922157f7a7c45c3a2fbf81a8dcc312ee
BUG: Fix wrong inversion test for MA coefficients
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/sarimax.py", "new_path": "statsmodels/tsa/statespace/sarimax.py", "diff": "@@ -1341,7 +1341,7 @@ class SARIMAX(MLEModel):\nend += self.k_ma_params\nif self.enforce_invertibility:\nconstrained[start:end] = (\n- constrain_stationary_un...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Fix wrong inversion test for MA coefficients
641,831
25.02.2017 15:20:32
18,000
8b409cc65bdc59a4bd74a784c7408c6085146b4d
BLD/BUG: Exclusions path separator for Windows
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -450,7 +450,8 @@ try:\nexcept ImportError:\nfor name, data in statespace_ext_data.items():\npath = '.'.join([data[\"name\"].split('.')[0], 'pyx.in'])\n- append_cython_exclusion(path, CYTHON_EXCLUSION_FILE)\n+ appe...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BLD/BUG: Exclusions path separator for Windows
641,904
25.02.2017 20:45:52
28,800
22edd345f005c40de959a2e2bf35c83517316caa
Apparent typo in sumofsq; axis kwarg should either be passed through or not exist.
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/tsa/garch.py", "new_path": "statsmodels/sandbox/tsa/garch.py", "diff": "@@ -89,7 +89,7 @@ from statsmodels.sandbox import tsa\ndef sumofsq(x, axis=0):\n\"\"\"Helper function to calculate sum of squares along first axis\"\"\"\n- return np.su...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Apparent typo in sumofsq; axis kwarg should either be passed through or not exist.
641,831
26.02.2017 09:11:10
18,000
628d9857c3cd27059aa9342b8ff375ac077255d8
TST: Relax TestAirlineStateDifferencing.test_mle
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_sarimax.py", "new_path": "statsmodels/tsa/statespace/tests/test_sarimax.py", "diff": "@@ -572,10 +572,13 @@ class TestAirlineStateDifferencing(Airline):\ndef test_mle(self):\nresult = self.model.fit(disp=-1)\n+ try:\nasser...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Relax TestAirlineStateDifferencing.test_mle
641,831
26.02.2017 12:36:01
18,000
9e17d65e175d20be04f39593da84747b69f80643
ENH: Optional use of Lutkepohl 2010 info. criteria
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -1549,7 +1549,12 @@ class MLEResults(tsbase.TimeSeriesModelResults):\nself.smoother_results = None\n# Dimensions\n- self.nobs = model.nobs\n+ self.nobs =...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Optional use of Lutkepohl 2010 info. criteria
641,831
26.02.2017 15:33:30
18,000
f741b544e6a576983b858f07b3f26871e2060194
TST: More robust MLE fitting for Airline
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_sarimax.py", "new_path": "statsmodels/tsa/statespace/tests/test_sarimax.py", "diff": "@@ -571,14 +571,10 @@ class TestAirlineStateDifferencing(Airline):\n)\ndef test_mle(self):\n- result = self.model.fit(disp=-1)\n- try:\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: More robust MLE fitting for Airline
641,904
27.02.2017 18:24:54
28,800
d664e182464a9cf361d02769eacc6843b16d4369
Recent versions of coverage require the show-missing config to be set. It used to be the default
[ { "change_type": "MODIFY", "old_path": ".coveragerc", "new_path": ".coveragerc", "diff": "branch = False\n[report]\n+show_missing = True\n+\n# Regexes for lines to exclude from consideration\nexclude_lines =\n# Have to re-enable the standard pragma\n" }, { "change_type": "MODIFY", "old_p...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Recent versions of coverage require the show-missing config to be set. It used to be the default
642,048
01.07.2016 10:35:35
14,400
80020668aa7961dd0248749ab26bb654f14b419f
Initial commit for kernel estimates of survfunc
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/duration/_kernel_estimates.py", "diff": "+import numpy as np\n+from statsmodels.duration.hazard_regression import PHReg\n+\n+\n+def _kernel_cumincidence(time, status, exog, kfunc, freq_weights,\n+ dimred=True):\n+ \"\"\"\n+ Calculate...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Initial commit for kernel estimates of survfunc
642,048
02.07.2016 22:31:58
14,400
b4fd3b094eaad8e8a1d388295ccc89365c4558e6
added kernelized cumulative incidence methods
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/duration/kernel_estimates.py", "diff": "+import numpy as np\n+from statsmodels.duration.hazard_regression import PHReg\n+\n+\n+def _kernel_cumincidence(time, status, exog, kfunc, freq_weights,\n+ dimred=True):\n+ \"\"\"\n+ Calculates...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
added kernelized cumulative incidence methods
642,048
02.07.2016 23:24:41
14,400
9450e7103c212f38dee826118cdce6028d74ae06
Fix issue with ties
[ { "change_type": "MODIFY", "old_path": "statsmodels/duration/kernel_estimates.py", "new_path": "statsmodels/duration/kernel_estimates.py", "diff": "@@ -87,7 +87,7 @@ def _kernel_cumincidence(time, status, exog, kfunc, freq_weights,\nprat = np.cumsum(lrat)[ie]\nsf = np.exp(prat)\nsp[i] = np.r_[1, sf[...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix issue with ties
642,048
11.07.2016 09:09:42
14,400
a02e2b6bea0ddd5416ad79161a8e5fc48aa34954
Add test for array bwm
[ { "change_type": "MODIFY", "old_path": "statsmodels/duration/tests/test_survfunc.py", "new_path": "statsmodels/duration/tests/test_survfunc.py", "diff": "@@ -521,6 +521,7 @@ def test_kernel_survfunc3():\ntime = np.random.randint(0, 10, size=n)\nstatus = np.random.randint(0, 2, size=n)\nSurvfuncRight...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add test for array bwm
642,048
21.01.2017 21:54:00
18,000
87b4b62ba69f58a1c730b6681257cd08cdf0a0db
Raise if exog and entry both present in cumincidence
[ { "change_type": "MODIFY", "old_path": "statsmodels/duration/survfunc.py", "new_path": "statsmodels/duration/survfunc.py", "diff": "@@ -333,6 +333,8 @@ class SurvfuncRight(object):\nentry = self.entry = np.asarray(entry)\nif exog is not None:\n+ if entry is not None:\n+ raise ValueError(\"exog and e...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Raise if exog and entry both present in cumincidence
642,048
21.01.2017 23:11:36
18,000
a2e2bfee2b52f4514aeb6091a1ed41d05a00e5d9
Remove local code from test
[ { "change_type": "MODIFY", "old_path": "statsmodels/duration/tests/test_survfunc.py", "new_path": "statsmodels/duration/tests/test_survfunc.py", "diff": "-import sys\n-sys.path.insert(0, \"/afs/umich.edu/user/k/s/kshedden/statsmodels_fork/statsmodels\")\n-\nimport numpy as np\nfrom statsmodels.durat...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Remove local code from test
642,048
12.02.2017 17:05:50
18,000
f9c7d4b312cff3a953682a8cf0ab1f01dccbc0b1
Better handling of zeros in division and log
[ { "change_type": "MODIFY", "old_path": "statsmodels/duration/_kernel_estimates.py", "new_path": "statsmodels/duration/_kernel_estimates.py", "diff": "@@ -85,7 +85,9 @@ def _kernel_cumincidence(time, status, exog, kfunc, freq_weights,\ntr = 1e-15\nii = np.flatnonzero((denom < tr) & (num < tr))\nrat[i...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Better handling of zeros in division and log
642,048
17.09.2016 21:57:23
14,400
af16c0976ab6bf4040175b2db67291f42fadc558
Initial commit of knockoff code
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/stats/knockoff.py", "diff": "+\"\"\"\n+The Knockoff method is an approach for controlling the False Discovery\n+Rate (FDR). It controls FDR for parameter estimates that are\n+potentially strongly dependent, such as coefficient estima...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Initial commit of knockoff code
642,048
17.09.2016 22:38:46
14,400
15abffb6f53f3f44f212ebe57539c7282ac8c10a
Don't run tests that require cvopt if it is not installed
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_knockoff.py", "new_path": "statsmodels/stats/tests/test_knockoff.py", "diff": "@@ -8,6 +8,12 @@ from statsmodels.stats.knockoff import (KnockoffCorrelation,\nfrom numpy.testing import assert_allclose, assert_array_equal\nfrom numpy...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Don't run tests that require cvopt if it is not installed
642,048
28.02.2017 08:37:41
18,000
b79b74316051c75d1d4fcfdd4ca7ba35283f1b56
Rename some classes, add to api
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/api.py", "new_path": "statsmodels/stats/api.py", "diff": "@@ -15,7 +15,7 @@ from .diagnostic import (\nfrom . import multicomp\nfrom .multitest import (multipletests, fdrcorrection, fdrcorrection_twostage,\n- local_fdr, NullDistribution)\n+ l...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Rename some classes, add to api
642,048
28.02.2017 19:51:21
18,000
5cb9ed0d862d4f8b0584032a855f53f625147ae0
Fix typo, add to docs
[ { "change_type": "MODIFY", "old_path": "docs/source/stats.rst", "new_path": "docs/source/stats.rst", "diff": "@@ -208,7 +208,7 @@ Multiple Tests and Multiple Comparison Procedures\n`multipletests` is a function for p-value correction, which also includes p-value\ncorrection based on fdr in `fdrcorre...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix typo, add to docs
641,917
28.02.2017 21:55:44
21,600
6faf979b7c3f7c839c0dcb82549937a5aefb6df5
DOC: Add pandas-datareader to doc setup requires Used in some of the statespace examples. Closes [ci skip]
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -550,7 +550,8 @@ if __name__ == \"__main__\":\n'ipykernel',\n'matplotlib',\n'nbformat>=4.0.1',\n- 'numpydoc>=0.6.0']}\n+ 'numpydoc>=0.6.0',\n+ 'pandas-datareader']}\nsetup(name = DISTNAME,\nversion = VERSION,\n" ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Add pandas-datareader to doc setup requires Used in some of the statespace examples. Closes https://github.com/statsmodels/statsmodels/issues/3517 [ci skip]
642,025
11.04.2017 19:59:42
14,400
5d896a43e7ce98a232c75f71a17c289ce3b803c6
cleaned to conform to pep8
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_weightstats.py", "new_path": "statsmodels/stats/tests/test_weightstats.py", "diff": "@@ -25,6 +25,7 @@ from statsmodels.stats.weightstats import (DescrStatsW, CompareMeans,\nttest_ind, ztest, zconfint)\n# import statsmodels.stats.w...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
cleaned to conform to pep8
642,025
11.04.2017 21:31:28
14,400
99ed3fea7a19268365e504b9e65b0a158d7649ed
removed tuple separation
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_weightstats.py", "new_path": "statsmodels/stats/tests/test_weightstats.py", "diff": "@@ -698,8 +698,7 @@ class TestZTest(object):\nassert_allclose(zstat, tc.statistic, rtol=1e-10)\nassert_allclose(pval, tc.p_value, rtol=1e-10, atol...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
removed tuple separation
642,048
26.03.2017 12:44:31
14,400
e013349502cba3928d0f14a7905fc787e35c05a5
Add fit_regularized for WLS/GLS
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -33,8 +33,6 @@ W. Green. \"Econometric Analysis,\" 5th ed., Pearson, 2003.\nfrom __future__ import print_function\n-from collections import namedtuple\n-...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add fit_regularized for WLS/GLS
642,048
27.04.2017 22:11:54
14,400
753c20af51ff07bc6714875fd07e877d7b966e19
fix issues with predict/results type
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -495,13 +495,18 @@ class GLS(RegressionModel):\nif self.sigma is not None:\nalpha = alpha * np.sum(1 / np.diag(self.sigma)) / len(self.endog)\n- return O...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix issues with predict/results type
642,048
29.04.2017 09:53:33
14,400
ab53b9e3559967499985742a88342351d901e850
Fix docstring assignment error for py2
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -59,6 +59,91 @@ __docformat__ = 'restructuredtext en'\n__all__ = ['GLS', 'WLS', 'OLS', 'GLSAR']\n+_fit_regularized_doc =\\\n+ r\"\"\"\n+ Return a regular...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix docstring assignment error for py2
642,048
25.04.2017 18:55:06
14,400
57ff7d54452778e99a6854929dcf93198022f573
Fix (first part)
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -1018,9 +1018,18 @@ class OLS(WLS):\nu, s, vt = np.linalg.svd(self.exog, 0)\nv = vt.T\n- s2 = s*s + alpha * self.nobs\n- params = np.dot(u.T, self.endog)...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix #3624 (first part)
641,904
21.03.2017 18:40:46
25,200
90d48158bb2a79689f1584e6e3f72207223e6c62
Add test for fix in predict
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -747,21 +747,22 @@ class CountModel(DiscreteModel):\n#TODO: add offset tp\nif exog is None:\nexog = self.exog\n- offset = getattr(self, 'offset', 0)\n- e...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add test for fix in predict
641,971
13.05.2017 15:57:50
14,400
3c82ee4645d23cc7a237af0e2fbd2232dd2a7300
BUG: fix summary2 for MNLogit, see
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -3024,9 +3024,9 @@ class MultinomialResults(DiscreteResults):\neqn = self.params.shape[1]\nconfint = self.conf_int(alpha)\nfor i in range(eqn):\n- coefs ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix summary2 for MNLogit, see #3651
642,065
14.05.2017 20:36:16
0
8e69e83b5d5dbedd8e57c2b8d151e46e32e5623c
Update the model result to handle None
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -1055,7 +1055,14 @@ class LikelihoodModelResults(Results):\n@cache_readonly\ndef bse(self):\n- return np.sqrt(np.diag(self.cov_params()))\n+ # Issue 3299\n+ if ((not hasattr(self,...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Update the model result to handle None
641,971
14.05.2017 22:51:42
14,400
c9faf787c8b4ae0073600509b5fba24a1a9ce9db
MAINT: appveyor fix pandas version see
[ { "change_type": "MODIFY", "old_path": "appveyor.yml", "new_path": "appveyor.yml", "diff": "@@ -7,6 +7,7 @@ environment:\nmatrix:\n- PY_MAJOR_VER: 2\nPYTHON_ARCH: \"x86_64\"\n+ PANDAS: \"0.19\"\n- PY_MAJOR_VER: 2\nPYTHON_ARCH: \"x86_64\"\nSCIPY: \"0.14\"\n@@ -23,7 +24,9 @@ build_script:\n- SET PATH=...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
MAINT: appveyor fix pandas version see #3658
641,904
22.05.2017 12:42:13
25,200
e14c351df37932e589b8409fb305c322458e0617
Rebase and re-implement
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/arima_process.py", "new_path": "statsmodels/tsa/arima_process.py", "diff": "@@ -127,7 +127,9 @@ def arma_acovf(ar, ma, nobs=10):\nir = arma_impulse_response(ar, ma, leads=nobs_ir)\n# again no idea where the speed break points are:\nif nobs_ir >...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Rebase and re-implement #3666
641,904
22.05.2017 14:09:43
25,200
41ff872567f8f6669e1ac180a53f5472ad70d62a
Edits requested by reviewer
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_arima_process.py", "new_path": "statsmodels/tsa/tests/test_arima_process.py", "diff": "@@ -55,11 +55,11 @@ def test_arma_acovf_persistent():\n# sig2 = .9995**2 * sig2 + 1\nsig2 = 1/(1-.9995**2)\n- corrs = np.array([.9995**n for n in ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Edits requested by reviewer
641,904
22.05.2017 22:21:15
25,200
bbaed22d0ffb0a71f57aeacc366e4dea51885eca
Fix typo that incorrectly set atol to 1e-10 instead of 1e-6. Note that that comment below the 1e-6 references an atol of 1e-7. That tolerance worked when the AR parameter was set to a lower level of .995, but caused the test to fail once the AR parameter was increased to .999.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_arima_process.py", "new_path": "statsmodels/tsa/tests/test_arima_process.py", "diff": "@@ -58,7 +58,7 @@ def test_arma_acovf_persistent():\ncorrs = .9995**np.arange(10)\nexpected = sig2*corrs\nassert_equal(res.ndim, 1)\n- assert_allc...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix typo that incorrectly set atol to 1e-10 instead of 1e-6. Note that that comment below the 1e-6 references an atol of 1e-7. That tolerance worked when the AR parameter was set to a lower level of .995, but caused the test to fail once the AR parameter was increased to .999.
641,971
24.05.2017 19:28:34
14,400
5164fcc53a7c255e965883281cbe9fbacfaaa953
TST: add failing unit test for
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_discrete.py", "new_path": "statsmodels/discrete/tests/test_discrete.py", "diff": "@@ -889,6 +889,55 @@ class TestLogitNewton(CheckBinaryResults, CheckMargEff):\nassert_almost_equal(me.margeff_se,\nself.res2.margeff_dummy_atexog2...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: add failing unit test for #3695
641,971
24.05.2017 19:29:56
14,400
3ffad60414d953394a099764d333381cca75580f
BUG: fix dummy_ind
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_margins.py", "new_path": "statsmodels/discrete/discrete_margins.py", "diff": "@@ -70,9 +70,7 @@ def _isdummy(X):\ndef _get_dummy_index(X, const_idx):\ndummy_ind = _isdummy(X)\ndummy = True\n- # adjust back for a constant because e...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix dummy_ind
641,971
24.05.2017 20:06:51
14,400
15c1ec17f6e6c28b9fb401cab52fc5b961c172af
BUG/TST: fix get_count_index, subclassing to test margins
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_margins.py", "new_path": "statsmodels/discrete/discrete_margins.py", "diff": "@@ -105,9 +105,7 @@ def _iscount(X):\ndef _get_count_index(X, const_idx):\ncount_ind = _iscount(X)\ncount = True\n- # adjust back for a constant because...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/TST: fix get_count_index, subclassing to test margins
641,971
26.05.2017 11:08:27
14,400
130ec36c2fd3f0bc4006c869a7619ce30306daab
REF: wald_test_term, use data.design_info closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -1577,7 +1577,7 @@ class LikelihoodModelResults(Results):\nextra_constraints = []\nif combine_terms is None:\ncombine_terms = []\n- design_info = getattr(result.model.data.orig_ex...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: wald_test_term, use data.design_info closes #2682
641,971
26.05.2017 11:58:00
14,400
b2607355d73700ebd64d34f17e463b62832f318d
BUG: nan fvalue for constant-only regression with robust cov_type closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/linear_model.py", "new_path": "statsmodels/regression/linear_model.py", "diff": "@@ -1580,6 +1580,8 @@ class RegressionResults(base.LikelihoodModelResults):\nidx = lrange(k_params)\nidx.pop(const_idx)\nmat = mat[idx] # remove constant\n+...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: nan fvalue for constant-only regression with robust cov_type closes #3642
641,971
26.05.2017 13:23:11
14,400
f0f2cb851a36b7a93dc058988ad97dc835f5fb0c
BUG/ENH: cov_type hac_panel missing asarray, closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/covtype.py", "new_path": "statsmodels/base/covtype.py", "diff": "@@ -248,10 +248,12 @@ def get_robustcov_results(self, cov_type='HC1', use_t=None, **kwds):\nres.cov_kwds['weights_func'] = weights_func\n# TODO: clumsy time index in cov_nw_panel...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/ENH: cov_type hac_panel missing asarray, closes #3606
642,083
19.06.2017 15:51:00
25,200
85fd4d6dd7c5a92300e8bc1d7207b23d6bea3224
BUG Weighted is spelled wrong
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/summary.py", "new_path": "statsmodels/iolib/summary.py", "diff": "@@ -85,7 +85,7 @@ def summary(self, yname=None, xname=None, title=0, alpha=.05,\nmodel_types = {'OLS' : 'Ordinary least squares',\n'GLS' : 'Generalized least squares',\n'GLSAR'...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG Weighted is spelled wrong #3674
642,065
07.02.2017 11:58:18
21,600
560d9978ceb858672c2e951e7985ba84c1a7d9ef
remove some straggling freq_weights
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -169,7 +169,7 @@ class Family(object):\n\"\"\"\nraise NotImplementedError\n- def resid_dev(self, endog, mu, iweights=1., scale=1.):\n+ def resid_dev(self, ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
remove some straggling freq_weights
642,065
08.02.2017 20:59:00
21,600
f2313d3265fe48c3b961f4de639935ded55d27c8
Matched vs. R using some trickery... refactored Gaussian loglike to factor and pull out a 1/2... makes it more succinct.
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -604,8 +604,8 @@ class Gaussian(Family):\n.. math::\n- llf = \\sum_i iweights_i * ((Y_i * \\mu_i - \\mu_i^2 / 2) / scale-\n- Y^2 / (2 * scale) - (1/2) * \\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Matched vs. R using some trickery... refactored Gaussian loglike to factor and pull out a 1/2... makes it more succinct.
642,065
09.02.2017 17:10:41
21,600
20b9cca69ae835a3c64c07f9a16c4ee4cbbbe547
Changed some tests to be more appropriate data, added bfgs comparison
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -1419,14 +1419,9 @@ class GLMResults(base.LikelihoodModelResults):\n@cache_readonly\ndef llf(self):\n- from statsmodels.genmod.families i...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Changed some tests to be more appropriate data, added bfgs comparison
642,065
11.02.2017 20:05:47
21,600
888248e015c6a8e53bd1486b65e7c28937844737
compare irls vs. gradient for var_weights
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_glm.py", "new_path": "statsmodels/genmod/tests/test_glm.py", "diff": "@@ -1035,7 +1035,6 @@ def test_gradient_irls():\ngradient_bse = rslt_gradient.bse\nehess = mod_gradient.hessian(rslt_gradient.params, observed=False)\ngradient_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
compare irls vs. gradient for var_weights
642,065
12.02.2017 16:03:00
21,600
8b3630f7931a3bdc6431b736dea4b0b494354357
Add repeated vs. aggregate and repeated vs. average test
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -1368,7 +1368,6 @@ class GLMResults(base.LikelihoodModelResults):\ndev = self.family.resid_dev(self._endog, self.fittedvalues)\nreturn de...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add repeated vs. aggregate and repeated vs. average test
642,065
14.04.2017 11:49:37
18,000
d267bba554ce3323d0df60693c230235bb2e0789
This test was taking up too much memory
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_glm_weights.py", "new_path": "statsmodels/genmod/tests/test_glm_weights.py", "diff": "@@ -603,7 +603,7 @@ class TestTweedieRepeatedvsAggregated(CheckWeight):\nimport pandas as pd\nself = cls\nnp.random.seed(4321)\n- n = 1000000\n+...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
This test was taking up too much memory
642,065
14.04.2017 20:58:22
18,000
a7c1176b337265e50ec7f8c33c349d4efbd78ffb
Add binomial test, notebook demonstrating weights.
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/notebooks/glm-weights.ipynb", "diff": "+{\n+ \"cells\": [\n+ {\n+ \"cell_type\": \"markdown\",\n+ \"metadata\": {},\n+ \"source\": [\n+ \"# Weighted Generalized Linear Models\"\n+ ]\n+ },\n+ {\n+ \"cell_type\": \"code\",\n+ \"execution_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add binomial test, notebook demonstrating weights.
642,065
17.04.2017 19:11:35
18,000
7631bba1433116a0cc91925c04fa094214ff0572
Consistency changes to notebook Add test for pearson_chi2 Adjust pearson_chi2 for binomial
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -370,7 +370,7 @@ class GLM(base.LikelihoodModel):\nif var_weights is None:\nself.var_weights = np.ones((endog.shape[0]))\n# TODO: check d...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Consistency changes to notebook Add test for pearson_chi2 Adjust pearson_chi2 for binomial
642,065
23.05.2017 14:33:52
18,000
044e2e6ab56a996048e423582d6fe4140ee71cb6
Binomial var weights comparing var_weights vs. 2d
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/families/family.py", "new_path": "statsmodels/genmod/families/family.py", "diff": "@@ -1021,7 +1021,6 @@ class Binomial(Family):\ndefined in Binomial initialize. This simply makes :math:`y_i` the\noriginal number of successes.\n\"\"\"\n-\nif...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Binomial var weights comparing var_weights vs. 2d
642,065
24.05.2017 19:26:08
18,000
35c21fb50f5de99fd1dd749307e7eaec714c6296
Add a test for Gaussian/Identity vs. WLS
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_glm_weights.py", "new_path": "statsmodels/genmod/tests/test_glm_weights.py", "diff": "@@ -52,6 +52,9 @@ class CheckWeight(object):\nif isinstance(self, TestBinomialVsVarWeights):\n# Binomial ll and deviance are different for 1d vs...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add a test for Gaussian/Identity vs. WLS
642,024
29.11.2016 07:15:13
18,000
bf2c08f07ccae012e10417344de0c960b5fe42d5
Add repeated measures anova
[ { "change_type": "ADD", "old_path": "statsmodels/anova/__init__.py", "new_path": "statsmodels/anova/__init__.py", "diff": "" }, { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/anova/anova.py", "diff": "+\"\"\"Analysis of variance (ANOVA)\n+\n+Author: Yichuan Li...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add repeated measures anova
642,024
02.12.2016 17:50:25
18,000
b8a61a84523999ff1ae8d08b0b0f6a5d9d7acef3
Repeated measures ANOVA
[ { "change_type": "MODIFY", "old_path": "statsmodels/anova/anova.py", "new_path": "statsmodels/anova/anova.py", "diff": "Author: Yichuan Liu\n\"\"\"\n-\n+import pandas as pd\nimport numpy as np\n+from statsmodels.regression.linear_model import OLS\nfrom scipy import stats\n+import patsy\n+from statsm...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Repeated measures ANOVA
642,024
02.12.2016 19:18:18
18,000
099dc398608759dc3b501fe71c6a568924075d6f
Add one factor and three factors testing example compared with R ezANOVA
[ { "change_type": "MODIFY", "old_path": "statsmodels/anova/anova.py", "new_path": "statsmodels/anova/anova.py", "diff": "@@ -72,6 +72,11 @@ class ANOVA(object):\nself.data = data\nself.dv = dv\nself.within = within\n+ for factor in within:\n+ if factor == 'C':\n+ raise ValueError('Factor name cannot ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add one factor and three factors testing example compared with R ezANOVA
642,024
03.12.2016 15:11:40
18,000
2f41db3402697e1cfb92f6be2c26cae7be56d0a1
Do OLS only once because IV's are orthogonal
[ { "change_type": "MODIFY", "old_path": "statsmodels/anova/anova.py", "new_path": "statsmodels/anova/anova.py", "diff": "@@ -88,25 +88,50 @@ class ANOVA(object):\nfactors = ['C(%s, Sum)' % i for i in factors]\ny = self.data[self.dv].values\nx = patsy.dmatrix('*'.join(factors), data=self.data)\n+\nter...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Do OLS only once because IV's are orthogonal
642,024
03.12.2016 18:28:30
18,000
60dcb322948525f6a14ddb3386f57ef5b57477ab
Fix slicing bug
[ { "change_type": "MODIFY", "old_path": "statsmodels/anova/anova.py", "new_path": "statsmodels/anova/anova.py", "diff": "@@ -10,34 +10,6 @@ import patsy\nfrom statsmodels.iolib import summary2\n-def _ols_exclude_term(y, x, terms):\n- \"\"\"\n- Linear regression excluding terms in x\n-\n- Parameters\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix slicing bug
642,024
20.12.2016 11:32:28
18,000
fde2eabe91b386b82eed2b2d1a7ce19d02c1ba8f
Move to statsmodels/stats, rename class to AnovaRM
[ { "change_type": "DELETE", "old_path": "statsmodels/anova/__init__.py", "new_path": "statsmodels/anova/__init__.py", "diff": "" }, { "change_type": "DELETE", "old_path": "statsmodels/anova/anova.py", "new_path": null, "diff": "-\"\"\"Analysis of variance (ANOVA)\n-\n-Author: Yich...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Move to statsmodels/stats, rename class to AnovaRM
642,024
20.12.2016 12:04:07
18,000
df4b0eff2aab334f42bf9875a1e1059b6f0b181e
Raise ValueError when independent variables are collinear
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/anova.py", "new_path": "statsmodels/stats/anova.py", "diff": "@@ -382,7 +382,7 @@ class AnovaRM(object):\n----------\ndata : DataFrame\ndv : string\n- Dependent variable\n+ The dependent variable in `data`\nwithin : a list of string(s)\nThe w...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Raise ValueError when independent variables are collinear
642,024
20.12.2016 13:12:40
18,000
df50d6163cdf3d12a9c734384ff29349be5e153f
Raise ValueError when data is unbalanced
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/anova.py", "new_path": "statsmodels/stats/anova.py", "diff": "@@ -383,6 +383,8 @@ class AnovaRM(object):\ndata : DataFrame\ndv : string\nThe dependent variable in `data`\n+ subject : string\n+ Specify the subject id\nwithin : a list of string...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Raise ValueError when data is unbalanced
642,024
21.01.2017 13:03:17
18,000
0af18aad9c46a42450bf462ed35e1239397024ef
Apply suggested docstring and api changes
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/anova.py", "new_path": "statsmodels/stats/anova.py", "diff": "@@ -367,13 +367,49 @@ def anova_lm(*args, **kwargs):\nreturn table\n+def _not_slice(slices, slices_to_exclude, n):\n+ ind = np.array([True]*n)\n+ for term in slices_to_exclude:\n+ ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Apply suggested docstring and api changes
642,024
11.02.2017 12:08:06
18,000
83e23edc2b96c1198680de54de5c369b6ec8f07a
dv -> depvar
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/anova.py", "new_path": "statsmodels/stats/anova.py", "diff": "@@ -417,14 +417,14 @@ class AnovaRM(object):\nParameters\n----------\ndata : DataFrame\n- dv : string\n+ depvar : string\nThe dependent variable in `data`\nsubject : string\nSpecif...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
dv -> depvar
641,971
14.05.2017 21:03:24
14,400
bc96aff04bcf7426d52385244b7d414b2ab076f1
DOC: improve docstrings, summary argument cleanup
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/anova.py", "new_path": "statsmodels/stats/anova.py", "diff": "@@ -382,17 +382,24 @@ def _ssr_reduced_model(y, x, term_slices, params, keys):\nParameters\n----------\n- y : array_like, dependent variables\n- x : array_like, independent variabl...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: improve docstrings, summary argument cleanup
642,065
07.05.2017 12:21:35
18,000
1f99826d8c555184eafb32df69e7b3005bb5c16b
Allow expected hessian in scipy optimizer fits
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -253,7 +253,7 @@ class LikelihoodModel(Model):\ndef fit(self, start_params=None, method='newton', maxiter=100,\nfull_output=True, disp=True, fargs=(), callback=None, retall=False,...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Allow expected hessian in scipy optimizer fits
642,065
23.06.2017 15:52:23
18,000
36c036af89c552f9242f776f4ae29515c662f612
Use optim_hessian keyword, flake8 fixes
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -434,20 +434,24 @@ class LikelihoodModel(Model):\n# args in most (any?) of the optimize function\nnobs = self.endog.shape[0]\n- f = lambda params, *args: -self.loglike(params, *ar...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Use optim_hessian keyword, flake8 fixes
642,065
24.06.2017 13:27:57
18,000
9b02c1237f85c19355f9081e68e2939eab7eec8a
Flake8 and removing unused parameters
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/model.py", "new_path": "statsmodels/base/model.py", "diff": "@@ -253,7 +253,7 @@ class LikelihoodModel(Model):\ndef fit(self, start_params=None, method='newton', maxiter=100,\nfull_output=True, disp=True, fargs=(), callback=None, retall=False,...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Flake8 and removing unused parameters
641,971
25.06.2017 10:50:19
14,400
009ec1a3e7ce3feabbc5bd97b0a507d10c8f19af
BUG: fix CompareMeans summary for 1-d arrays closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_weightstats.py", "new_path": "statsmodels/stats/tests/test_weightstats.py", "diff": "@@ -318,6 +318,24 @@ class TestWeightstats(object):\ncm2 = CompareMeans.from_data(x1_2d, x2_2d)\nassert_(str(cm1.summary()) == str(cm2.summary()))...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: fix CompareMeans summary for 1-d arrays closes #3783
641,971
25.06.2017 14:01:36
14,400
a16bc68a2ab4904879ec9b9b4f3892a965667c96
BUG Fix ARIMA pickling for ndarrays (no dates, freq) closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/arima_model.py", "new_path": "statsmodels/tsa/arima_model.py", "diff": "@@ -989,9 +989,13 @@ class ARIMA(ARMA):\nreturn mod\ndef __getnewargs__(self):\n+ # using same defaults as in __init__\n+ dates = getattr(self, 'dates', None)\n+ freq = get...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG Fix ARIMA pickling for ndarrays (no dates, freq) closes #3733
641,834
03.06.2016 12:03:59
-7,200
1f3dd33cf45a892211635325000f667065d2cc9a
TST: Add data for testing.
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/datasets/interest_inflation/E6.csv", "diff": "+\"year\",\"quarter\",\"Dp\",\"R\"\n+1972,2,-0.00313258,0.083\n+1972,3,0.0188713,0.083\n+1972,4,0.0248036,0.087\n+1973,1,0.0162776,0.087\n+1973,2,0.000289679,0.102\n+1973,3,0.016829,0.098...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: Add data for testing.
641,834
03.06.2016 12:06:56
-7,200
52eac61eb56f1f2b72ef825e02d50f1594f12c56
ENH: Rudimentary scaffold for VECM
[ { "change_type": "ADD", "old_path": "statsmodels/tsa/vecm/__init__.py", "new_path": "statsmodels/tsa/vecm/__init__.py", "diff": "" }, { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/vecm/vecm.py", "diff": "+# VECM class: for known or unknown VECM\n+\n+class...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Rudimentary scaffold for VECM
641,834
12.06.2016 23:37:23
-7,200
8d756ba4b936adc34e95d66b5c3c7a2d3e0cfc0e
implement VECM-estimation (Pi, Gamma_i) for VECM without deterministic terms.
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/datasets/interest_inflation/preprod.ipynb", "diff": "+{\n+ \"cells\": [\n+ {\n+ \"cell_type\": \"code\",\n+ \"execution_count\": 1,\n+ \"metadata\": {\n+ \"collapsed\": false\n+ },\n+ \"outputs\": [],\n+ \"source\": [\n+ \"import num...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
implement VECM-estimation (Pi, Gamma_i) for VECM without deterministic terms.
641,834
17.06.2016 19:18:40
-7,200
15aa343a15ee6bf6d0de0ef048bc78da045da503
added output from JMulTi and from Jupyter
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/datasets/interest_inflation/e6_jmulti_.txt", "diff": "+*** Wed, 15 Jun 2016 10:30:35 ***\n+VEC REPRESENTATION\n+endogenous variables: Dp R\n+exogenous variables:\n+deterministic variables:\n+endogenous lags (diffs): 3\n+exogenous lag...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
added output from JMulTi and from Jupyter
641,834
17.06.2016 19:22:46
-7,200
fc2423df9881ef475461401efa00cb041db5946b
just added __str__()
[ { "change_type": "MODIFY", "old_path": "statsmodels/datasets/interest_inflation/data.py", "new_path": "statsmodels/datasets/interest_inflation/data.py", "diff": "@@ -61,3 +61,7 @@ def _get_data():\ndata = recfromtxt(f, delimiter=\",\",\nnames=True, dtype=float)\nreturn data\n+\n+def __str__():\n+ re...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
just added __str__()
641,834
17.06.2016 19:25:00
-7,200
af9020e15ec9c8a64acb1314204935f83e073c5b
fixed and bundled the lines of the Jupyter notebook to functions and added them to vecm.py
[ { "change_type": "MODIFY", "old_path": "statsmodels/datasets/interest_inflation/preprod.ipynb", "new_path": "statsmodels/datasets/interest_inflation/preprod.ipynb", "diff": "\"cells\": [\n{\n\"cell_type\": \"code\",\n- \"execution_count\": 1,\n+ \"execution_count\": 46,\n\"metadata\": {\n\"collapsed...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fixed and bundled the lines of the Jupyter notebook to functions and added them to vecm.py
641,834
17.06.2016 23:40:49
-7,200
0c30546fc0e6e69799b03e72ddcf749cc75d591e
added testing (part 1) for dataset E6 added: read data parse JMulTi output compute statsmodels output (some amendments needed) TODO: actual comparison between JMulTi and statsmodels
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "diff": "+import numpy as np\n+from numpy.testing import assert_\n+import pandas\n+import scipy\n+import statsmodels.datasets.interest_inflation.data as e6\n+from statsmodels.tsa.base.datetools import da...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
added testing (part 1) for dataset E6 added: - read data - parse JMulTi output - compute statsmodels output (some amendments needed) TODO: actual comparison between JMulTi and statsmodels
641,834
19.06.2016 12:15:31
-7,200
92c2713f4099c0db5f6024bb1c26023461c51aeb
reading in test results from JMulTi The necessary amendments were made, to make the code work in the tests-directory.
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tsa/vecm/tests/results/e6_jmulti_.txt", "diff": "+*** Wed, 15 Jun 2016 10:30:35 ***\n+VEC REPRESENTATION\n+endogenous variables: Dp R\n+exogenous variables:\n+deterministic variables:\n+endogenous lags (diffs): 3\n+exogenous lags: 0\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
reading in test results from JMulTi The necessary amendments were made, to make the code work in the tests-directory.
641,834
20.06.2016 17:14:38
-7,200
7ba6c554987dca1ed560f78dcbd839b05a2214f9
add tests for estimated parameters add tests for 1 dataset (E6) for 3 parameters (alpha, beta, and Gamma) for 4 different deterministic terms ('', 'c', 'cs', 'clt') That makes 12 tests, of which at the current tolerance 11 are passing. (The failing one would pass with a little more tolerance).
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "new_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "diff": "import numpy as np\n-from numpy.testing import assert_\n+from numpy.testing import assert_, assert_allclose\nimport pandas\nimport scipy\nimport statsmode...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add tests for estimated parameters add tests - for 1 dataset (E6) - for 3 parameters (alpha, beta, and Gamma) - for 4 different deterministic terms ('', 'c', 'cs', 'clt') That makes 12 tests, of which at the current tolerance 11 are passing. (The failing one would pass with a little more tolerance).
641,834
29.06.2016 23:49:17
-7,200
42ed9d81311c02e59af688d5a7c28ef17573b751
cleanup use of ndarray instead of matrix make vecm.py and test_vecm.py PEP8 compliant (except for docstrings)
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "new_path": "statsmodels/tsa/vecm/tests/test_vecm.py", "diff": "import numpy as np\nfrom numpy.testing import assert_, assert_allclose\nimport pandas\n-import scipy\nimport statsmodels.datasets.interest_inflation.data ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
cleanup - use of ndarray instead of matrix - make vecm.py and test_vecm.py PEP8 compliant (except for docstrings)
641,834
02.07.2016 17:42:02
-7,200
d1dd5f924ef177ee5edcbd0bb8166d93a8a55dc0
parse JMulTi VAR output
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/results/parse_jmulti_output.py", "new_path": "statsmodels/tsa/vecm/tests/results/parse_jmulti_output.py", "diff": "@@ -23,53 +23,69 @@ def load_results_jmulti(dataset):\n\"Deterministic term\", # c, s, lt\n\"Loading coefficients\", #...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
parse JMulTi VAR output
641,834
02.07.2016 21:40:51
-7,200
9394ee808d665f840df3300538f650c42031b3de
implement and test translation from VECM to VAR
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/vecm/tests/results/parse_jmulti_output.py", "new_path": "statsmodels/tsa/vecm/tests/results/parse_jmulti_output.py", "diff": "@@ -75,7 +75,6 @@ def load_results_jmulti(dataset):\nrows = len(matrix_col)\nresult = [[] for i in range(rows)]\nfor i...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
implement and test translation from VECM to VAR