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
642,046
04.10.2017 16:17:29
14,400
c5b6f2a4a92560d9073730d874a931b8322ea530
Update empirical_distribution.py with where='post' Given the way the CDF is defined, for intermediate values between two observed values, the value of the CDF should be the value of the left edge and not the right edge. Using the value of the right edge is the default behaviour for plt.step (where='pre').
[ { "change_type": "MODIFY", "old_path": "statsmodels/distributions/empirical_distribution.py", "new_path": "statsmodels/distributions/empirical_distribution.py", "diff": "@@ -172,10 +172,10 @@ if __name__ == \"__main__\":\ncdf = ECDF(x)\nx.sort()\nF = cdf(x)\n- plt.step(x, F)\n+ plt.step(x, F, where=...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Update empirical_distribution.py with where='post' Given the way the CDF is defined, for intermediate values between two observed values, the value of the CDF should be the value of the left edge and not the right edge. Using the value of the right edge is the default behaviour for plt.step (where='pre').
641,831
24.07.2017 17:49:31
14,400
3d67253be2ec37aa734960e99d6adc780a87c931
TST: k_posdef > k_states (fails intermittently)
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/tests/test_models.py", "new_path": "statsmodels/tsa/statespace/tests/test_models.py", "diff": "@@ -12,7 +12,7 @@ import os\nimport re\nimport warnings\n-from statsmodels.tsa.statespace import mlemodel\n+from statsmodels.tsa.statespac...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: k_posdef > k_states (fails intermittently)
641,831
24.07.2017 17:49:48
14,400
c2babbf37d322a789ebf40886acfab8cbb165c2e
BUG: Fix segfault if k_posdef > k_states.
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/_kalman_smoother.pyx.in", "new_path": "statsmodels/tsa/statespace/_kalman_smoother.pyx.in", "diff": "@@ -293,15 +293,15 @@ cdef class {{prefix}}KalmanSmoother(object):\n# *Note*: in math notation below, a $\\\\#$ will represent a gen...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: Fix segfault if k_posdef > k_states.
641,831
07.10.2017 23:50:05
14,400
cf6b473d7f7d6731331690fd8b6ae3da137fa558
REF: Raise error if k_posdef > k_states
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/representation.py", "new_path": "statsmodels/tsa/statespace/representation.py", "diff": "@@ -281,6 +281,13 @@ class Representation(object):\nself.k_states = k_states\nself.k_posdef = k_posdef if k_posdef is not None else k_states\n+ ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: Raise error if k_posdef > k_states
641,831
08.10.2017 00:15:06
14,400
7514fcdc3bf181f23d34bd8434a055d194edbb20
DOC/REF: Use Stata dataset rather than from tests
[ { "change_type": "MODIFY", "old_path": "examples/notebooks/markov_autoregression.ipynb", "new_path": "examples/notebooks/markov_autoregression.ipynb", "diff": "\"outputs\": [],\n\"source\": [\n\"# Get the RGNP data to replicate Hamilton\\n\",\n- \"from statsmodels.tsa.regime_switching.tests.test_mar...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC/REF: Use Stata dataset rather than from tests
641,971
09.10.2017 15:40:24
14,400
97c90c65fb5fc31ad2164b332ff7028cabcfc3dc
TST: tighten convergence tolerance in test_arima111_predict_exog_2127
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_arima.py", "new_path": "statsmodels/tsa/tests/test_arima.py", "diff": "@@ -2092,8 +2092,8 @@ def test_arima111_predict_exog_2127():\n# rescaling results in convergence failure\n#model = sm.tsa.ARIMA(np.array(ef)*100, (1,1,1), exog=ue...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: tighten convergence tolerance in test_arima111_predict_exog_2127
641,971
09.10.2017 16:08:47
14,400
4a4b8c274c5b89c22e61fcfa859f4cd4bd8fe012
REF: ARMA/ARIMA fit increase maxiter to 500
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/arima_model.py", "new_path": "statsmodels/tsa/arima_model.py", "diff": "@@ -820,7 +820,7 @@ class ARMA(tsbase.TimeSeriesModel):\nreturn llf\ndef fit(self, start_params=None, trend='c', method=\"css-mle\",\n- transparams=True, solver='lbfgs', ma...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: ARMA/ARIMA fit increase maxiter to 500
641,971
09.10.2017 16:53:50
14,400
79ebe413246d4bbe7cf8bcdf617324f788114d96
ENH: add iterations to mle_retvals for lbfgs
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/optimizer.py", "new_path": "statsmodels/base/optimizer.py", "diff": "@@ -419,8 +419,10 @@ def _fit_lbfgs(f, score, start_params, fargs, kwargs, disp=True,\nconverged = (warnflag == 0)\ngopt = d['grad']\nfcalls = d['funcalls']\n+ iterations = d...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add iterations to mle_retvals for lbfgs
641,971
09.10.2017 19:01:27
14,400
52ab10c1e40d0ce528a1581d3669546966b2bd7a
BUG: seasonal_decompose, don't check inferred_freq if freq given, closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/filters/_utils.py", "new_path": "statsmodels/tsa/filters/_utils.py", "diff": "@@ -35,7 +35,7 @@ def _maybe_get_pandas_wrapper(X, trim_head=None, trim_tail=None):\nif _is_using_pandas(X, None):\nreturn _get_pandas_wrapper(X, trim_head, trim_tail...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: seasonal_decompose, don't check inferred_freq if freq given, closes #3503
641,904
12.10.2017 10:20:45
25,200
979942b2b684bcf78f430efe9f4c5d7d44971da7
Align descriptions between mlemodel and markov_switching
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/regime_switching/markov_switching.py", "new_path": "statsmodels/tsa/regime_switching/markov_switching.py", "diff": "@@ -1914,12 +1914,19 @@ class MarkovSwitchingResults(tsbase.TimeSeriesModelResults):\nres.cov_type = cov_type\nres.cov_kwds = {}...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Align descriptions between mlemodel and markov_switching
641,971
29.04.2014 23:18:13
14,400
cf053884859253300112c124a1881db8f5b8baf7
BUG/REF fix Theil (refactoring victim)
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/regression/penalized.py", "new_path": "statsmodels/sandbox/regression/penalized.py", "diff": "@@ -121,6 +121,13 @@ class TheilGLS(GLS):\nclass TheilRegressionResults(RegressionResults):\n+ def __init__(self, *args, **kwds):\n+ super(TheilRe...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/REF fix Theil (refactoring victim)
641,971
29.04.2014 23:18:49
14,400
4c3c09f7a87671d1ed75d70ba657c4704e63e6b4
DOC: Theil adjust example
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/regression/penalized.py", "new_path": "statsmodels/sandbox/regression/penalized.py", "diff": "@@ -303,10 +303,18 @@ if __name__ == '__main__':\nres = mod.fit(res_bic)\nprint(res_bic)\n- for lambd in np.linspace(0, 80, 21):\n+ params_l = []\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: Theil adjust example
641,971
03.05.2014 10:15:21
14,400
2fd3297c580d25c862b18485d2458608f0d0ead3
REF/BUG: TheilGLS use sandwich form for normalized_cov_params
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/regression/penalized.py", "new_path": "statsmodels/sandbox/regression/penalized.py", "diff": "@@ -69,7 +69,7 @@ class TheilGLS(GLS):\nsuper(self.__class__, self).__init__(endog, exog, sigma=sigma)\n- def fit(self, lambd=1.):\n+ def fit(self...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/BUG: TheilGLS use sandwich form for normalized_cov_params
641,971
03.05.2014 10:24:28
14,400
2461a4ed1888f7a6233ddba6f559c9368598ba46
REF TheilGLS add method option to fit_minic, decorate selection criteria
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/regression/penalized.py", "new_path": "statsmodels/sandbox/regression/penalized.py", "diff": "@@ -36,6 +36,7 @@ problem with definition of df_model, it has 1 subtracted for constant\nfrom __future__ import print_function\nfrom statsmodels.c...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF TheilGLS add method option to fit_minic, decorate selection criteria
641,971
05.05.2014 14:54:28
14,400
55d18c705144d72dd19778750a2b4cfbfbcc4256
BUG: df_model subtract constant, fix example
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/regression/penalized.py", "new_path": "statsmodels/sandbox/regression/penalized.py", "diff": "@@ -133,8 +133,8 @@ class TheilRegressionResults(RegressionResults):\nsuper(TheilRegressionResults, self).__init__(*args, **kwds)\n# overwrite df_...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: df_model subtract constant, fix example
641,971
07.05.2014 00:28:35
14,400
3a354fa9f07f45d3d88d62f91650edf867a333e2
ENH: add compatibility test, and share of data versus prior BUG: incomplete refactoring
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/regression/penalized.py", "new_path": "statsmodels/sandbox/regression/penalized.py", "diff": "@@ -182,7 +182,7 @@ class TheilRegressionResults(RegressionResults):\n@cache_readonly\ndef cv(self):\n- return ((self.resid / (1. - self.hatmatrix...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add compatibility test, and share of data versus prior BUG: incomplete refactoring
641,971
07.05.2014 00:30:54
14,400
14113e9b88a7d566e7171d1ab009c86cb26d89ab
TST: unit tests against Stata tgmixed (not identical)
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/regression/tests/results/results_theil_textile.py", "diff": "+import numpy as np\n+\n+est = dict(\n+ rmse = .0136097497582343,\n+ r2 = .9741055881598619,\n+ N = 17,\n+ df_r = 14,\n+ compat = .860625753607033,\n+ vrank = 2,\n+ pvalue ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: unit tests against Stata tgmixed (not identical)
641,971
09.05.2014 10:56:38
14,400
8796a74cae521e4a7a629440020ee7f25116d6f9
REF/DOC: small changes in keywords, add docstring
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_theil.py", "new_path": "statsmodels/regression/tests/test_theil.py", "diff": "@@ -18,7 +18,6 @@ from statsmodels.tools.sm_exceptions import InvalidTestWarning\nfrom statsmodels.sandbox.regression.penalized import TheilGLS\n-\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/DOC: small changes in keywords, add docstring
641,971
09.05.2014 12:22:02
14,400
24a1e8f05082649f5eb9031910c2cddabf383b63
REF: TheilGLS add default initialization and shape checks, use rank in share_data
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/regression/penalized.py", "new_path": "statsmodels/sandbox/regression/penalized.py", "diff": "@@ -98,7 +98,6 @@ class TheilGLS(GLS):\nis the same as a Bayesian posterior mean for the case of an informative\nnormal prior, normal likelihood a...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: TheilGLS add default initialization and shape checks, use rank in share_data
641,971
09.05.2014 22:06:40
14,400
940296ac37db0bdfed8778db4d665d4e34c03010
TST more tests for TheilGLS, diagonal sigma_prior
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_theil.py", "new_path": "statsmodels/regression/tests/test_theil.py", "diff": "@@ -108,3 +108,82 @@ class TestTheilTextile(object):\ndef test_smoke(self):\nself.res1.summary()\n+\n+\n+class CheckEquivalenceMixin(object):\n+\n+\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST more tests for TheilGLS, diagonal sigma_prior
641,971
10.05.2014 11:02:25
14,400
aab6ef37a58deb03b775bd1f73352f09e707d65f
TST TheilGLS add and refactor tests, adjust testcase, finetune precision
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_theil.py", "new_path": "statsmodels/regression/tests/test_theil.py", "diff": "@@ -11,7 +11,7 @@ from scipy import stats\nfrom numpy.testing import assert_allclose, assert_equal, assert_warns\n-from statsmodels.regression.linea...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST TheilGLS add and refactor tests, adjust testcase, finetune precision
641,971
10.05.2014 11:04:56
14,400
844d06a08bf1410ba3c9f0c55c58eab4ebbaffc6
BUG: python compat, use lrange
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/regression/penalized.py", "new_path": "statsmodels/sandbox/regression/penalized.py", "diff": "@@ -34,7 +34,7 @@ problem with definition of df_model, it has 1 subtracted for constant\n\"\"\"\nfrom __future__ import print_function\n-from stat...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG: python compat, use lrange
641,971
14.10.2017 23:47:53
14,400
da00176d28fd5e435d5bb6229132844e2d2f6354
TST: test_no_penalization increase tolerance
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_theil.py", "new_path": "statsmodels/regression/tests/test_theil.py", "diff": "@@ -102,8 +102,8 @@ class TestTheilTextile(object):\ndef test_no_penalization(self):\nres_ols = OLS(self.res1.model.endog, self.res1.model.exog).fit...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: test_no_penalization increase tolerance
641,971
15.10.2017 10:00:16
14,400
0e4191c0d1eded0c7fb0a93430049ca9a20b09d3
STY: a bit of cleanup (mostly empty lines)
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_theil.py", "new_path": "statsmodels/regression/tests/test_theil.py", "diff": "@@ -27,7 +27,6 @@ class TestTheilTextile(object):\nfilepath = os.path.join(cur_dir, \"results\", \"theil_textile_predict.csv\")\ncls.res_predict = n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
STY: a bit of cleanup (mostly empty lines)
641,971
15.10.2017 13:34:25
14,400
a2fcfe4cb060a3797b193f7c494f25970cde091d
try refactor normalized_cov_params, cheat in test against tgmixed
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_theil.py", "new_path": "statsmodels/regression/tests/test_theil.py", "diff": "@@ -60,6 +60,8 @@ class TestTheilTextile(object):\ncov_r = np.array([[0.15**2, -0.01], [-0.01, 0.15**2]])\nmod = TheilGLS(endog, exog, r_matrix, q_m...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
try refactor normalized_cov_params, cheat in test against tgmixed
641,945
15.10.2017 22:23:13
-7,200
ff6486e5f242bc6b01c2b8e5e6748c739c1f6b34
BUG Fix Arima summary()
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/arima_model.py", "new_path": "statsmodels/tsa/arima_model.py", "diff": "@@ -398,7 +398,10 @@ def _make_arma_names(data, k_trend, order, exog_names):\n# ensure exog_names stays unchanged when the `fit` method\n# is called multiple times.\n- if e...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG Fix Arima summary()
641,971
15.10.2017 23:12:46
14,400
51503b676c8e615b0f2999ac55523f206506a3ef
TST: test with panel data, mostly regression test
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_theil.py", "new_path": "statsmodels/regression/tests/test_theil.py", "diff": "@@ -255,3 +255,94 @@ class TestTheilLinRestrictionApprox(CheckEquivalenceMixin):\n}\ntol.update(tol2)\ncls.tol = tol\n+\n+\n+class TestTheilPanel(ob...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: test with panel data, mostly regression test
641,945
16.10.2017 15:24:35
-7,200
39e285944963675d161bcaeac1735a5462335c87
TST add a test for arima summary()
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/tests/test_arima.py", "new_path": "statsmodels/tsa/tests/test_arima.py", "diff": "@@ -2234,9 +2234,12 @@ def test_arima_fit_mutliple_calls():\nmod.fit(disp=0, start_params=[np.mean(y), .1, .1, .1])\nassert_equal(mod.exog_names, ['const', 'ar.L1...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST add a test for arima summary()
641,971
16.10.2017 10:59:04
14,400
a5d9f43d8be289e11d25d84b995a9d24163b0807
REF/TST: some name changes, regression tests for select_pen_weight
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_theil.py", "new_path": "statsmodels/regression/tests/test_theil.py", "diff": "@@ -108,7 +108,7 @@ class TestTheilTextile(object):\ndef test_no_penalization(self):\nres_ols = OLS(self.res1.model.endog, self.res1.model.exog).fit...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/TST: some name changes, regression tests for select_pen_weight
641,971
16.10.2017 11:10:35
14,400
59bb55e033d02bfc7752b4a05abb3291320bd63b
CLN: remove main, no more examples [skip ci]
[ { "change_type": "MODIFY", "old_path": "statsmodels/sandbox/regression/penalized.py", "new_path": "statsmodels/sandbox/regression/penalized.py", "diff": "@@ -475,161 +475,3 @@ def coef_restriction_diffseq(n_coeffs, degree=1, n_vars=None, position=0, base_i\n## r = np.zeros(n_groups)\n## R = np.c_[np...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLN: remove main, no more examples [skip ci]
641,945
18.10.2017 14:35:59
-7,200
59f2fc711a87361ee6d03e380cf3c8d909417ad2
BUG raise error for a not-implemented method
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/arima_model.py", "new_path": "statsmodels/tsa/arima_model.py", "diff": "@@ -973,6 +973,12 @@ class ARMA(tsbase.TimeSeriesModel):\narmafit.mle_settings = mlefit.mle_settings\nreturn ARMAResultsWrapper(armafit)\n+ # base class of \"from_formula\"...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG raise error for a not-implemented method
642,047
26.07.2017 11:26:03
25,200
00e8767f07686260a5286bc5f701b453db5c48af
lilliefors pval bound fix
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/_lilliefors.py", "new_path": "statsmodels/stats/_lilliefors.py", "diff": "@@ -311,6 +311,9 @@ def kstest_lilliefors(x, dist='norm', pvalmethod='approx'):\nif pvalmethod == 'approx':\npval = pval_lf(d_ks, nobs)\n+ # check pval is in desired ra...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
lilliefors pval bound fix #3673
642,047
26.07.2017 11:30:27
25,200
9af7401dcb68da4bafac0160ec8ca682d89238f2
lilliefors unit test pvalue bounds
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_lilliefors.py", "new_path": "statsmodels/stats/tests/test_lilliefors.py", "diff": "@@ -17,3 +17,10 @@ class TestLilliefors(object):\nx_e = stats.expon.rvs(size=5000)\nd_ks, p = lilliefors(x_e, dist='exp')\nassert_(p > 0.05)\n+\n+ d...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
lilliefors unit test pvalue bounds
642,047
26.07.2017 11:50:45
25,200
1ede95099595cb39555b53f6bb5d7422e9989c17
lilliefors test range fix
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_lilliefors.py", "new_path": "statsmodels/stats/tests/test_lilliefors.py", "diff": "@@ -8,13 +8,13 @@ class TestLilliefors(object):\ndef test_normal(self):\nnp.random.seed(3975)\n- x_n = stats.norm.rvs(size=5000)\n+ x_n = stats.norm...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
lilliefors test range fix
642,047
26.07.2017 12:05:07
25,200
4a5f3d9966de40cb9fad5c8cb083632c659d6333
lilliefors original table, present but not utilized
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/_lilliefors.py", "new_path": "statsmodels/stats/_lilliefors.py", "diff": "@@ -153,6 +153,23 @@ def get_lilliefors_table(dist='norm'):\n[ 74, 77, 82, 89, 104, 122],\n[ 37, 39, 41, 45, 52, 61],\n[ 25, 26, 28, 30, 35, 42]])[:,::-1] / 1000.\n+\n+...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
lilliefors original table, present but not utilized
642,047
29.07.2017 12:50:52
25,200
ff440746b5380288f1556967310ca52082996102
sample normilization, table aliases
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/_lilliefors.py", "new_path": "statsmodels/stats/_lilliefors.py", "diff": "@@ -215,6 +215,9 @@ def get_lilliefors_table(dist='norm'):\nreturn lf\n+lilliefors_table_norm = get_lilliefors_table(dist='norm')\n+lilliefors_table_expon = get_lillief...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
sample normilization, table aliases
642,047
02.08.2017 11:32:15
25,200
a8e301a1a7eb33dc67b208dc745d360b3e7c7944
tests ref. R Lilliefors implementations
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/tests/test_lilliefors.py", "new_path": "statsmodels/stats/tests/test_lilliefors.py", "diff": "-from numpy.testing import assert_, assert_raises\n+'''\n+Test Lilliefors corrected K-S tests for normality and exponential distributions\n+\n+Refer...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
tests ref. R Lilliefors implementations
642,047
02.08.2017 13:34:08
25,200
b192faaaed9b711db4494860bd614e84ba0e722d
fix test comments, variable declarations
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/_lilliefors.py", "new_path": "statsmodels/stats/_lilliefors.py", "diff": "@@ -169,6 +169,8 @@ def get_lilliefors_table(dist='norm'):\nalpha_large = alpha[:-1]\nsize_large = np.concatenate([size, higher_sizes])\ncrit_lf_large = np.vstack([crit...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix test comments, variable declarations
642,047
02.08.2017 14:17:26
25,200
a513bbe6bdf7b4e149d07f8497fb9d71c7ef7a11
lilliefors namespace changes
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/_lilliefors.py", "new_path": "statsmodels/stats/_lilliefors.py", "diff": "# -*- coding: utf-8 -*-\n\"\"\"\n+Implements Lilliefors corrected Kolmogorov-Smirnov tests for normal and\n+exponential distributions.\n+\n+`kstest_fit` is provided as ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
lilliefors namespace changes
642,047
02.08.2017 18:47:56
25,200
b1a96c839cdfb4a47a78ed383d547c3ef7150a30
fix ValueError non-reachable statement
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/_lilliefors.py", "new_path": "statsmodels/stats/_lilliefors.py", "diff": "@@ -220,8 +220,8 @@ def get_lilliefors_table(dist='norm'):\ncrit_lf = np.vstack([crit_lf, higher_crit_lf])\nlf = TableDist(alpha, size, crit_lf)\nelse:\n- print('Must s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix ValueError non-reachable statement
641,971
25.09.2017 20:49:20
14,400
aa55b2b5472ec92fc1d6c4d6c47f65a9fa2a8e4c
REF/CLN: imports, a bit of pep-8 cleanup
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/_lilliefors.py", "new_path": "statsmodels/stats/_lilliefors.py", "diff": "@@ -116,8 +116,10 @@ def ksstat(x, cdf, alternative='two_sided', args=()):\ndef get_lilliefors_table(dist='norm'):\n'''\n- Generates tables for significance levels of t...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF/CLN: imports, a bit of pep-8 cleanup
641,904
21.10.2017 20:14:56
25,200
a3342fb6a79fc86f2e8995c4ae1902db95e5d3e6
remove reminder case per reviewer request
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/regime_switching/markov_switching.py", "new_path": "statsmodels/tsa/regime_switching/markov_switching.py", "diff": "@@ -1948,9 +1948,6 @@ class MarkovSwitchingResults(tsbase.TimeSeriesModelResults):\n'Quasi-maximum likelihood covariance matrix ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
remove reminder case per reviewer request
641,904
21.10.2017 20:49:36
25,200
a441ee1b9006bfa20ef78cf800e1028673691c1f
Fix label cov_params_robust --> cov_params_robust_approx
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/statespace/mlemodel.py", "new_path": "statsmodels/tsa/statespace/mlemodel.py", "diff": "@@ -1004,9 +1004,10 @@ class MLEModel(tsbase.TimeSeriesModel):\npartials = np.zeros((self.nobs, n))\nk_endog = self.k_endog\nfor t in range(self.nobs):\n- f...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix label cov_params_robust --> cov_params_robust_approx
641,852
20.01.2017 21:13:48
-10,800
c95abd620d1ffa2430992da78c2618578384e8e2
Fixed a small series bug with solution based on
[ { "change_type": "MODIFY", "old_path": "docs/source/release/version0.8.rst", "new_path": "docs/source/release/version0.8.rst", "diff": "@@ -80,6 +80,7 @@ These include:\nresiduals similar to the Goldfeld-Quandt test\n* `test_serial_correlation` implements the Ljung-Box (or Box-Pierce) test for\nseri...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fixed a small series bug with solution based on http://www.stata.com/manuals13/tswntestq.pdf
641,904
22.10.2017 19:56:37
25,200
0249d54505c25652aa3d902de1358f4777e66891
implement _res_classes in statespace+regime_switching
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/regime_switching/markov_autoregression.py", "new_path": "statsmodels/tsa/regime_switching/markov_autoregression.py", "diff": "@@ -237,19 +237,10 @@ class MarkovAutoregression(markov_regression.MarkovRegression):\nreturn conditional_likelihoods\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
implement _res_classes in statespace+regime_switching
641,904
24.10.2017 12:19:37
25,200
11eac8c551bf880800d27b78d509273ec37cf4f3
typo fixup nameerror
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/regime_switching/markov_switching.py", "new_path": "statsmodels/tsa/regime_switching/markov_switching.py", "diff": "@@ -1014,8 +1014,8 @@ class MarkovSwitching(tsbase.TimeSeriesModel):\nif results_class is None:\nresults_class = self._res_class...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
typo fixup nameerror
642,082
25.05.2017 20:03:17
-36,000
5c0d842c3e71c9488588344f81eaec1821484383
add option to drop omitted regressors from summary_col output
[ { "change_type": "MODIFY", "old_path": "statsmodels/iolib/summary2.py", "new_path": "statsmodels/iolib/summary2.py", "diff": "@@ -427,7 +427,7 @@ def _make_unique(list_of_names):\ndef summary_col(results, float_format='%.4f', model_names=[], stars=False,\n- info_dict=None, regressor_order=[]):\n+ in...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add option to drop omitted regressors from summary_col output
641,868
18.08.2017 18:25:36
-7,200
1ae22d4f960abb9a2be956fc9f43de1dedf9b95e
ENH: Add function HDR functional boxplot
[ { "change_type": "MODIFY", "old_path": "docs/source/graphics.rst", "new_path": "docs/source/graphics.rst", "diff": "@@ -43,6 +43,7 @@ Functional Plots\n.. autosummary::\n:toctree: generated/\n+ functional.hdrboxplot\nfunctional.fboxplot\nfunctional.rainbowplot\nfunctional.banddepth\n" }, { "...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: Add function HDR functional boxplot
641,971
11.10.2017 14:17:39
14,400
8ee804b00dd9265eb9953041281ee867d110b7a1
ENH: add wls_method option, mle_settings to GLM fit IRLS, closes
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -981,6 +981,11 @@ class GLM(base.LikelihoodModel):\n:math:`rtol * prior + atol > abs(current - prior)`\ntol_criterion : str, optional\nDe...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add wls_method option, mle_settings to GLM fit IRLS, closes #4001
641,971
25.10.2017 15:00:26
14,400
94fd2887673497e8e5c4934c4f7fe927270201f0
DOC: add more explanation to docstring
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -986,6 +986,10 @@ class GLM(base.LikelihoodModel):\nspecifies which linear algebra function to use for the irls\noptimization. Default is...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: add more explanation to docstring
641,971
22.02.2017 13:43:06
18,000
449c87a1f3fc1b622fd40b2b97f882a593fbd33a
REF: raise in has constant check if exog is not finite.
[ { "change_type": "MODIFY", "old_path": "statsmodels/base/data.py", "new_path": "statsmodels/base/data.py", "diff": "@@ -128,7 +128,10 @@ class ModelData(object):\nelse:\n# detect where the constant is\ncheck_implicit = False\n- const_idx = np.where(self.exog.ptp(axis=0) == 0)[0].squeeze()\n+ ptp_ = ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: raise in has constant check if exog is not finite.
641,971
22.02.2017 14:57:51
18,000
127441ae3408db7b72399437b9046d01c84105e9
TST: fix test to be more specific to shape ValueError
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/tests/test_discrete.py", "new_path": "statsmodels/discrete/tests/test_discrete.py", "diff": "@@ -1588,7 +1588,8 @@ def test_formula_missing_exposure():\nassert_(type(mod1.exposure) is np.ndarray, msg='Exposure is not ndarray')\n# make sure...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: fix test to be more specific to shape ValueError
641,971
17.02.2016 10:42:29
18,000
fbf973482c641b4a5a2c6589edc3e6756a1d909b
ENH: make seasonal_decompose work for 2-D
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/seasonal.py", "new_path": "statsmodels/tsa/seasonal.py", "diff": "@@ -16,7 +16,7 @@ def seasonal_mean(x, freq):\nnumber of periods per cycle. E.g., 12 for monthly. NaNs are ignored\nin the mean.\n\"\"\"\n- return np.array([pd_nanmean(x[i::freq]...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: make seasonal_decompose work for 2-D
642,034
27.10.2017 14:39:32
14,400
8d3c4b93163d3bfdd53f9ada926da5ea97fe7b04
Better handling of effect_size = 0 edge case Raise when trying to calculate nobs or ratio
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/power.py", "new_path": "statsmodels/stats/power.py", "diff": "@@ -219,6 +219,18 @@ class Power(object):\ndel kwds['power']\nreturn self.power(**kwds)\n+ if kwds['effect_size'] == 0:\n+ import warnings\n+ from statsmodels.tools.sm_exceptions i...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Better handling of effect_size = 0 edge case Raise when trying to calculate nobs or ratio
642,034
29.10.2017 13:53:36
14,400
0df7b2907f802798d0a1238508618b115c444c69
Converts print to warning
[ { "change_type": "MODIFY", "old_path": "statsmodels/stats/power.py", "new_path": "statsmodels/stats/power.py", "diff": "@@ -249,7 +249,9 @@ class Power(object):\nstart_value = self.start_ttp[key]\nexcept KeyError:\nstart_value = 0.9\n- print('Warning: using default start_value for {0}'.format(key))\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Converts print to warning
642,010
30.10.2017 17:40:34
0
010e5b921bcf37a0d623e7daeea30b1551d5c625
Fix typo in .fit() docstring
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/generalized_linear_model.py", "new_path": "statsmodels/genmod/generalized_linear_model.py", "diff": "@@ -1002,7 +1002,7 @@ class GLM(base.LikelihoodModel):\nNotes\n-----\nIf method is 'IRLS', then an additional keyword 'attach_wls' is\n- ava...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix typo in .fit() docstring
641,904
09.10.2017 09:13:25
25,200
8790dcfadd78f1985f2cc86c501936242d144d7c
remove yield tests from test_lme
[ { "change_type": "MODIFY", "old_path": "statsmodels/regression/tests/test_lme.py", "new_path": "statsmodels/regression/tests/test_lme.py", "diff": "@@ -560,7 +560,11 @@ class TestMixedLM(object):\nmdf5 = md.fit_regularized(method=pen, alpha=1.)\nmdf5.summary()\n- def do1(self, reml, irf, ds_ix):\n+\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
remove yield tests from test_lme
641,904
26.10.2017 19:45:24
25,200
0064c27c6e014d719e40b3811041450f617f2a4f
remove unused imports fix the most gratuitous flake8 errors, leave many many more unfixed
[ { "change_type": "MODIFY", "old_path": "statsmodels/discrete/discrete_model.py", "new_path": "statsmodels/discrete/discrete_model.py", "diff": "@@ -22,32 +22,30 @@ __all__ = [\"Poisson\", \"Logit\", \"Probit\", \"MNLogit\", \"NegativeBinomial\",\nfrom statsmodels.compat.python import lmap, lzip, ran...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
remove unused imports fix the most gratuitous flake8 errors, leave many many more unfixed
641,904
24.10.2017 10:02:49
25,200
f55f3789f8c536d8b7fb7f39ad6d7a4cf58b4257
cleanup arima docstrings
[ { "change_type": "MODIFY", "old_path": "statsmodels/tsa/arima_model.py", "new_path": "statsmodels/tsa/arima_model.py", "diff": "@@ -146,8 +146,7 @@ _predict_returns = \"\"\"predict : array\n\"\"\"\n_arma_predict = _predict % {\"Model\" : \"ARMA\",\n- \"params\" : \"\"\"\n- params : array-like\n+ \"p...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
cleanup arima docstrings
641,868
05.11.2017 00:30:04
-3,600
d3aad88af3d035d1216abe149adea068cd5271b8
ENH: add sequences module with Halton
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/tools/sequences.py", "diff": "+\"\"\"Low discrepancy sequence tools.\"\"\"\n+import numpy as np\n+\n+\n+def discrepancy(sample, feature_range=(0, 1)):\n+ \"\"\"Discrepancy.\n+\n+ Compute the centered discrepancy on a given sample.\n+...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH: add sequences module with Halton
641,868
05.11.2017 10:55:37
-3,600
f7df5b132cc720aa23ffb08d8c798305f589376d
FIX/ENH: stack and restart option
[ { "change_type": "MODIFY", "old_path": "statsmodels/tools/sequences.py", "new_path": "statsmodels/tools/sequences.py", "diff": "\"\"\"Low discrepancy sequence tools.\"\"\"\n+from __future__ import division\nimport numpy as np\n@@ -11,9 +12,9 @@ def discrepancy(sample, feature_range=(0, 1)):\nParamet...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
FIX/ENH: stack and restart option
641,868
05.11.2017 15:43:12
-3,600
24a1d608764d52916e2e3ec6df9171fe0831a9bc
CLN/DOC: bounds and info about it
[ { "change_type": "MODIFY", "old_path": "statsmodels/tools/sequences.py", "new_path": "statsmodels/tools/sequences.py", "diff": "@@ -3,7 +3,7 @@ from __future__ import division\nimport numpy as np\n-def discrepancy(sample, feature_range=(0, 1)):\n+def discrepancy(sample, bounds=(0, 1)):\n\"\"\"Discre...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
CLN/DOC: bounds and info about it
641,904
05.11.2017 19:05:04
28,800
892b120aaedce5b5086c0c191ea8b15924dab634
friends dont let friends...
[ { "change_type": "MODIFY", "old_path": "statsmodels/genmod/tests/test_glm_weights.py", "new_path": "statsmodels/genmod/tests/test_glm_weights.py", "diff": "@@ -5,6 +5,7 @@ from __future__ import division\nfrom statsmodels.compat.testing import SkipTest\nimport warnings\n+import sys\nimport nose\nimp...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
friends dont let friends...
641,868
06.11.2017 11:54:18
-3,600
8be16321da279cc1d372a76eb51e8210028d4f91
FIX: discrepancy without bounds
[ { "change_type": "MODIFY", "old_path": "statsmodels/tools/sequences.py", "new_path": "statsmodels/tools/sequences.py", "diff": "@@ -3,7 +3,7 @@ from __future__ import division\nimport numpy as np\n-def discrepancy(sample, bounds=(0, 1)):\n+def discrepancy(sample, bounds=None):\n\"\"\"Discrepancy.\nC...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
FIX: discrepancy without bounds
642,024
26.11.2016 13:17:12
18,000
85bd9f94f72618a79924d5662a8ee98b940fbf33
Add factor analysis
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/multivariate/factor.py", "diff": "+# -*- coding: utf-8 -*-\n+\n+from statsmodels.base.model import Model\n+import numpy as np\n+from numpy.linalg import eig, inv, norm\n+import pandas as pd\n+from statsmodels.iolib import summary2\n+...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add factor analysis
642,024
26.11.2016 17:40:20
18,000
1b036dc0dd8fff91a5d1288f6c58a146311e8d75
Add factor_rotation package by
[ { "change_type": "ADD", "old_path": null, "new_path": "statsmodels/multivariate/factor_rotation/__init__.py", "diff": "+# -*- coding: utf-8 -*-\n+\"\"\"\n+Package with factor rotation algorithms.\n+\n+This file contains a Python version of the gradient projection rotation\n+algorithms (GPA) develope...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add factor_rotation package by @mvds314 https://github.com/mvds314/factor_rotation
642,024
26.11.2016 19:16:32
18,000
9d0f36625a0c73716a5502a4ad56a11c753a98a9
Add factor rotation
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "# -*- coding: utf-8 -*-\nfrom statsmodels.base.model import Model\n+from .factor_rotation import rotate_factors, promax\nimport numpy as np\nfrom numpy.linalg impor...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add factor rotation
642,024
26.11.2016 20:43:06
18,000
639041e818bea74a1f84de8b64051d005dffd875
Add scree and variance explained plots
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "from statsmodels.base.model import Model\nfrom .factor_rotation import rotate_factors, promax\nimport numpy as np\n-from numpy.linalg import eig, inv, norm\n+from n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add scree and variance explained plots
642,024
26.11.2016 22:10:49
18,000
e5b00b9a064f2f1dac80d8f3b2a81bfb36003f56
Add loading pattern plot
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -5,6 +5,7 @@ from .factor_rotation import rotate_factors, promax\nimport numpy as np\nfrom numpy.linalg import eig, inv, norm, matrix_rank\nimport pandas as pd\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add loading pattern plot
642,024
26.11.2016 22:50:56
18,000
d61ade5e9411a8779c25ff65dc0c776857ead7c4
Add FactorResults
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -12,6 +12,11 @@ from statsmodels.iolib import summary2\nclass Factor(Model):\ndef __init__(self, endog, n_factor, exog=None, **kwargs):\nself.n_factor = n_factor...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add FactorResults
642,024
26.11.2016 23:02:58
18,000
15f84cdbba2ba35c9e58951449844292d5b177b4
Add docstrings for Factor and FactorResults class
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -10,6 +10,26 @@ from statsmodels.iolib import summary2\nclass Factor(Model):\n+ \"\"\"\n+ Principle axis factor analysis\n+\n+ .. [1] http://www.real-statistics....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add docstrings for Factor and FactorResults class
642,024
27.11.2016 14:03:26
18,000
f4b4622000267094e1835e0631d9f144c19625c8
Move plots to plots.py for re-usability
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "from statsmodels.base.model import Model\nfrom .factor_rotation import rotate_factors, promax\n+from .plots import plot_scree, plot_loadings\n+\nimport numpy as np\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Move plots to plots.py for re-usability
642,024
27.11.2016 14:04:14
18,000
caf5b7988897ccefaa8f0a024a56338f190c69f9
Fix factor_rotation flakes problem
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor_rotation/_analytic_rotation.py", "new_path": "statsmodels/multivariate/factor_rotation/_analytic_rotation.py", "diff": "@@ -8,8 +8,6 @@ from __future__ import print_function\nimport numpy as np\nimport scipy as sp\n-import scipy...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix factor_rotation flakes problem
642,024
17.11.2017 07:52:37
18,000
5f754354f213cae38aad3e3ae9fee95649660080
Use np.corrcoef instead of pd.DataFrame.corr
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -82,7 +82,7 @@ class Factor(Model):\n'equamax', 'oblimin', 'parsimax', 'parsimony',\n'biquartimin', 'promax']:\nraise ValueError('Unknown rotation method %s' % (...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Use np.corrcoef instead of pd.DataFrame.corr
642,024
17.11.2017 07:54:31
18,000
ea17677dd91864d246bae2d640579478806043f1
Use np.linalg.eigh instead of eig for symmetric matrix R
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -13,7 +13,7 @@ if not missing_matplotlib:\nfrom .plots import plot_scree, plot_loadings\nimport numpy as np\n-from numpy.linalg import eig, inv, norm, matrix_ran...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Use np.linalg.eigh instead of eig for symmetric matrix R
642,024
17.11.2017 10:01:08
18,000
11ffa5d8c6e849d013aa861519d12dc311025e6c
Structure change. Do plot and rotate in the results class.
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -51,15 +51,12 @@ class Factor(Model):\n' of columns of endog! %d > %d' %\n(n_factor, endog.shape[1]))\nself.n_factor = n_factor\n- self.rotation = None\nself.loa...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Structure change. Do plot and rotate in the results class.
642,024
09.12.2017 20:44:51
18,000
fcc6b7cd6fada51bdaf9919e61800e21f2f56823
Add reference Hofacker 2004
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -23,10 +23,13 @@ class Factor(Model):\n\"\"\"\nPrinciple axis factor analysis\n- .. [1] http://www.real-statistics.com/multivariate-statistics/\n+ .. [1] Hofacke...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add reference Hofacker 2004
642,024
09.12.2017 21:09:32
18,000
bbdd991f86613f06035280618d7cf5b2bd01f64f
Add support to switch factor extraction approach
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -21,17 +21,11 @@ from statsmodels.iolib import summary2\nclass Factor(Model):\n\"\"\"\n- Principle axis factor analysis\n+ Factor analysis\n- .. [1] Hofacker, C....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add support to switch factor extraction approach
642,024
10.12.2017 19:16:49
18,000
f92647d51478bbbc8e1742a6debed24fe2245f2d
Add support to use correlation matrix directly
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -34,40 +34,94 @@ class Factor(Model):\n----------\nendog : array-like\nVariables in columns, observations in rows\n-\n+ Could be `None` if `corr` is not `None`\n...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add support to use correlation matrix directly
642,024
10.12.2017 20:45:37
18,000
b90dfa17ccf7ce70879b98eb50c825677010f153
Add n_obs, add docstrings, add variable auto naming
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -48,18 +48,26 @@ class Factor(Model):\nendog_names: str\nNames of endogeous variables.\nIf specified, it will be used instead of the column names in endog\n+ n_o...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add n_obs, add docstrings, add variable auto naming
642,024
10.12.2017 22:28:53
18,000
3d902954f275aea211317f00f0ca98aa42440aff
change n_obs -> nobs, add a test for nobs
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -48,13 +48,13 @@ class Factor(Model):\nendog_names: str\nNames of endogeous variables.\nIf specified, it will be used instead of the column names in endog\n- n_o...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
change n_obs -> nobs, add a test for nobs
642,024
11.12.2017 21:12:47
18,000
411c7c854eee472fb384e2282cad3307a6062e56
Add "Status: experimental"
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -22,6 +22,7 @@ from statsmodels.iolib import summary2\nclass Factor(Model):\n\"\"\"\nFactor analysis\n+ Status: experimental\n.. [1] Hofacker, C. (2004). Explora...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add "Status: experimental"
642,024
13.12.2017 16:04:46
18,000
a130009838c8662c9a97b3cf64c3f6a880ad8203
Fix result summary bug, add smoke test, add R code in unit test docstrings
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -308,14 +308,14 @@ class FactorResults(object):\nsumm.add_dict({'': 'Pre-rotated loadings'})\nsumm.add_df(loadings_no_rot)\nsumm.add_dict({'': ''})\n- if self.ro...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Fix result summary bug, add smoke test, add R code in unit test docstrings
642,048
17.12.2017 13:52:47
18,000
9fd0239adbbd47ee1248af220f13fa77facb92a7
Working on rotations
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -280,8 +280,8 @@ class Factor(Model):\nreturn FactorResults(self)\n# Unpacks the model parameters from a flat vector, used for ML\n- # estimation. The first k_en...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Working on rotations
642,048
17.12.2017 18:12:32
18,000
4dada2a36545b89f7c21414106039a13565d1ad9
Work on rotation for ml
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -365,24 +365,28 @@ class Factor(Model):\nwarnings.warn(\"some uniquenesses are nearly zero\")\n# Rotate solution to satisfy IC3 of Bai and Li\n- load3, load0 = s...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Work on rotation for ml
642,048
17.12.2017 18:21:43
18,000
86d67fa44b50eb83096d96f14d1235c19d3c6224
more work on docstrings
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -409,6 +409,12 @@ class FactorResults(object):\n1 - uniqueness\nloadings : ndarray\nEach column is the loading vector for one factor\n+ loadings_no_rot : ndarray...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
more work on docstrings
642,048
18.12.2017 09:49:58
18,000
cf072f8c23d603fa0c1a7e6a8f98deab18243d1b
add test for loglike
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -298,10 +298,11 @@ class Factor(Model):\n# vector of uniquenesses.\ndef loglike(self, par):\n- if len(par) == 2:\n- par = self._pack(par[0], par[1])\n-\n+ if typ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
add test for loglike
642,048
18.12.2017 18:39:18
18,000
9a0d2d90166b905afabd4a882ac1cb3a5b87748d
implement analytic score
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -175,7 +175,7 @@ class Factor(Model):\nelse:\nself._endog_names = None\n- def fit(self, maxiter=50, tol=1e-8, start=None, opt_method='bfgs',\n+ def fit(self, max...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
implement analytic score
642,048
19.12.2017 15:09:37
18,000
3807cbb8555cdeac858977fa6fe720a0949d2258
added future division for py2 compat
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "# -*- coding: utf-8 -*-\n+from __future__ import division\nfrom statsmodels.base.model import Model\nfrom .factor_rotation import rotate_factors, promax\nimport num...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
added future division for py2 compat
642,048
19.12.2017 18:53:39
18,000
5faeefb872dfdd03be77c95269f24f4ea0b883ed
Add EM iterations prior to gradient optimization to hopefully improve convergence behavior
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -22,7 +22,7 @@ if not missing_matplotlib:\n# Factor analysis models can be hard to estimate, need stricter\n# conditions.\n-_opt_defaults = {\"gtol\": 1e-8}\n+_o...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
Add EM iterations prior to gradient optimization to hopefully improve convergence behavior
642,048
19.12.2017 21:13:14
18,000
1258f18f42c0d17367109e0bb9823ca6c273d0aa
attach mle_retvals
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -20,9 +20,7 @@ except ImportError:\nif not missing_matplotlib:\nfrom .plots import plot_scree, plot_loadings\n-# Factor analysis models can be hard to estimate, ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
attach mle_retvals
641,971
15.12.2017 14:13:51
18,000
28598230d31a9d41ee81f918bc5eb5c3576906a4
ENH/TST: add FactorResults get_loadings_frame, adjust tests (summary, plot
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -602,6 +602,83 @@ class FactorResults(object):\nsumm.add_df(loadings)\nreturn summ\n+ def get_loadings_frame(self, style='display', sort_=True, threshold=0.3,\n+...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/TST: add FactorResults get_loadings_frame, adjust tests (summary, plot
641,971
15.12.2017 15:01:22
18,000
7c2e9ec9080e9dc1567864cf430cd7d0ac59930d
DOC: add docstring [skip ci]
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -605,6 +605,60 @@ class FactorResults(object):\ndef get_loadings_frame(self, style='display', sort_=True, threshold=0.3,\nhighlight_max=True, color_max='yellow',...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
DOC: add docstring [skip ci]
641,971
15.12.2017 15:36:11
18,000
6592156422dd18d515d3c7eb7c1873ab77f5c52e
TST: make style tests conditional on available jinja2
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/tests/test_factor.py", "new_path": "statsmodels/multivariate/tests/test_factor.py", "diff": "@@ -209,8 +209,17 @@ def test_getframe_smoke():\ndf = res.get_loadings_frame(style='raw')\nassert_(isinstance(df, pd.DataFrame))\n- ldf = res....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: make style tests conditional on available jinja2
641,971
15.12.2017 16:53:44
18,000
db146c616369ecd01593bed2ff278c46bc555f1f
ENH/DOC: add new multivariate to api and rst
[ { "change_type": "MODIFY", "old_path": "docs/source/anova.rst", "new_path": "docs/source/anova.rst", "diff": "ANOVA\n=====\n-Analysis of Variance models\n+Analysis of Variance models containing anova_lm for ANOVA analysis with a\n+linear OLSModel, and AnovaRM for repeated measures ANOVA, within ANOV...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/DOC: add new multivariate to api and rst
641,971
17.12.2017 10:31:50
18,000
8ece6f90e64286493a179199ac1a140a0f81eb47
REF: change option precision to decimals
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -604,7 +604,7 @@ class FactorResults(object):\ndef get_loadings_frame(self, style='display', sort_=True, threshold=0.3,\nhighlight_max=True, color_max='yellow',\...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
REF: change option precision to decimals
641,971
20.12.2017 11:25:10
18,000
1b74fe99dac435fa53e00ac1dffcc90ec1671e65
ENH/REF: add factor scoring (not verified), attach model to results.
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -224,10 +224,10 @@ class Factor(Model):\n\"\"\"\n# Estimate correlation matrix\n- if self.corr is not None:\n- R = self.corr\n- else:\n- R = np.corrcoef(self.end...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
ENH/REF: add factor scoring (not verified), attach model to results.
641,971
20.12.2017 15:41:48
18,000
84267179bd8b3b59bf6562bf385e41a53b376bb8
BUG/TST: fix factor_scoring, add unit tests against Stata
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -619,15 +619,20 @@ class FactorResults(object):\ns_mat = np.linalg.inv(L.T.dot(L/(uni[:,None]))).dot((L.T / uni)).T\nelif method.startswith('reg'):\ncorr = self....
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
BUG/TST: fix factor_scoring, add unit tests against Stata
641,971
20.12.2017 16:03:11
18,000
f9af8a34e848b052f9ef182bc6e6c22f030e1ba4
fix rebase conflict mistake
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/factor.py", "new_path": "statsmodels/multivariate/factor.py", "diff": "@@ -536,7 +536,7 @@ class FactorResults(object):\nif hasattr(factor, \"mle_retvals\"):\nself.mle_retvals = factor.mle_retvals\n- p, k = self.loadings.shape\n+ p, k ...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
fix rebase conflict mistake
641,971
21.12.2017 10:56:45
18,000
f65271b2c2f9b164e5ee553a165b631248a81f56
TST: skip if pandas < `0.17`, rename unit test
[ { "change_type": "MODIFY", "old_path": "statsmodels/multivariate/tests/test_factor.py", "new_path": "statsmodels/multivariate/tests/test_factor.py", "diff": "@@ -212,7 +212,8 @@ def test_getframe_smoke():\ndf = res.get_loadings_frame(style='raw')\nassert_(isinstance(df, pd.DataFrame))\n-\n+ if pd.__...
Python
BSD 3-Clause New or Revised License
statsmodels/statsmodels
TST: skip if pandas < `0.17`, rename unit test