Let say I've a contigency table as :
score <=2 [3-4] >=5 no_event 248 796 288 event 71 419 285
I computed the percentage of events for each score category (
>=5). Hereby the plot (top of each bar displays the number of
events / (events+no_event) .
I would like to test if the increase in proportion between
>=5 is significative.
My first idea would be to use a chisq or fisher exact test.
m <- matrix(c(248,71,796,419,288,285),ncol=3) fisher.test(m)$p.value  9.640235e-17
However this test didn't take into account the order of the categories
Any ideas ?