Re: [R] Comparing two diagnostic tests with lme4

2016-07-04 Thread Michael Dewey
Dear Keno I am not sure from your description what your scientific question is but if you want to bring together a number of diagnostic test results and then see the influence of moderator variables you might want to investigate packages directed at meta-analysis. I have used mada but there a

[R] Comparing two diagnostic tests with lme4

2016-07-03 Thread Keno Kyrill Bressem
Dear R experts, I compare two diagnostic tests. Therfore, I collected patient data from several studies. The dataframe is similar to this one: set.seed(10) data = data.frame( test1 = rbinom(1000, 1, 0.6), test2 = rbinom(1000, 1, 0.4), reference = rbinom(1000,