Re: [R] Bayesian estimate of prevalence with an imperfect test

2012-01-06 Thread LianD
Thanks Bert I've been through my variables again and have managed to get the code working - shouldn't have tried to deal with it at the end of the day yesterday! all the best Lian -- View this message in context: http://r.789695.n4.nabble.com/Bayesian-estimate-of-prevalence-with-an-imperfect-

[R] Bayesian estimate of prevalence with an imperfect test

2012-01-05 Thread LianD
Hi all! I'm new to this forum so please excuse me if I don't conform perfectly to the protocols on this board! I'm trying to get an estimate of true prevalence based upon results from an imperfect test. I have various estimates of se/sp which could inform my priors (at least upper and lower limit

[R] epi.conf

2011-12-30 Thread LianD
Hi all! I was wondering if anyone could help me. I'd like to calculate prevalence and confidence interval for a clustered sample (design effect estimated at 2). In the old version of epiR the epi.conf function allowed for the design effect argument, but in the new version this doesn't seem to