Repository navigation
ENH: add t_test_pairwise to LikelihoodModelResults - #4365
Conversation
|
usage example |
|
This pull request introduces 1 alert when merging c1d78dc into f5b0ee6 - view on lgtm.com new alerts:
Comment posted by lgtm.com |
|
appveyor fails at instance check too strict, (somewhere in numpy or scipy there was recently an issue about how to check for all possible kinds of integers) However, at the cost of a messier signature, I added an explicit index option. (I don't have a case yet where I need a non-consecutive slice/index) |
|
This pull request introduces 1 alert when merging 9515fd3 into f5b0ee6 - view on lgtm.com new alerts:
Comment posted by lgtm.com |
|
travis has one unrelated error in test_webuse() appveyor has a patsy error with long integer the variable name is AFAIR, we had this somewhere before already, but where? |
|
This pull request introduces 1 alert when merging c51b9d5 into f5b0ee6 - view on lgtm.com new alerts:
Comment posted by lgtm.com |
Codecov Report
@@ Coverage Diff @@
## master #4365 +/- ##
==========================================
+ Coverage 79.92% 79.96% +0.03%
==========================================
Files 560 560
Lines 83985 84144 +159
Branches 9525 9534 +9
==========================================
+ Hits 67124 67283 +159
+ Misses 14645 14642 -3
- Partials 2216 2219 +3
Continue to review full report at Codecov.
|
|
I'd like to stop here and merge. @kshedden Do you have any general comments? |
|
This pull request introduces 1 alert when merging bd91e53 into f5b0ee6 - view on lgtm.com new alerts:
Comment posted by lgtm.com |
|
all green, unit tests are missing for one function in contrasts that is currently unused, written for my previous version. |
|
This pull request introduces 1 alert when merging ea51b59 into f5b0ee6 - view on lgtm.com new alerts:
Comment posted by lgtm.com |
|
now also has alpha keyword for reject boolean merge when green |
|
This pull request introduces 1 alert when merging ba959b6 into f5b0ee6 - view on lgtm.com new alerts:
Comment posted by lgtm.com |
this is related to #4361, and #4323 as a model analogue of tukeyhsd (with general multipletesting p-value correction)
pairwise comparison for the main effect of a categorical exog.
Also, this should be similar to Stata pairwise option, but I haven't compared yet.
This uses now the encoding contrast matrix from design_info. Therefore it should be independent of the contrast/categorical encoding.
I checked Treatment encoding with and without reference in my examples and it looks good.
Only one minimal unit test comparing t_test_pairwise with t_test with explicitly provided constraints.
t_test_pairwiseis added as a method of LikelihoodModelResults, but actual function is in stats.contrasts.pytodo for now
todo later