Package: statsmodels / 0.8.0-9

Package Version Patches format
statsmodels 0.8.0-9 3.0 (quilt)

Patch series

view the series file
Patch File delta Description

docs/source/contingency_tables.rst | 4 2 + 2 - 0 !
docs/source/datasets/index.rst | 2 1 + 1 - 0 !
docs/source/duration.rst | 4 2 + 2 - 0 !
docs/source/example_formulas.rst | 2 1 + 1 - 0 !
docs/source/gee.rst | 2 1 + 1 - 0 !
docs/source/gettingstarted.rst | 2 1 + 1 - 0 !
docs/source/index.rst | 2 1 + 1 - 0 !
docs/source/mixed_linear.rst | 2 1 + 1 - 0 !
docs/source/release/version0.6.rst | 2 1 + 1 - 0 !
examples/notebooks/markov_regression.ipynb | 6 1 + 5 - 0 !
examples/notebooks/mixed_lm_example.ipynb | 4 2 + 2 - 0 !
examples/notebooks/regression_diagnostics.ipynb | 3 1 + 2 - 0 !
12 files changed, 15 insertions(+), 20 deletions(-)

 use cached datasets for building documentation/examples

This allows at least some of the examples to be built in an
offline environment such as a Debian buildd.



docs/source/conf.py | 23 19 + 4 - 0 !
1 file changed, 19 insertions(+), 4 deletions(-)

 use debian packaged iphythonsphinx extensions
.
Also drop matplotlib.sphinxext.only_directives which fail with
python3-matplotlib and are not used



statsmodels/emplike/tests/test_regression.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 to prevent failed test on i386

Bug: https://github.com/statsmodels/statsmodels/issues/1831


statsmodels/discrete/tests/test_discrete.py | 3 3 + 0 - 0 !
statsmodels/multivariate/tests/test_pca.py | 6 4 + 2 - 0 !
2 files changed, 7 insertions(+), 2 deletions(-)

---

statsmodels/tools/tests/test_tools.py | 12 0 + 12 - 0 !
statsmodels/tsa/tests/test_tsa_tools.py | 74 0 + 74 - 0 !
statsmodels/tsa/vector_ar/tests/test_var.py | 8 0 + 8 - 0 !
3 files changed, 94 deletions(-)

 seems the tests are failing due to some problem in pandas
which we can not fix here.  Ignore the issue for the moment to be able
to drop severity of bug #868977 from serious to important



statsmodels/genmod/families/family.py | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

  fix numpy doc input



docs/Makefile | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 use python3 to create documentation
Bug: https://github.com/statsmodels/statsmodels/pull/5348



docs/source/conf.py | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 use intersphinx inventory files from other debian packages.


statsmodels/datasets/tests/test_utils.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 do not try to access remote locations on buildtime test
Bug-Debian: https://bugs.debian.org/882641


docs/source/conf.py | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 use mathjax instead of no-longer-existing pngmath

Either imgmath or mathjax fixes the FTBFS;
mathjax also makes TeX display as equations, i.e. fixes #687301



examples/notebooks/regression_diagnostics.ipynb | 2 1 + 1 - 0 !
statsmodels/sandbox/nonparametric/smoothers.py | 2 1 + 1 - 0 !
statsmodels/sandbox/tsa/varma.py | 2 1 + 1 - 0 !
statsmodels/tsa/arima_model.py | 4 2 + 2 - 0 !
statsmodels/tsa/statespace/_statespace.pyx.in | 2 1 + 1 - 0 !
5 files changed, 6 insertions(+), 6 deletions(-)

 fix spelling



docs/themes/statsmodels/sidelinks.html | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 don't fetch twitter logo



statsmodels/datasets/utils.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 make the datasets cache work in python 3

Fixes URLError messages appearing in the built documentation



statsmodels/discrete/discrete_model.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 stop using no-longer-existing chisqprob

Needed for compatibility with scipy >= 1.0



