Thanks. Anyway, it is not homework and I was not told to do that. My question has not been answered yet, I'll try to reformulate it: Does it make (statistical) sense to resample with replacement in this situation to get an estimate of the CIs? In case it does, how could I do it in R?
Some further details on my real case study: 10 independent samples from a population in ten sessions. Each sample consists of a number (somehow variable) of random individuals that are classified as 0 or 1 depending on one specific state (presence or absence of a disease). I can calculate, for each session, the percentage of individuals diseased but I have nothing about the CIs, any suggestion? -- View this message in context: http://r.789695.n4.nabble.com/Resampling-with-replacement-on-a-binary-0-1-variable-to-get-CIs-tp4127990p4145733.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.