- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
data FatComp1;
input Test Response Count;
datalines;
0 0 17
0 1 21
1 0 3
1 1 39
;
proc sort data=FatComp1;
by descending Test descending Response;
run;
proc freq data=FatComp1 order=data;
weight Count;
tables Test*Response;
run;
Hi,
Can anyone help?
In the example above I need to calculate the likelihood ratio LR+, LR- with their 95% CI and was wondering if you can help?
Many thanks
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi @jeka1212,
SAS Usage Note 24170 "Estimating sensitivity, specificity, positive and negative predictive values, ... contains a worked example where these statistics are calculated and a SAS macro NLEstimate is used to obtain 95% confidence intervals for them. Please apply this to your data and get back to us if you get stuck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Not familiar with the 'LR+' and 'LR-' notation.
I suspect that you may want, at least partially
proc freq data=work.FatComp1 order=data; weight Count; tables Test*Response /or; run;
or
proc freq data=work.FatComp1 order=data; weight Count; tables Test*Response / cmh1; run;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi @jeka1212,
SAS Usage Note 24170 "Estimating sensitivity, specificity, positive and negative predictive values, ... contains a worked example where these statistics are calculated and a SAS macro NLEstimate is used to obtain 95% confidence intervals for them. Please apply this to your data and get back to us if you get stuck.