Repository navigation
Conversation
|
just a thought: add line display or line letter assignment assuming ordering by mean, and verify that is really correct (helper function in here) |
|
no notebook, it was before I used notebooks for dev I don't see or remember what |
|
possibly misleading interpretation of letters i.e. "The data does not allow us to distinguish means of groups with the same letter." Notes section in PR #7332 : Which means that if we use a pairwise equivalence test, TOST, then we need to look at rejected pairs for the set/clique formation. The aside PR 7332 uses numbers instead of letters I'm not sure how singleton cliques are handled. Do they get a letter? |
|
also wrong unit test module: test_multi still has one function current limitation: groups need to be defined as consecutive integers, group identifier in edges is used for indexing |
|
merge conflict in multitest looks very strange. I think it will be safer to remove the unit tests from rebasing the commit, and add them as new commit. |
|
TestPairwiseGrouping2 fails in assert of grouping Is there some indeterminacy in the order, or is this changes in environment (numpy, python)? I will fix the unit test for now and see later if ordering fails again. It's worse. If grouping order changes, then also the letter assignment changes, and unit test for it fail even worse. I guess letters a and b are interchanged. update instead of min we should have list comparison that uses all elements, eg. first 3 groupings are same min, but {0, 1, 2, 5} should evaluate smaller than the others. So, for this unit test case, there is no deterministic result wrt order and letter assignment. I don't remember the details update another issue on order:
Looking briefly at the examples in Piepho's article again: |
|
update It looks like our function does not have the sweep step. Table 2 in Piepho, we match IA column but not either of the sweep columns. another possible problem: So if we relabel group (integer) names and reorder, then the outcome might be different. :( If we want to have the same structure with different order and labeling, then we would use a relabeling/reordering only after the structural results have been obtained. or we give up on having different orders/labels, i.e. one of them will look not ordered/consecutive. aside: use |
|
I'm giving up on ordering (for now)
|
update rebased version now in #9493
see #3669
form overlapping groups based on statistically significant pairwise comparison, or a distance matrix for significance
see docstring for details
has basic unit tests for 3 examples in Piepho 2004, no unit tests for options
API unclear, also might need restructuring (lazy letter assignment in results class?)
more convenience, pandas index, choosing alphabet, ... ?
Intended mainly as helper function to integrate with plot and summaries
location maybe temporary (multicomp is still in sandbox, and we cannot add it to stats.multicomp because of circular import if it's reused in multicomp and Tukey)