Skip to content

ENH: Mediation for Mixedlm - #5489

Merged
kshedden merged 3 commits into
statsmodels:masterfrom
kshedden:mixedlm_init_kwds
Feb 23, 2019
Merged

kshedden merged 3 commits into
statsmodels:masterfrom
kshedden:mixedlm_init_kwds

Conversation

@kshedden

@kshedden kshedden commented Feb 2, 2019

Copy link
Copy Markdown
Contributor

This PR allows mediation to be used with MixedLM as a mediator and/or outcome model.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.02%) to 84.455% when pulling 892950c on kshedden:mixedlm_init_kwds into 9d135ad on statsmodels:master.

@codecov

codecov Bot commented Feb 2, 2019

Copy link
Copy Markdown

Codecov Report

Merging #5489 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5489      +/-   ##
==========================================
+ Coverage   81.94%   81.96%   +0.02%     
==========================================
  Files         584      584              
  Lines       91922    92025     +103     
  Branches    10197    10200       +3     
==========================================
+ Hits        75324    75429     +105     
+ Misses      14263    14259       -4     
- Partials     2335     2337       +2
Impacted Files Coverage Δ
statsmodels/regression/mixed_linear_model.py 90.23% <100%> (+0.47%) ⬆️
statsmodels/stats/tests/test_mediation.py 100% <100%> (ø) ⬆️
statsmodels/regression/tests/test_lme.py 99.46% <100%> (+0.03%) ⬆️

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...892950c. Read the comment docs.

1 similar comment
@codecov

codecov Bot commented Feb 2, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #5489 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5489      +/-   ##
==========================================
+ Coverage   81.94%   81.96%   +0.02%     
==========================================
  Files         584      584              
  Lines       91922    92025     +103     
  Branches    10197    10200       +3     
==========================================
+ Hits        75324    75429     +105     
+ Misses      14263    14259       -4     
- Partials     2335     2337       +2
Impacted Files Coverage Δ
statsmodels/regression/mixed_linear_model.py 90.23% <100%> (+0.47%) ⬆️
statsmodels/stats/tests/test_mediation.py 100% <100%> (ø) ⬆️
statsmodels/regression/tests/test_lme.py 99.46% <100%> (+0.03%) ⬆️

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...892950c. Read the comment docs.

@kshedden
kshedden merged commit 21e2ece into statsmodels:master Feb 23, 2019
@josef-pkt josef-pkt added this to the 0.10 milestone Apr 30, 2019
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.

3 participants