Displaying 1 result from an estimated 1 matches for "stimulusb".
Did you mean:
stimulus
2011 Dec 08
1
prop.test() and the simultaneous confidence interval for multiple proportions in R
...2
My goal is to prove that it is not by chance that Condition 1 is preferred rather than the other two conditions.
So, I apply the function prop.test(), summing the values of Conditions 2 and 3):
table<-matrix(c(9,3,10,2,8,4),ncol=2,byrow=T)
rownames(table)<-c("stimulusA","stimulusB","stimulusC")
colnames(table)<-c("Condition1","Conditions2and3")
> table
Condition1 Conditions2and3
stimulusA 9 3
stimulusB 10 2
stimulusC 8 4
prop.test(table)
> prop.te...