In my particular case I am comparing damaged fruit in several treatment fields vs. several control fields
Both treatment and control have 10 bushes each. a cluster of fruit is taken from each bush (clusters vary in size). The proportion of damaged fruit for each cluster is noted. (I do have access to the original # of fruit per cluster)
For each bush I have the proportion of damaged fruit.
When I perform a test I would like to compare
H0: "Proportion damaged fruit in" treatment <= Proportion damaged fruit in control Ha: "" treatment > "" control
(treatment is a lure which is supposed to attract damage)
I performed a t.test(propotion.damaged ~ treatment) because I am comparing mean(proportion.damaged in treatment) vs mean(proportion damaged in control)
However, it occurs to me that
mean(proportion.damaged) = 1/n*sum(proportion.damaged) = (total damaged fruit)/(all the fruit)
Does this mean I should perform a proportions test?
prop.test((damaged fruit treatment/total fruit treatment) vs. (damaged fruit control/total fruit control)
The difference here would be that my sampling unit in the t.test scenario is a bush. Whereas in the proportions test scenario my sampling unit would be a fruit.
Thank you very much for your help.