Skip to content

Tyler tukeyhsd rebased - #849

Merged
josef-pkt merged 28 commits into
statsmodels:masterfrom
josef-pkt:tyler_tukeyhsd_rebased
May 25, 2013
Merged

josef-pkt merged 28 commits into
statsmodels:masterfrom
josef-pkt:tyler_tukeyhsd_rebased

Conversation

@josef-pkt

Copy link
Copy Markdown
Member

This is a rebased version of PR #809

removed merge of master
removed temporary bug in tukeyhsd (nobs)

I did an interactive rebase with many merge errors, but I think I correctly removed trailing whitespaces (from the docs, I guess rebase -i does not automatic whitespace cleanup)

Let's see how it looks on github

still needs docstring review

tyleha added 24 commits May 25, 2013 08:23
…rval calculations. also allow user to provide desired group order for display (was driving me nuts). Responding to issue statsmodels#789 in master.
…y machine and this commit is working correctly, at least for my test dataset
…hat consistent. Still dont love them. Basic testing proves this is functional. issue statsmodels#789
…lotlib internally imported, allowed attachemnt of ax argument, and returned associated fig instance.
…nts, and made comparison_name optional so you could just plot all groups in black without preference. for pull request statsmodels#809
… sure if new data set must be configured as previous ones (i.e. as recfromtxt arrays).
…g intervals. fixed mistake in plot title too.
Comment thread statsmodels/sandbox/stats/multicomp.py Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

document attributes

Comment thread statsmodels/sandbox/stats/multicomp.py Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pep-8 spaces

Comment thread statsmodels/sandbox/stats/multicomp.py Outdated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use floats 1. 2. just to be sure we don't have integer division problems, and for documentation
pep-8 spaces

@josef-pkt

Copy link
Copy Markdown
Member Author

(github is hiding comments as outdated (even if they are not))

Refactoring suggestions:

tukeyhsd method: GroupStats - shouldn't this go into the init

there are some duplicate factor/group handling with GroupStats and MultiComparison
REF: maybe MultiComparison should delegate all group handling to GroupStats, with local aliases

MultiComparison __init__: datali is only used in allpairtest, make it lazy (cache decorator)

@josef-pkt

Copy link
Copy Markdown
Member Author

ready to merge, leaving some refactoring for later

statsmodels/examples/try_tukey_hsd.py runs without problem and produces the plot.

@josef-pkt

Copy link
Copy Markdown
Member Author

closes #789
closes #824 (should get a test case)

@josef-pkt

Copy link
Copy Markdown
Member Author

just saw: p-values are still missing. I think I got them in my blog

@josef-pkt

Copy link
Copy Markdown
Member Author

What's reject2? Just a different way of calculating tukeyhsd based on confidence intervals? bug: no np.abs used

josef-pkt added a commit that referenced this pull request May 25, 2013
Tyler tukeyhsd rebased closes #789 closes #824 closes #809
@josef-pkt
josef-pkt merged commit 2ea8555 into statsmodels:master May 25, 2013
@josef-pkt
josef-pkt deleted the tyler_tukeyhsd_rebased branch May 26, 2013 17:13
PierreBdR pushed a commit to PierreBdR/statsmodels that referenced this pull request Sep 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants