Re: [R] Statistical question: one-sample binomial test for clustered data

2008-11-25 Thread Thomas Lumley
The bootstrap that Greg Snow suggested is probably the best approach, but it is possible to estimate the variance of the proportion. The total T number of yes reponses is the sum of twenty totals for blocks, and these are independent, so the variance of Y is 20 times the variance of these tw

Re: [R] Statistical question: one-sample binomial test for clustered data

2008-11-25 Thread Greg Snow
Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of Matthias Gondan > Sent: Tuesday, November 25, 2008 7:53 AM > To: [EMAIL PROTECTED] > Subject: [R] Statistical question: one-sample binomial test for > clustered data > > Dear list, >

[R] Statistical question: one-sample binomial test for clustered data

2008-11-25 Thread Matthias Gondan
Dear list, I hope the topic is of sufficient interest, because it is not R-related. I have N=100 yes/no-responses from a psychophysics paradigm (say Y Yes and 100-Y No-Responses). I want to see whether these yes-no-responses are in line with a model predicting a certain amount p of yes-responses.