22 January 2022 4 9K Report

I have a case-control study with 200 cases and 200 controls (d == 0 for controls and d == 1 for cases). Two tests y1 and y2 are applied to each case and control and the results are coded 1 for a positive test result and 0 for a negative test result. The estimated prevalence of the disease in the population, p = 0.15.

I want to calculate the PPV and NPV of these tests, the 95% CI of the predictive values, and compare the PPV and NPV of tests y1 and y2.

Can someone please help me with some Stata code for the same?

I am attaching the data file for the exercise. This is hypothetical data generated for an academic exercise only.

More Inaamul Haq's questions See All
Similar questions and discussions