I'm using R and comparing the proportion of Male and Female authors from various academic journals (well, I think I am). Here's a table with my raw data:
The code for it:
m<-structure(c(8278L, 2183L, 0L, 3844L, 590L, 2341L, 1659L, 422L,
0L, 899L, 137L, 662L), .Dim = c(6L, 2L), .Dimnames = structure(list(
c("PRx", "AXJ", "JAPA", "JSPRAS", "CPX", "PRX-TO"), c("Male",
"Female")), .Names = c("", "")), class = "table")
I created that table above with this code:
m<-table(data3$Gender,data3$Journal)
I run a chi-square test and get significant results:
chisq.test(data3$Journal,data3$Gender)
And when I do a chi square post hoc test in R using this code:
chisq.posthoc.test(m)
Some of the results really don't make sense to me.
For example, "PRX" has a significant value, which to me indicates that PRX is different from the other groups. But as a proportion (females are 16.69% of count for PRX), thats pretty much the same proportion as AXJ and JSPRAS (16.19% and 18% respectively) which PRX is in between. What am I not understanding correctly? It sounds like this test is showing something different than what I think it is maybe?
If I'm using the wrong test for my question, is there a better way to test it?