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 | 18.03.2020 20:05:11 | 14,400 | 42f8ac71e9068ecdbf9b8ec48acbce925276e5c8 | REF: move anova_generic function to stats.oneway | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/oneway.py",
"new_path": "statsmodels/stats/oneway.py",
"diff": "@@ -8,6 +8,7 @@ License: BSD-3\n\"\"\"\nimport numpy as np\n+from scipy import stats\nfrom scipy.special import ncfdtrinc\nfrom statsmodels.tools.testing import Holder\n@@ -185,3... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: move anova_generic function to stats.oneway |
641,971 | 18.03.2020 20:06:15 | 14,400 | c88c4733d517e7a8bc8a9ec7036b0d8b93a49051 | BUG/TST: unit tests effect size | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/oneway.py",
"new_path": "statsmodels/stats/oneway.py",
"diff": "@@ -180,12 +180,14 @@ def confint_effectsize_oneway(f_stat, df1, df2, alpha=0.05, nobs=None,\nci_f2 = ci_nc / nobs\nci_res = convert_effectsize_fsqu(f2=ci_f2)\n+ ci_res.ci_nc = c... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/TST: unit tests effect size |
641,971 | 19.03.2020 00:03:54 | 14,400 | 39eacc39d6b655eacd75490e139f9b412ba06478 | ENH: add oneway_equivalence_generic with Wellek effect size | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/oneway.py",
"new_path": "statsmodels/stats/oneway.py",
"diff": "@@ -227,3 +227,46 @@ def anova_generic(means, vars_, nobs, use_var=\"unequal\",\npval = stats.f.sf(statistic, df_num, df_denom)\nreturn statistic, pval, df_num, df_denom\n+\n+\n+... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add oneway_equivalence_generic with Wellek effect size |
641,971 | 13.05.2020 10:31:31 | 14,400 | 65e349c0d185e9b2fde4411f6aa19c18c0aa34ed | ENH/REF: add anova for data, enh and fix anova_generic | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/oneway.py",
"new_path": "statsmodels/stats/oneway.py",
"diff": "@@ -11,7 +11,9 @@ import numpy as np\nfrom scipy import stats\nfrom scipy.special import ncfdtrinc\n+from statsmodels.stats.robust_compare import TrimmedMean\nfrom statsmodels.to... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/REF: add anova for data, enh and fix anova_generic |
641,971 | 14.05.2020 22:25:07 | 14,400 | 2943a868c4b9d4c64e4af48722521e895165b946 | ENH: add "bf" option to effectsize_oneway, add example to docstring | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/oneway.py",
"new_path": "statsmodels/stats/oneway.py",
"diff": "@@ -17,7 +17,10 @@ from statsmodels.stats.base import HolderTuple\ndef effectsize_oneway(means, vars_, nobs, use_var=\"unequal\", ddof_between=0):\n- \"\"\"effect size correspond... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add "bf" option to effectsize_oneway, add example to docstring |
641,971 | 18.05.2020 11:49:56 | 14,400 | c84f6e4a33019f5cd1564dbc5749c1333a64f545 | ENH/REF: add power_equivalence_oneway and simulate, refactor api, renamings | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/oneway.py",
"new_path": "statsmodels/stats/oneway.py",
"diff": "@@ -368,6 +368,8 @@ def anova_generic(means, vars_, nobs, use_var=\"unequal\",\ndf=(df_num, df_denom),\ndf_num=df_num,\ndf_denom=df_denom,\n+ nobs_t=nobs_t,\n+ n_groups=n_groups,... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/REF: add power_equivalence_oneway and simulate, refactor api, renamings |
641,971 | 21.05.2020 13:10:39 | 14,400 | 8b4a32aeaf0c31fb6fb2ed09ce4319c2f8dc29fc | ENH/REF: improve handling of effectsize types, more consistent | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/oneway.py",
"new_path": "statsmodels/stats/oneway.py",
"diff": "@@ -48,7 +48,7 @@ def effectsize_oneway(means, vars_, nobs, use_var=\"unequal\", ddof_between=0):\nReturns\n-------\n- f : float\n+ f2 : float\nEffect size corresponding to squar... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/REF: improve handling of effectsize types, more consistent |
641,971 | 23.05.2020 14:39:33 | 14,400 | fbe7d37227f42dd1e35f730047a2304a0ebb9edb | ENH: add anova for equal dispersion (levene, brown-forsythe variance tests) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/oneway.py",
"new_path": "statsmodels/stats/oneway.py",
"diff": "@@ -11,7 +11,7 @@ import numpy as np\nfrom scipy import stats\nfrom scipy.special import ncfdtrinc\n-from statsmodels.stats.robust_compare import TrimmedMean\n+from statsmodels.s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add anova for equal dispersion (levene, brown-forsythe variance tests) |
641,971 | 25.05.2020 14:49:10 | 14,400 | 08b9011a2836dc9bab59fb2745475de7e9870c50 | ENH: add equivalence_scale_oneway, changes to scale_transform options | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/oneway.py",
"new_path": "statsmodels/stats/oneway.py",
"diff": "@@ -690,15 +690,61 @@ def simulate_power_equivalence_oneway(means, nobs, equiv_margin, vars_=None,\ndef test_scale_oneway(data, method='bfm', center='median', transform='abs',\n-... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add equivalence_scale_oneway, changes to scale_transform options |
641,971 | 29.05.2020 17:12:48 | 14,400 | e05379bc40104c1ae481440b651c36bfad924246 | ENH: add noncentrality for OLS wald_test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/contrast.py",
"new_path": "statsmodels/stats/contrast.py",
"diff": "@@ -670,3 +670,128 @@ def t_test_pairwise(result, term_name, method='hs', alpha=0.05,\ncontrast_labels=labels,\nterm_encoding_matrix=cm)\nreturn res\n+\n+\n+def _offset_const... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: add noncentrality for OLS wald_test |
641,971 | 02.06.2020 15:06:36 | 14,400 | d3b6299a194392757cf3ae97a85baf6f71fcf50e | TST/DOC/CLN: test_simulate_equivalence, some docstring, code cleanup | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/oneway.py",
"new_path": "statsmodels/stats/oneway.py",
"diff": "@@ -219,6 +219,22 @@ def _fstat2effectsize(f_stat, df1, df2):\nres : Holder instance\nThis instance contains effect size measures f2, eta2, omega2 and eps2\nas attributes.\n+\n+ ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST/DOC/CLN: test_simulate_equivalence, some docstring, code cleanup |
641,971 | 03.06.2020 17:02:13 | 14,400 | f12a80d68311dd0b1f6bda30b94dd3a06909274f | BUG/REF/TST: wrong computation in _fstat2effectsize, various cleanups, tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/oneway.py",
"new_path": "statsmodels/stats/oneway.py",
"diff": "@@ -239,7 +239,7 @@ def _fstat2effectsize(f_stat, df1, df2):\nf2 = f_stat * df1 / df2\neta2 = f2 / (f2 + 1)\nomega2_ = (f_stat - 1) / (f_stat + (df2 + 1) / df1)\n- omega2 = (f2 -... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/REF/TST: wrong computation in _fstat2effectsize, various cleanups, tests |
641,971 | 09.06.2020 16:16:43 | 14,400 | f8c96051dbcd69113348539912ab6f3df7504a6f | REF/CLN: remove original, obsolete anova function | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_oneway.py",
"new_path": "statsmodels/stats/tests/test_oneway.py",
"diff": "@@ -305,14 +305,6 @@ class TestOnewayScale(object):\nassert_allclose(res0.pvalue, p_value, rtol=1e-13)\nassert_allclose(res0.statistic, statistic, rtol=1e-1... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/CLN: remove original, obsolete anova function |
641,866 | 11.06.2020 20:16:02 | -7,200 | 087d8ee6acd9726179773f55dffe3aa34cf1edf4 | adapted boundaries; failing fit test now runs | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -720,8 +720,8 @@ class ETSModel(base.StateSpaceMLEModel):\n# constant interval, we will use the parameters beta_star=beta/alpha\n# and gamma_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | adapted boundaries; failing fit test now runs |
641,866 | 11.06.2020 20:22:12 | -7,200 | 6d532f887d85dd9e26445338af08c244ccde1532 | new forecast function in line with statsmodels api | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -1509,7 +1509,7 @@ class ETSResults(base.StateSpaceMLEResults):\ny, start_idx, start_idx + nsimulations - 1, names=names\n)\n- def forecast(s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | new forecast function in line with statsmodels api |
641,947 | 14.06.2020 00:01:23 | -10,800 | 6d0c783ca58436258ab329ce88c85073641e8dce | BUG: Fix access to normal_reference_constant
kernel.normal_reference_constant is a property and it is only
accessible on an instantiated object. This commit enforces that
in the bw_normal_reference function. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/nonparametric/bandwidths.py",
"new_path": "statsmodels/nonparametric/bandwidths.py",
"diff": "@@ -90,7 +90,7 @@ def bw_silverman(x, kernel=None):\nreturn .9 * A * n ** (-0.2)\n-def bw_normal_reference(x, kernel=kernels.Gaussian):\n+def bw_normal_re... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Fix access to normal_reference_constant
kernel.normal_reference_constant is a property and it is only
accessible on an instantiated object. This commit enforces that
in the bw_normal_reference function. |
641,971 | 15.06.2020 11:26:56 | 14,400 | c4ba65f7d10bf04d236c683359fbc932c2eb39ea | ENH/BUG: vectorize TrimmedMean | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/robust_compare.py",
"new_path": "statsmodels/stats/robust_compare.py",
"diff": "@@ -98,13 +98,15 @@ def trim_mean(a, proportiontocut, axis=0):\nclass TrimmedMean(object):\n'''class for trimmed and winsorized one sample statistics\n+ axis is N... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH/BUG: vectorize TrimmedMean |
641,924 | 21.06.2020 00:56:54 | 25,200 | 43d72846d4e3ac4703cbc0afb140ca51a4ca3c37 | ENH: Hotelling's Two Sample Test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/multivariate.py",
"new_path": "statsmodels/stats/multivariate.py",
"diff": "@@ -59,6 +59,52 @@ def test_mvmean(data, mean_null=0, return_results=True):\nelse:\nreturn statistic, pvalue\n+def test_mvmean_two_sample(data_x, data_y, return_resul... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Hotelling's Two Sample Test |
641,924 | 21.06.2020 01:09:05 | 25,200 | a98aa506dd2f6e56f20f5cefcf17feea7a79588e | ENH: Correct documentation | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/multivariate.py",
"new_path": "statsmodels/stats/multivariate.py",
"diff": "@@ -66,7 +66,7 @@ def test_mvmean_two_sample(data_x, data_y, return_results=True):\n----------\ndata_x : array_like\nfirst sample data with observations in rows and v... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Correct documentation |
641,971 | 21.06.2020 15:41:13 | 14,400 | 5249c9907991639a8083367eb4926c9e1a20342e | TST/CLN: more unit tests for OLS noncentrality, some flake cleaning | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/contrast.py",
"new_path": "statsmodels/stats/contrast.py",
"diff": "@@ -700,10 +700,9 @@ def wald_test_noncent(params, r_matrix, value, results, diff=None, joint=True):\nbe estimated parameters or parameters under an alternative.\nr_matrix : ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST/CLN: more unit tests for OLS noncentrality, some flake cleaning |
641,896 | 21.06.2020 23:32:22 | -3,600 | f95ccc1804f91e85d87dcd6b8a7c45bd0b4c6899 | MAINT: Remove error on FutureWarning
Remove error used to trade warnings | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "@@ -45,7 +45,6 @@ filterwarnings =\nerror:non-integer arg n is deprecated:DeprecationWarning\nerror:Creating an ndarray:numpy.VisibleDeprecationWarning\nerror:The default number of lags:FutureWarning:\n- error:Conv... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Remove error on FutureWarning
Remove error used to trade warnings |
642,065 | 27.06.2020 08:18:03 | 18,000 | e66703aa69919d24cdb02f9d2728b1518b044259 | DOC: numpydoc sigantures | [
{
"change_type": "MODIFY",
"old_path": "docs/source/conf.py",
"new_path": "docs/source/conf.py",
"diff": "@@ -368,7 +368,6 @@ epub_copyright = u'2009-2019, Josef Perktold, Skipper Seabold, ' \\\n# numpydoc_show_inherited_class_members = True\n# Create xrefs\n-numpydoc_use_autodoc_signature = True\nn... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: numpydoc sigantures |
641,896 | 28.06.2020 11:52:17 | -3,600 | d4a4b54f39b51c26a6093de1d84080c5b250f8d4 | MAINT: Replace Warnings with Notes in regression summary
Remove Warnings and lable them as notes
closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/linear_model.py",
"new_path": "statsmodels/regression/linear_model.py",
"diff": "@@ -2680,7 +2680,7 @@ class RegressionResults(base.LikelihoodModelResults):\nif etext:\netext = [\"[{0}] {1}\".format(i + 1, text)\nfor i, text in enumerate... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Replace Warnings with Notes in regression summary
Remove Warnings and lable them as notes
closes #6821 |
641,896 | 28.06.2020 12:00:46 | -3,600 | ad80e7730801e5dda400ffa2995f6e6b2c052a67 | DOC: maxlag -> maxlags
Replace text with correct names
closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/ar_model.py",
"new_path": "statsmodels/tsa/ar_model.py",
"diff": "@@ -366,7 +366,7 @@ class AutoReg(tsa_model.TimeSeriesModel):\n* 'HAC' - Heteroskedasticity-autocorrelation robust covariance\nestimation. Supports cov_kwds.\n- - `maxlag` intege... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: maxlag -> maxlags
Replace text with correct names
closes #6776 |
641,896 | 28.06.2020 12:11:17 | -3,600 | 5c70d34f8bb0a96898b46a36b0f73a8a0f38c79c | ENH: Add support for period index in AutoReg
Allow period index
closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/ar_model.py",
"new_path": "statsmodels/tsa/ar_model.py",
"diff": "@@ -521,6 +521,9 @@ class AutoReg(tsa_model.TimeSeriesModel):\nif end > self.endog.shape[0]:\nfreq = getattr(index, 'freq', None)\nif freq:\n+ if isinstance(index, pd.PeriodIndex... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Add support for period index in AutoReg
Allow period index
closes #6793 |
641,896 | 28.06.2020 11:24:30 | -3,600 | b1d666d0781d4ca7364b9f7eaa0a92a549e4b803 | BUG: Fix missing str
Add str when appending using pandas wrapper | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/validation/__init__.py",
"new_path": "statsmodels/tools/validation/__init__.py",
"diff": "-from .validation import (array_like, bool_like, dict_like,\n- float_like, int_like, PandasWrapper,\n- required_int_like, string_like)\n+from .validatio... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Fix missing str
Add str when appending using pandas wrapper |
641,896 | 28.06.2020 23:19:27 | -3,600 | 72e735a98644b76208d558c0b85150190594c5b1 | ENH: Return column information in add_constant
Return information about constant columns in add_constant
closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/tools.py",
"new_path": "statsmodels/tools/tools.py",
"diff": "@@ -317,7 +317,8 @@ def add_constant(data, prepend=True, has_constant='skip'):\n# Special case for NumPy\nx = np.asanyarray(data)\n- if x.ndim == 1:\n+ ndim = x.ndim\n+ if ndim == ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Return column information in add_constant
Return information about constant columns in add_constant
closes #6756 |
641,896 | 28.06.2020 23:36:19 | -3,600 | 41260e6108c577e6ca30871510a280ae5dcb8dbb | BUG: Correct shape of fvalue and f_pvalue
Ensure scalar statistics are scalars
closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/linear_model.py",
"new_path": "statsmodels/regression/linear_model.py",
"diff": "@@ -1782,8 +1782,8 @@ class RegressionResults(base.LikelihoodModelResults):\nreturn np.nan\nft = self.f_test(mat)\n# using backdoor to set another attribute... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Correct shape of fvalue and f_pvalue
Ensure scalar statistics are scalars
closes #6778 |
641,831 | 28.06.2020 23:33:33 | 14,400 | 372c8ec9e1be5c108602a89a3dc49cb7bcb6d8bb | TST: Add tests for append with exog. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima/tests/test_model.py",
"new_path": "statsmodels/tsa/arima/tests/test_model.py",
"diff": "@@ -249,6 +249,32 @@ def test_append():\nassert_allclose(res2.llf, res_e.llf)\n+def test_append_with_exog():\n+ # Numpy\n+ endog = dta['infl'].iloc[:1... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Add tests for append with exog. |
641,831 | 28.06.2020 23:53:46 | 14,400 | 105a344b1ef689dcf773778f4f616b0023548b80 | ENH: check if exog already has column of constants | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima/specification.py",
"new_path": "statsmodels/tsa/arima/specification.py",
"diff": "@@ -370,7 +370,26 @@ class SARIMAXSpecification(object):\n% duplicate_ma_lags)\n# Handle trend\n+ self.trend = trend\nself.trend_poly, _ = prepare_trend_spe... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: check if exog already has column of constants |
641,831 | 28.06.2020 23:54:06 | 14,400 | 0eaa5e394c13af97baf55dc8fc67a7d60cdeb648 | BUG: fix `ARIMAResults.append` with exog and trend | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima/model.py",
"new_path": "statsmodels/tsa/arima/model.py",
"diff": "@@ -8,6 +8,7 @@ from statsmodels.compat.pandas import Appender\nimport warnings\n+from statsmodels.tools.data import _is_using_pandas\nfrom statsmodels.tsa.statespace impor... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix `ARIMAResults.append` with exog and trend |
641,971 | 29.06.2020 21:11:44 | 14,400 | 7f2ed124428d8b02315122904ee015e0e5c2b08f | BUG/TST/CLN: fix axis bug in scale_transform, unit tests and pep-8 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/oneway.py",
"new_path": "statsmodels/stats/oneway.py",
"diff": "@@ -353,6 +353,8 @@ def anova_generic(means, vars_, nobs, use_var=\"unequal\",\noptions = {\"use_var\": use_var,\n\"welch_correction\": welch_correction\n}\n+ if means.ndim != 1:... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/TST/CLN: fix axis bug in scale_transform, unit tests and pep-8 |
641,971 | 30.06.2020 13:29:40 | 14,400 | cf6da30595ecc29d639eb82750ff46685cfc5b75 | TST: stats moment_helpers use random state in unit test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_moment_helpers.py",
"new_path": "statsmodels/stats/tests/test_moment_helpers.py",
"diff": "@@ -90,7 +90,7 @@ def test_moment_conversion(mom):\nrs = np.random.RandomState(12345)\n-random_vals = np.random.randint(0, 100, 12).reshape(... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: stats moment_helpers use random state in unit test |
641,896 | 29.06.2020 23:52:05 | -3,600 | 667161d33bb2a9453f62ead1e46534b7a7ffb725 | DOC: Clarify SARIMAX trend repr
Clarify order of SARIMAX trend
Clarify polynomial
closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/sarimax.py",
"new_path": "statsmodels/tsa/statespace/sarimax.py",
"diff": "@@ -50,8 +50,8 @@ class SARIMAX(MLEModel):\nseasonal_order : iterable, optional\nThe (P,D,Q,s) order of the seasonal component of the model for the\nAR parame... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Clarify SARIMAX trend repr
Clarify order of SARIMAX trend
Clarify polynomial
closes #6777 |
642,065 | 01.07.2020 17:27:59 | 18,000 | 88df5a52a315811c437ba8445a5479e19259dbb6 | MAINT: numpydoc should work now | [
{
"change_type": "MODIFY",
"old_path": "tools/ci/docbuild_install.sh",
"new_path": "tools/ci/docbuild_install.sh",
"diff": "@@ -13,6 +13,3 @@ pip install sphinx sphinx-material jupyter nbconvert numpydoc pyyaml doctr panda\n# Add pymc3 and theano for statespace_sarimax_pymc3.\necho conda install the... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: numpydoc should work now |
641,896 | 01.07.2020 23:30:52 | -3,600 | 251cee0f42484dfc01742f040b1bfcd6a640dd6e | MAINT: Deprecate categorical
Deprecate categorical in favor of pandas versions | [
{
"change_type": "MODIFY",
"old_path": "docs/source/api.rst",
"new_path": "docs/source/api.rst",
"diff": "@@ -107,7 +107,6 @@ Tools\n~statsmodels.__init__.test\n~statsmodels.tools.tools.add_constant\n- ~statsmodels.tools.tools.categorical\n~statsmodels.iolib.smpickle.load_pickle\n~statsmodels.tools.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Deprecate categorical
Deprecate categorical in favor of pandas versions |
641,845 | 02.07.2020 11:51:35 | -3,600 | 064fb05aa11156318cc3b738b65c113a06d37840 | Updated durbin_watson Docstring and Tests
Tests for the function durbin_watson function in stats/stattools.py already exist in the stats/tests folder, so I removed the TODO asking for this. Also added new tests which test the function when the input array is multi-dimensional. Also cleaned up the docstring of the funct... | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/stattools.py",
"new_path": "statsmodels/stats/stattools.py",
"diff": "@@ -11,14 +11,17 @@ import numpy as np\nfrom statsmodels.tools.sm_exceptions import ValueWarning\n-# TODO: these are pretty straightforward but they should be tested\ndef d... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Updated durbin_watson Docstring and Tests
Tests for the function durbin_watson function in stats/stattools.py already exist in the stats/tests folder, so I removed the TODO asking for this. Also added new tests which test the function when the input array is multi-dimensional. Also cleaned up the docstring of the func... |
641,971 | 06.07.2020 17:48:25 | 14,400 | 1bd81e6e50090eb5a769a66432edc2661b935471 | DOC: add recent stats addition to docs | [
{
"change_type": "MODIFY",
"old_path": "docs/source/stats.rst",
"new_path": "docs/source/stats.rst",
"diff": "@@ -386,7 +386,6 @@ equations.\nProportion\n----------\n-\nAlso available are hypothesis test, confidence intervals and effect size for\nproportions that can be used with NormalIndPower.\n@@... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: add recent stats addition to docs |
641,971 | 09.07.2020 10:36:44 | 14,400 | 1bde436159d10ee6bbc3e0d64a46cb3e327e0a6b | REF/DOC rename cov_test -> test_cov, docstring formatting | [
{
"change_type": "MODIFY",
"old_path": "docs/source/stats.rst",
"new_path": "docs/source/stats.rst",
"diff": "@@ -421,6 +421,9 @@ proportions that can be used with NormalIndPower.\nStatistics for two independent samples\nStatus: experimental, API might change, added in 0.12\n+.. autosummary::\n+ :to... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/DOC rename cov_test -> test_cov, docstring formatting |
641,971 | 09.07.2020 14:11:05 | 14,400 | 22c2d129e34e9d9ce9d1917d6d0bcdf90903fb2f | REF/Doc: meta_analysis, return HolderTuple in test, improve docstrings | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/meta_analysis.py",
"new_path": "statsmodels/stats/meta_analysis.py",
"diff": "@@ -11,6 +11,8 @@ import numpy as np\nimport pandas as pd\nfrom scipy import stats\n+from statsmodels.stats.base import HolderTuple\n+\nclass CombineResults(object)... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/Doc: meta_analysis, return HolderTuple in test, improve docstrings |
641,985 | 10.07.2020 08:43:31 | 14,400 | 309607e51cd3db633f6e5c413aa65a2c396f40d5 | BUG: fix raise exception on granger causality test
Issue Fix for the appropriate behavior when passing a list
containing a zero lag to `maxlag` (e.g. `[0, 1, 2]`), now it raises
`ValueError` | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/stattools.py",
"new_path": "statsmodels/tsa/stattools.py",
"diff": "@@ -1336,18 +1336,17 @@ def grangercausalitytests(x, maxlag, addconst=True, verbose=True):\naddconst = bool_like(addconst, \"addconst\")\nverbose = bool_like(verbose, \"verbose... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix raise exception on granger causality test
Issue #6876: Fix for the appropriate behavior when passing a list
containing a zero lag to `maxlag` (e.g. `[0, 1, 2]`), now it raises
`ValueError` |
641,971 | 10.07.2020 10:17:14 | 14,400 | 360129e67a9357fe9cd311981eec865ac6f3992a | REF/DOC make _score_confint_inversion private, improve docstrings | [
{
"change_type": "MODIFY",
"old_path": "docs/source/stats.rst",
"new_path": "docs/source/stats.rst",
"diff": "@@ -429,8 +429,8 @@ Status: experimental, API might change, added in 0.12\npower_proportions_2indep\ntost_proportions_2indep\nsamplesize_proportions_2indep_onetail\n- score_confint_inversion... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF/DOC make _score_confint_inversion private, improve docstrings |
641,985 | 10.07.2020 14:20:18 | 14,400 | 2d5f00ef070bebb6195ff45f9e2ab3d71f163877 | TEST: include test_granger_fails_on_zero_lag
issue Include test that the appropriate exception is raised whe
the wrong list of arguments is passed | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_stattools.py",
"new_path": "statsmodels/tsa/tests/test_stattools.py",
"diff": "@@ -481,6 +481,13 @@ class TestGrangerCausality(object):\nwith pytest.raises(ValueError, match=\"x contains NaN\"):\ngrangercausalitytests(x, 2)\n+ def te... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TEST: include test_granger_fails_on_zero_lag
issue #6876: Include test that the appropriate exception is raised whe
the wrong list of arguments is passed |
641,866 | 13.07.2020 22:24:38 | -7,200 | c9f27cb25a924152c7bd1824f62b02a93c6fee4d | TST: ets: test for simple exponential smoothing convergence | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"new_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"diff": "@@ -12,6 +12,7 @@ import pytest\nimport scipy.stats\nfrom statsmodels.tsa.exponential_smoothing.ets import ETSModel\n+from statsmo... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: ets: test for simple exponential smoothing convergence |
641,866 | 14.07.2020 08:34:35 | -7,200 | f81828cc5893b4589bdcdda9a5ee233949609ced | remove fixed parameters before fitting | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"new_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"diff": "@@ -17,16 +17,30 @@ ctypedef fused numeric:\ncpdef _initialize_ets_smooth(\nnumeric [:] params,\nnumeric[:,:] xhat,\n+ np.uint... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | remove fixed parameters before fitting |
641,866 | 14.07.2020 19:41:20 | -7,200 | cda196decd9687c6a439200cfa53d4b261c90d60 | ets: uint8 to long, removed xfail from test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"new_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"diff": "@@ -17,7 +17,7 @@ ctypedef fused numeric:\ncpdef _initialize_ets_smooth(\nnumeric [:] params,\nnumeric[:,:] xhat,\n- np.uint8_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: uint8 to long, removed xfail from test |
641,866 | 14.07.2020 21:35:27 | -7,200 | d12a5630b8e7f982dc0367bc39c47f87e50f279d | ets: using np.long instead of int | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -978,7 +978,7 @@ class ETSModel(base.StateSpaceMLEModel):\n# check if we have fixed parameters and remove them from the\n# parameter vector\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: using np.long instead of int |
641,866 | 15.07.2020 07:09:24 | -7,200 | e3415b47cafe1f52077de9a19b999c8a5c2c71a3 | ets: long and dtype=int | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"new_path": "statsmodels/tsa/exponential_smoothing/_ets_smooth.pyx",
"diff": "@@ -17,7 +17,7 @@ ctypedef fused numeric:\ncpdef _initialize_ets_smooth(\nnumeric [:] params,\nnumeric[:,:] xhat,\n- np.long_t... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: long and dtype=int |
641,866 | 15.07.2020 09:46:31 | -7,200 | 54eb40fd411cc21202bee6f6f0b9be5094b4c830 | ets: test if summary works with fixed parameters | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"new_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"diff": "@@ -523,11 +523,13 @@ def test_bounded_fit(oildata):\nfit2 = model2.fit(disp=False)\nassert fit2.smoothing_trend == 0.99\nassert_a... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: test if summary works with fixed parameters |
641,866 | 12.07.2020 21:26:52 | -7,200 | b2ca18cdc4c5810d8f00e9197adffbb49249e4cf | ENH: added get_prediction method for ETS
Added a method that returns a PredictionResults object, which contains
mean prediction and prediction intervals calculated from multiple
simulations.
This commit also contains some minor bug fixes regarding the anchor
value of simulations. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/base.py",
"new_path": "statsmodels/tsa/exponential_smoothing/base.py",
"diff": "@@ -201,6 +201,9 @@ class StateSpaceMLEModel(tsbase.TimeSeriesModel):\ndata = np.squeeze(data)\nif self.use_pandas:\n_, _, _, index = self._ge... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: added get_prediction method for ETS
Added a method that returns a PredictionResults object, which contains
mean prediction and prediction intervals calculated from multiple
simulations.
This commit also contains some minor bug fixes regarding the anchor
value of simulations. |
641,866 | 12.07.2020 21:44:42 | -7,200 | 3f05e9cfc12577e445a20f4947b6794d65442d1b | DOC: added get_prediction_documentation | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -151,8 +151,6 @@ import statsmodels.base.wrapper as wrap\nfrom statsmodels.iolib.table import SimpleTable\nfrom statsmodels.iolib.tableformat... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: added get_prediction_documentation |
641,866 | 13.07.2020 22:38:30 | -7,200 | 8968438e063f7a19ac9ef80a9253d9433147f126 | CLN: fixed linting issues | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -1847,8 +1847,8 @@ class ETSResults(base.StateSpaceMLEResults):\nan attempt is made to create an index for the predicted results\nfrom the mo... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: fixed linting issues |
641,866 | 17.07.2020 20:26:15 | -7,200 | b6fe61d95ed21ce69810cf54c2436ab28b09d89b | ets: improved prediction results | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/base.py",
"new_path": "statsmodels/tsa/exponential_smoothing/base.py",
"diff": "@@ -590,12 +590,14 @@ class StateSpaceMLEResults(tsbase.TimeSeriesModelResults):\n(\"HQIC\", [\"%#5.3f\" % self.hqic]),\n]\n+ if hasattr(self,... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: improved prediction results |
641,866 | 17.07.2020 20:52:00 | -7,200 | 422804bb79cf905636d9fefeca4bf6cd12ef7207 | ets: improving code quality | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -1921,7 +1921,7 @@ class ETSResults(base.StateSpaceMLEResults):\nstart_smooth,\nend_smooth,\nanchor_dynamic,\n- start_dynamic,\n+ _,\nend_dyn... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ets: improving code quality |
641,866 | 18.07.2020 09:30:54 | -7,200 | 0cfff642ee6bf9ecb778b398e122b9d3c570c363 | fix typos in exact equations | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -1446,16 +1446,17 @@ class ETSResults(base.StateSpaceMLEResults):\n)\nelif model == \"AAdN\":\nreturn (\n- 1 + alpha ** 2 * (h - 1)\n+ 1\n+ +... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fix typos in exact equations |
641,866 | 18.07.2020 10:44:45 | -7,200 | 906f01e019b64dbf9f208bf2905536a0f2b4434b | added prediction to ets notebook | [
{
"change_type": "MODIFY",
"old_path": "examples/notebooks/ets.ipynb",
"new_path": "examples/notebooks/ets.ipynb",
"diff": "\"\\n\",\n\"The ETS models are a family of time series models with an underlying state space model consisting of a level component, a trend component (T), a seasonal component ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | added prediction to ets notebook |
641,866 | 20.07.2020 19:12:48 | -7,200 | 3a1de03b88acff8dd4fd6cc9ee18acc491a22e2d | made dynamic an offset | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/base.py",
"new_path": "statsmodels/tsa/exponential_smoothing/base.py",
"diff": "@@ -198,12 +198,16 @@ class StateSpaceMLEModel(tsbase.TimeSeriesModel):\ndef _wrap_data(self, data, start_idx, end_idx, names=None):\n# TODO: ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | made dynamic an offset |
641,866 | 19.07.2020 10:10:35 | -7,200 | 68b65fb4fb19f93c407302fe9cd4bff56b24c630 | ENH: added diagnostics test to ETS model | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/base.py",
"new_path": "statsmodels/tsa/exponential_smoothing/base.py",
"diff": "@@ -340,10 +340,6 @@ class StateSpaceMLEResults(tsbase.TimeSeriesModelResults):\ndef nobs_effective(self):\nraise NotImplementedError\n- @cach... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: added diagnostics test to ETS model |
641,866 | 20.07.2020 18:33:37 | -7,200 | 663ac7872c4e3fd5e5bf9a01b8add991e14c4728 | added new lag for serial correlation test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/base.py",
"new_path": "statsmodels/tsa/exponential_smoothing/base.py",
"diff": "@@ -557,7 +557,19 @@ class StateSpaceMLEResults(tsbase.TimeSeriesModelResults):\n# Default lags for acorr_ljungbox is 40, but may not always h... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | added new lag for serial correlation test |
641,866 | 20.07.2020 19:49:07 | -7,200 | 95e9a1f9baa9537351782aee7c5eecefe5b3f683 | corrected df_model | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -1315,8 +1315,8 @@ class ETSModel(base.StateSpaceMLEModel):\nclass ETSResults(base.StateSpaceMLEResults):\ndef __init__(self, model, params, ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | corrected df_model |
641,953 | 20.07.2020 15:32:30 | -7,200 | 4e8681f466c524321e1d6093d9666b89f5940996 | ENH: Fixed the shifted column names in summary.to_latex()
Fix header alignment to prevent extra table | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/summary2.py",
"new_path": "statsmodels/iolib/summary2.py",
"diff": "@@ -582,6 +582,7 @@ def _df_to_simpletable(df, align='r', float_format=\"%.4f\", header=True,\nst = SimpleTable(np.array(dat), headers=headers, stubs=stubs,\nltx_fmt=fmt_late... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Fixed the shifted column names in summary.to_latex()
Fix header alignment to prevent extra table |
641,953 | 21.07.2020 16:39:06 | -7,200 | e90f1913283ef207a144957b252402eeec600a73 | removed additional hline between tabulars | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/summary2.py",
"new_path": "statsmodels/iolib/summary2.py",
"diff": "@@ -213,7 +213,7 @@ class Summary(object):\nsimple_tables = _simple_tables(tables, settings)\ntab = [x.as_latex_tabular() for x in simple_tables]\n- tab = '\\n\\\\hline\\n'.j... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | removed additional hline between tabulars |
641,971 | 21.07.2020 11:20:29 | 14,400 | a934d70eaf7dbc77967fc2f3f884663cfc8eba27 | DOC: weightstats, docstring for generic | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/weightstats.py",
"new_path": "statsmodels/stats/weightstats.py",
"diff": "@@ -394,25 +394,25 @@ class DescrStatsW(object):\nreturn _zconfint_generic(self.mean, self.std_mean, alpha, alternative)\n-\ndef ttest_mean(self, value=0, alternative='... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: weightstats, docstring for generic |
641,847 | 20.07.2020 14:26:13 | -7,200 | 65afcc0ddebf36c8c3644e837c99e66bb380f2b2 | Added label option to summary.as_latex()
a label can be added to the mixed model summary such that it can be referenced in a latex document
updated test for latex output of summary_col object | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/summary2.py",
"new_path": "statsmodels/iolib/summary2.py",
"diff": "@@ -199,8 +199,14 @@ class Summary(object):\nreturn tab\n- def as_latex(self):\n+ def as_latex(self, label=''):\n\"\"\"Generate LaTeX Summary Table\n+\n+ Parameters\n+ ------... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Added label option to summary.as_latex()
- a label can be added to the mixed model summary such that it can be referenced in a latex document
- updated test for latex output of summary_col object |
641,971 | 21.07.2020 17:02:03 | 14,400 | 1fe301f9d3426f2cf8ef031d81d335c6f74f8194 | DOC: more docstring cleanup in rates | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/oneway.py",
"new_path": "statsmodels/stats/oneway.py",
"diff": "@@ -250,6 +250,10 @@ def _fstat2effectsize(f_stat, df1, df2):\nindex for the hypothesis test is in those cases given by\n``nc = f_stat * df1``.\n+ Currently omega2 and eps2 are c... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: more docstring cleanup in rates |
642,028 | 26.02.2020 09:26:02 | 18,000 | 269ddb6f54766c4307f7b988d73e09683f70321e | ENH: Add xvals param to lowess smoother
xvals allows evaluation of the lowess smoother at
x-values other than those used in the smoothing, for example
fitting from some points and using that to 'predict' others | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/nonparametric/_smoothers_lowess.pyx",
"new_path": "statsmodels/nonparametric/_smoothers_lowess.pyx",
"diff": "-#cython: boundscheck = False\n-#cython: wraparound = False\n-#cython: cdivision = True\n-\n-'''\n+#cython: boundscheck=False, wraparound=... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Add xvals param to lowess smoother
xvals allows evaluation of the lowess smoother at
x-values other than those used in the smoothing, for example
fitting from some points and using that to 'predict' others |
641,971 | 21.07.2020 21:37:22 | 14,400 | 7805e2ce33ec99d6221a97c9ad890dde664f9a99 | REF: df tuple as argument in effect size functions. docstrings | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/oneway.py",
"new_path": "statsmodels/stats/oneway.py",
"diff": "@@ -184,8 +184,8 @@ def convert_effectsize_fsqu(f2=None, eta2=None):\n\"\"\"convert squared effect sizes in f family\nf2 is signal to noise ratio, var_explained / var_residual\n+... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: df tuple as argument in effect size functions. docstrings |
642,000 | 12.06.2020 17:41:56 | 25,200 | 8c21dd5a14bf34978cc59edfc426507e6840f1da | Simulate correct number of observations
`nobs` is # of observations without the initial observations (`k_ar`). The irf simulation should include initial observations (`nobs_original = nobs + k_ar`). | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/var_model.py",
"new_path": "statsmodels/tsa/vector_ar/var_model.py",
"diff": "@@ -1632,6 +1632,7 @@ class VARResults(VARProcess):\nsigma_u = self.sigma_u\nintercept = self.intercept\nnobs = self.nobs\n+ nobs_original = nobs + k_ar\nma... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Simulate correct number of observations #6748
`nobs` is # of observations without the initial observations (`k_ar`). The irf simulation should include initial observations (`nobs_original = nobs + k_ar`). |
641,851 | 03.06.2020 11:01:29 | -3,600 | 26aba79eea3e4ead4942629ad363fd25748b48d3 | ENH: Add Root Mean Square Percentage Error as rmspe() | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/eval_measures.py",
"new_path": "statsmodels/tools/eval_measures.py",
"diff": "\"\"\"some measures for evaluation of prediction, tests and model selection\nCreated on Tue Nov 08 15:23:20 2011\n+Updated on Wed Jun 03 10:42:20 2020\n-Author: Jos... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Add Root Mean Square Percentage Error as rmspe() |
641,851 | 03.06.2020 17:06:49 | -3,600 | 3aff24faedd91bcfafa3eaaecde9bf5759574c94 | TST: Add test for Root Mean Square Percentage Error | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/eval_measures.py",
"new_path": "statsmodels/tools/eval_measures.py",
"diff": "@@ -68,6 +68,7 @@ def rmse(x1, x2, axis=0):\nx2 = np.asanyarray(x2)\nreturn np.sqrt(mse(x1, x2, axis=axis))\n+\ndef rmspe(y, y_hat, axis=0, zeros=np.nan):\n\"\"\"\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Add test for Root Mean Square Percentage Error |
641,866 | 31.07.2020 10:03:43 | -7,200 | 4dead44138f37c0729edcfea49ab339494f67892 | minor changes to notebook | [
{
"change_type": "MODIFY",
"old_path": "examples/notebooks/ets.ipynb",
"new_path": "examples/notebooks/ets.ipynb",
"diff": "\"metadata\": {},\n\"outputs\": [],\n\"source\": [\n- \"print(fit.summary())\"\n+ \"fit.summary()\"\n]\n},\n{\n],\n\"metadata\": {\n\"kernelspec\": {\n- \"display_name\": \"IPy... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | minor changes to notebook |
641,971 | 31.07.2020 13:33:16 | 14,400 | f12591b5ea1ef539e61783cb11da96b8961c8e95 | REF: return Holder in tost proportion/rates. Avoid zero division in prop | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -1388,6 +1388,12 @@ def score_test_proportions_2indep(count1, nobs1, count2, nobs2, value=None,\nprop0 = (-b + np.sqrt(b**2 - 4 * a * c)) / (2 * a)\nprop1 = prop0 * or... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: return Holder in tost proportion/rates. Avoid zero division in prop |
641,928 | 16.04.2020 21:49:26 | -7,200 | 8ddc5dc6624a9378bbc107eff65efdc2b670ad50 | ENH: added .cdf() and .ppf() to zip and zinb | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/discrete.py",
"new_path": "statsmodels/distributions/discrete.py",
"diff": "import numpy as np\n-from scipy.stats import rv_discrete, nbinom\n+from scipy.stats import rv_discrete, nbinom, poisson\nfrom scipy.special import gammaln\nfr... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: added .cdf() and .ppf() to zip and zinb |
641,928 | 16.04.2020 22:17:26 | -7,200 | c0fbd31ed71f7d2a2491da5d9f9ea2948fc9e322 | TST: .cdf() and .ppf() tests in zip and zinb | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/tests/test_discrete.py",
"new_path": "statsmodels/distributions/tests/test_discrete.py",
"diff": "@@ -56,6 +56,15 @@ class TestZIPoisson(object):\nzipoisson_logpmf = sm.distributions.zipoisson.logpmf(7, 3, 0.1)\nassert_allclose(poisso... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: .cdf() and .ppf() tests in zip and zinb |
641,928 | 17.04.2020 18:49:05 | -7,200 | cea8fd46ed7548a3ea5ae64ebb88ae6d21440861 | ENH: added ._mean() and ._var() to zi dist. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/discrete.py",
"new_path": "statsmodels/distributions/discrete.py",
"diff": "@@ -51,6 +51,14 @@ class zipoisson_gen(rv_discrete):\nx[q < w] = 0\nreturn x\n+ def _mean(self, mu, w):\n+ return (1 - w) * mu\n+\n+ def _var(self, mu, w):\n+... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: added ._mean() and ._var() to zi dist. |
641,928 | 17.04.2020 23:45:41 | -7,200 | a2311bc7765f4f12c0962ca77bf4bd6cb00c2d61 | ENH: added .moment() to zip and zinb and typos | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/discrete.py",
"new_path": "statsmodels/distributions/discrete.py",
"diff": "@@ -43,7 +43,7 @@ class zipoisson_gen(rv_discrete):\n# construct cdf from standard poisson's cdf and the w inflation of zero\nreturn w + poisson(mu=mu).cdf(x)... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: added .moment() to zip and zinb and typos |
641,928 | 18.04.2020 15:58:46 | -7,200 | 2ac90f848624bf539f22a14a094d20f722c83fc8 | TST: added .moment, .var and .mean tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/distributions/discrete.py",
"new_path": "statsmodels/distributions/discrete.py",
"diff": "@@ -62,6 +62,7 @@ class zipoisson_gen(rv_discrete):\ndef _moment(self, n, mu, w):\nreturn (1 - w) * poisson(mu).moment(n)\n+\nzipoisson = zipoisson_gen(name='... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: added .moment, .var and .mean tests |
641,971 | 08.06.2020 12:01:54 | 14,400 | 1bde978030035d0a6f59a173132c199867be9fa9 | BUG: remove k_extra from effects_idx | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/discrete_margins.py",
"new_path": "statsmodels/discrete/discrete_margins.py",
"diff": "@@ -671,8 +671,6 @@ class DiscreteMargins(object):\nparams = results.params\nexog = model.exog.copy() # copy because values are changed\neffects_idx, co... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: remove k_extra from effects_idx |
641,928 | 06.04.2020 12:18:14 | -7,200 | 6745896fc8be9763428340647a783b837feec6d5 | TST: init, changing random seeds makes 5 tests go red | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_count_model.py",
"new_path": "statsmodels/discrete/tests/test_count_model.py",
"diff": "@@ -211,7 +211,7 @@ class TestZeroInflatedPoisson_predict(object):\n@classmethod\ndef setup_class(cls):\nexpected_params = [1, 0.5]\n- np.ra... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: init, changing random seeds makes 5 tests go red |
641,928 | 06.04.2020 18:01:04 | -7,200 | c25d78cfba8ede2e6381e0dbecf3de579efbd774 | TST: changed test_mean to test theori.vs fitted with 95% cf, 2 red tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_count_model.py",
"new_path": "statsmodels/discrete/tests/test_count_model.py",
"diff": "@@ -221,9 +221,23 @@ class TestZeroInflatedPoisson_predict(object):\nmodel = sm.ZeroInflatedPoisson(cls.endog, exog)\ncls.res = model.fit(me... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: changed test_mean to test theori.vs fitted with 95% cf, 2 red tests |
641,928 | 06.04.2020 18:31:52 | -7,200 | 78eb4b71fc23f186fae0b1195d31f0111c3ccb7a | TST: nobs too small to build good probability hist. in test_predict_prob | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_count_model.py",
"new_path": "statsmodels/discrete/tests/test_count_model.py",
"diff": "@@ -212,7 +212,7 @@ class TestZeroInflatedPoisson_predict(object):\ndef setup_class(cls):\nexpected_params = [1, 0.5]\nnp.random.seed(999)\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: nobs too small to build good probability hist. in test_predict_prob |
641,866 | 03.08.2020 20:19:29 | -7,200 | 80e1f9a8c72a6a609be2df3e3fdc15983cfe0f32 | catch FutureWarning in test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"new_path": "statsmodels/tsa/tests/test_exponential_smoothing.py",
"diff": "@@ -620,7 +620,8 @@ def test_summary(austourists_model):\ndef test_score(austourists_model_fit):\nscore_cs = austourists_model_fit... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | catch FutureWarning in test |
641,866 | 03.08.2020 20:35:08 | -7,200 | fcf8446289c85ed23cecee68c2ed77c2d32e31d2 | out of sample only predictions | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"new_path": "statsmodels/tsa/exponential_smoothing/ets.py",
"diff": "@@ -1397,8 +1397,8 @@ class ETSResults(base.StateSpaceMLEResults):\nself.mean_resid = np.mean(self.resid)\nself.scale_resid = np.std(self.resid,... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | out of sample only predictions |
642,060 | 05.03.2020 19:27:10 | 18,000 | 0a5b1fb1c4129f1171e901b0f6686d449084898f | REF: Change of BIC formula | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "@@ -53,6 +53,7 @@ filterwarnings =\nerror:unbiased is deprecated in factor of adjusted:FutureWarning\nerror:categorical is deprecated:FutureWarning\nerror:After 0.13 initialization:FutureWarning\n+ error:The bic va... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: Change of BIC formula |
641,831 | 21.07.2020 23:46:26 | 14,400 | bab5a70378cf0089319ac44f7bb35d607a42aee7 | TST: Expand tests for VARMAX and extend | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_varmax.py",
"new_path": "statsmodels/tsa/statespace/tests/test_varmax.py",
"diff": "@@ -1051,7 +1051,57 @@ def test_append_results():\nres1.forecast(10, exog=np.ones(10)))\n-def test_extend_results():\n+@pytest.mark.parame... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Expand tests for VARMAX and extend |
641,831 | 21.07.2020 23:47:04 | 14,400 | 5b310c8b7f834326a2f5fb0b114f19f20f0c8c95 | BUG: forecast w/ trend set NaN in last pred. state | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_varmax.py",
"new_path": "statsmodels/tsa/statespace/tests/test_varmax.py",
"diff": "@@ -1059,7 +1059,7 @@ def test_extend_results(trend, forecast):\nif trend == 'c':\ntrend_params = [0.1, 0.2]\nif trend == 'ct':\n- trend_p... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: forecast w/ trend set NaN in last pred. state |
642,051 | 05.08.2020 11:33:58 | -7,200 | bcd0fde67dea56d70dd57e03d5fee23ecfd36f03 | update pandas function in hp_filter example | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/filters/hp_filter.py",
"new_path": "statsmodels/tsa/filters/hp_filter.py",
"diff": "@@ -70,7 +70,7 @@ def hpfilter(x, lamb=1600):\n>>> import statsmodels.api as sm\n>>> import pandas as pd\n>>> dta = sm.datasets.macrodata.load_pandas().data\n- ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | update pandas function in hp_filter example |
642,051 | 05.08.2020 13:09:45 | -7,200 | c8a8b04a388e89eb1d23e18e10e060f2fd93b004 | Update hp_filter.py | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/filters/hp_filter.py",
"new_path": "statsmodels/tsa/filters/hp_filter.py",
"diff": "@@ -70,7 +70,7 @@ def hpfilter(x, lamb=1600):\n>>> import statsmodels.api as sm\n>>> import pandas as pd\n>>> dta = sm.datasets.macrodata.load_pandas().data\n- ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Update hp_filter.py |
641,831 | 05.08.2020 23:40:06 | 14,400 | fbeb560c717ae2e8b558571e7b074fb61e88e882 | ENH: Add ETSModel to api | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/api.py",
"new_path": "statsmodels/tsa/api.py",
"diff": "@@ -16,7 +16,7 @@ __all__ = ['AR', 'arima', 'AutoReg', 'ARMA', 'ARIMA',\n'statespace',\n'SARIMAX', 'UnobservedComponents', 'VARMAX', 'DynamicFactor',\n'DynamicFactorMQ', 'MarkovRegression'... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: Add ETSModel to api |
641,831 | 05.08.2020 23:41:06 | 14,400 | 3a85619fd6f49e9a3d4ca7f0c37fe7ed57114779 | DOC: v0.12 release highlights: ets and statespace | [
{
"change_type": "MODIFY",
"old_path": "docs/source/release/version0.12.rst",
"new_path": "docs/source/release/version0.12.rst",
"diff": "@@ -31,6 +31,52 @@ Stats\nThe Highlights\n==============\n+Time-Series Analysis\n+--------------------\n+\n+New exponential smoothing model: ETS (Error, Trend, Se... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: v0.12 release highlights: ets and statespace |
641,850 | 30.05.2020 01:48:13 | -19,080 | badfc60fd10246a74d310a8a3a1120bc87747586 | BUG: SARIMAX throwing different errors when length of endogenous var is too low
Raise explicit error
closes
closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/mlemodel.py",
"new_path": "statsmodels/tsa/statespace/mlemodel.py",
"diff": "@@ -4280,6 +4280,13 @@ class MLEResults(tsbase.TimeSeriesModelResults):\nself.filter_results.standardized_forecasts_error[variable, d:],\nindex=ix)\n+ if re... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: SARIMAX throwing different errors when length of endogenous var is too low
Raise explicit error
closes #6173
closes #6762 |
641,831 | 11.06.2020 21:49:27 | 14,400 | 88f92e02601c4fa7e2bd88ccdb877c9bb5315eb6 | BUG: Fix start params computation with few nobs
closes
closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/sarimax.py",
"new_path": "statsmodels/tsa/statespace/sarimax.py",
"diff": "@@ -897,7 +897,10 @@ class SARIMAX(MLEModel):\nparams_ma = params[offset:k_params_ma + offset]\noffset += k_params_ma\nif residuals is not None:\n+ if len(res... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Fix start params computation with few nobs
closes #6801
closes #6396 |
642,066 | 14.08.2020 13:21:08 | 10,800 | 8d96703ba4a1f26d48a7bdbaf3ad6cae0a507c19 | add default normalized iqr based on numpy quantiles | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/robust/scale.py",
"new_path": "statsmodels/robust/scale.py",
"diff": "@@ -49,6 +49,44 @@ def mad(a, c=Gaussian.ppf(3/4.), axis=0, center=np.median):\nreturn np.median((np.abs(a-center)) / c, axis=axis)\n+def iqr(a, c=Gaussian.ppf(3/4.) - Gaussian.p... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add default normalized iqr based on numpy quantiles |
642,066 | 14.08.2020 13:21:24 | 10,800 | bdaa53dfe49d52e4e0b25a929ee9986e4f24f309 | add tests for iqr | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/robust/tests/test_scale.py",
"new_path": "statsmodels/robust/tests/test_scale.py",
"diff": "@@ -31,6 +31,9 @@ class TestChem(object):\ndef test_mad(self):\nassert_almost_equal(scale.mad(self.chem), 0.52632, DECIMAL)\n+ def test_iqr(self):\n+ assert... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add tests for iqr |
642,066 | 14.08.2020 13:49:04 | 10,800 | ceb0bc695533868e41a753a48871302169cab7af | add new function to release and rlm docs | [
{
"change_type": "MODIFY",
"old_path": "docs/source/release/version0.12.rst",
"new_path": "docs/source/release/version0.12.rst",
"diff": "@@ -799,6 +799,7 @@ New Functions\n* :func:`statsmodels.graphics.tukeyplot.tukeyplot`\n* :func:`statsmodels.multivariate.plots.plot_loadings`\n* :func:`statsmodel... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add new function to release and rlm docs |
642,066 | 14.08.2020 14:13:04 | 10,800 | 5144d65d61933fb4bbfb0250833ee6e884fc7ca9 | add a comment on the IQR | [
{
"change_type": "MODIFY",
"old_path": "examples/notebooks/robust_models_1.ipynb",
"new_path": "examples/notebooks/robust_models_1.ipynb",
"diff": "},\n{\n\"cell_type\": \"code\",\n- \"execution_count\": null,\n+ \"execution_count\": 1,\n\"metadata\": {},\n\"outputs\": [],\n\"source\": [\n},\n{\n\"c... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add a comment on the IQR |
642,066 | 14.08.2020 14:31:07 | 10,800 | 801122c28d8892d0985e9fadbd1df0b682317fa7 | typos and better phrasing in the notebook | [
{
"change_type": "MODIFY",
"old_path": "examples/notebooks/robust_models_1.ipynb",
"new_path": "examples/notebooks/robust_models_1.ipynb",
"diff": "\"cell_type\": \"markdown\",\n\"metadata\": {},\n\"source\": [\n- \"The standardized IQR, $K \\\\cdot \\\\text{IQR}$ for\\n\",\n- \"$$K = \\\\frac{1}{\\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | typos and better phrasing in the notebook |
642,066 | 14.08.2020 16:40:36 | 10,800 | ce3770f2774fe3c61fd7b1e5c1d4657d3731e1bf | fix issues in review of PR | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/robust/scale.py",
"new_path": "statsmodels/robust/scale.py",
"diff": "@@ -50,9 +50,8 @@ def mad(a, c=Gaussian.ppf(3/4.), axis=0, center=np.median):\ndef iqr(a, c=Gaussian.ppf(3/4) - Gaussian.ppf(1/4), axis=0, center=np.median):\n- # c \\approx 1.34... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fix issues in review of PR |
641,970 | 15.08.2020 15:23:36 | -7,200 | e67e6252554c1e6ed72c905bef34b2bd8f5f7ede | DOC: Add docstring to string_like method
Add docstring to string_like method | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/validation/validation.py",
"new_path": "statsmodels/tools/validation/validation.py",
"diff": "@@ -91,6 +91,7 @@ def array_like(\n>>> a = array_like(pd.Series(x), 'x', ndim=1)\n>>> a.shape\n(4,)\n+\n>>> type(a.orig)\npandas.core.series.Series\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Add docstring to string_like method
Add docstring to string_like method |
642,066 | 18.08.2020 20:46:37 | 10,800 | b079a78fab6f7e35aea0ff892bb90102299a057d | bug, iqr does need centering, since quantiles are translation equivariant | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/robust/scale.py",
"new_path": "statsmodels/robust/scale.py",
"diff": "@@ -49,7 +49,7 @@ def mad(a, c=Gaussian.ppf(3/4.), axis=0, center=np.median):\nreturn np.median((np.abs(a-center)) / c, axis=axis)\n-def iqr(a, c=Gaussian.ppf(3/4) - Gaussian.ppf... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | bug, iqr does need centering, since quantiles are translation equivariant |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.