Providing estimates and estimating difference btwn those probabilities

This contingency table:

I must provide estimates for the probability of severe acne at six weeks for each treatment and an estimate for the difference of those probabilities. Then I must report a 99% confidence interval.

Should I run a linear regression model, get the slope and intercept and then plug in the values?
I'm a little stuck at where to begin.

Hi, and welcome!

Please see the FAQ: What's a reproducible example (`reprex`) and how do I do one? Using a reprex, complete with representative data will attract quicker and more answers. Also, see the homework policy.

I suggest installing the caret package and studying the help page for the confusionMatrix function for examples of what's possible for data in this form.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.