Displaying 1 result from an estimated 1 matches for "contingency_table".
2012 May 19
1
Contingency table and mean(sd)
...question regarding contingency tables. I would like to calculate the mean and standard deviation of a continuous variable from my own dataset based on the percentages of a contingency table I obtained from a scientific article.
dataset<- data.frame(cbind(case=rep(0:1,5), x1=c(1:10), x2=c(0:9)))
contingency_table<- matrix(c(100, 75, 65, 85, 90, 87), nrow=3, ncol=3)
In other words I would like to calculate the mean and standard deviation of "X1" based on the frequencies of the contingency table.
Thank you so much for all your help!
________________________________
PHRI DISCLAIMER
This informa...