statsmodels/imputation/mice.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix shape mismatch errors in mice imputation

numpy/pandas no longer allows assigning an nx1 2D value at a 1D index



statsmodels/discrete/discrete_model.py | 12 10 + 2 - 0 !
1 file changed, 10 insertions(+), 2 deletions(-)

 don't use gammaln on complex input

In scipy >= 1.0, it rejects such input with
TypeError: ufunc 'gammaln' not supported for the input types, and the
inputs could not be safely coerced to any supported types according
to the casting rule ''safe''



statsmodels/datasets/co2/data.py | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 allow loading the co2 dataset in pandas >= 0.23

Fixes __new__() got an unexpected keyword argument 'format'



statsmodels/discrete/tests/test_constrained.py | 2 1 + 1 - 0 !
statsmodels/formula/tests/test_formula.py | 7 1 + 6 - 0 !
statsmodels/iolib/tests/test_foreign.py | 5 0 + 5 - 0 !
statsmodels/nonparametric/tests/test_kde.py | 4 2 + 2 - 0 !
statsmodels/tsa/statespace/tests/test_mlemodel.py | 2 1 + 1 - 0 !
statsmodels/tsa/statespace/tests/test_representation.py | 4 2 + 2 - 0 !
statsmodels/tsa/statespace/tests/test_tools.py | 2 1 + 1 - 0 !
7 files changed, 8 insertions(+), 18 deletions(-)

 make tests compatible with current numpy/scipy/pandas

These issues are all within test code, i.e. should not affect users.

https://github.com/statsmodels/statsmodels/commit/bb8fba9d4d9883be2991b43b29bfa3a9c3fb325a
https://github.com/statsmodels/statsmodels/commit/310f91da9f07d9483965d624d76dbb7abebbd67f
https://github.com/statsmodels/statsmodels/pull/4911/commits/18dcceefbfed61b0d11ae5884a9f4cea82c2edb5
https://github.com/statsmodels/statsmodels/commit/f1d5eddd44d61099a9f8f90c40c35716a8346cf7

and one new fix only needed on 32 bit Python 2 (integer data loads as
int64, which gets converted to long producing factor names like
C(agecat)[T.4L], which does not match C(agecat)[T.4])



statsmodels/tsa/statespace/tools.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 create a normal array, not an array of 1x1 arrays

Fixes "object arrays are not supported".



statsmodels/tsa/vector_ar/util.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 don't use np.genfromtxt on non-ascii data

Fixes UnicodeDecodeError on file e6.dat



docs/source/contingency_tables.rst | 2 1 + 1 - 0 !
examples/notebooks/discrete_choice_example.ipynb | 6 3 + 3 - 0 !
examples/notebooks/pca_fertility_factors.ipynb | 2 1 + 1 - 0 !
examples/notebooks/robust_models_1.ipynb | 11 6 + 5 - 0 !
4 files changed, 11 insertions(+), 10 deletions(-)

 fix errors in examples

Be compatible with current pandas
https://github.com/statsmodels/statsmodels/commit/66a4f98d0ac86ea957fa6f8168cc2df178c64630
https://github.com/statsmodels/statsmodels/commit/572d507dfa28044166cf4f183177a046f90934ae

and with one dataset layout change within statsmodels, based on
https://github.com/statsmodels/statsmodels/commit/31ec838d1eab2ec559ab69d42151085bdf9f18e1

Look in the correct path for star_diagram.png
https://github.com/statsmodels/statsmodels/commit/3363ce1dc41b1717db5b6779a2a9cbf8f72a0294
to be minimally risky during freeze)



statsmodels/tsa/vector_ar/dynamic.py | 126 117 + 9 - 0 !
1 file changed, 117 insertions(+), 9 deletions(-)

 stop using no-longer-existing pd.ols

Fixes
module 'pandas' has no attribute 'ols'
e.g. in the vector_ar documentation examples.


 fix indexing errors in kaplanmeier