Skip to content

BUG Fix random effects covariance getter for MixedLM - #4704

Merged
kshedden merged 1 commit into
statsmodels:masterfrom
kshedden:re_cov
Jun 21, 2018
Merged

kshedden merged 1 commit into
statsmodels:masterfrom
kshedden:re_cov

Conversation

@kshedden

@kshedden kshedden commented Jun 1, 2018 •

Copy link
Copy Markdown
Contributor

This should fix #4413. The bug was not detected by the tests because the group labels and the integer indices of the groups were the same. So I changed the group labels from ### to strings of the form g###. The old code would have failed under the new tests.

Thanks @danlewis85

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 83.309% when pulling 08b0a30 on kshedden:re_cov into c6a76ed on statsmodels:master.

1 similar comment
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 83.309% when pulling 08b0a30 on kshedden:re_cov into c6a76ed on statsmodels:master.

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #4704 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4704   +/-   ##
=======================================
  Coverage   80.72%   80.72%           
=======================================
  Files         573      573           
  Lines       88061    88061           
  Branches     9906     9906           
=======================================
  Hits        71087    71087           
- Misses      14696    14697    +1     
+ Partials     2278     2277    -1
Impacted Files Coverage Δ
statsmodels/regression/tests/test_lme.py 89.09% <100%> (ø) ⬆️
statsmodels/regression/mixed_linear_model.py 81.81% <100%> (ø) ⬆️
statsmodels/stats/descriptivestats.py 24.13% <0%> (ø) ⬆️

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 c6a76ed...08b0a30. Read the comment docs.

@kshedden
kshedden merged commit 1dac1f6 into statsmodels:master Jun 21, 2018
@josef-pkt josef-pkt added this to the 0.10 milestone Sep 16, 2018
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