Hi!
I was studying diagnostic meta-analysis by Jones et al (
Article Summary Receiver Operating Characteristic Curve Analysis Tec...
)and I tried to calculate the Q value from cited.
"Q is the intercept of the SROC and the antidiagonal line through the unit square. Its value indicates overall accuracy by finding where sensitivity and specificity are the same"
1. I started inserting the confuse matrix data and making a reitsma object from "mada" package
2. Then I gave it's value to the sroc() function with the return_function method set it to T in order to give me the generic function of sROC (let's call it f(x))
3. I then used uniroot() to find the (1-specificity) value where sROC and the anti-diagonal curve intercepts each other.
4. Finally, I gave the false positive rate back to f(x) and found the sensitivity, and so, the Q value.
Is there a more direct approach for this in R?