[R] Dealing with proportions

Sam Sam_Smith at me.com
Wed Oct 5 22:08:22 CEST 2011


Dear list,

I have very little experience in dealing with proportions, i am sure this is a very simple question but i could find no suitable answer beyond doing a chi-sq test  and then using the Marascuilo procedure as a post-hoc analysis.

I am simply wanting to know if the proportions ( i.e the number of Yes / No) significantly differ between the cases and if so which cases are significantly high or low?


proportion <- structure(list(Case = structure(1:11, .Label = c("A", "B", "C", 
"D", "E", "F", "G", "H", "I", "J", "K"), class = "factor"), Yes = c(18L, 
2L, 1L, 2L, 44L, 27L, 2L, 15L, 13L, 3L, 34L), No = c(171L, 11L, 
5L, 8L, 146L, 80L, 5L, 30L, 22L, 5L, 42L), Num = c(189L, 13L, 
6L, 10L, 190L, 107L, 7L, 45L, 35L, 8L, 76L)), .Names = c("Case", 
"Yes", "No", "Num"), class = "data.frame", row.names = c(NA, 
-11L))

Thanks in advance Sam



More information about the R-help mailing list