Skip to content

ENH: conditional logistic and Poisson regression - #5304

Merged
kshedden merged 11 commits into
statsmodels:masterfrom
kshedden:clogit
Feb 3, 2019
Merged

kshedden merged 11 commits into
statsmodels:masterfrom
kshedden:clogit

Conversation

@kshedden

@kshedden kshedden commented Oct 6, 2018

Copy link
Copy Markdown
Contributor

No description provided.

@coveralls

coveralls commented Oct 6, 2018 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.05%) to 84.49% when pulling 0ba3ff1 on kshedden:clogit into 9d135ad on statsmodels:master.

@codecov

codecov Bot commented Oct 7, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #5304 into master will increase coverage by 0.04%.
The diff coverage is 95.18%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5304      +/-   ##
==========================================
+ Coverage   81.94%   81.98%   +0.04%     
==========================================
  Files         584      586       +2     
  Lines       91922    92275     +353     
  Branches    10197    10240      +43     
==========================================
+ Hits        75324    75651     +327     
- Misses      14263    14279      +16     
- Partials     2335     2345      +10
Impacted Files Coverage Δ
statsmodels/discrete/tests/test_conditional.py 100% <100%> (ø)
statsmodels/discrete/conditional_models.py 91.66% <91.66%> (ø)
statsmodels/regression/mixed_linear_model.py 88.96% <0%> (-0.8%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9d135ad...0ba3ff1. Read the comment docs.

@josef-pkt

Copy link
Copy Markdown
Member

If it is just Logit, and eventually Poisson, and it doesn't use the GLM/family framework, then discrete would be the better location

@jbrockmendel

Copy link
Copy Markdown
Contributor

then discrete would be the better location

Ha, I was just about to ask why this was in gemod too

@kshedden kshedden changed the title ENH: conditional logistic regression ENH: conditional logistic and Poisson regression Oct 11, 2018
@josef-pkt

Copy link
Copy Markdown
Member

needs rebase to get test results, last run failed with a pytest version comparison but that I worked around in master.

test runs were green before, except for linting/pep-8

@kshedden

kshedden commented Nov 30, 2018 via email

Copy link
Copy Markdown
Contributor Author

@josef-pkt

Copy link
Copy Markdown
Member

The problems on travis look unrelated to this PR. AFAICS, this PR is green.

one travis 3.6 job has a problem with linking to numpy in the statespace extension. numpy and cython version look the same as in previous successfull runs.

The only difference I can see is that the run in this PR mentions downgrades to python 3.6.6 from python 3.6.7
https://travis-ci.org/statsmodels/statsmodels/jobs/461367637

(the python version sequence looks a bit complicated, python is several times upgraded and downgraded)

The following packages will be DOWNGRADED:
    cryptography:         2.4.1-py36h1ba5d50_0                 --> 2.3.1-py36hdffb7b8_0  conda-forge
    openssl:              1.1.1a-h7b6447c_0                    --> 1.0.2p-h470a237_1     conda-forge
    python:               3.6.7-h0371630_0                     --> 3.6.6-h5001a0f_3      conda-forge

the previous run only installed python 3.6.6
https://travis-ci.org/statsmodels/statsmodels/jobs/461067669

I didn't see anything else that looks different and we can hope that the build error goes away with another condaforge update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants