1) a p value for a set of rankings occurring by chance, and
2) a p value for the correspondence between two sets of rankings.
The first data set has rankings of 3 molecular measures (relative
abundance of protein isoforms) from 3 inbred (isogenic) mouse
strains. In the table below, the 3 strains of mice are c57, dba, and
balb.
For example, regarding the p value for (1) above, I'd think that I
could directly say that the probability of observing c57 being ranked
"1" across 5 behavior measures would be, because there are 6
permutations for 3 objects,
(1,2,3 or 1,3,2)^5 = (1/6 + 1/6)^5 = 0.004
and for the top table,
(1,2,3 or 1,3,2)^3 = (1/6 + 1/6)^3 = 0.04
Is their a simple Stata command to get a p value for the
correspondence between isoform and behavior for the strain ranks or
should I develop a randomization test?
The ranks are based on the means of 10 different animals measured per
strain, and different animals are in the two data sets.